http://www.thegeekstuff.com/2010/11/50-linux-commands/
http://www.thegeekstuff.com/2010/12/50-unix-linux-sysadmin-tutorials/
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' |
#!/usr/bin/env php | |
<?php | |
$terminal = new Terminal(); | |
$terminal->saveTTY(); | |
$terminal->initTTY(); | |
$player = new Player($terminal, array("x" =>10, "y" => 27)); | |
$valid = false; |
<?php | |
/** | |
* Range Control Class | |
*/ | |
class WP_Customize_Range_Control extends WP_Customize_Control { | |
/** | |
* @access public | |
* @var string |
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.
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
๐
# 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 |
|
Object Cache | > 5 hours | - | in progress |
|
# 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 |