text {
stroke: none;
fill: #000;
}
(function (factory) { | |
'use strict'; | |
if ('function' === typeof define && define.amd) { | |
define(['jquery'], factory); // register anonymous AMD module | |
} else { factory(jQuery); } // browser globals | |
}(function (jQuery) { | |
'use strict'; | |
var | |
$ = jQuery, | |
orig = $.fn.removeClass, |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
html, body { margin: 0; } | |
canvas { | |
position: absolute; | |
height: 100%; | |
width: 100%; | |
margin: 0; |
<?php | |
header('Content-Type: text/xml'); | |
$result = $_GET['Twiml']; | |
foreach($_REQUEST as $k => $v) { | |
if ($k === 'Twiml') { continue; } // avoid infinite loop | |
$result = str_replace('${' . $k . '}', $v, $result); | |
}//end for: replaced all the tokens | |
echo $result; |
# Show virtual environment (if any) and git branch (if any; requires .git-prompt.sh). | |
source ~/.git-prompt.sh | |
__blank="\[\e]0;\w\a\]\n" # white | |
__virtualenv=`basename "$VIRTUAL_ENV"` | |
__userhost="\[\e[32m\]\u@\h" # green | |
__pwd="\[\e[33m\]\w" # yellow | |
__cursor="\[\e[0m\]\n\$ " # white | |
export PS1="${__blank}${__virtualenv:+$__virtualenv }${__userhost} ${__pwd}\$(__git_ps1)${__cursor}" |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>fileTypes</key> | |
<array> | |
<string>todo</string> | |
</array> | |
<key>name</key> | |
<string>TODO</string> |
#!/usr/bin/env python | |
# coding: utf-8 | |
'''Manage namespaces.''' | |
# Native | |
import collections | |
# <dict> shorthand | |
_del = dict.__delitem__ |
javascript:(function(){ window.rate = prompt('Enter playback rate.', window.rate||1) || window.rate || 1; Array.from(document.getElementsByTagName('video')).forEach(function(d) {d.playbackRate = window.rate})})(); |
var results = []; | |
var urls = []; | |
if (typeof jQuery=='undefined') { | |
script = document.createElement( 'script' ); | |
script.src = 'https://code.jquery.com/jquery-3.2.1.min.js'; | |
script.onload=getTitles; | |
document.body.appendChild(script); | |
} else { | |
getTitles(); |
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css"> | |
</head> | |
<body> | |
<nav> | |
<div class="nav-wrapper"> | |
<a href="#" class="brand-logo">Banapple</a> |