Skip to content

Instantly share code, notes, and snippets.

View rajiteh's full-sized avatar
🅱️
'sup

Raj Perera rajiteh

🅱️
'sup
  • @ubisoftinc
  • Toronto, ON
View GitHub Profile
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.Principal;
using System.Threading.Tasks;
public class SigScanSharp
{
@tony-caffe
tony-caffe / Contract Killer 3.md
Last active March 3, 2024 14:50 — forked from malarkey/Contract Killer 3.md
The latest version of Bytes Unlimited ‘Contract Killer’ for web professionals

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : Feb 3rd 2020

@tweekmonster
tweekmonster / python-2.7.9_install.sh
Created May 6, 2015 18:27
Script for compiling Python 2.7.9 on Ubuntu 14.04 LTS
#!/bin/sh
# Script for compiling Python 2.7.9 on Ubuntu 14.04 LTS and installing it to /usr/local
# * Source files are downloaded and left at /usr/local/src
# * Uses checkinstall to generate a deb package, so it will take a while.
# * Can be uninstalled using 'dpkg -r private-compiled-python2.7'
# * Uncomment line 57 if you *don't* want to install virtualenv and supervisor
# * Gists will be downloaded if supervisor's conf or init script doesn't exist.
# * You'll need to add /usr/local/bin to your PATH if it's not already
ohshi()
@robinsmidsrod
robinsmidsrod / gist:dc0dc70adba8dcd79cdf
Created July 2, 2014 07:51
iPXE Clonezilla boot script
#!ipxe
kernel /live/vmlinuz
initrd /live/initrd.img
imgargs vmlinuz boot=live username=user hostname=trusty config quiet union=overlayfs noswap edd=on nomodeset noeject locales= keyboard-layouts= ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no ip= nomodeset vga=normal nosplash
boot
@brandonb927
brandonb927 / osx-for-hackers.sh
Last active May 5, 2024 13:30
OSX for Hackers: Yosemite/El Capitan Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned.
#!/bin/sh
###
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer)
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos
###
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx
@jwo
jwo / registrations_controller.rb
Created September 30, 2011 23:11
API JSON authentication with Devise
class Api::RegistrationsController < Api::BaseController
respond_to :json
def create
user = User.new(params[:user])
if user.save
render :json=> user.as_json(:auth_token=>user.authentication_token, :email=>user.email), :status=>201
return
else
gem 'resque', '>= 1.10.0'
gem 'heroku' # You will need the heroku gem for this too.