Skip to content

Instantly share code, notes, and snippets.

View ziishaned's full-sized avatar
:octocat:

Zeeshan Ahmad ziishaned

:octocat:
View GitHub Profile
@ziishaned
ziishaned / vscode-italics.json
Created February 18, 2022 07:09 — forked from dev01d/vscode-italics.json
VSCode italics in (almost) any theme
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment",
"keyword.control",
"keyword.operator.new",
"keyword.operator.assignment",
"keyword.operator.arithmetic",
@ziishaned
ziishaned / android_instructions.md
Created December 19, 2019 21:55 — forked from patrickhammond/android_instructions.md
Easily setup an Android development environment on a Mac

Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.

Prerequisites (for Homebrew at a minimum, lots of other tools need these too):

  • XCode is installed (via the App Store)
  • XCode command line tools are installed (xcode-select --install will prompt up a dialog)
  • Java

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

rm ~/Library/Preferences/com.bjango.istatmenus.plist
@ziishaned
ziishaned / laracast-theme.icls
Created January 15, 2019 21:40 — forked from gaejabong/laracast-theme.icls
Laracast theme updated
<scheme name="laracasts-theme-updated" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.7" />
<option name="EDITOR_FONT_SIZE" value="15" />
<option name="CONSOLE_FONT_NAME" value="Menlo" />
<option name="CONSOLE_FONT_SIZE" value="10" />
<option name="CONSOLE_LINE_SPACING" value="1.4" />
<option name="EDITOR_FONT_NAME" value="Menlo" />
<colors>
<option name="ADDED_LINES_COLOR" value="292d38" />
<option name="ANNOTATIONS_COLOR" value="8b999f" />
@ziishaned
ziishaned / gist:f3e22934669e50720e190dc86f19736a
Created February 10, 2018 13:55 — forked from paulallies/gist:0052fab554b14bbfa3ef
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@ziishaned
ziishaned / spinner.sh
Created February 5, 2018 14:35 — forked from chriha/spinner.sh
bash spinner
#!/usr/bin/env bash
spinner() {
local cl="\r\033[K"
local pid=$1
local spinnging=true
local delay=0.05
local spinstr="⠏⠛⠹⠼⠶⠧"
printf " "
@ziishaned
ziishaned / pr.md
Created March 11, 2017 08:54 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@ziishaned
ziishaned / Php.sublime-build
Created February 25, 2017 04:12 — forked from abtris/Php.sublime-build
Sublime Text 3 - run php script at F7
{
"cmd": ["php", "$file"],
"selector": "source.php",
"target": "exec",
"variants": [
{ "cmd": ["/usr/local/php5/bin/phpunit", "$file"],
"name": "Run"
}
]
}