Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>this is a page title</title>
</head>
<body>
<p>this is a body</p>
dfasds
testing fork
<!--[AdBanner]-->
<div id="adBanner">
<script type="text/javascript" language="JavaScript">
<!--
var impAcn = "IMPASEG";
var impAco = document.cookie;
var impApos = impAco.indexOf(impAcn + "=");
var impAseg = (impApos != -1) ? impAco.substring(impApos + impAcn.length + 1, (impAco.indexOf("; ", impApos) != -1) ? impAco.indexOf("; ", impApos) : impAco.length) : null;
impAseg = (impAseg) ? unescape(impAseg) : null;
<p>this is a test</p>
<ul>
<li>list</li>
<li>another list</li>
</ul>
<p>think</p>
<ol>
<?xml version="1.0" encoding="utf-8" ?>
<ZIP_result>
<result name="ZipSearchXML" />
<result version="1.01" />
<result request_url="http%3A%2F%2Fzip.cgis.biz%2Fxml%2Fzip.php%3Fzn%3D0660005" />
<result request_zip_num="0660005" />
<result request_zip_version="none" />
<result result_code="1" />
<result result_zip_num="0660005" />
<result result_zip_version="0" />
<?xml version="1.0" encoding="utf-8" ?>
<ZIP_result>
<result name="ZipSearchXML" />
<result version="1.01" />
<result request_url="http%3A%2F%2Fzip.cgis.biz%2Fxml%2Fzip.php%3Fzn%3D2590124" />
<result request_zip_num="2590124" />
<result request_zip_version="none" />
<result result_code="1" />
<result result_zip_num="2590124" />
<result result_zip_version="0" />
@tockrock
tockrock / .ignore
Created November 30, 2010 13:36
Basic snippets for lilypond files
.DS_Store
@tockrock
tockrock / tweet.scpt
Created October 29, 2011 05:43
AppleScript that tweets from LaunchBar through ttytter, and notifies with growl(growl notify). Based on work by Justin Blanton(@jblanton) http://hypertext.net/2011/05/tweet-via-launchbar
on handle_string(tweet)
if length of tweet ≤ 140 then
set theResult to do shell script "~/bin/ttytter -status=" & quoted form of tweet & " 2>&1"
do shell script "/usr/local/bin/growlnotify -n 'tweet' -m '" & theResult & "' -t 'Success' "
else
set charsOver to (length of tweet) - 140
do shell script "/usr/local/bin/growlnotify -n 'tweet' -m \"You're " & charsOver & " Chars Over\" -t 'fail'"
tell application "LaunchBar"
remain active
end tell

Keybase proof

I hereby claim:

  • I am tockrock on github.
  • I am tockrock (https://keybase.io/tockrock) on keybase.
  • I have a public key ASBd9E9Tf6s9Ennk9Mx01-hw7TMHe63qliXxCa8YKFNVsgo

To claim this, I am signing this object:

The Composable Architecture

The Composable Architecture(略TCA)はcomposition、test、ergonomicsを念頭に、一貫性のある理解しやすいアプリケーション開発を実現するライブラリーです。SwiftUI、UIKitなどで利用でき、どのAppleプラットフォーム(iOS、macOS、tvOSとwatchOS)でも動作します。