Skip to content

Instantly share code, notes, and snippets.

@davefp
davefp / gist:6453348
Last active December 22, 2015 09:39
The Queen
David loves the Queen. She is the ruler of our Commonwealth and owns some corgis and likes riding horses.
@davefp
davefp / gist:6510142
Last active December 22, 2015 17:59
Animals
My favourite animal is the ferret.
My second favourite animal is the Queen.
@davefp
davefp / checklist.md
Last active December 24, 2015 05:09
My checklist for building rockets in KSP

#Kerbal Space Program Pre-Flight Checklist

Launch Vehicle

  • Canards
  • Sepatrons
  • Staging order

Lander

+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 226 | 183 | 7 | 35 | 5 | 3 |
| Helpers | 6 | 6 | 0 | 0 | 0 | 0 |
| Models | 94 | 77 | 6 | 15 | 2 | 3 |
| Mailers | 0 | 0 | 0 | 0 | 0 | 0 |
| Javascripts | 289 | 146 | 0 | 20 | 0 | 5 |
| Libraries | 41 | 34 | 0 | 6 | 0 | 3 |
| Controller tests | 315 | 246 | 8 | 2 | 0 | 121 |
@davefp
davefp / raddit.service
Last active May 19, 2018 23:40 — forked from Artemmkin/raddit.service
Raddit unit file
[Unit]
Description=Raddit application
After=network.target
[Service]
Type=simple
User=raddit-user
WorkingDirectory=/home/raddit-user/raddit
ExecStart=/home/raddit-user/.rbenv/bin/rbenv exec bundle exec puma
Restart=always
@davefp
davefp / LICENSE.md
Last active April 1, 2021 04:30
Weather Widget for Dashing

The MIT License (MIT)

Copyright (c) 2014 David Underwood

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: