This file contains hidden or 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
extern crate odbc; | |
extern crate env_logger; | |
use odbc::*; | |
fn main() { | |
env_logger::init(); | |
match connect() { | |
Ok(()) => println!("Success"), |
This file contains hidden or 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
void drawScissor(NVGcontext* vg, float x, float y, float t) | |
{ | |
nvgSave(vg); | |
nvgTranslate(vg, x, y); | |
nvgRotate(vg, nvgDegToRad(5)); | |
nvgBeginPath(vg); | |
nvgRect(vg, -20,-20,60,40); | |
nvgFillColor(vg, nvgRGBA(255,0,0,255)); | |
nvgFill(vg); |
This file contains hidden or 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
extern crate gl; | |
extern crate glutin; | |
extern crate nanovg; | |
use glutin::GlContext; | |
use nanovg::{Color, ColoringStyle, FillStyle, Frame, Solidity, Winding}; | |
const INIT_WINDOW_SIZE: (u32, u32) = (400, 400); | |
fn main() { |
This file contains hidden or 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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("www.titulky.com") { | |
#cboxOverlay { | |
display: none !important; | |
} | |
#colorbox { | |
display: none !important; | |
} |
This file contains hidden or 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 string import ascii_lowercase | |
from random import choice | |
from unidecode import unidecode | |
import json | |
import requests | |
import socket | |
import threading | |
SERVER_PORT = 7274 |
This file contains hidden or 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
// ==UserScript== | |
// @name KickAssTorrents LinkFixer | |
// @namespace KATLinkFixer | |
// @description Disables the confirmation dialogs/pages that links in the description block of KAT torrents show when clicked. | |
// @include /^(http|https)://kat\.cr/[a-zA-Z0-9-]+\.html$/ | |
// @version 1.0.5 | |
// @grant none | |
// @updateURL https://gist.github.com/zxey/33e8110bdace13101b021398bcc6d6b4/raw/KickAssTorrents_LinkFixer.user.js | |
// ==/UserScript== | |
(function(){ |
NewerOlder