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
#include <algorithm> | |
#include <array> | |
#include <chrono> | |
#include <cstdint> | |
#include <cstdio> | |
#include <random> | |
#include <vector> | |
using namespace std; | |
using namespace std::chrono; |
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
function wrapssh() { | |
setopt shwordsplit &>/dev/null | |
# load agent if it's not running | |
if [ -z "$SSH_AUTH_SOCK" ]; then | |
eval $(ssh-agent) &>/dev/null | |
fi | |
# load keys if necessary | |
DO_ADD=0 |
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
-- Prosody IM | |
-- Copyright (C) 2008-2010 Matthew Wild | |
-- Copyright (C) 2008-2010 Waqas Hussain | |
-- | |
-- This project is MIT/X11 licensed. Please see the | |
-- COPYING file in the source package for more information. | |
-- | |
local t_insert = table.insert; |
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
#!/usr/bin/env lua | |
-- | |
-- (c) 2013 Bernhard Seibold | |
-- License: MIT/X11 | |
-- | |
-- Disclaimer: | |
-- =========== | |
-- |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from sys import exit | |
import struct | |
try: | |
from smartcard.System import readers | |
from smartcard.util import toHexString | |
except: |
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
dpkg-query -Wf'${Status} ${Installed-Size} ${Package}\n'| sed -ne's/^install ok installed //p' | sort -n |
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
trait Breaks { | |
import scala.util.continuations.{reset,shift} | |
def breakable = reset[Unit,Unit] _ | |
def break = shift { k: (Unit => Unit) => () } | |
} | |
object CPSBreaks extends Application with Breaks { | |
breakable { |