Author: Ale110
My solutions to NEERC-2013 problems.
//{$apptype GUI} | |
uses Gl, Glu, Glut; | |
const width = 600; | |
height = 600; | |
var rotation: integer; | |
procedure display; |
// ==UserScript== | |
// @name Yandex custom hints | |
// @description This replaces default yandex search hints with something more fun. (by Ale110) | |
// @namespace https://github.com/pooh110andco | |
// @include http://*yandex.*/ | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(function($){ |
a, #gbi4t { | |
color: #ff0000 !important; | |
} |
// ==UserScript== | |
// @name Google Everlasting Summer Theme | |
// @namespace http://iichan.hk/ | |
// @description To be used with Everlasting Summer Wallpaper. | |
// @author Ale110 | |
// @homepage http://iichan.hk/b/res/2531714.html | |
// @include http://www.google.com/ | |
// @include https://www.google.com/ | |
// @include http://www.google.com/webhp* | |
// @include https://www.google.com/webhp* |
let rec range a b = | |
if a > b | |
then | |
[] | |
else | |
a :: (range (a+1) b);; | |
let print_list f lst = | |
print_string "["; | |
List.iter (fun x -> (f x; print_string "; ")) lst; |
Author: Ale110
My solutions to NEERC-2013 problems.
(* bin_find.ml v2 * Ale110 * WTFPL2 *) | |
let bin_search a x = | |
let rec search_between m n = | |
if m >= n then | |
None | |
else | |
let mn = (m+n)/2 in | |
let comp = compare x a.[mn] in | |
if comp = 0 then |
// ==UserScript== | |
// @name Puush~ | |
// @namespace [email protected] | |
// @include https://vk.com/im* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
setInterval(function() { | |
puush = document.querySelectorAll('a[href*="puu.sh"]:not(.ale-puush--processed)'); |
#!/bin/bash | |
# Applies the Monokai color scheme to the current terminal session. | |
declare -A map0 | |
map0=( [foreground ]='#F8F8F2' [background ]='#272822' | |
[cursor ]='#F8F8F0' [selection ]='#49483E' | |
[pink ]='#F92672' [green ]='#A6E22E' | |
[yellow ]='#E6DB74' [blue ]='#66D9EF' | |
[purple ]='#AE81FF' [orange ]='#FD971F' | |
[gray ]='#75715E' ) |
BoldAsFont=yes | |
Term=xterm-256color | |
BoldAsColour=yes | |
Black=39,40,34 | |
Red=249,38,114 | |
Green=166,226,46 | |
Yellow=230,219,116 | |
Blue=102,217,239 | |
Magenta=174,129,255 |