I hereby claim:
- I am itst on github.
- I am itst (https://keybase.io/itst) on keybase.
- I have a public key ASC96u1WOl1XFofBcnO-6fryJl1HZubUPOKXJ5FMGOI5Pwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(* Import and update your Pinboard bookmarks to DEVONthink | |
Based on work done by Christian Grunenberg on Mon Jan 23 2006, | |
Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010 and | |
Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished. | |
By Sascha A. Carlin <https://sascha.carlin.de/> on 2018-03-07 to set the creation date of new record, show progress bar, use Pinboard Auth Token, use modification date of folder to fetch only recent items | |
Copyright (c) 2018. All rights reserved. *) | |
use framework "Foundation" |
pip3 install click
brew install libyaml
sudo python3 setup.py install
mkdir ~/Documents/Annotations
cd ~/Documents/Annotations
#!/bin/bash | |
for i in `seq 1 80`; do | |
r=$(( $RANDOM % 2 ))$(( $RANDOM % 10 ))$(( $RANDOM % 10 ))r=$(( $RANDOM % 10 )) | |
curl http://www.domain.com/$i.jpg -o $(printf '%04d' $i).jpg | |
sleep $(jot -r 1 0.5 2.4) | |
done |
//*[@id="body"]/ytd-transcript-body-renderer/div/div[2]/div |
javascript:void%20function(){window.open(%22http://diycaptions.com/php/get-automatic-captions-as-txt.php%3Fid=%22+location.href.match(/(^|=|\/)([0-9A-Za-z_-]{11})(\/|%26|$|\%3F|%23)/)[2]+%22%26language=asr%22)}(); | |
Regex from https://stackoverflow.com/questions/3452546/how-do-i-get-the-youtube-video-id-from-a-url | |
Hat tip to Mike Ridgway of DIYCaptions.com |
tell application "Mail" | |
set _a to imap account "[email protected]" | |
set _i to _a's mailbox "INBOX" | |
set _ms to (messages of _i) | |
set numLog to 50 | |
set iteration to 1 | |
set iterationMax to number of _ms | |
log iterationMax & " msgs to move" | |
repeat with _m in _ms | |
if (iteration mod numLog is 0) then |
tell application "Safari" | |
set nextPage to "https://www.xing.com/contacts/contacts" | |
repeat while nextPage is not "-" | |
open location nextPage | |
my waitForPageLoad() | |
delay (random number from 0.2 to 1.0) | |
my getVcardLinks() | |
set nextPage to my gotoNextPage() | |
end repeat | |
end tell |
<?php | |
define('BASE', 'https://wiki.domain.com/rest/api/'); | |
define('USERNAME' , 'foo'); | |
define('PASSWORD' , 'bar'); | |
function prepareCall(&$curl, $query) { | |
curl_setopt($curl, CURLOPT_URL, BASE . $query); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($curl, CURLOPT_USERPWD, USERNAME . ':' . PASSWORD); |
<?php | |
define("BASE", "https://<jira-api-url>"); | |
define("CHECKFOR", array( | |
'EDIT_SPRINT_NAME_AND_GOAL_PERMISSION', | |
'MANAGE_SPRINTS_PERMISSION', | |
'START_STOP_SPRINTS_PERMISSION' | |
)); |