Skip to content

Instantly share code, notes, and snippets.

View minglecm's full-sized avatar
☠️

Caleb Mingle minglecm

☠️
View GitHub Profile

Keybase proof

I hereby claim:

  • I am minglecm on github.
  • I am mingle (https://keybase.io/mingle) on keybase.
  • I have a public key ASABGs4lKydtXXvK8TjRO0aPnu8hQHWqUW_BGpZxb_0D4Qo

To claim this, I am signing this object:

package main
import (
"log"
"os"
"os/signal"
"sync"
"syscall"
"time"
)
package main
import (
"fmt"
)
func makeCompute(fn func(float64, float64) float64) func(float64, float64) float64 {
return func(x, y float64) float64 {
return fn(x, y)
}
func makeCompute(fn func(float64, float64) float64) func(float64, float64) float64 {
return func(x, y float64) float64 {
return fn(x, y)
}
}
Name | Gamertag
-----------------
mingle | snginear
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>
<channel>
sudo apt-get --assume-yes install libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev mercurial build-essential cmake exuberant-ctags
sudo apt-get --assume-yes install ruby-dev
sudo apt-get --assume-yes remove vim vim-runtime gvim vim-tiny vim-common vim-gui-common
hg clone https://vim.googlecode.com/hg/ vim
cd vim
. ~/dotfiles/.vim.configure
make VIMRUNTIMEDIR=/usr/share/vim/vim74
sudo make install

Keybase proof

I hereby claim:

  • I am dentafrice on github.
  • I am mingle (https://keybase.io/mingle) on keybase.
  • I have a public key whose fingerprint is 9F08 A53F 0297 D9F5 5563 9AD4 18CF EC4A F1A2 8185

To claim this, I am signing this object:

function virtualenv_change() {
if [ -e "$PWD/env/bin/activate" ]; then
source "$PWD/env/bin/activate"
elif which deactivate &> /dev/null; then
deactivate
fi
}
chpwd_functions=(${chpwd_functions[@]} "virtualenv_change")
// Nice question for JS candidates..
// When executed, what will be output to the console?
var text = 'outside';
function logIt(){
console.log(text);
var text = 'inside';
};
logIt();