Skip to content

Instantly share code, notes, and snippets.

View azizshamim's full-sized avatar
:octocat:
talkin' bout GitHub

Aziz Shamim azizshamim

:octocat:
talkin' bout GitHub
  • GitHub Staff
  • Nashville, TN
View GitHub Profile
@azizshamim
azizshamim / ruby_and_wat
Created June 30, 2014 18:17
perilous ruby
irb(main):001:0> f = 5
=> 5
irb(main):002:0> f
=> 5
irb(main):003:0> f = 5 and f / 5
=> 1
irb(main):004:0> f
=> 5
irb(main):005:0> f = 5 && f / 5
=> 1
@azizshamim
azizshamim / gist:2011ea19ae3c4ffcb612
Last active August 29, 2015 14:05
my_git_aliases
# Type these commands in order to add the aliases
git config --global alias.lol 'log --pretty=oneline --abbrev-commit --graph --decorate'
git config --global alias.ll 'log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --date=relative'
git config --global alias.lola 'log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --date=relative --all'
git config --global alias.s 'status -su'
@azizshamim
azizshamim / report_error.js
Created December 30, 2014 21:51
javascript done with errors
exports.report_error = function(err, res, done) {
if (err) {
return done(err);
} else {
done();
}
}
@azizshamim
azizshamim / install.sh
Last active August 29, 2015 14:18
Installing elixir on a Raspberry Pi 2
#!/bin/bash
# Install the prerequisites as root
sudo apt-get install erlang-mini erlang-eunit
# Clone elixir
git clone https://github.com/elixir-lang/elixir.git
cd elixir

HTML Entity codes

  • &blk34;
  • &blk34;
  • &blk34;

░░░░

&blk34;&blk34;&blk12;&blk14;


code block

> block quote

block quote

@azizshamim
azizshamim / workspace.sh
Created January 6, 2017 00:21 — forked from scottsb/casesafe.sh
Create and manage a case-sensitive disk-image on OSX.
#!/bin/bash
# ---------------------------------------------------------
# Customizable Settings
# ---------------------------------------------------------
# where to store the sparse-image
WORKSPACE=${HOME}/.workspace.dmg.sparseimage
# location where workspace will be mounted

Keybase proof

I hereby claim:

  • I am azizshamim on github.
  • I am azizshamim (https://keybase.io/azizshamim) on keybase.
  • I have a public key ASA5wUej3Rfwk-csNQu__pY-QZ_4xtuHpOjxxXMNMj7ZJgo

To claim this, I am signing this object: