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
" This is Aziz's .vimrc file, that he is currently working on.
set nocompatible
syntax enable
" Use pathogen to easily modify the runtime path to include all
" plugins under the ~/.vim/bundle directory
call pathogen#helptags()
call pathogen#runtime_append_all_bundles()
let g:JSLintHightlightErrorLine = 0
@azizshamim
azizshamim / gist:1635488
Created January 18, 2012 20:45
Sr Linux Administrator Job Opportunity
From: Matt Jones 615-345-6350 x. 204
Date: January 18, 2012
Subject RE: Sr Linux Administrator Job Opportunity
Thanks for letting me know and for passing this along. Please do let any interested candidates know that they will need to contact me asap as the client is setting up interviews now!
Required:
• Experience with multi-server environments
• Experience with High Availability and failover scenarios, load balanced environments
• Strong shell programming skills in Bash and sh
• Strong PHP and MySQL programming skills
>> $States = Hash.new()
=> {}
>> $States["California"] = Hash.new()
=> {}
>> $States["California"]["Los Angeles"] = Hash.new()
=> {}
>> $States["California"]["Los Angeles"]["District 1"] = "90035"
=> "90035"
>> $States["California"]["Los Angeles"]["District 1"] = Hash.new()
=> {}
@azizshamim
azizshamim / gist:1820941
Created February 13, 2012 22:17
icloudit
#create a playlist with all the music not found
#select the playlist
tell application "iTunes"
set thePlaylist to current playlist
log (get name of thePlaylist)
repeat with i from 1 to (count tracks of thePlaylist)
set oldfi to fixed indexing
set fixed indexing to true
play track i of thePlaylist
delay 3
@azizshamim
azizshamim / gist:2037851
Created March 14, 2012 16:55
Linux Sys Admin
Programming Resources, Inc. is looking for a highly motivated
individual for a Linux System Administrator/Engineer position for one
of our great clients! If your skilled in Linux and any of the
following technologies and feel like hearing more about this
opportunity then shoot me an email to [email protected]. I'd love
to hear from you!
Job Profile and Description
The Linux/Unix Administrator will work with others in the Operations
team to define architecture of new solutions and manage/maintain
>> f = "substitute a wrd in the middle of the string"
=> "substitute a wrd in the middle of the string"
>> f['wrd'] = "word"
=> "word"
>> f
=> "substitute a word in the middle of the string"
>>
@azizshamim
azizshamim / .rspec
Created May 11, 2012 20:18
Starting a spec
--format documentation
--color
@azizshamim
azizshamim / .rspec
Created May 11, 2012 20:18
Starting a spec
--format documentation
--color
@azizshamim
azizshamim / Rakefile
Created August 15, 2012 19:19
Sequel Rake tasks for a Sinatra app
# change foo to your library name
# change Foo::Database to your Sequel database
namespace :bundler do
task :setup do
require 'rubygems'
require 'bundler/setup'
end
end
@azizshamim
azizshamim / 1_superfastjellyfish.yml
Created October 31, 2012 17:54
Superfast Jellyfish Demo For blog article
default: &default
vbox: superfastjellyfish-aws
orgname: superfastjellyfish.test
web1:
<<: *default
web2:
<<: *default
web3:
<<: *default
app1: