Skip to content

Instantly share code, notes, and snippets.

Damian Janowski djanowski

Block or report user

Report or block djanowski

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View git-remove-submodule
#!/bin/sh
#
# Adam Sharp
# Aug 21, 2013
#
# Usage: Add it to your PATH and `git remove-submodule path/to/submodule`.
#
# Does the inverse of `git submodule add`:
# 1) `deinit` the submodule
# 2) Remove the submodule from the index and working directory
View login_app.rb
require 'rubygems'
require "sinatra"
enable :sessions
#use Rack::Session::Cookie
#use Rack::Session::Pool
get '/' do
if session[:username]
"hi, #{session[:username]}"
You can’t perform that action at this time.