Create Bookmarklet (browser bookmark that executes Javsacript) to copy a given text to Clipboard.
This is the base javascript:
(function (text) {
var node = document.createElement('textarea')
var selection = document.getSelection()
<?php | |
namespace Namespace\That\Suits\You; | |
/** | |
* @Annotation | |
* @Target("CLASS") | |
*/ | |
class DiscriminatorEntry implements \Doctrine\ORM\Mapping\Annotation | |
{ |
$( "#submit" ).click( | |
function() { | |
$( "#submit" ).addClass("disabled"); | |
setTimeout( function(){ $( "#submit" ).removeClass("disabled"); }, 5000); | |
}); |
require(['IgnoreModule!module/to/Ingore'], function (Ignore) {...}); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Monokai FannonEd</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
#!/bin/sh | |
set -e | |
# Ping FCGI server. Uses cgi-fcgi program from libfcgi library. | |
# Retrieves the root path (/) from host:port specified on command line. | |
if [ -z "$1" ] ; then | |
echo "Usage: $0 host:port|path/to/socket" >&2 | |
exit 1 | |
fi |
# This module intentionally minimizes dependencies to mitigate breakage risk. | |
# Subset of Syslog's numerical severity codes (RFC 3164, Table 2) | |
SEVERITY = | |
ERROR: 3 | |
WARN: 4 | |
INFO: 6 | |
DEBUG: 7 | |
# Configuration |