Skip to content

Instantly share code, notes, and snippets.

💤

WADA Takashi watagashi

💤
Block or report user

Report or block watagashi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View vimplugins.txt
SyntaxComplete
Tail-Bundle
TwitVim
agit.vim
calendar-vim
csv.vim
editorconfig-vim
emmet-vim
gapply.vim
gitv
View _result.txt
% node server.js & node client.js
Server running
{
"host": "localhost:4321",
"accept": "application/json",
"content-type": "application/json",
"content-length": "37",
"connection": "close"
}
body: [{"a":1,"b":true,"c":"x","d":"漢字"}]
@watagashi
watagashi / vimrc
Last active Dec 6, 2016
EditorConfig Vim Plugin を日本語環境の Windows で: 「わ」の日記もどき http://wa.cocolog-enshu.com/pseudodiary/2016/12/editorconfig-vi.html
View vimrc
if has('win32')
let g:EditorConfig_exclude_patterns = ['[^\x01-\x7e]']
endif
@watagashi
watagashi / .gitignore
Created Mar 7, 2016 — forked from octocat/.gitignore
Some common .gitignore configurations
View .gitignore
# https://github.com/github/gitignore/blob/master/Global/Vim.gitignore
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
@watagashi
watagashi / InstallChocolatey.md
Last active Jan 14, 2016
Install Chocolatey behind authenticated proxy server
View InstallChocolatey.md
View pathogenup.cmd
for /d %d in (%HOMEDRIVE%%HOMEPATH%\vimfiles\bundle\*) do @(
@if exist %d\.git (
@cd %d
git pull %d
)
)
@watagashi
watagashi / changehome.cmd
Created Dec 29, 2015
日本語 USERPROFILE 問題の一時回避スクリプト
View changehome.cmd
set HOME=H:\
subst H: %HOMEDRIVE%%HOMEPATH%
set TEMP=%HOME%\AppData\Local\Temp
set TMP=%HOME%\AppData\Local\Temp
cd /d %HOME%
View gist:6437277
<!DOCTYPE html>
<html>
<head>
<title>Search engines</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="//code.jquery.com/jquery.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
</head>
View jsdoit.css
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background: #ddf;
font: 30px sans-serif;
}
View dl-file.php
<?php
// put your code here
/*
header("HTTP/1.0 200");
header("Content-Type: video/quicktime;");
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
You can’t perform that action at this time.