I hereby claim:
- I am toniwonkanobi on github.
- I am toniwonkanobi (https://keybase.io/toniwonkanobi) on keybase.
- I have a public key whose fingerprint is B374 18F5 DDDC AA75 3573 CA49 CA8A 96FE 3907 8AE0
To claim this, I am signing this object:
// Automatic posting to Twitter | |
function tweetLatestPost() { | |
if (twitterClient !== null && typeof(process.env.TWITTER_CONSUMER_KEY) !== 'undefined') { | |
twitterClient.get('statuses/user_timeline', {screen_name: twitterUsername}, function (error, tweets) { | |
if (error) { | |
console.log(JSON.stringify(error, undefined, 2)); | |
return; | |
} | |
var lastUrl = null, i = 0; |
// Variables | |
// Color for <code> and <pre> | |
$lighterGray: lighten(black, 25%); | |
// Background color for <code> | |
$lightGray: lighten(lightgray, 10%); | |
// Border color for <pre> and <code> | |
$darkGray: darken(lightgray, 3%); | |
// Background color of YouTube | |
$darkerGray: darken(gray, 35%); |
I hereby claim:
To claim this, I am signing this object:
# What is this? | |
# This AppleScript takes as input the clipboard content [that is potentially unsafe-for-URLs string of text] (such as a blog post in Title Case) | |
# The script then creates a URL-safe version | |
# For example: `This Is a Title of a Post!` --> `this-is-a-title-of-a-post` | |
# Boomshakalaka | |
# This is from https://superuser.com/questions/635351/process-clipboard-content-on-mac-os | |
# You can create an Automater service as well: https://d.pr/i/xtX7kN+ |