Hierarchical node.js configuration with files, environment variables,
command-line arguments, and atomic object merging.
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 GRID_URL = 'http://localhost:4444/wd/hub'; | |
| var GRID_URL_SAUCELABS = 'http://[email protected]:80/wd/hub'; | |
| var GRID_URL_BROWSERSTACK = 'http://[email protected]/wd/hub'; | |
| var domains = { | |
| local: 'obfuscated-url', | |
| dev: 'obfuscated-url', | |
| prod: 'obfuscated-url' | |
| }; |
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
| curl -H "Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no" -IXGET www.xxxx.org |
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
| send data to graphite | |
| echo "stats.anything.you.like:14|c" | nc -w 1 -u graphite 8125 |
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
| server { | |
| #listen 80; ## listen for ipv4; this line is default and implied | |
| #listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
| server_name media.resize.dev; | |
| error_log /var/log/nginx/debug.log debug; | |
| log_subrequest on; | |
| rewrite_log on; |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| # All Vagrant configuration is done here. The most common configuration | |
| # options are documented and commented below. For a complete reference, | |
| # please see the online documentation at vagrantup.com. |
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
| server { | |
| listen 80; ## listen for ipv4; this line is default and implied | |
| #listen [::]:80 default ipv6only=on; ## listen for ipv6 | |
| root /home/example/public; | |
| index index.php index.html index.htm; | |
| # Make site accessible from http://localhost/ | |
| server_name dev.apigility.com; |
find the program running on a port sudo lsof -i :80 # checks port 80
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
| /* https://github.com/nikos/cmskern/blob/master/playapp/public/javascripts/widgets.js*/ | |
| /** | |
| * Widget for displaying a complete form as specified by the given schema. | |
| */ | |
| angular.widget('my:form', function(element) { | |
| this.descend(true); // compiler will process children elements | |
| this.directives(true); // compiler will process directives |
W3C Introduction to Web Components - explainer/overview of the technologies
NewerOlder