This file contains 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
#!/usr/bin/python | |
''' | |
A Simple mjpg stream http server for the Raspberry Pi Camera | |
inspired by https://gist.github.com/n3wtron/4624820 | |
''' | |
from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer | |
import io | |
import time | |
import picamera |
This file contains 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
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |
This file contains 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
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security |
This file contains 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
option_settings: | |
- namespace: aws:elasticbeanstalk:cloudwatch:logs | |
option_name: StreamLogs | |
value: true | |
- namespace: aws:elasticbeanstalk:cloudwatch:logs | |
option_name: DeleteOnTerminate | |
value: false | |
- namespace: aws:elasticbeanstalk:cloudwatch:logs | |
option_name: RetentionInDays | |
value: 14 |
This file contains 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
<script> | |
var Testability = (function () { | |
function Testability() {} | |
Testability.prototype.whenStable = function (callback) { | |
callback(); | |
}; | |
return Testability; | |
}()); | |
var testability = window._synctractor = window._synctractor || new Testability(); | |
window.getAngularTestability = function (_element) { return testability; }; |
This file contains 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
https://unpkg.com/{package-name}@{version}/{file-path} | |
https://unpkg.com/[email protected]/dist/howler.js | |
https://unpkg.com/[email protected]/dist/jquery.min.js |
This file contains 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
v2.local.DQOeSspaUDRaR_2gU3zXAnFioD_FxuFX3qtX1ysyBmzL2GXduyYRRJRhvYnCtfE0junXWthF-9yryyT5Iybg7-Cp6w4NQJf-eaybK83L00dVVc2eQcFhGK2ZpBuhRI8yz8AIDJwh-luxrq-kdKvM9mhJ6Qy5CmBpE7ORRfE_LGVwLdemQff6cTowso2Je8qGAQhfqUvfad1VzsbdhL_naRJ4Gfr2Xbv_z9yz8Yix-cLfMLR97aaKXqx3DfDLzJ5UubsNC__liPYs36spmGH9e6IgW2eMmDNOn7P5GWhzVQczJvvu42EaYITpDCPUXBGQzdkNzhevQdlA0c2qaiya3kIlFGy5Tj9M33DViigbEHHgMYq-viacvuVJh3GvjNFxGi3r6U_e2XQqkvCc_wUvy4Dmfoe21WzLoyzcPPchjOVhdyDZfBHN0yzDi_zkXPXKWg8th4fQxqKoDEAyTvg9GdNavt5My_ApC_yUcwN8VCVXulopgKDKdtv7MA1sStn_g2FSN-bpwQd45C3WfbBkD7f6Mugf--biOcaFdpyJAO5WmSo-aq8ZNNI.eyJraWQiOjF9 |