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
#include <iostream> | |
#include <cstdio> | |
#include <cstring> | |
#include <vector> | |
#include <queue> | |
using namespace std; | |
#define NUMV 1 // the maximum number of vertices | |
#define PROB_NAME "dijkstra" //replace with problem name | |
#define INF ~(1 << 31) |
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
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
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
#include <vector> | |
class BIT { | |
private: | |
vector<int> ft; | |
int size; | |
int lastone(int S) { | |
return S & (-S); | |
} |
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
// ==UserScript== | |
// @name Kissanime Adblocker | |
// @namespace http://sauyon.com/ | |
// @version 0.1 | |
// @description enter something useful | |
// @match http://kissanime.com/* | |
// @copyright 2013, Sauyon | |
// ==/UserScript== | |
if(window.top != window.self) { |
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 python3 | |
import sys | |
import binascii | |
import string | |
import codecs | |
import xml.etree.ElementTree as ET | |
import collections | |
stroketypes = { |
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 | |
usage() { | |
cat <<EOF | |
USAGE: bootstrap.sh USERNAME | |
EOF | |
} | |
getrep() { | |
read -p "$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
# Maintainer: Caleb Maclennan <[email protected]> | |
# Contributor: Sauyon Lee <[email protected]> | |
pkgname=powerline-fonts | |
_tag=2015-12-04 | |
pkgver=20151204 | |
pkgrel=1 | |
depends=('fontconfig' 'xorg-font-utils') | |
url=('https://github.com/powerline/fonts') | |
license='CPL' |
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
define("util/ob", ["jquery"], function(a) { | |
var b = this, | |
c = 0, | |
d = 1, | |
e = 2, | |
f = "", | |
g = " ", | |
h = '"', | |
i = "#", | |
j = "*", |
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
{ | |
quodlibet-xine = callPackage ../applications/audio/quodlibet { | |
xineBackend = true; | |
keybinder3 = null; | |
gtksourceview = null; | |
libmodplug = null; | |
kakasi = null; | |
libappindicator-gtk3 = null; | |
}; |
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
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINnH9KtWUOFPUqHDEQuucg2dyDYcJDVlo8aH/cHpgWko sauyon@byakuren |
OlderNewer