Skip to content

Instantly share code, notes, and snippets.

View gist:8e961897b90f1def56b831750b1e8e14
✘╹◡╹✘ < /usr/libexec/path_helper
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/aereal/bin:/Users/aereal/devel/bin:/Users/aereal/.mysqlenv/bin:/Users/aereal/.mysqlenv/shims:/Users/aereal/.pyenv/shims:/Users/aereal/.rbenv/shims:/Users/aereal/.plenv/shims:/Users/aereal/.ndenv/bin:/Users/aereal/.ndenv/shims:/usr/local/opt/coreutils/libexec/gnubin"; export PATH;
View inc.t
use strict;
use warnings;
use Test::More;
ok not exists $INC{'URI.pm'};
(sub {
local %INC = %INC;
require URI;
ok exists $INC{'URI.pm'};
View .textlintrc
{
"filters": {},
"rules": {
"ja-no-abusage": true,
"ja-no-redundant-expression": true,
"max-kanji-continuous-len": true,
"no-double-negative-ja": true,
"no-doubled-conjunctive-particle-ga": true,
"no-doubled-joshi": true,
"no-dropping-the-ra": true,
View nishino_kana.md
  • キミ (14)
  • ・ (12)
  • がんばれる (12)
  • あなた (9)
  • モード (7)
  • ふたり (7)
  • たび (7)
  • 前 (6)
  • 重ねる (6)
  • 今日 (6)
View hi.md

早見沙織さん ♨️

View format_scala_case_class.rb
#!/usr/bin/env ruby
class Machine
INDENT = ' '
def initialize
@indent_level = 0
end
def incr_indent(n = 1)
@aereal
aereal / uri-regexp
Created Jun 1, 2016
ruby -ruri -e 'puts URI.regexp'
View uri-regexp
(?x-mi:
([a-zA-Z][\-+.a-zA-Z\d]*): (?# 1: scheme)
(?:
((?:[\-_.!~*'()a-zA-Z\d;?:@&=+$,]|%[a-fA-F\d]{2})(?:[\-_.!~*'()a-zA-Z\d;\/?:@&=+$,\[\]]|%[a-fA-F\d]{2})*) (?# 2: opaque)
|
(?:(?:
\/\/(?:
(?:(?:((?:[\-_.!~*'()a-zA-Z\d;:&=+$,]|%[a-fA-F\d]{2})*)@)? (?# 3: userinfo)
(?:((?:(?:[a-zA-Z0-9\-.]|%\h\h)+|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|\[(?:(?:[a-fA-F\d]{1,4}:)*(?:[a-fA-F\d]{1,4}|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|(?:(?:[a-fA-F\d]{1,4}:)*[a-fA-F\d]{1,4})?::(?:(?:[a-fA-F\d]{1,4}:)*(?:[a-fA-F\d]{1,4}|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))?)\]))(?::(\d*))?))? (?# 4: host, 5: port)
|
View bounded.scala
trait Bounded[T <: Bounded[T]] {
self: T =>
}
trait BoundedFactory[V, B <: Bounded[B]] {
def build(b: B): V
}
case class Box[V](value: V) extends Bounded[Box[V]]
class BoxFactory[T] extends BoundedFactory[T, Box[T]] {
def build(b: Box[T]) = b.value
}
View atom-packages.txt
advanced-open-file@0.14.3
atom-material-syntax@0.4.5
atom-material-syntax-light@0.4.4
atom-material-ui@1.2.10
clipboard-plus@0.5.1
color-picker@2.1.1
file-icons@1.6.19
git-plus@5.13.0
imdone-atom@1.3.29
markdown-preview-plus@2.3.0