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
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 | |
{ |
#!/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() |
#!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 |
#!/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 |
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. |