My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
|whichfizz = fn|
|(0, 0, _) -> "FizzBuzz"|
|(0, _, _) -> "Fizz"|
|(_, 0, _) -> "Buzz"|
|(_, _, n) -> n|
|fizzbuzz = fn(n) ->|
|whichfizz.(rem(n, 3), rem(n, 5), n)|
From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:
There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.
That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.
- 13" Macbook Pro 3.3 GHz i7 (late 2016)
- Microsoft Surface Book (2016)
- Dell up3216q 32" monitor
Install Terminator (shell)
sudo add-apt-repository ppa:gnome-terminator sudo apt-get update sudo apt-get install terminator
Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").
|// IMPORTANT: Customize these settings for your website.|
|$acf_recalc_settings = array(|
|// How many updates to do each page load. As of November 2018, Google's GeoLocation API limit is 100 per second.|
|'posts_per_run' => 16,|
|from random import choice|
|from scrapy import signals|
|from scrapy.exceptions import NotConfigured|
|"""Rotate user-agent for each request."""|
|def __init__(self, user_agents):|
|self.enabled = False|
|self.user_agents = user_agents|
As configured in my dotfiles.
start new with session name: