This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ############################################################################# | |
| # LIBRARIES | |
| import scraperwiki | |
| import urllib | |
| import lxml.html as lh | |
| import mechanize | |
| import re | |
| import simplejson |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var qty_parking_spots, | |
| square_feet, | |
| qty_lubrication_or_service_bay, | |
| qty_day_shift_employees; | |
| // Automobile or machinery sales and service garages | |
| // rule: 1 parking space for each 400 square feet of floor area | |
| parking_spots = floor(square_feet / 400); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A handy class to calculate color values. | |
| * | |
| * @version 1.0 | |
| * @author Robert Eisele <[email protected]> | |
| * @copyright Copyright (c) 2010, Robert Eisele | |
| * @link http://www.xarg.org/2010/03/generate-client-side-png-files-using-javascript/ | |
| * @license http://www.opensource.org/licenses/bsd-license.php BSD License | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ lsof -wni tcp:3000 | |
| $ kill -9 PID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 4 tbsp butter | |
| 2 large onion, diced | |
| 4 stalks celery, diced | |
| 3 cups orange juice | |
| 0.5 cups sugar | |
| 3 cups cranberries | |
| 24 pitted prunes, halved | |
| 12 dried apricots, halved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Morsino | |
| Flashes the morse code of the clicked letter. | |
| This example code is in the public domain. | |
| */ | |
| const int ledPin = 13; // the number of the LED pin | |
| const int buttonPin = 2; // the number of the pushbutton pin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @-webkit-keyframes blink { | |
| 0% { | |
| opacity: 1; | |
| } | |
| 49.999% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Target styles based on screen color support | |
| */ | |
| /* Screen is in monochrome */ | |
| @media (monochrome) { | |
| } | |
| /* Screen is in color */ | |
| @media (color) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| 'use strict'; | |
| function preventPinchToZoom(event) { | |
| if (event.touches.length >= 2) { | |
| event.stopPropagation(); | |
| event.preventDefault(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pop App https://popapp.in/ | |
| Marvel App https://marvelapp.com/iphone/ | |
| IDEs | |
| Macaw http://macaw.co/ | |
| Sketch http://bohemiancoding.com/sketch/ | |
| Sketch & D3 http://snips.net/blog/posts/2014/01-10-fast-interactive_prototyping_with_d3_js.html | |
| Hardware |