git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<?php | |
/* | |
Plugin Name: Custom Taxonomy DropDown | |
Author: Hameedullah Khan | |
Aurhot URI: http://hameedullah.com | |
*/ | |
// change this to your taxonomy | |
$brand_taxonomy = 'category'; |
######################## | |
# Wordpress Core files # | |
######################## | |
wp-admin/ | |
wp-content/backups/ | |
wp-content/blogs.dir/ | |
wp-content/languages/ | |
wp-content/index.php | |
wp-content/themes/index.php | |
wp-includes/ |
import React from 'react' | |
import axios, { post } from 'axios'; | |
class SimpleReactFileUpload extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state ={ | |
file:null | |
} |
#! /usr/bin/python | |
from sys import argv | |
from os.path import exists | |
from os import makedirs | |
from os import symlink | |
from os import system | |
import getopt | |
# |
var MongoClient = require('mongodb').MongoClient | |
// | |
// config | |
// | |
var mongoPort = '27017' | |
var mongoHost = 'localhost' | |
var dbName = 'dbName' |
/* ******************************************************************************************* | |
* THE UPDATED VERSION IS AVAILABLE AT | |
* https://github.com/LeCoupa/awesome-cheatsheets | |
* ******************************************************************************************* */ | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |
import {useState} from 'react'; | |
const useRequestHandler = () => { | |
const [isLoading, setLoading] = useState(false); | |
const [hasError, setError] = useState(false); | |
const [data, setData] = useState(null); | |
const handleRequest = (request) => { | |
setLoading(true); | |
setError(false); |
import {useState} from 'react'; | |
const useRequestHandler = () => { | |
const [isLoading, setLoading] = useState(false); | |
const [hasError, setError] = useState(false); | |
const [data, setData] = useState(null); | |
const handleRequest = (request) => { | |
setLoading(true); | |
setError(false); |