Skip to content

Instantly share code, notes, and snippets.

View KrzaQ's full-sized avatar

Paweł Zakrzewski KrzaQ

View GitHub Profile
javascript:{/**%20*%20Made%20by%20kurwa%20Kerai%20*%20chcesz%20rozpowszechniac?%20podawaj%20%C5%BAr%C3%B3d%C5%82o%20*%20chcesz%20cos%20zmieniac?%20wszystkie%20komentarze%20pisz%20*%20w%20komentarzach%20wieloliniowych,%20bo%20sie%20moze%20popsuc%20pod%20chrome%20i%20opera...%20*/var%20whitespace%20=%20"-\/|.,!:;'\"%20\t\n\r{}[]()";var%20stack%20=%20[];var%20curNIndex%20=%200;var%20curNode%20=%20null;var%20curIndex%20=%20-1;var%20state%20=%201;var%20lastword%20=%20'';String.prototype.startsWith%20=%20function(prefix)%20{return%20this.indexOf(prefix)%20===%200;};String.prototype.endsWith%20=%20function(suffix)%20{return%20this.match(suffix+"$")%20==%20suffix;};/*%20Nie%20moge%20tak%20robi%C4%87%20niestety%20*/function%20kurwizeLink(url){if(url.startsWith('javascript:'))return%20url;%20/*%20chyba%20niewiele%20moge%20zrobic%20kurwa%20*/if(url.startsWith('#'))return%20url;if(url.startsWith('http://kurwa.keraj.net/?url='))return%20url;%20/*%20no,%20bo%20kurwa,%20bez%20jaj%20;p%20*/var%20base%20=%20'';if(!url.startsW
import QtQuick 2.0
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.3
import "../js/temp.js" as TempJS
Rectangle {
id: mainScreen
anchors.fill: parent
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Stylish Curriculum Vitae
% LaTeX Template
% Version 1.0 (18/7/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Stefano (http://stefano.italians.nl/)
#include <array>
#include <iostream>
#include <functional>
#include <vector>
#include <type_traits>
template<int IP>
struct machine
{
std::array<int, 6> registers;
#!/usr/bin/ruby
DATA = File
.read('data.txt')
.scan(/Step (.) must be finished before step (.) can begin/)
def produce_order g
ret = ''
#!/usr/bin/ruby
DATA = File.read('data.txt').strip
copy = [DATA.clone, true]
# $counts = {}
def make_pass input
int foo(
T bar,
U baz,
V qux,
X quux
) {
return {};
}
int foo(T bar, U baz, V qux, X quux) {
U libcxx
Checked out revision 321489.
cd /llvm
patch -p0 < /geordi/src/llvm-no-temp-files.patch
patching file lib/Support/FileOutputBuffer.cpp
Hunk #1 FAILED at 38.
Hunk #2 FAILED at 67.
Hunk #3 FAILED at 116.
3 out of 3 hunks FAILED -- saving rejects to file lib/Support/FileOutputBuffer.cpp.rej
@KrzaQ
KrzaQ / foo.rb
Last active July 13, 2017 20:28
def get_data(n)
fn = 'g8/%s' % n
if File.exist? fn
File.read fn
else
link = 'http://gynvael.coldwind.pl/misja008_drone_io/scans/%s' % n
begin
b = Time.now
Thread.current[:c] = HTTPClient.new unless Thread.current[:c]
body = Thread.current[:c].get_content link
@KrzaQ
KrzaQ / x.cpp
Last active July 8, 2017 16:07
class Window
{
private:
Window(){}
Window(const Window &){}
sf::RenderWindow window;
public:
static sf::RenderWindow& getWindow()
{
static Window window;