Let's say you want to host domains first.com and second.com.
Create folders for their files:
by Bjørn Friese
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.
| .PHONY: clean-pyc clean-build docs clean | |
| define BROWSER_PYSCRIPT | |
| import os, webbrowser, sys | |
| try: | |
| from urllib import pathname2url | |
| except: | |
| from urllib.request import pathname2url | |
| webbrowser.open("file://" + pathname2url(os.path.abspath(sys.argv[1]))) | |
| endef |
| ! Title: Disqus click-to-load | |
| # Copy-paste the static filters below into your "My filters" pane in the | |
| # dashboard. | |
| # Purpose is to load Disqus comments on demand only, so that no connection | |
| # to `disqus.com` occurs by default when you land on a site which uses | |
| # Disqus comments widget. | |
| # Not connecting to Disqus by default is a good thing for such a | |
| # ubiquitous server as `disqus.com`, which can be used to build a |
| --- | |
| title: "Visualizing the Clinton Email Network in R" | |
| author: "hrbrmstr" | |
| date: "`r Sys.Date()`" | |
| output: html_document | |
| --- | |
| ```{r include=FALSE} | |
| knitr::opts_chunk$set( | |
| collapse=TRUE, | |
| comment="#>", |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
The Federal Aviation Administration is posting PDFs of the Section 333 exemptions that it grants, i.e. the exemptions for operators who want to fly drones commercially before the FAA finishes its rulemaking. A journalist wanted to look for exemptions granted to operators in a given U.S. state. But the FAA doesn't appear to have an easy-to-read data file to use and doesn't otherwise list exemptions by location of operator.
However, since their exemptions page is just one giant HTML table for listing the PDFs, we can just use wget to fetch all the PDFs, run pdftotext on each file, and then [grep](https://medium.com/@rualthanzauva/grep-was-a-private-command-of-m
| #!/bin/bash | |
| ############################################################################### | |
| ## ## | |
| ## Build and package OpenSSL static libraries for OSX/iOS ## | |
| ## ## | |
| ## This script is in the public domain. ## | |
| ## Creator : Laurent Etiemble ## | |
| ## ## | |
| ############################################################################### |
I would like to tell my story of burnout at Amazon, considering the fact that there is so many stories out there on both sides of the issue. My story is also on both sides of the issue, and I've had a lot of time to think about why people can see the same culture but come away with completely different conclusions. This is a throwaway because I still work there and I don't plan on changing that, and I don't exactly trust the company to take this in good faith, despite the fact that I mean this as a purely constructive criticism for a company that I really do like.
I am an autodidact (my formal education only tangentially describes what I can do), and a polymath (capable of holding my own amongst PhD-level Operations Researchers, Statisticians, Econometricians, Data Scientists, Computer Scientists, as well as Software Engineers). I love to solve real world problems, and in many ways am the perfect type of person for Amazon's culture. I started in a level 5 position, but felt from the beginning that I warrant