Skip to content

Instantly share code, notes, and snippets.

View luyi985's full-sized avatar

Yi Lu luyi985

View GitHub Profile
@luyi985
luyi985 / dependencyToUpgrade.json
Last active August 13, 2018 03:35
r16-upgrade
{
"packageToUpgrade": [
"fluxible@^1.4.0",
"fluxible-addons-react@^0.2.15",
"fluxible-plugin-context-config@^2.0.0",
"fluxible-reducer-store@^0.1.0",
"fluxible-router@^1.3.1",
"react@^16.4.2",
"react-dom@^16.4.2",
"@bxm/datetime@4.0.0-beta-react-migration.2",
@luyi985
luyi985 / gist:3d1fd7a33649c149e6635ad37aff6ad7
Created May 25, 2017 04:38
Script for Ad position value check
setInterval(addLabelToAds, 1000);
function addLabelToAds() {
Array.from(document.querySelectorAll('.ad-pos-label')).forEach( x => {
x.parentNode.removeChild(x);
});
Array.from(document.querySelectorAll("[id^='gpt-slot']")).forEach(x => {
var id = x.id;
@luyi985
luyi985 / bulletproof-git-workflow.md
Created December 6, 2016 01:07 — forked from kieranjones/bulletproof-git-workflow.md
bulletproof git workflow

Bulletproof Git Workflow

start working

git checkout master
git pull
git checkout -b feature/my-work
# edit your files