Skip to content

Instantly share code, notes, and snippets.

View caesar's full-sized avatar
Probably at sea

Caesar Schinas caesar

Probably at sea
View GitHub Profile
@caesar
caesar / keys.pub
Created May 11, 2020 10:31
keys.pub
BEGIN MESSAGE.
ZG0PslTXdqu0y2R euf8TCKpWN41aR2 oVyLIspiCYs7PA6 m8B5uovEI2PqjWv
oDhWA95KnWnQ1J7 CwJJJzvwVXlTCKq 6Xr2MZHgg6ZyDai 3Gx1BzMjPe0HzeH
i4XvmUpXxPBiqCv HGteVm72hkQWb6z M02UUbyG6CCXYhL BSk4QLwQtnMizh0
RKKQdzi0HXT8uIt 4ee96CD1CwI4Haz iEIB021.
END MESSAGE.
@caesar
caesar / index.html
Last active July 26, 2019 22:34
Electron Fiddle Gist demonstrating fullscreen bug in v6.0.0-beta
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
<style>
html {
background: #8af;
}
</style>

Keybase proof

I hereby claim:

  • I am caesar on github.
  • I am caesar (https://keybase.io/caesar) on keybase.
  • I have a public key ASBhRH6IQOweqehu_ipvkFrKDmB3GJta4Q2cg0JcQQRozAo

To claim this, I am signing this object:

@caesar
caesar / post-receive
Last active April 21, 2020 21:40
Git website deployment post-update script for live and staging with multiple branches. Based on code from http://www.ekynoxe.com/git-post-receive-for-multiple-remote-branches-and-work-trees/
#!/bin/bash
live_dir="/path/to/live/site"
dev_dir="/path/to/dev/site"
while read oldrev newrev ref
do
branch=`echo $ref | cut -d/ -f3`
if [ "master" == "$branch" ]; then
@caesar
caesar / Thunderbird Launcher.applescript
Last active February 8, 2020 09:44
Automate loading of Thunderbird profile on encrypted disk image (OS X)
-- Thunderbird Launcher app
-- Mounts a disk image before launching Thunderbird, and unmounts it when Thuderbird closes
-- by Caesar Schinas, based on ideas at http://hintsforums.macworld.com/showthread.php?t=26597
on run
set diskname to "Thunderbird Profile"
set diskpath to "~/Library/Thunderbird/Profiles/Thunderbird Profile.sparsebundle"
set itemname to "/Applications/Thunderbird"
tell application "Finder"
if not (exists the disk diskname) then