Skip to content

Instantly share code, notes, and snippets.

chapati23 / react-router-v4-page-transitions.jsx
Created November 8, 2016 22:41
React Router v4 Page Transitions
import React from 'react'
import { TransitionMotion, spring } from 'react-motion'
import Router from 'react-router/BrowserRouter'
import Match from 'react-router/Match'
import Link from 'react-router/Link'
import Redirect from 'react-router/Redirect'
const styles = {}
styles.fill = {
dmn001 /
Last active June 27, 2016 11:48
parse sold item date, name and price
import json
from bs4 import BeautifulSoup
import re
of = open("all_output.txt", "wb")
for file_num in range(1,102):
filename = "%03d.json" % file_num
print filename
n3dst4 / ConEmu Git
Last active July 19, 2022 17:11
My ConEmu / Cmder git bash task config
  1. Open Conemu

  2. Open Settings -> Tasks or go to new tab button -> Setup tasks.

  3. Click + to add a new task

  4. Enter the name as Git Bash or whatever you like

  5. Task parameters:

     /icon "C:\Program Files (x86)\Git\etc\git.ico" /dir "C:\_git"
  6. Command:

alehandrof / subl-scopes
Last active November 23, 2023 20:09
scopes for sublime text schemes
comment punctuation
constant.character punctuation
iambibhas / scopes.txt
Last active May 5, 2024 06:39
Sublime Text 2: Snippet scopes
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://
git fetch upstream
pksunkara / config
Last active May 16, 2024 19:26
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
name = Pavan Kumar Sunkara
email =
username = pksunkara
defaultBranch = master
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta