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 | |
IFS=$(echo -en "\n\b") | |
if [ -e /opt/arch32 ]; then | |
CDIR="$(pwd)" arch32 $0 ${@}; exit | |
else | |
if [ -d "$CDIR" ]; then | |
cd "$CDIR" | |
fi | |
unset CDIR |
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
package main | |
import ( | |
"testing" | |
"sync/atomic" | |
) | |
func sumI(nums... interface{}) interface{} { | |
var s uint64 | |
for _, n := range nums { |
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
<?php | |
/** | |
* Plugin Name: OneOfOne's NoSpam | |
* Plugin URI: http://limitlessfx.com/php/nospam-wp | |
* Description: Simple transparent no-spam plugin | |
* Version: 0.4 | |
* Author: OneOfOne | |
* Author URI: http://limitlessfx.com/ | |
* License: Apache-2 | |
*/ |
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
package xxhash_map_test | |
import ( | |
"bytes" | |
"fmt" | |
"testing" | |
"github.com/OneOfOne/xxhash" | |
) |
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
package main | |
import ( | |
"fmt" | |
"unsafe" | |
) | |
//#include "xxhash_9p.c" | |
//import "C" //uncomment this and comment the next line for the cgo version | |
func XXH32_test(in unsafe.Pointer, l uint32, seed uint32) uint32 |
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
set nocompatible | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'bling/vim-airline' |
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
{ | |
"html": { | |
"allowed_file_extensions": ["htm", "html", "xhtml", "shtml", "xml", "svg"], | |
"brace_style": "collapse", | |
"end_with_newline": true, | |
"indent_char": "\t", | |
"indent_handlebars": false, | |
"indent_inner_html": false, | |
"indent_scripts": "keep", | |
"indent_size": 1, |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"os" | |
"os/exec" | |
"strings" | |
"time" | |
) |
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
{ | |
"editor.fontFamily": "Fira Code Medium", | |
"editor.fontLigatures": true, | |
"editor.fontSize": 13, | |
"editor.tabSize": 4, | |
"editor.insertSpaces": false, | |
"editor.quickSuggestionsDelay": 50, | |
"editor.renderWhitespace": "boundary", | |
"editor.stablePeek": true, | |
"editor.glyphMargin": true, |
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/sh | |
# | |
# this script is under public domain, go nuts. | |
# originally posted by OneOfOne at https://gist.github.com/OneOfOne/6598fd2f79145200b512 | |
# | |
if [ "$#" -lt 2 ]; then | |
echo "usage: $0 files... [sftp args] host:/path" > /dev/stderr | |
exit 1 |
OlderNewer