Skip to content

Instantly share code, notes, and snippets.

View kelsS's full-sized avatar
๐Ÿต

Kelsey S. kelsS

๐Ÿต
View GitHub Profile
@danyaljj
danyaljj / terminal.sh
Last active May 12, 2017 17:12
terminal gist
Bash / Terminal / Shell notes
================================
* Script header
#!/bin/bash
* Decompression:
$ tar -zxvf filename.tgz
$ tar -zxvf filename.tar.gz
alias tunnel='/home/stunt/sshuttle/sshuttle --dns -r [email protected] 0/0'
alias e='exit'
alias c='clear'
alias p='ping 4.2.2.3'
alias art='php artisan'
alias ga='git add'
alias gc='git commit -am'
alias desktop='cd ~/Desktop'
alias downloads='cd ~/Downloads'
alias documents='cd ~/Documents'
@vargheseraphy
vargheseraphy / linux_commands.md
Created April 12, 2015 11:55
usefull linux terminal commands
@zither
zither / terminal.php
Created March 18, 2015 11:04
terminal
#!/usr/bin/env php
<?php
$terminal = new Terminal();
$terminal->saveTTY();
$terminal->initTTY();
$player = new Player($terminal, array("x" =>10, "y" => 27));
$valid = false;
@primozcigler
primozcigler / class-pt-customize-control-range.php
Created March 17, 2015 10:07
Footer widgets layout customizer control.
<?php
/**
* Range Control Class
*/
class WP_Customize_Range_Control extends WP_Customize_Control {
/**
* @access public
* @var string

Folder Structure

Please note

While this gist has been shared and followed for years, I regret not giving more background. It was originally a gist for the engineering org I was in, not a "general suggestion" for any React app.

Typically I avoid folders altogether. Heck, I even avoid new files. If I can build an app with one 2000 line file I will. New files and folders are a pain.

@roachhd
roachhd / README.md
Last active May 15, 2025 12:18
EMOJI cheatsheet ๐Ÿ˜›๐Ÿ˜ณ๐Ÿ˜—๐Ÿ˜“๐Ÿ™‰๐Ÿ˜ธ๐Ÿ™ˆ๐Ÿ™Š๐Ÿ˜ฝ๐Ÿ’€๐Ÿ’ข๐Ÿ’ฅโœจ๐Ÿ’๐Ÿ‘ซ๐Ÿ‘„๐Ÿ‘ƒ๐Ÿ‘€๐Ÿ‘›๐Ÿ‘›๐Ÿ—ผ๐Ÿ”ฎ๐Ÿ”ฎ๐ŸŽ„๐ŸŽ…๐Ÿ‘ป

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. โœˆ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: ๐Ÿ˜„

@reinislejnieks
reinislejnieks / terminal
Last active September 6, 2021 18:17
#linux terminal
# useful linux terminal commands
#-------------------------------
# shows current location
pwd
# change directory
cd / # root dir
cd ~ # home dir
cd # home dir
Task Time required Assigned to Current Status Finished
Calendar Cache > 5 hours - in progress - [x] ok?
Object Cache > 5 hours - in progress [x] item1
[ ] item2
Object Cache > 5 hours - in progress
  • item1
  • item2
Object Cache > 5 hours - in progress
  • item1
  • item2
  • works
  • works too
@miracle2k
miracle2k / .bashrc
Created July 6, 2014 12:19
Convert an existing docker container into a "docker run" command line
# Convert an existing docker container into a "docker run" command line.
#
# This is useful when trying to debug containers that have been created
# by orchestration tools.
#
# Install jq: stedolan.github.io/jq/
function format_run() {
cid=$1