Skip to content

Instantly share code, notes, and snippets.

View ww24's full-sized avatar
🏢
≡GO

Takenori Nakagawa ww24

🏢
≡GO
View GitHub Profile
@koba04
koba04 / api.md
Last active July 19, 2021 10:49
Vue.js note(v0.10.3). not translate. This is draft of https://github.com/koba04/vuejs-book .

API

Class: Vue

  • Vueはvue.jsのコアとなるコンストラクタ
  • インスタンスが作られたときにデータバインディングが開始される
  • オプションを取ることも出来て、DOMやデータやメソッドについて定義出来る
@meltedice
meltedice / application.rb
Created November 22, 2013 07:59
rails 4.0.1 + rails_admin 0.5.0 (sass-rails 4.0.1) + less-rails 2.4.2 sass-rails will overwrite stylesheet_engine setting in config/application.rb via initializer hook. So rails g scaffold and other generators use :scss instead of :less Force set :less as stylesheet_engine via initializer hook to use :less.
require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "sprockets/railtie"
# require "rails/test_unit/railtie"
# Require the gems listed in Gemfile, including any gems
javascript:(function(){var e=window.open(null,null,"width=480,height=300,menubar=no,toolbar=no,location=no,status=no,resizable=noscrollbars=no"),t=document.createElement("img"),n=[39,53,29,41,14,20],r=function(){var e=Math.ceil(Math.random()*6),s=Math.ceil(Math.random()*n[e-1]);t.setAttribute("src","http://mogashi.no-ip.org/alice/?ep="+e.toString()+"&no="+s.toString());setTimeout(r,1e4)};t.style.margin="0";e.document.body.style.margin="0";e.document.body.style.padding="0";e.document.body.appendChild(t);r()})()
@ympbyc
ympbyc / FunctionalJs.md
Last active April 26, 2023 12:26
Functional JavaScript

Functional JavaScript

2013 Minori Yamashita ympby@gmail.com

-- ここにあなたの名前を追記 --

目次

@mochiz
mochiz / gist:4736183
Last active April 16, 2023 03:56
rbenvとruby-buildでRuby環境を最新に保つ

rbenvとruby-buildでRuby環境を最新に保つ

更新日:2014/11/19

rbenv, ruby-buildを更新

$ cd ~/.rbenv
$ git pull origin master
$ cd ~/.rbenv/plugins/ruby-build
$ git pull origin master
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 19, 2024 11:00
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@noqisofon
noqisofon / memo.md
Created November 24, 2012 07:48
メモの一部。

ポリシー?じゃなくて、なんだっけ?

オリジナルページを探して、そこまで飛んでついーとボタンを押す手間を省きたい(URL や、タイトルとかをコピペする手間を省きたい?)。

仕様的な何か

  • 画像が貼ってあるページを「とんじる」すると、そのページの画像の数だけ舞熊ができる?
  • ついーと機能つける?
@raa0121
raa0121 / README.md
Created November 9, 2012 14:16
Ricty Generator に Source Code Pro を食べさせるためのパッチ 改

Ricty Generator に Source Code Pro を食べさせるためのパッチ 改

このGistはRicty Generator に Source Code Pro を食べさせるためのパッチを参考に、複数ウェイトに対応させたものです。

このパッチは Source Code Pro と日本語フォント (Migu 1M Regular) のバランスを見るテストのためのものであり、以下のような不具合があります。

  • ベースライン未調整
  • ラインスペース未調整
  • いくつかのグリフの不具合 (全角スペース含む)
@hayajo
hayajo / changelog_en.md
Last active April 16, 2024 12:57
ChangeLog を支える英語

ChangeLog を支える英語

ChangeLog を書く際によく使われる英語をまとめました。

ほとんど引用です。

基本形

@noqisofon
noqisofon / File.append.rb
Created September 15, 2012 07:22
File クラスに append っていうクラスメソッドを追加した感じ。
class File
def self.append(path, text)
File.open( path, "a" ) do |output|
output.puts text
end
end
end
if $0 == __FILE__ then