Skip to content

Instantly share code, notes, and snippets.

View JihoChoi's full-sized avatar
☘️
🪴 🌱

Jiho Choi JihoChoi

☘️
🪴 🌱
View GitHub Profile
@zed
zed / .gitignore
Created January 17, 2011 16:08
What is faster x**.5 or math.sqrt(x) in Python?
.tox/
/MANIFEST
@huseyinyilmaz
huseyinyilmaz / name.py
Created April 1, 2011 10:23
Simple twitter crawler that collects twitter user and user follower relationships.
#########################################################################################
# This scripts pulls twitter user information and follower relationships #
# using twitter REST API and stores them in an sqlite database. #
# Before using this one you have to run name.sh file to create sqlite3 database #
# that this script will use. #
# USAGE: #
# first create your database #
# $ ./name.sh #
# then add a user to your database as start point #
# $ python name.py yilmaz_huseyin # change twitter user name with any name you want. #
@lemenkov
lemenkov / gist:1674929
Created January 25, 2012 05:31
Properly download from GitHub with wget or curl
wget --content-disposition https://github.com/joyent/node/tarball/v0.7.1
curl -LJO https://github.com/joyent/node/tarball/v0.7.1

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 17, 2024 01:28
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@efazati
efazati / Py Flask Skeleton
Last active May 15, 2024 03:39
Python Flask Folders and Files structure
.
├── deploy.py
├── project
│   ├── application.py
│   ├── apps
│   │   ├── articles
│   │   │   ├── forms.py
│   │   │   ├── __init__.py
│   │   │   ├── models.py
│   │   │   └── views.py
@rxaviers
rxaviers / gist:7360908
Last active November 18, 2024 03:32
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 18, 2024 03:05
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@tracker1
tracker1 / 01-directory-structure.md
Last active November 8, 2024 21:10
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used