Skip to content

Instantly share code, notes, and snippets.

@rcconsult
rcconsult / index.html
Last active Feb 6, 2019
HANGMAN DUMMY
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>A Pen by Radovan Chytracek</title>
<link rel="stylesheet" href="css/style.css">
@rcconsult
rcconsult / iterm.scpt
Created May 30, 2018 — forked from gnachman/iterm.scpt
Replace /Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt with this.
View iterm.scpt
set itermRunning to (application "iTerm" is running)
set scriptPath to quoted form of POSIX path of ((path to me as text) & "::" & "start.sh")
set user_shell to do shell script "dscl /Search -read /Users/$USER UserShell | awk '{print $2}'"
tell application "iTerm"
activate
if not (exists window 1) or (itermRunning = false) then
reopen
end if