This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works. | |
// api.map('gt', 'T'); | |
settings.blocklistPattern =/(calendar)\.google\.com.*/i; | |
settings.blocklist = { | |
"https://www.figma.com": 1, | |
"https://excalidraw.com": 1, | |
"https://www.keybr.com": 1, | |
"https://monkeytype.com": 1 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To create the actual bookmarklet use | |
// https://mrcoles.com/bookmarklet/ | |
// prompts for a SELECT ID and displays all it's OPTIONS | |
var selector = prompt("qual ID do SELECT?"); | |
var states = document.getElementById(selector).getElementsByTagName('option'); | |
var list = ""; | |
for (var i = 0; i < states.length; i++) { list += states[i].value+"<br>" ; } | |
document.body.innerHTML = '<div style="color:#000;background:#fff;">'+list+'</div>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -n " Use $default, daily or type a date? [yes or no] (yes default) or Daily (d): " | |
read yno | |
case $yno in | |
[nN] | No | no ) | |
echo -n " Type a date: " | |
read date | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -n " - PATH ? " | |
read APP_FOLDER | |
while [ ! -d $APP_FOLDER ] | |
do | |
read -s -p " [!] Hey! PATH must exist: " APP_FOLDER | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* SplClassLoader implementation that implements the technical interoperability | |
* standards for PHP 5.3 namespaces and class names. | |
* | |
* http://groups.google.com/group/php-standards/web/final-proposal | |
* | |
* // Example which loads classes for the Doctrine Common package in the | |
* // Doctrine\Common namespace. |