- http://support.system76.com/articles/restore/
- http://support.system76.com/articles/touchpad-disable/
- In
Startup Applications
GUI, add commandsynclient RightButtonAreaLeft=0 && synclient RightButtonAreaTop=0
to disable touchpad right click area rm ~/examples.desktop
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
############################################################################### | |
# # | |
# Returns the successor to str. The successor is calculated by incrementing # | |
# characters starting from the rightmost alphanumeric (or the rightmost # | |
# character if there are no alphanumerics) in the string. Incrementing a # | |
# digit always results in another digit, and incrementing a letter results in # | |
# another letter of the same case. Incrementing nonalphanumerics uses the # | |
# underlying character set’s collating sequence. # | |
# # | |
# If the increment generates a “carry,” the character to the left of it is # |
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 ruby | |
require 'httparty' | |
require 'sendgrid-ruby' | |
if (ARGV.length > 2 || ARGV.length == 0) | |
abort 'Usage: wikispam SEND_TO_EMAIL_ADDRESS [NUMBER_OF_EMAILS]' | |
end | |
send_to = ARGV[0] |
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/bash | |
xdg-open &>/dev/null https://www.railstutorial.org/book/filling_in_the_layout#cha-filling_in_the_layout & |
I hereby claim:
- I am cohen-carlisle on github.
- I am cohen_carlisle (https://keybase.io/cohen_carlisle) on keybase.
- I have a public key ASAslg__4Tws1wHWZmGqz0P7-pGKOLycvgKwj5zHCtgMeAo
To claim this, I am signing this object:
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
mfdiff() { | |
cat $1 | | |
mix format - | | |
diff --unified --color=always $1 - | | |
less --raw-control-chars --quit-if-one-screen --no-init | |
} |
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
edex() { | |
local dir=$(exercism download --uuid=$1) | |
echo $dir | |
cd $dir | |
sed -i -- 's/^ @tag :pending/ # @tag :pending/g' *_test.exs | |
elixir *_test.exs | |
} |
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 bash | |
# this script wraps kiex and kerl to activate the correct elixir and erlang | |
# versions in concert with each other and must be sourced, not executed | |
# mapping of elixir versions to compatible erlang versions | |
declare -A ex2erl | |
ex2erl[1.0.0]=17.0 | |
ex2erl[1.1.0]=18.0 | |
ex2erl[1.2.0]=18.0 |