Kent Brewster kentbrew

View bittorrent_camera_backup.md

Camera Backup in BitTorrent Sync

  • Enable Camera Backup on your device.
  • E-mail the secret to yourself.
  • Get something like this

    Hi,

    You’ve been sent a secret to backup photos from Bob’s iPhone: DEADF00B2MNL3KYCDEIZVGALTK4VJ7I

View keybase.md

Keybase proof

I hereby claim:

  • I am kentbrew on github.
  • I am kentbrew (https://keybase.io/kentbrew) on keybase.
  • I have a public key whose fingerprint is 8A16 CC9B E6CF 0EDF E094 0437 E106 FDD1 3C58 D8E5

To claim this, I am signing this object:

View toCamelCase.js
1 2 3 4 5 6 7 8
// http://stackoverflow.com/questions/10425287/convert-string-to-camelcase-with-regular-expression
// fetch me my camel, Jeeves
 
var toCamelCase function (str) {
return str.toLowerCase().replace(/-(.)/g, function(match, group1) {
return group1.toUpperCase();
});
}
View commentary.md

Anything to say? Fire away.

View voice.md

Always, Forever, Because They Are Awesome:

  • Oxford commas.
  • Two spaces after a period.
  • "Web site," not "website."

Never, Not Ever, Because They Are Weak:

  • "Sentence case" in headlines.
  • Passive voice.
View getPinsOnBoard.js
1 2 3 4 5 6 7 8 9 10
// this snippet requires pinit.js to be loaded with data-pin-build="doBuild"
 
// turn pin IDs into embedPin links
var render = function (r, el) {
if (r && r.status === 'success' && r.data && r.data.pins) {
var p = r.data.pins;
var parent = el.parentNode;
parent.innerHTML = '';
for (var i = 0; i < p.length; i = i + 1) {
var span = document.createElement('SPAN');
View iphoneSimulatorLocation.md

Finding the iPhone Simulator

I keep blowing it and undocking the simulator and arrgh, where did it go?

Search for:

  • iPhone simulator.
  • ipad simulator
  • ios simulator
  • emulator
View dogecoin_button.html
1 2 3 4 5 6 7 8 9 10
 
<html>
<head>
<style>
a.doge {
position: relative;
display: inline-block;
height: 40px;
margin: 0 0 0 20px;
font-size: 12px;
View zero_lag_coinwidget_button.html
1 2 3 4 5 6 7 8 9 10
<html>
<head>
<title>Zero-Lag Coinwidget Button</title>
</head>
<body>
<h1>Zero-Lag Coinwidget Button</h1>
<p><a class="donateButton">Support This Site with Bitcoin</a></p>
<p>If you're running a Tumblr blog or something else that has lots of content,
you may have already noticed that calls to coinwidget.com can be laggy and
block the page when donation counts are enabled. This isn't their fault, I
View RedditTipButton.md

Invite your readers to leave you a Bitcoin tip on Reddit

Reddit's Bitcoin implementation is ideal for beginners. Here's how to get them to give it a try.

Structure

Something went wrong with that request. Please try again.