duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| # -*- coding: utf-8 -*- | |
| import asyncio | |
| @asyncio.coroutine | |
| def cmd_runner(cmd): | |
| # cmd = "ls" | |
| print(cmd) |
| #!/bin/sh | |
| # Small script to gather data from picosat and your own SAT solver | |
| # Useful for LI prac 01 | |
| # | |
| # Example usage: | |
| # ./li-results.sh > out.txt | |
| # Your solver | |
| BIN=./solver |
This snippet of code was posted in 2014 and slightly revised in 2016 and 2017. It was more of a quick'n'dirty script than a polished tool. It is made only for Linux and in Python 2, which has since become outdated.
I currently do not use it, and I suggest you avoid it as well. Please do not expect support for using this script.
🔥 If you need an alternative, @glaucocustodio has kindly suggested EasyVPN in this comment.
The rest of the README is left for historical purposed.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/usr/bin/env python2 | |
| """ | |
| Author: takeshix <takeshix@adversec.com> | |
| PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org). | |
| Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
| """ | |
| import sys,struct,socket | |
| from argparse import ArgumentParser |
HEY: I've turned this into a blog post, which is a little more in depth.
🚨 https://eev.ee/blog/2016/06/04/converting-a-git-repo-from-tabs-to-spaces/ 🚨
| <!-- DuckDuckGo HTTPS search using Startpage suggestions. | |
| - Url params: https://duckduckgo.com/params | |
| - OSX location: Firefox.app/Contents/MacOS/browser/searchplugins | |
| - In about:config, browser.search.defaultenginename = DuckDuckGo --> | |
| <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"> | |
| <ShortName>DuckDuckGo</ShortName> | |
| <Description>DuckDuckGo Search</Description> | |
| <InputEncoding>UTF-8</InputEncoding> | |
| <Image width="16" height="16">https://duckduckgo.com/favicon.ico</Image> |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs