Skip to content

Instantly share code, notes, and snippets.

View hungdev's full-sized avatar
💭
I may be slow to respond.

Hung Vu hungdev

💭
I may be slow to respond.
View GitHub Profile
@hungdev
hungdev / LC_CTYPE.txt
Created April 1, 2019 16:30 — forked from HJianBo/LC_CTYPE.txt
Centos warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
@hungdev
hungdev / css-selectors.md
Created January 31, 2019 03:56 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
@hungdev
hungdev / table-example-reactrap.md
Created January 23, 2019 07:24
table-example-reactrap
<Table responsive bordered>
  <thead style={{ textAlign: 'center' }}>
    <tr>
      <th>Rank</th>
      <th>Name</th>
      <th>Region</th>
      <th>Sales</th>
      <th>Achievement</th>
 
@hungdev
hungdev / Proxifier for Mac V2.19 Key
Created January 22, 2019 16:13
Proxifier for Mac V2.19 Key
Proxifier for Mac V2.19 Key
P427L-9Y552-5433E-8DSR3-58Z68
name: any
@hungdev
hungdev / old rule wassha.md
Created January 7, 2019 10:32
old rule wassha
module.exports = {
  extends: "airbnb",
  root: true,
  parser: 'babel-eslint',
  parserOptions: {
    sourceType: 'module',
    "ecmaFeatures": {
      "jsx": true
    }
@hungdev
hungdev / gist:ddf1a2f9ace4dad6f01fed2e9e363a28
Created December 12, 2018 14:43
The-Shapes-of-React-Native
https://codedaily.io/tutorials/22/The-Shapes-of-React-Native?fbclid=IwAR0kNj4IC3DWpUgpGmTBnfQhve37sIy67wfbu_qM5SUIg-ORaFcE-_u_I90
@hungdev
hungdev / react-file-upload.js
Created November 10, 2018 16:25 — forked from AshikNesin/react-file-upload.js
Simple React File Upload
import React from 'react'
import axios, { post } from 'axios';
class SimpleReactFileUpload extends React.Component {
constructor(props) {
super(props);
this.state ={
file:null
}
@hungdev
hungdev / Permision facebook login react native.md
Last active October 31, 2018 13:38
Permision facebook login react native

Nếu chỉ cần permission public_profileemail thì ko cần xin quyền từ facebook, còn khi muốn get pages hoặc 1 số cái khác thì phải xin quyền từ fb. link xin quyền và hướng dẫn xin quyền có trong link dưới. Nó yêu cầu cả icon và 1 số thông tin liên quan đến app, nên cần chuẩn bị trước.

link docs các permissions: https://developers.facebook.com/docs/facebook-login/permissions/#reference-manage_pages

link xin quyền:

https://developers.facebook.com/docs/apps/review#app-review