Skip to content

Instantly share code, notes, and snippets.

Avatar
🗿
мы ВАЙБИН здесь

Alexander Pushkov notpushkin

🗿
мы ВАЙБИН здесь
View GitHub Profile
View gl-sand-clocks.pas
//{$apptype GUI}
uses Gl, Glu, Glut;
const width = 600;
height = 600;
var rotation: integer;
procedure display;
View yandex-custom-hints.user.js
// ==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($){
View gist:4041479
a, #gbi4t {
color: #ff0000 !important;
}
@notpushkin
notpushkin / google-eroge.user.js
Created Nov 8, 2012
Everlasting Summer Theme
View google-eroge.user.js
// ==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*
View gist:4154240
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 Jan 19, 2013
NEERC-2013 Solutions
View README.md

NEERC-2013 Solutions

Author: Ale110

Olympiad homepage

My solutions to NEERC-2013 problems.

View bin_find.ml
(* 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
View 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)');
View monokai.sh
#!/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 Mar 9, 2013
Monokai for mintty
View .minttyrc
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