I've relocated this file to here: https://github.com/whipowill/d2-plugy-qol/blob/master/Guides/Unix.md
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.
How to use:
- The link in the table of content jumps at the copy of the answer on this page.
- The link on the answer itself points back at the original post.
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
package net.raboof.parser | |
// based on http://blogs.msdn.com/b/lukeh/archive/2007/08/19/monadic-parser-combinators-using-c-3-0.aspx | |
data class Result<TInput, TValue>(val value: TValue, val rest: TInput) | |
class Parser<TInput, TValue>(val f: (TInput) -> Result<TInput, TValue>?) { | |
operator fun invoke(input: TInput): Result<TInput, TValue>? = f(input) | |
infix fun or(other: Parser<TInput, TValue>): Parser<TInput, TValue> { |
// ==UserScript== | |
// @name Unsuck Twitter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://twitter.com/ | |
// @grant none | |
// ==/UserScript== | |
/* jshint -W097 */ |
module AuthRequestHelper | |
def http_auth_as(username, password, &block) | |
@env = {} unless @env | |
old_auth = @env['HTTP_AUTHORIZATION'] | |
@env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(username, password) | |
yield block | |
@env['HTTP_AUTHORIZATION'] = old_auth | |
end | |
def auth_get(url, params={}, env={}) |