Skip to content

Instantly share code, notes, and snippets.

@KrzaQ
KrzaQ / ef.php
Created February 20, 2017 22:39
<?
class EyeFucker
{
public $version = '0.4.0.27 b';
public $Settings = array('bold', 'italic', 'strike', 'underline', 'fonttype', 'fontsize', 'coloring','style');
public $Text;
function Charmeleon($input,$nr)
def filter_line(line)
line.gsub!(/\x0f/, '')
line.gsub!(/\x03\d?\d?/, '')
line.gsub!(/\x02/, '')
line
end
def filter_file(name)
File.read(name).each_line.map{ |line| filter_line line }
<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0">
<head>
<dateCreated>Thu, 01 Jun 2017 22:00:08 +0000</dateCreated>
<title>Tiny Tiny RSS Feed Export</title>
</head>
<body>
<outline text="channel 9">
<outline type="rss" text="Channel 9 - Entries tagged with C++ and Beyond 2012" xmlUrl="http://channel9.msdn.com/Tags/cppbeyond+2012/RSS" htmlUrl="https://channel9.msdn.com/Tags/cppbeyond+2012"/>
</outline>

3432112

Timestamp Message
2017-06-06 13:36:45 +0000 <10024MFCAB_PLC100IPR11011010100100000000000000000034321120000000000000000000099900>
2017-06-06 13:37:13 +0000 <10030MFCAB_PLC100TTQ11011000200100000000011000000000003432112000000>
2017-06-06 13:37:13 +0000 <10006PLC100MFCAB_TTA110110002001444805300000000000343211201000000000000000000000000000000111011000300100>
2017-06-06 13:37:13 +0000 <10031MFCAB_PLC100TTC1101100030014448053000000000003432112000000>
2017-06-06 13:37:32 +0000 <10039MFCAB_PLC100TTQ11011000300100000000011000000000003432112000000>
2017-06-06 13:37:32 +0000 <10010PLC100MFCAB_TTA110110003001445005500000000000343211201000000000000000000000000000000111011000400100>
@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;
@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
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
int foo(
T bar,
U baz,
V qux,
X quux
) {
return {};
}
int foo(T bar, U baz, V qux, X quux) {
#!/usr/bin/ruby
DATA = File.read('data.txt').strip
copy = [DATA.clone, true]
# $counts = {}
def make_pass input