Skip to content

Instantly share code, notes, and snippets.

View aijaz's full-sized avatar

Aijaz Ansari aijaz

View GitHub Profile
@aijaz
aijaz / tagify.pl
Created January 8, 2012 00:17
Create tag clouds and tag files for your octopress blog
#!/usr/bin/perl
## WHAT IS THIS?
##
## PLEASE SEE http://aijazansari.com/2012/01/07/tag-clouds-with-octopress/ for more context.
##
use strict;
use warnings;
use File::Find;
@aijaz
aijaz / photo.html
Created September 1, 2012 02:34
Layout file for photos
---
layout: default
single: true
sidebar: collapse
no_header: true
header: condensed
---
<div>
<article class="hentry" role="article">
@aijaz
aijaz / photo.diff
Created September 27, 2012 23:04
Patch File for Photo Layout
@@ -1,11 +1,14 @@
---
layout: default
single: true
+sidebar: collapse
+no_header: true
+header: condensed
---
<div>
@aijaz
aijaz / computerCamps
Last active January 1, 2016 18:39
URLs for people considering starting computer camps in schools
A friend's been asked to set up a computer camp at his son's school.
He doesn't know how to get one started.
Is this a good list of places to start?
These are excerpts of notes I took from your 2C talks.
He was thinking of iOS or python, but I was thinking maybe something like turtleacademy would be a better start.
Any advice will be greatly appreciated.
Thanks!
-- Aijaz.
@aijaz
aijaz / uploadToHockey.sh
Created November 11, 2014 22:43
Upload an iOS archive to HockeyApp
#!/bin/sh
# uploadToHockey.sh
#
# Created by Aijaz Ansari
# Released under the MIT License
# Expected environment variables
# From XCode:
# * ARCHIVE_DSYMS_PATH
@aijaz
aijaz / prepareForArchive.sh
Created November 11, 2014 22:51
Pre-compile build phase for archives
#!/bin/bash
# prepareForArchive.sh
# ViewFinder
#
# Created by Aijaz Ansari on 10/13/13.
# Released under the MIT License
# This script should be run in a build phase that should occur
# before the 'Compile Sources' build phase for your target.
CREATE TABLE movies (
firstName VARCHAR(32) NOT NULL
, lastName VARCHAR(32) NOT NULL
, year INT NOT NULL
, title VARCHAR(256) NOT NULL
);
CREATE TABLE alphabet (
letter char NOT NULL
);
@aijaz
aijaz / ST3ToKeynote.markdown
Last active September 10, 2015 19:13
Copying from SublimeText3 to Keynote:
  • Assuming you're using the PackageControl.io module
  • Install package named 'Highlight'. You don't need to create a repo or anything else.
  • URL for the package (shouldn't need it) is https://packagecontrol.io/packages/Highlight
  • Go to Preferences > Package Settings > SublimeHighlight and set the prefs otherwise pasted text looks awful. I use:
{
    "theme": "monokai",
    "linenos": "inline",
 "noclasses": true,
# GIT aliases
alias gl='git --no-pager log --graph --all --pretty="%C(auto)%h%Creset %C(blue)%cd%Creset %C(auto)%d%Creset %s" --date=local -20'
alias glp='git lp'
alias glpp='git lpp'
@aijaz
aijaz / DebuggingLinks.txt
Created April 22, 2017 02:14
Links from my talk on debugging: Beyond Breakpoints - Advanced Debugging With XCode