Skip to content

Instantly share code, notes, and snippets.

View aquilax's full-sized avatar
💭
Fighting entropy

Evgeniy Vasilev aquilax

💭
Fighting entropy
View GitHub Profile
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
Verifying myself: My Bitcoin username is +aquilax. https://onename.io/aquilax
@aquilax
aquilax / schema.sql
Created September 24, 2014 16:33
scif_sqlite3_schema
CREATE TABLE edomain (
id INTEGER PRIMARY KEY AUTOINCREMENT,
domain_id integer DEFAULT 0,
url character varying(200),
title character varying(50),
status integer DEFAULT 1,
pre_text text,
post_text text,
analytics character varying(15),
header_text text

Keybase proof

I hereby claim:

  • I am aquilax on github.
  • I am aquilax (https://keybase.io/aquilax) on keybase.
  • I have a public key whose fingerprint is 3A08 01C8 95EA 2858 ABB3 45CA 7595 95CF 15EE E430

To claim this, I am signing this object:

@aquilax
aquilax / test.md
Created May 21, 2015 09:34
Test markdown

This is test markdown

@aquilax
aquilax / gist:1103910
Created July 25, 2011 11:02
NodeList in GO
package main
import (
"fmt"
"strconv"
)
type Elements map[string]float32
type Node struct {
@aquilax
aquilax / gist:1175621
Created August 27, 2011 17:11
NoviGeroi2 Fight
public function fight() {
$cmd = $this->getCommandHero();
if ($cmd) {
// Da real deal
switch ($cmd) {
case 'hit' : $this->heroHit(); break;
case 'spell' : $this->heroSpell(); break;
case 'run' : if ($this->heroRun()) return $this->messages; break;
default: // Cheating hurts
}
@aquilax
aquilax / gen.php
Created September 28, 2011 12:07
Генератор на жълти заглавия
<?php
$w1 = array(
'мистерията',
'тайната',
);
$where = array(
'от университета в Тянхъй',
'в малкото немско село',
@aquilax
aquilax / gist:1329929
Created November 1, 2011 04:21
New Google Reader minimizer
#top-bar, #gb{
display: none;
}
#lhn-add-subscription-section, #viewer-header {
height: 40px;
}
a.entry-source-title {
color: #12C;
@aquilax
aquilax / news.php
Created November 18, 2011 11:26
application/classes/model/news.php
<?php
/**
* Description of news
*
* @author aquilax
*/
class Model_News extends Model{
/*
* Load the news for the first page