Skip to content

Instantly share code, notes, and snippets.

View zerobase's full-sized avatar

Hideto Ishibashi zerobase

View GitHub Profile
@FabienGandon
FabienGandon / .htaccess for RDF voc
Created September 25, 2008 10:34
content negotiation in .htaccess to serve an RDF voc as HTML or rdf+xml depending on the client request
# Turn off MultiViews
Options -MultiViews
# Directive to ensure *.rdf files served as appropriate content type,
# if not present in main apache config
AddType application/rdf+xml .rdf
# Rewrite engine setup
RewriteEngine On
RewriteBase /irc/2008/09/25
namespace :minifier do
JAR = "/Users/blanders/MyDocs/Library/yuicompressor.jar"
def minify(files)
files.each do |file|
next if file =~ /\.min\.(js|css)/
minfile = file.sub(/\.js$/, ".min.js").sub(/\.css$/, ".min.css")
cmd = "java -jar #{JAR} #{file} -o #{minfile}"
@jgarber
jgarber / MIT-LICENSE.txt
Created April 4, 2012 14:57
Responsive video
Copyright (c) 2011 ZURB, http://www.zurb.com/
@matsubo
matsubo / gist:2543898
Created April 29, 2012 08:10
Import all the text file into evernote.
set listOfNames to {}
set theFolder to choose folder "Select the source folder"
tell application "Finder"
set filelist to every file of the folder theFolder
repeat with currentFile in filelist
set currentFileName to (the name of currentFile)
set nom to currentFileName
if text -4 of nom is "." then
set currentFileName to (text 1 thru -5 of nom)
@Gab-km
Gab-km / github-flow.ja.md
Last active April 25, 2024 04:01 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)
@leostratus
leostratus / webkit-pseudo-elements.md
Created September 21, 2012 01:44
Webkit Pseudo-Element Selectors (Shadow DOM Elements)

An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.

Everything is broken up by tag, but within each the selectors aren't particularly ordered.

I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A

A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:

-webkit-appearance:none;

@hayajo
hayajo / changelog_en.md
Last active May 3, 2024 08:29
ChangeLog を支える英語

ChangeLog を支える英語

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

ほとんど引用です。

基本形

@gaspanik
gaspanik / st2pkgs-for-webdev.markdown
Last active January 18, 2021 09:05
ST2: Sublime Text 2 Packages for Web Developers.

Recommended Sublime Text 2 Packages for Web Developers.

Update

  • 「Browser Support」を追加しました。

2013 Spring & Summer

こもりが使っているモノやそうでないものも含め、なんとなくWebデザイナーやWebデベロッパーな人たちに便利そうなのを集めてみました。

@stravid
stravid / category_aware_next_generator.rb
Created November 15, 2012 14:22
Category aware next attribute for a Jekyll post
module Jekyll
class CategoryAwareNextGenerator < Generator
safe true
priority :high
def generate(site)
site.categories.each_pair do |category_name, posts|
posts.sort! { |a, b| b <=> a }
@novi
novi / gist:5791322
Last active December 18, 2015 13:39
Windows 8 に入れたアプリ一覧
  • Copy - クラウドストレージ
  • DropboxPortable AHK - DropboxをSDカードに置く
  • Git Extension - gitとGUIセット
  • Intellij - IDE
  • MacType - フォントのアンチエイリアシングを改善
  • MarkdownPad2 - Markdownエディタ
  • Rapid Environment Editor - 環境変数エディタ
  • Start8 - 7以前のスタートメニューを追加
  • WinRAR - ファイル解凍
  • WizMouse - マウスの挙動をMacに近づける