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
Attribute VB_Name = "Modulo1" | |
' usar SelfCert.exe y tools - digital signatur | |
' loop mails | |
' https://www.slipstick.com/developer/outlook-vba-work-with-open-item-or-select-item/ | |
Sub loopMails() | |
Dim Sarasa As Object | |
Dim x, mailItem As Outlook.mailItem | |
For Each x In Application.ActiveExplorer.Selection |
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
// Open the Chrome inspector, and select the topmost div containing the twitter thread. | |
// You might want to open the first tweet in the thread, scroll down to load every item in the thread, then select the parent container | |
var foo = document.createElement("div"); | |
var str = "" | |
$($0).find(".tweet").each(function(i, t) { | |
var tweet = $(t); | |
var turl = "https://twitter.com" + tweet.data("permalink-path") | |
var tdate = tweet.find(".tweet-timestamp").attr("title") | |
var tcontent = tweet.find(".tweet-text").html() |
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
#!/usr/bin/env python | |
''' | |
Script for emulating the BetterBibtex stable citation key feature. | |
(see https://github.com/retorquere/zotero-better-bibtex) | |
input.bib: A BibLatex export from a Zotero 5 library that has "Extra" field | |
entries for stable BibTex keys ("bibtex: <my_key>"). They end up in the | |
note field of the standard Zotero 5 export. | |
output.bib: A BibTex file where the citation keys from the Extra/note field are |
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
EMAIL = "[email protected]"; | |
CALENDAR = "calendarname"; | |
function weeklyReminder() { | |
var StartDate = new Date(); | |
var StartDateDD = StartDate.getDate() + 1; | |
// Months are based on 0-11 so +1 | |
var StartDateMM = StartDate.getMonth() + 1; | |
var EndDateDD = StartDate.getDate() + 7; | |
// Across months, the date will get messed up so...(NEEDS TESTING!) |
Install ImageMagick for image conversion:
brew install imagemagick
Install tesseract for OCR:
brew install tesseract --all-languages
Or install without --all-languages
and install them manually as needed.
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 | |
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF | |
appify v3.0.1 for Mac OS X - http://mths.be/appify | |
Creates the simplest possible Mac app from a shell script. | |
Appify takes a shell script as its first argument: | |
`basename "$0"` my-script.sh |