色々使えるUFO画像
This file contains hidden or 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
/** | |
* User: turusuke | |
* Date: 13/06/16 | |
* version: 0.1 | |
*/ | |
(function(window) { | |
if (!createjs || !createjs.Point) { | |
return; | |
} |
This file contains hidden or 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 | |
DBNAME="" #データベース名 | |
DBUSER="" #データベースユーザ名 | |
DBPASS="" #データベースパス | |
DBHOST="" #データベースホスト | |
DBPREFIX="" #テーブルのプレフィックス ex. wp_ | |
# ############ |
This file contains hidden or 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
<?php | |
$api_token = 'YOUR_API_TOKEN'; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
curl_setopt($ch, CURLOPT_POST, 1); | |
curl_setopt($ch, CURLOPT_URL, 'https://www.toggl.com/api/v8/time_entries/start'); | |
curl_setopt($ch, CURLOPT_USERPWD, $api_token . ": api_token"); | |
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); |
Zsh
// Zsh起動
$ zsh
// リポジトリをclone
$ git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
// 既存の設定ファイルを退避(必要な場合)
This file contains hidden or 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/zsh | |
# Usage ./get-pr-review.sh :number(ex.120) | |
# dependencies jq -> https://stedolan.github.io/jq/ | |
# { | |
# "user": "turusuke", | |
# "filePath": "main.js:14", | |
# "body": "いいと思います!", | |
# "arg": "https://github.com/owner/repo/pull/540#discussion_11111" |
This file contains hidden or 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
console.log(1); | |
console.log(2); |
This file contains hidden or 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
cat << EOB | |
{"items": [ | |
{ | |
"valid": true, | |
"uid": "${txt}", | |
"title": "${txt}", | |
"arg": "${txt}", | |
"autocomplete": "${txt}" | |
} | |
]} |
This file contains hidden or 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
" ============================================================= | |
" Global Configuration | |
" ============================================================= | |
set surround | |
set multiple-cursors " vim-multiple-cursors と同等の機能を実現する | |
" ============================================================= | |
" Clipboard | |
" ============================================================= | |
" クリップボードと yank を同期させる |
OlderNewer