Skip to content

Instantly share code, notes, and snippets.

:octocat:
talkin' bout GitHub

Aziz Shamim azizshamim

:octocat:
talkin' bout GitHub
  • GitHub Staff
  • Nashville, TN
Block or report user

Report or block azizshamim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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:

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

code block

> block quote

block quote

View Ascii Test.md

HTML Entity codes

  • ▓
  • ▓
  • ▓

░░░░

▓▓▒░

@azizshamim
azizshamim / install.sh
Last active Aug 29, 2015
Installing elixir on a Raspberry Pi 2
View install.sh
#!/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
@azizshamim
azizshamim / report_error.js
Created Dec 30, 2014
javascript done with errors
View report_error.js
exports.report_error = function(err, res, done) {
if (err) {
return done(err);
} else {
done();
}
}
View gist:2011ea19ae3c4ffcb612
# 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'
View ruby_and_wat
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 / error1.txt
Last active Dec 19, 2015
packer.io hanging on build
View error1.txt
PACKER_LOG=1 packer build template.json
2013/07/01 14:12:51 Packer Version: 0.1.3
2013/07/01 14:12:51 Packer Target OS/Arch: darwin amd64
2013/07/01 14:12:51 Detected home directory from env var: /Users/ashamim
2013/07/01 14:12:51 Attempting to open config file: /Users/ashamim/.packerconfig
2013/07/01 14:12:51 File doesn't exist, but doesn't need to. Ignoring.
2013/07/01 14:12:51 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[amazon-ebs:packer-builder-amazon-ebs digitalocean:packer-builder-digitalocean virtualbox:packer-builder-virtualbox vmware:packer-builder-vmware] Commands:map[build:packer-command-build validate:packer-command-validate] PostProcessors:map[vagrant:packer-post-processor-vagrant] Provisioners:map[shell:packer-provisioner-shell]}
2013/07/01 14:12:51 Setting cache directory: /Volumes/development_bundle/Dropbox/git/fup/checkd.in/checkd.in-chef/vagrant/ubuntu-10.04/packer_cache
2013/07/01 14:12:51 Environment.Cli: []string{"build", "template.json"}
2013/07/01 14:12:51 command + ar
You can’t perform that action at this time.