(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 bash | |
| set -o errexit | |
| set -o xtrace | |
| # Provide the "language" as $TRAVIS_LANGUAGE or first positional argument. Available languages | |
| # at the time of this writing are: | |
| # | |
| # android | |
| # erlang |
| # OSX for Hackers (Mavericks/Yosemite) | |
| # | |
| # Source: https://gist.github.com/brandonb927/3195465 | |
| #!/bin/sh | |
| # Some things taken from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # Ask for the administrator password upfront |
| // (c) 2014 Nate Cook, licensed under the MIT License | |
| /** | |
| Returns a tuple with the closest compound fraction possible with Unicode's built-in "vulgar fractions". | |
| See here: http://www.unicode.org/charts/PDF/U2150.pdf | |
| :param: number The floating point number to convert. | |
| :returns: A tuple (String, Double): the string representation of the closest possible vulgar fraction and the value of that string |
| import Foundation | |
| // Playground - noun: a place where people can play | |
| class Channel<T> { | |
| var stream: Array<T> | |
| let queue: dispatch_queue_t | |
| let semaphore: dispatch_semaphore_t | |
| init() { | |
| self.stream = [] |
(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.
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| #!/usr/bin/env python2 | |
| """ | |
| Author: takeshix <[email protected]> | |
| PoC code for CVE-2014-0160. Original PoC by Jared Stafford ([email protected]). | |
| Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
| """ | |
| import sys,struct,socket | |
| from argparse import ArgumentParser |
| You appear to be advocating a new: | |
| [ ] cloud-hosted [ ] locally installable [ ] web-based [ ] browser-based [ ] language-agnostic | |
| [ ] language-specific IDE. Your IDE will not succeed. Here is why it will not succeed. | |
| You appear to believe that: | |
| [ ] Syntax highlighting is what makes programming difficult | |
| [ ] Garbage collection is free | |
| [ ] Computers have infinite memory | |
| [ ] Nobody really needs: |
These are my notes basically. At first i created this gist just as a reminder for myself. But feel free to use this for your project as a starting point. If you have questions you can find me on twitter @thomasf https://twitter.com/thomasf This is how i used it on a Debian Wheezy testing (https://www.debian.org/releases/testing/)
Discuss, ask questions, etc. here https://news.ycombinator.com/item?id=7445545