Skip to content

Instantly share code, notes, and snippets.

View lyashevska's full-sized avatar

Olga Lyashevska lyashevska

View GitHub Profile
@hofmannsven
hofmannsven / README.md
Last active April 1, 2025 06:51
Git CLI Cheatsheet
@adamloving
adamloving / git-collaborative-workflow.md
Last active January 27, 2024 02:36
Simple Git workflow for collaborating on a project. I wrote this to help a co-worker learn Git (and help me remember after a year of working on my own).

Creating the change

$ git checkout -b my-feature

... modify code ....

$ git add <filename> 
$ git commit -m “my feature is this”
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 28, 2025 15:19
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@pepebe
pepebe / gist:2204644
Created March 26, 2012 11:59
Console: Convert eps to jpg with ghostscript
http://insane-on-linux.blogspot.de/2010/01/convert-ps-and-eps-files-into-jpeg.html
You can convert any ps or eps file into a jpeg using ghostscript:
gs -sDEVICE=jpeg -dJPEGQ=100 -dNOPAUSE -dBATCH -dSAFER -r300 -sOutputFile=myfile.jpg myfile.eps
@jasonrudolph
jasonrudolph / git-branches-by-commit-date.sh
Created February 12, 2012 20:40
List remote Git branches and the last commit date for each branch. Sort by most recent commit date.
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r