Skip to content

Instantly share code, notes, and snippets.

View yuggr's full-sized avatar

yuggr yuggr

  • sapporo
  • 11:59 (UTC +09:00)
View GitHub Profile
@yuggr
yuggr / 0_reuse_code.js
Created December 26, 2015 08:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@yuggr
yuggr / javascript_access_localfile.html
Created December 18, 2011 09:09
Javascriptでローカルファイル操作をする。
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8">
<style type="text/css">
textarea {
width :100%;
}
</style>
<script type="text/javascript">
@yuggr
yuggr / vim_syntax_color_to_html.rb
Created December 17, 2011 19:19
vim color scheme file to html
#coding : utf-8
filename = ARGF.filename
#filename = "molokai.vim"
if !File.exist?(filename)
puts "input file none \n"
puts "give me filename! \n"
puts "example:vim_syntax_color_to_html.rb molokai.vim \n"
exit false