Skip to content

Instantly share code, notes, and snippets.

View dpp's full-sized avatar

David Pollak dpp

View GitHub Profile
@dpp
dpp / install_docker.sh
Last active July 19, 2018 15:38
A script to install Docker on a minimal Ubuntu 16.04 machine
#!/bin/bash
apt-get update
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo 'deb https://apt.dockerproject.org/repo ubuntu-xenial main' > /etc/apt/sources.list.d/docker.list
apt-get update
@dpp
dpp / open_source.md
Created January 22, 2016 18:29
Open source at NASA

In response to this Tweet

For software flying in Space:

  • Actually lot of our critical 3 projects/products uses open source software - especially Operating Systems
  • Astronaut's workstations have lots of open source software on it. For example, VLC media player, notepad++, Mozilla browser
  • Lot of time for flight software needs, there are not that many open source software packages out there so, NASA itself has also created many open source software packages for "core" flight software - these are currently used for it's critical 3 products such as satellites, landers, unmanned vehicles, and they are certifying it for critical 1 products such as space suits and future manned vehicles. Here is example of it, its called "Core Flight Executive", "Core F
@dpp
dpp / ubi.md
Created September 16, 2015 17:40
Basic Income Links
@dpp
dpp / mgt.txt
Last active October 23, 2015 16:54
Engineering mgt and start-up posts
https://medium.com/@firstround/dear-startup-advisors-you-don-t-always-need-to-be-right-but-you-have-to-be-solid-75652c863566
http://jimhighsmith.com/velocity-is-killing-agility/
http://firstround.com/review/Why-Yammer-believes-the-traditional-engineering-organizational-structure-is-dead/
http://russolsen.com/blog/2012/08/09/the-best-programming-advice-i-ever-got/
http://firstround.com/review/The-one-cost-engineers-and-product-managers-dont-consider/
@dpp
dpp / template.cljs
Created June 8, 2015 18:55
CSS Selector Transforms in ClojureScript
(ns portal.util.template
(:require [goog.dom :as dom]
[domina :as domina]
[crate.core :as crate]
[clojure.string :as s]
))
(def data
"<html><body><div>hello <span id='moo' class='woo'>moo</span></div></body></html>")
Verifying that +dpp is my openname (Bitcoin username). https://onename.io/dpp

Keybase proof

I hereby claim:

  • I am dpp on github.
  • I am dpp (https://keybase.io/dpp) on keybase.
  • I have a public key whose fingerprint is F998 8184 C109 0369 E375 8A0C D834 3899 0939 E27F

To claim this, I am signing this object:

@dpp
dpp / gist:e3a4a2df9c39df78543a
Created July 27, 2014 11:26
Chase fraud alert landing page
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
@dpp
dpp / gist:6033615
Created July 18, 2013 22:17
Ford online service books
Server Error in '/SDCP' Application.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
@dpp
dpp / Moose.scala
Created November 8, 2012 18:31
Telegram/Hoisted Plugin
package sloth
import org.hoisted.lib._
import net.liftweb._
import common._
import util._
import Helpers._
import scala.xml._
object Moose {