To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
| // ESP32 Tilt Repeater | |
| // By David Gray | |
| #include "BLEDevice.h" | |
| #include "BLEBeacon.h" | |
| #include "esp_deep_sleep.h" | |
| // User Settings | |
| int SCAN_TIME = 5; // Duration to scan for bluetooth devices (in seconds). | |
| int TIME_TO_SLEEP = 60; // Duration ESP32 will go to sleep between scans (in seconds). |
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| <?php | |
| use Zend\Db\Sql\Select; | |
| // basic table | |
| $select0 = new Select; | |
| $select0->from('foo'); | |
| // 'SELECT "foo".* FROM "foo"'; |
| ## | |
| # run: watchr tests.watchr | |
| ## | |
| $exec = "php #{Dir.pwd}/vendor/bin/phpunit.php". | |
| watch('(.*).php') { |m| changed(m[0]) }. | |
| def changed(file). | |
| #ignore file, just run all cases in 'tests/' |
| var fs = require("fs") | |
| var ssl_options = { | |
| key: fs.readFileSync('privatekey.pem'), | |
| cert: fs.readFileSync('certificate.pem') | |
| }; | |
| var port = process.env.PORT || 3000; | |
| var express = require('express'); | |
| var ejs = require('ejs'); | |
| var passport = require('passport') |
| LOWER(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(TRIM('My String'), ':', ''), ')', ''), '(', ''), ',', ''), '\\', ''), '\/', ''), '\"', ''), '?', ''), '\'', ''), '&', ''), '!', ''), '.', ''), ' ', '-'), '--', '-'), '--', '-')) AS `post_name` |