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()
### Keybase proof | |
I hereby claim: | |
* I am brunohq on github. | |
* I am brunohq (https://keybase.io/brunohq) on keybase. | |
* I have a public key ASDr-fYQZRnDXnpskRgXtKTdLkdvWRcD8i5F1e2RgQpU6Qo | |
To claim this, I am signing this object: |
<template> | |
<div id="mail-app" class="columns"> | |
<div class="column is-2 aside" style="overflow-y: auto;"> | |
<vault-list | |
v-on:select-current-vault="switchCurrentVault" | |
v-on:create-vault="createNewVault" > | |
</vault-list> | |
<div>{{ user.username ? user.username : user.identityAddress }}</div> | |
</div> |
Verifying my Blockstack ID is secured with the address 19fKbXNmJPRhrUY4oArsEQ1GVJv9zkDhTT https://explorer.blockstack.org/address/19fKbXNmJPRhrUY4oArsEQ1GVJv9zkDhTT |
var https = require('https'); | |
// CONFIGURATION ####################################################################################################### | |
var token = 'SLACK TOKEN'; | |
var channel = 'CHANNEL ID'; | |
var privateChannel = false; | |
var delay = 300; // delay between delete operations in millisecond | |
// GLOBALS ############################################################################################################# |
javascript:(function() | |
{ | |
var iframe = document.createElement('iframe'); | |
iframe.name = 'response'; | |
iframe.style.visibility = 'hidden'; | |
document.body.appendChild(iframe); | |
var form = document.createElement('form'); | |
form.style.visibility = 'hidden'; | |
form.method = 'post'; |
<?php | |
date_default_timezone_set('Europe/London'); | |
$now = date('F j, g:i:s a'); | |
$entity = "Anonymous"; | |
if(isset($_GET["entity"])) $entity = trim($_GET["entity"]); | |
$action = "visit"; | |
if(isset($_GET["action"])) $action = trim($_GET["action"]); | |
$ip = $_SERVER['REMOTE_ADDR']; |
#!/bin/bash | |
apikey=$(git config user.asana-key) | |
if [ $apikey == '' ] ; then exit 0; fi | |
comment=$(git log --pretty=oneline -n1) | |
taskid_pattern='.*#([0-9]*).*' | |
if [[ $comment =~ $taskid_pattern ]]; then | |
taskid=${BASH_REMATCH[1]} | |
apikey=$(git config user.asanakey) |