Skip to content

Instantly share code, notes, and snippets.

@citrusui
citrusui / sudoers
Created February 19, 2016 02:10
Default sudoers file on iOS
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
# Failure to use 'visudo' may result in syntax or file permission errors
# that prevent sudo from running.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
@citrusui
citrusui / variables.less
Created February 19, 2016 14:46
The Bootstrap configurations behind citrusui.me.
//
// Variables
// --------------------------------------------------
//== Colors
//
//## Gray and brand colors for use across Bootstrap.
@gray-base: #000;
@citrusui
citrusui / _variables.scss
Last active June 30, 2016 21:55
The Bootstrap configurations that used to be behind citrusui.me.
$bootstrap-sass-asset-helper: false !default;
//
// Variables
// --------------------------------------------------
//== Colors
//
//## Gray and brand colors for use across Bootstrap.
@citrusui
citrusui / _variables.scss
Created March 13, 2016 03:54
The Bootstrap configurations behind citrusui.github.io.
$bootstrap-sass-asset-helper: false !default;
//
// Variables
// --------------------------------------------------
//== Colors
//
//## Gray and brand colors for use across Bootstrap.
@citrusui
citrusui / fancybutton.md
Last active June 13, 2023 17:58
How to add a fancy Direct Message button to your Tweets https://twitter.com/citrusui/status/719279185123012609

How to add a fancy Direct Message button to your Tweets

Step 1: Go to tweeterid.com and enter your username.

Step 2: Copy your user ID from the previous website.

Step 3: Copy the following URL:

@citrusui
citrusui / twbs3.sh
Created April 21, 2016 21:48
Grab Bootstrap 3 (Sass), and compile just the minified CSS
#!/bin/bash
if [ -d "bootstrap-sass" ]; then
cd bootstrap-sass
git pull
cd assets/stylesheets
sass -t compressed _bootstrap.scss bootstrap.min.css
mv bootstrap.min.css ../../../bootstrap.min.css
exit 0
fi
git clone git://github.com/twbs/bootstrap-sass
#!/bin/bash
### run.sh - citrusui CSS
git clone git@gist.github.com:ce3564c1de08d12b56bf
git clone git@github.com:twbs/bootstrap-sass
cd ce3564c1de08d12b56bf
git pull
cd ..
cd bootstrap-sass
@citrusui
citrusui / gitio.rb
Created July 23, 2016 19:48
Customized URLs for https://git.io
#!/usr/bin/env ruby
print "URL: "
ENV["url"] = gets.chomp
print "Code: "
ENV["code"] = gets.chomp
system 'curl -i https://git.io -F "url=$url" -F "code=$code"'
git config --global user.email averymagnotti@outlook.com
git config --global user.name "Avery Magnotti"