I hereby claim:
- I am robdecker on github.
- I am robdecker (https://keybase.io/robdecker) on keybase.
- I have a public key whose fingerprint is F497 BEBA 2C24 EC12 BD37 3D7E 9AA2 7C02 B6C0 CDD1
To claim this, I am signing this object:
function getParameterByName(name) { | |
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
results = regex.exec(location.search); | |
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
} |
'use strict'; | |
// Include Gulp | |
var gulp = require('gulp'), | |
// Include Plug-ins | |
changed = require('gulp-changed'), | |
globbing = require('gulp-css-globbing'), | |
imagemin = require('gulp-imagemin'), | |
jshint = require('gulp-jshint'), |
I hereby claim:
To claim this, I am signing this object:
global _filename | |
on run | |
tell application "Finder" | |
-- Get this script's parent directory | |
set _path to (container of (path to me)) as text | |
set _filename to _path & "todays-log.csv" | |
-- Convert the filename to "/path/to/file" format | |
set _filename to POSIX path of _filename | |
end tell |
@import "susy"; | |
@import "include-media"; | |
$susy-columns: 12; | |
$susy-gutter-width: 15px; | |
$susy: ( | |
columns: $susy-columns, | |
gutter-position: inside-static, // fixed-width width gutters | |
column-width: 120px, |
This article walks you through how to get the ID of any YouTube video.
You may be watching the video or just happened to visit a link to a video. The video ID will be located in the URL of the video page, right after the v=
URL parameter.
<pre>{{ dump() }}</pre> | |
{{ dump(_context|keys) }} | |
<ol> | |
{% for key, value in _context %} | |
<li>{{ key }}</li> | |
{% endfor %} | |
</ol> |
$bundle_label = \Drupal::entityTypeManager() | |
->getStorage('node_type') | |
->load($node->bundle()) | |
->label(); |