Skip to content

Instantly share code, notes, and snippets.

@halyph
halyph / history.txt
Created November 22, 2016 12:29 — forked from unak/history.txt
The History of Ruby
* Only the releases of the stable versions are enumerated in principle. The releases of the unstable versions especially considered to be important are indicated as "not stable."
* The branches used as the source of each releases are specified, and the branching timing of them are also shown. BTW, before subversionizing of the repository, the term called "trunk" was not used, but this list uses it in order to avoid confusion.
* In order to show a historical backdrop, big conferences (RubyKaigi, RubyConf and Euruko) are also emurated. About the venues of such conferences, general English notations are adopted, in my hope.
* ruby_1_8_7 branch was recut from v1_8_7 tag after the 1.8.7 release becaouse of an accident.
* 1.2.1 release was canceled once, and the 2nd release called "repack" was performed. Although there were other examples similar to this, since the re-releases were performed during the same day, it does not write clearly in particular.
* Since 1.0 was released with the date in large quantities,
@halyph
halyph / PomToSbt.scala
Created September 14, 2016 06:57 — forked from mslinn/PomToSbt.scala
Convert pom.xml to build.sbt
import scala.xml._
// To convert a Maven pom.xml to build.sbt:
// 1) Place this code into a file called PomToSbt.scala next to pom.xml
// 2) Type scala PomtoSbt.scala > build.sbt
// The dependencies from pom.xml will be extracted and place into a complete build.sbt file
// Because most pom.xml files only refernence non-Scala dependencies, I did not use %%
val lines = (XML.load("pom.xml") \\ "dependencies") \ "dependency" map { dependency =>
val groupId = (dependency \ "groupId").text
val artifactId = (dependency \ "artifactId").text
@halyph
halyph / .bash_profile
Created July 27, 2016 09:30 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@halyph
halyph / .bash_profile
Created July 27, 2016 09:15 — forked from stephenll/.bash_profile
.bash_profile file on Mac OS X
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases.
# Much of this was originally copied from:
# http://natelandau.com/my-mac-osx-bash_profile/
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
@halyph
halyph / API.md
Created April 11, 2016 13:58 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@halyph
halyph / .gitignore
Created March 18, 2016 17:42 — forked from karmi/.gitignore
Elasticat makes Elasticsearch JSON responses pretty • http://git.io/elasticat
.DS_Store
tmp/
@halyph
halyph / golang_package_management.md
Created January 16, 2016 10:00 — forked from diyan/golang_package_management.md
Cambrian explosion of Golang package management tools
Most starred tools that supports GO15VENDOREXPERIMENT

godep, glide, govendor, gvt

Most starred tools that does not supports GO15VENDOREXPERIMENT

gb, gom, gpm, gopm, goop, nut, johnny-deps, gopkg, gopack, gigo

GitHub stats at 2016-01-02
repo                   	stars	forks	lang
tools/godep            	2954 	263  	Go
@halyph
halyph / userDefineLang_Groovy.xml
Last active August 29, 2015 14:27 — forked from Thermionix/userDefineLang_Groovy.xml
Groovy user defined language for notepad++
<NotepadPlus>
<UserLang name="Groovy" ext="groovy" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">03/* 04*/ 00// 01 02</Keywords>
<Keywords name="Keywords1">abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true</Keywords>
<Keywords name="Keywords2">as assert def mixin property test using in it</Keywords>
GRAILS GROOVY SOURCE
3.0.1
3.0.0 2.4 https://grails.github.io/grails-doc/3.0.x/guide/introduction.html
2.5.0 2.4.3 http://grails.1312388.n4.nabble.com/ANN-Grails-2-4-5-and-Grails-2-5-0-released-td4658938.html
2.4.5 2.3.11 https://objectpartners.com/2015/05/14/list-of-groovy-versions-for-each-version-of-grails/#comment-7971
2.4.4
2.4.3
2.4.2
@halyph
halyph / import.rb
Last active August 29, 2015 14:15 — forked from baldowl/import.rb
Import Blogger into Octopress
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
require 'uri'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = File.read ARGV[0]