This gist was created with Workflow.
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
--- | |
layout: null | |
--- | |
{ | |
"version": "https://jsonfeed.org/version/1", | |
"title": "{{ site.title | xml_escape }}", | |
"home_page_url": "{{ site.url }}", | |
"icon": "{{site.url }}/media/icons/apple-touch-icon.png", | |
"favicon": "{{ site.url }}/media/icons/favicon.ico", | |
"feed_url": "{{ site.url }}/feed.json", |
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
<dl class="readlater"> | |
<dt>Save:</dt> | |
<dd><a href="http://www.instapaper.com/hello2?url={permalink}" target="_blank" title="Send to Instapaper">Instapaper</a></dd> | |
<dd><a href="https://getpocket.com/save?url={permalink}" target="_blank" title="Send to Pocket">Pocket</a></dd> | |
<dd><a href="http://www.readability.com/save?url={permalink}" target="_blank" alt="Readability" title="Send to Readability">Readability</a></dd> | |
</dl> | |
<!-- Optional CSS to use as a starting point. Add this to your site's custom CSS and remove the <style> tags. --> | |
<style> |
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
set tFolder to path to temporary items | |
display dialog "Clear Temporary Items?" buttons {"Yes", "No"} default button 2 | |
if the button returned of the result is "Yes" then | |
tell application "Finder" | |
delete tFolder | |
end tell | |
else | |
error number -128 |
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
<script> | |
var currentTime = new Date().getHours(); | |
if (22 <= currentTime&¤tTime < 24 || 0 <= currentTime&¤tTime < 6) { | |
document.write("<link rel='stylesheet' href='{{ SITEURL }}/theme/css/night.css' type='text/css'>"); | |
} | |
</script> |
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
<!-- 5by5 Live Show Panel for Status Board --> | |
<!-- Written by Jordan Merrick - https://www.jordanmerrick.com --> | |
<!-- JS based upon Google Calendar API --> | |
<!-- GOOGLE HAS SINCE DEPRECATED GOOGLE CALENDAR API v1 & v2, RENDERING THIS SCRIPT UNUSABLE --> | |
<!-- You are welcome to adapt it but it will no longer function --> | |
<title>5by5 Panel</title> | |
<script> | |
// Set the date range start for Google Calendar parsing since we only want the schedule for the next 30 days |
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 | |
Respawn="/home/user/Dropbox/files/respawn" | |
if [ -f $Respawn ] | |
then | |
make html -C /var/www/yoursite;rm $Respawn | |
else | |
exit 0 | |
fi | |
exit 0 |
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
## Dropbox email notification if the daemon has stopped running | |
## Change [email protected] to the address you want to email. | |
./dropbox.py status | grep -q 'running' && printf "Dropbox has stopped running on $HOSTNAME.\nLast checked $(date)\n" | mail -s "Dropbox Failure Notification on $HOSTNAME" [email protected] |
NewerOlder