This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
format: | |
subject: '### %{subject}' | |
line: '* [%{title}](%{url}) by @[%{user}](https://github.com/%{user}) %{status}' | |
dictionary: | |
status: | |
merged: '**merged!**' | |
closed: '**closed!**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function print_usage() { | |
echo "Usage: $0 [Options]" | |
echo "Options:" | |
echo " -h, --help Display usage" | |
echo " -p, --project-directory Directory containing Carthage project" | |
echo " -f, --force Omit confirmation" | |
exit 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
// 生物クラス | |
class Animal { | |
func run() { | |
} | |
} | |
// 名前を返すプロトコル | |
protocol Naming { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
API_KEY="YOUR_API_KEY" | |
TEMP_FILE="showkun.wav" | |
curl -s "https://api.voicetext.jp/v1/tts" \ | |
-o "${TEMP_FILE}" \ | |
-u "${API_KEY}:" \ | |
-d "text=${1}" \ | |
-d "speaker=show" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Generate Holidays JSON | |
# | |
# Copyright (c) 2014 Yusuke Fujiki @ Himakan | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atos -arch armv7 -o /Users/<User>/Library/Developer/Xcode/Archives/2013-09-20/<AppName>.xcarchive/dSYMs/<AppName>.app.dSYM/Contents/Resources/DWARF/<AppName> <MemoryAddress> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>$title</title> | |
$styles | |
</head> | |
<body> | |
<h1>$title</h1> |