Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| Largest 1000 Cities in America | |
| 2013 popuation data - Biggest US Cities By Population | |
| rank,city,state,population,2000-2013 growth | |
| 1,New York,New York,8405837,4.8% | |
| 2,Los Angeles,California,3884307,4.8% | |
| 3,Chicago,Illinois,2718782,-6.1% | |
| 4,Houston,Texas,2195914,11.0% | |
| 5,Philadelphia,Pennsylvania,1553165,2.6% |
| <?php | |
| /** | |
| * Function that will automatically update ACF field groups via JSON file update. | |
| * | |
| * @link http://www.advancedcustomfields.com/resources/synchronized-json/ | |
| */ | |
| function jp_sync_acf_fields() { | |
| // vars |
| function foo(x) { x = (typeof x != "undefined") ? x : 10; .. } | |
| function foo(x = 10) { .. } | |
| function foo(x,y,z) { .. }; foo.apply(null,[1,2,3]); | |
| function foo(x,y,z) { .. }; foo(...[1,2,3]); | |
| function foo() { var args = [].slice.call(arguments); .. } | |
| function foo(...args) { .. } | |
| var o = { x: 2, y: 3 }, x = o.x, y = o.y, z = (typeof o.z != "undefined") ? o.z : 10; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| body { | |
| text-align: center; | |
| font-family: Arial; | |
| padding-top: 40px; |
| /* | |
| Autosend Invites to anyone that shares X number of connections with you. | |
| Way to use this script: | |
| 1. Save it as a bookmarklet | |
| 2. Go to 'People you may know' | |
| 3. Click on this bookmarklet. | |
| 4. Enter number of overlapping connections | |
| 5. Check your console |
| /** | |
| * Retrieves all the rows in the active spreadsheet that contain data and logs the | |
| * values for each row. | |
| * For more information on using the Spreadsheet API, see | |
| * https://developers.google.com/apps-script/service_spreadsheet | |
| */ | |
| function readRows() { | |
| var sheet = SpreadsheetApp.getActiveSheet(); | |
| var rows = sheet.getDataRange(); | |
| var numRows = rows.getNumRows(); |
| Complete installation process: | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install -y python-software-properties python make build-essential g++ curl libssl-dev apache2-utils git libxml2-dev | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| cd ~ | |
| mkdir git | |
| cd ~/git |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| function getJSON(aUrl,sheetname) { | |
| //var sheetname = "test"; | |
| //var aUrl = "http://pipes.yahoo.com/pipes/pipe.run?_id=286bbb1d8d30f65b54173b3b752fa4d9&_render=json"; | |
| var response = UrlFetchApp.fetch(aUrl); // get feed | |
| var dataAll = Utilities.jsonParse(response.getContentText()); // | |
| var data = dataAll.value.items; | |
| for (i in data){ | |
| data[i].pubDate = new Date(data[i].pubDate); | |
| data[i].start = data[i].pubDate; | |
| } |
| /** | |
| * Registers a click handler for all mailto links on the page and fires | |
| * an Infinity Tracking custom trigger when clicked | |
| * We use 'live' for mailto links loaded after the DOM is ready | |
| * @author Chris Sedlmayr <chris.sedlmayr@infinity-tracking.com> | |
| */ | |
| // copy of initialise the infinity var | |
| var _ictt = _ictt || []; | |
| $(document).ready(function() { | |
| // find 'a' elements that have an href starting with mailto: |