type: PIN
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
type: PIN
Consumer key: IQKbtAYlXLripLGPWd0HUA
<div class="card "> | |
<h1>Tip Jar</h1> | |
<p>Almost everything I make is from a labour of love, provided free to you. If my projects have provided | |
you value and you wish to say thanks, that's super awesome!</p> | |
<div class="radio-tile-group"> | |
<div class="input-container" style="margin-left: 0;"> | |
<input id="500" class="radio-button" type="radio" name="amountradio" value="500" onclick="amountChanged();" /> | |
<div class="radio-tile"> | |
<label for="500" class="radio-tile-label">$5</label> | |
</div> |
After my dad died, I wanted to be able to have access any of his online accounts going forward. My dad was a Safari user and used iCloud Keychain to sync his credentials across his devices. I don’t want to have to keep an OS X user account around just to access his accounts, so I wanted to export his credentials to a portable file.
This is the process I used to create a CSV file of his credentials in the format “example.com,user,pass”. This portable format would be pretty easy to import into 1Password or Safari in the future.
The way I went about this isn’t great; it opens up more opportunities for apps to control one’s Mac through Accessibility APIs, it writes plaintext passwords to disk, and it could use some cleaning up. A better approach might leverage the security
command line tool that ships with OS X. That said, I found this method to be a fun illustration of what’s possible us
require 'rmagick' | |
require 'rickshaw' | |
module Jekyll | |
class OGFilter < Liquid::Tag | |
def initialize(tag_name, text, tokens) | |
super | |
@text = text |
background: linear-gradient(#ffffff 50%, rgba(255,255,255,0) 0) 0 0, | |
radial-gradient(circle closest-side, white 50%, rgba(255,255,255,0) 0) 0 0, | |
radial-gradient(circle closest-side, white 50%, rgba(255,255,255,0) 0) 55px 0, | |
radial-gradient(circle closest-side, white 30%, rgba(255,255,255,0) 0) 110px 0, | |
radial-gradient(circle closest-side, white 45%, rgba(255,255,255,0) 0) 165px 0, | |
radial-gradient(circle closest-side, white 45%, rgba(255,255,255,0) 0) 330px 0 #48B; | |
background-size:220px 200px; | |
background-repeat:repeat-x; |
fire up Postman
fire up Postman Interceptor
background: linear-gradient(222deg, #d3555c, #f48d3a, #fdc753, #70bc53, #249cd5, #9d61a4); | |
background-size: 1200% 1200%; | |
-webkit-animation: GradientScroll 30s ease infinite; | |
-moz-animation: GradientScroll 30s ease infinite; | |
-o-animation: GradientScroll 30s ease infinite; | |
animation: GradientScroll 30s ease infinite; | |
@-webkit-keyframes GradientScroll { | |
0%{background-position:90% 0%} | |
50%{background-position:11% 100%} | |
100%{background-position:90% 0%} |
tell application "iTunes" | |
set sel to selection | |
repeat with track in sel | |
set trackname to the name of track | |
set dialog_answers to display dialog "Enter a new play count for " & trackname & ":" default answer "" | |
set newcount to text returned of dialog_answers as integer | |
if button returned of dialog_answers is "OK" then | |
set played count of t to newcount | |
end if | |
end repeat |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>DriveSafe</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<!-- Base css, but you'll likely want to keep them --> | |
<link rel="stylesheet" href="css/reset.css" type="text/css"> | |
<!-- Your custom files --> |