Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
| #!/bin/sh | |
| # | |
| # init.d script with LSB support. | |
| # | |
| # Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]> | |
| # | |
| # This is free software; you may redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as | |
| # published by the Free Software Foundation; either version 2, | |
| # or (at your option) any later version. |
| (function () { | |
| try { | |
| if (!google.doodle) google.doodle = {}; | |
| var a = 200, | |
| g = -200, | |
| j = -200, | |
| k, l, m, n = 0, | |
| o = 0, | |
| p = 0, | |
| q = 35, |
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
| image original dimensions (???x???) | |
| files/large/1 | |
| files/thumb/1/auto/auto | |
| files/thumb/1/auto/auto/fill | |
| files/thumb/1/auto/auto/fit | |
| max default dimensions (100x100) with aspect ratio | |
| files/thumb/1 |
| <?php | |
| require 'google-api/apiClient.php'; | |
| require 'google-api/contrib/apiOauth2Service.php'; | |
| require 'google-api/contrib/apiDriveService.php'; | |
| $pdfFile = 'test.pdf'; | |
| // API Console: https://code.google.com/apis/console/ | |
| // Create an API project ("web applications") and put the client id and client secret in config.ini. |
| # The next command will install a [raring] based ubuntu | |
| # chroot, named [cinnamon] into the default directory | |
| # with the targets [core], [cli-extra], [touch], and [keyboard] | |
| sudo crouton -n cinnamon -r raring -t core,cli-extra,touch,keyboard | |
| # Supply your new username and password like normal, and | |
| # once that finishes, enter the chroot with: | |
| sudo enter-chroot -n cinnamon |
| <?php # -*- coding: utf-8 -*- | |
| /** | |
| * Plugin Name: GitHub Plug-in for WordPress (Take 2) | |
| * Description: Basic information about, your repositories, and its Forks and Watchers. | |
| * Plugin URI: https://gist.github.com/brasofilo/6898766 | |
| * Version: 2013.10.09 | |
| * Author: Rodolfo Buaiz | |
| * Author URI: http://brasofilo.com | |
| * License: GPL | |
| * Text Domain: plugin_unique_name |
| 1. my+ 1001. se+ 2001. thedaily+ 3001. empire+ 4001. herb+ | |
| 2. +online 1002. test+ 2002. giant+ 3002. +cook 4002. +teen | |
| 3. the+ 1003. fish+ 2003. survey+ 3003. +deluxe 4003. affordable+ | |
| 4. +web 1004. hk+ 2004. +conference 3004. +crunch 4004. proto+ | |
| 5. +media 1005. florida+ 2005. twit+ 3005. michigan+ 4005. +ity | |
| 6. web+ 1006. fine+ 2006. pick+ 3006. cars+ 4006. myhome+ | |
| 7. +world 1007. loan+ 2007. +dvd 3007. +forest 4007. plastic+ | |
| 8. +net 1008. page+ 2008. cinema+ 3008. yacht+ 4008. +kc | |
| 9. go+ 1009. fox+ 2009. desi+ 3009. +wallet 4009. +foot | |
| 10. +group 1010. +gift 2010. act+ 3010. +contest 4010. +sup |
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
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