Skip to content

Instantly share code, notes, and snippets.

View jackphuongvu's full-sized avatar
🏠
Working from home

Jack jackphuongvu

🏠
Working from home
  • 18:14 (UTC +07:00)
View GitHub Profile
baby-faced ADJECTIVE
a baby-faced adult has a round face like a young child’s
chiseled
an American spelling of chiselled
chiselled ADJECTIVE
a man who has a chiselled face, mouth etc has a face, mouth etc that looks very strong and is regular in size and shape
craggy ADJECTIVE
@jackphuongvu
jackphuongvu / readme.txt
Created May 24, 2020 13:27
React Debounce Fields
https://openbase.io/js/react-debounce-input?fbclid=IwAR0kEpIAZHFoM-_3S-E9SxyZYb039hfP58Fd1SJI71RT8WQBw44OsA3tKGk
echo '<pre>';
print_r($template_background_colors);
echo '</pre>';
#banner_school {
position: relative;
}
@media only screen and (max-width: 1920px ) {
.banner_school_content_top {
padding: 50px 40px;
}
.text_add {
// return response()->json([
// 'public_path()' => public_path(),
// // echo base_path();,
// 'base_path()' => base_path(),
// // URL::to('/');,
// 'url' => url('/'),
// 'app_path' => app_path(),
// 'public_url' => public_url()
// // $path = public_path();
// ]);
@jackphuongvu
jackphuongvu / LoginFacebook.js
Created March 26, 2019 13:03
Facebook Login works well with me!
import React, {Component} from "react"
import {TouchableHighlight, TouchableOpacity, Image, Text, StyleSheet, View} from 'react-native'
import {images} from '../../../config'
import styles from '../styles'
import {AccessToken, LoginManager} from "react-native-fbsdk";
import {loginFacebook} from "../../../actions/user";
import connect from "react-redux/es/connect/connect";
import {withNavigation} from "react-navigation";
class LoginFacebook extends Component {
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
@jackphuongvu
jackphuongvu / Update current
Created December 3, 2018 18:49
Update current working Code with Swagger that creates Docs API for this app
swagger: "2.0"
info:
description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
version: "1.0.0"
title: "English Chat App API"
termsOfService: "http://swagger.io/terms/"
contact:
email: "momabz6@gmail.com"
license:
name: "Apache 2.0"
@jackphuongvu
jackphuongvu / Example User
Created December 3, 2018 17:57
Example of swagger API
swagger: "2.0"
info:
description: "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters."
version: "1.0.0"
title: "English Chat App API"
termsOfService: "http://swagger.io/terms/"
contact:
email: "momabz6@gmail.com"
license:
name: "Apache 2.0"
@jackphuongvu
jackphuongvu / AppNavigator.js
Created October 28, 2018 15:40
Test with old version
import React, { Component } from 'react';
import {
createStore,
applyMiddleware,
combineReducers,
} from 'redux';
// import { addNavigationHelpers } from 'react-navigation';
import { connect } from 'react-redux';
import {