Skip to content

Instantly share code, notes, and snippets.

View notpushkin's full-sized avatar
🕊️

Alexander Pushkov notpushkin

🕊️
View GitHub Profile
//{$apptype GUI}
uses Gl, Glu, Glut;
const width = 600;
height = 600;
var rotation: integer;
procedure display;
@notpushkin
notpushkin / yandex-custom-hints.user.js
Created October 14, 2012 07:51
Yandex custom hints
// ==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;
}
@notpushkin
notpushkin / google-eroge.user.js
Created November 8, 2012 21:44
Everlasting Summer Theme
// ==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*
@notpushkin
notpushkin / gist:4154240
Created November 27, 2012 13:33
partitions
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;
@notpushkin
notpushkin / README.md
Created January 19, 2013 16:47
NEERC-2013 Solutions

NEERC-2013 Solutions

Author: Ale110

Olympiad homepage

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
@notpushkin
notpushkin / puush.user.js
Created March 4, 2013 16:11
puush.user.js
// ==UserScript==
// @name Puush~
// @namespace ale110+puush@vk.com
// @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' )
@notpushkin
notpushkin / .minttyrc
Created March 9, 2013 10:28
Monokai for mintty
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