Holy crap, I never knew about this before, but this is awesome.
The command is drush uli
It's got options,
name
for the usernameuri
to specify the url of the site (our weird setup requires us to specify the url of our site)
// File js/mymodule--feature.js | |
(function ($) { | |
Drupal.behaviors.mymodule__feature = { | |
attach: function (context, drupalSettings) { | |
// Use once to avoid tu call multiple times a js. | |
$(document).once('feature').on('click', '.button--feature', (function (event) { | |
event.preventDefault(); | |
if (typeof drupalSettings.mymodule.feature.id != 'undefined') { | |
console.log('Your great logic goes here and will NOT be called multiple times'); | |
} |
aws logs start-query \ | |
--profile clientProfile \ | |
--log-group-name MY-LOG_GROUP \ | |
--start-time `date -v-30M "+%s"` \ | |
--end-time `date "+%s"` \ | |
--query-string 'fields @message | filter @message like /my query/' |
license: gpl-3.0 |
license: mit |
license: gpl-3.0 | |
height: 600 |
license: mit |
Using @tmcw's csv2geojson to add points from a CSV to a Mapbox GL JS map.
lat,lng | |
40.640631015372094,-74.09561928538822 | |
40.76611239235329,-73.9657263554248 | |
40.81357085356432,-73.84674955146295 | |
40.66491294048548,-73.95715625819152 | |
40.86178909285141,-73.92702666410356 | |
40.78354298068182,-73.97122051245215 | |
40.720536662860404,-73.73210914651048 | |
40.7190977072584,-73.8155960317422 |