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
% | |
% Manager of the queue | |
% Controls addition, removal, and all job-related operations. | |
% | |
-module(ffw_manager). | |
-behaviour(gen_server). | |
-author("?"). | |
-compile([export_all]). |
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
#lang scheme | |
(require racket/sequence) | |
(provide positions) | |
(provide lowers) | |
(provide count) | |
(provide let->int) | |
(provide int->let) | |
(provide shift) |
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
#lang racket | |
(require racket/sequence) | |
(require racket/file) | |
(provide encode) | |
(provide encode-english) | |
(provide encode-russian) | |
(provide crack) |
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
execve("/usr/lib/jvm/java-6-openjdk/bin/java", ["/usr/lib/jvm/java-6-openjdk/bin/"..., "-Xmx256M", "-Xms32M", "-Xbootclasspath/a:/usr/share/sca"..., "-Dscala.usejavacp=true", "-Dscala.home=/usr/share/scala", "-Denv.emacs=", "scala.tools.nsc.CompileClient"], [/* 34 vars */]) = 0 | |
brk(0) = 0x200e000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f48a7734000 | |
readlink("/proc/self/exe", "/usr/lib/jvm/java-6-openjdk/bin/java", 4096) = 36 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/usr/lib/jvm/java-6-openjdk/bin/../lib/amd64/jli/tls/x86_64/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) | |
stat("/usr/lib/jvm/java-6-openjdk/bin/../lib/amd64/jli/tls/x86_64", 0x7fffbc256780) = -1 ENOENT (No such file or directory) | |
open("/usr/lib/jvm/java-6-openjdk/bin/../lib/amd64/jli/tls/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) | |
stat("/usr/lib/jvm/java-6-openjdk/bin/../lib/amd64/jli/tls", 0x7fffbc256 |
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
use_xft yes | |
xftfont DejaVu Sans Mono:size=20 | |
gap_x 1300 | |
gap_y 10 | |
minimum_size 800 500 | |
maximum_width 1880 | |
text_buffer_size 3000 | |
alignment top_left |
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 python | |
import urllib.request | |
import json | |
import pprint | |
import sys | |
request_url = 'http://www.commandlinefu.com/commands/browse/last-week/sort-by-votes/json' | |
def make_hint(hint, i): |
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
execve("/usr/bin/mc", ["mc"], [/* 44 vars */]) = 0 | |
brk(0) = 0x261e000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f129579f000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=169015, ...}) = 0 | |
mmap(NULL, 169015, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1295775000 | |
close(3) = 0 | |
open("/usr/lib/libslang.so.2", O_RDONLY) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \216\4\0\0\0\0\0"..., 832) = 832 |
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 | |
# | |
# $1 -- incoming bandwidth | |
# $2 -- outgoing bandwidth | |
# | |
# bandwidth.sh init -- modprobe && ip up | |
# bandwidth.sh x y -- set incoming bandwidth to x, outgoing to y | |
# bandwidth.sh -- remove limits | |
# bandwidth.sh - y -- remove incoming limits, set outgoing limit |
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/python | |
# -*- coding: utf-8 -*- | |
# | |
# The script prints new packages' info: | |
# package name -> old version -> new version | |
# colorized for conky | |
# | |
import sys | |
import subprocess |
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
from __future__ import unicode_literals | |
from __future__ import print_function | |
from __future__ import division | |
from __future__ import absolute_import | |
from future import standard_library | |
standard_library.install_aliases() | |
from builtins import * # noqa | |
from ycmd.completers.general_completer import GeneralCompleter | |
from ycmd import responses |
OlderNewer