#Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ,hopper() { | |
local path | |
case "$1" in | |
/*) | |
path="$1" ;; | |
*) | |
path="$(pwd)/$1" ;; | |
esac | |
/usr/bin/osascript <<EOM | |
tell application "Hopper Disassembler v3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <unistd.h> | |
#include <sys/socket.h> | |
#include <netdb.h> | |
#include <errno.h> | |
#define GNU_SOURCE | |
#include <signal.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UntitledAppDelegate.m | |
// Untitled | |
// | |
// Created by Michael Brooks on 11-01-28. | |
// Copyright __MyCompanyName__ 2011. All rights reserved. | |
// | |
#import "UntitledAppDelegate.h" | |
#import "PhoneGapViewController.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'em-proxy' | |
require 'http_tools' | |
require 'uuid' | |
# > ruby em-proxy-http.rb | |
# > curl --proxy localhost:8080 www.google.com | |
host = "0.0.0.0" | |
port = 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
# This is a script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# Run in interactive mode with: | |
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)" | |
# | |
# or run it without prompt questions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem "omniauth-twitter" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################################################### | |
# Description: Backup Script for Sql Azure DB | |
# Author: Iain Hunter | |
# Date: 21/08/12 | |
############################################################################### | |
$today = Get-Date | |
$todayStr = $today.ToString("yyyyMMdd") | |
$backupFile = "your-db" + $todayStr + ".bacpac" | |
echo "Exporting backup to: $backupFile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v6; | |
use NativeCall; | |
constant lib = 'libncurses.so.5'; | |
sub initscr() is native(lib) { * } | |
sub endwin() is native(lib) { * } | |
sub printw(Str) is native(lib) { * } | |
sub update() is native(lib) is symbol<refresh> { * } |
OlderNewer