Skip to content

Instantly share code, notes, and snippets.

sudo pacman -S base-devel
gpg --recv-key 1EB2638FF56C0C53 # Import key for Dave Reisner <[email protected]>
mkdir build
mkdir cower; cd cower
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur -o PKGBUILD
makepkg -s
makepkg -i
cd ..; mkdir pacaur; cd pacaur
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur -o PKGBUILD
makepkg -s
public class Board {
private Block[][] blocks;
private int moves;
public Board() {
blocks = new Block[4][4];
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 4; j++) {
blocks[i][j] = new Block(0);
}
/*************************************************************************
* Compilation: javac PennDraw.java
* Execution: java PennDraw
*
* Standard drawing library. This class provides a basic capability for
* creating drawings with your programs. It uses a simple graphics model that
* allows you to create drawings consisting of points, lines, and curves
* in a window on your computer and to save the drawings to a file.
*
* Todo
public class Block {
private int value;
private int[][] colors = {
{238, 228, 218},
{238, 228, 218},
{237, 224, 200},
{242, 177, 121},
{245, 149, 99},
{246, 124, 95},
{246, 94, 59},
let res = stream.then(move |stream| {
let stream = stream.expect("Error attaching to full node socket");
client::post(&endpoint)
.timeout(Duration::from_secs(8))
.with_connection(Connection::from_stream(stream))
.json(func_call)
.unwrap()
.send()
.then(move |response| {
trace!("Got response {:?}", response);

Keybase proof

I hereby claim:

  • I am kingoflolz on github.
  • I am kindiana (https://keybase.io/kindiana) on keybase.
  • I have a public key ASARk6UWnP76Y8xQbgaNBWlNefr1ETc361NXJKOMyyBTJwo

To claim this, I am signing this object:

def find_dupe_linear(a):
# get inside loop
current = 0
for i in range(len(a)):
current = a[current]
# get loop length
c = current
length = 0
for i in range(len(a)):
import json
import operator
import random
import re
import statistics
import requests
import time
from functools import reduce
from pprint import pprint
import json
def application(functor, arg, slash):
if functor is None or arg is None:
return None
if '/' in arg or '\\' in arg:
arg = '(' + arg + ')'
arg = slash + arg
if functor.endswith(arg):
res = functor[:-len(arg)]
B=None
b=len
t=input
n=range
import json
def k(functor,D,slash):
if functor is B or D is B:
return B
if '/' in D or '\\' in D:
D='('+D+')'