Skip to content

Instantly share code, notes, and snippets.

@halyph
halyph / about.md
Created August 12, 2011 09:26 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@halyph
halyph / status.scala
Created January 4, 2012 07:10 — forked from opensas/status.scala
tiny little scala script to check for play documentation translated files, see http://www.dzone.com/links/first_steps_with_scala_say_goodbye_to_bash_scripts.html
#!/bin/sh
exec scala "$0" "$@"
!#
import java.io._
val docs = new File(".").listFiles
.filter(_.getName.endsWith(".textile")) // process only textile files
.map(new DocumentationFile(_))
@halyph
halyph / pom.xml
Created July 21, 2012 09:05 — forked from gordonad/pom.xml
Spring Best Practices Maven Pom
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gordondickens.sample</groupId>
<artifactId>sample-parent</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
@halyph
halyph / gist:3931404
Created October 22, 2012 13:01 — forked from gitfoobar/gist:3931401
#git list conflicted files
git diff --name-only --diff-filter=U
0. SSH to server
1. Edit /opt/bitnami/apps/jenkins/jenkins_home/config.xml
2. set userSecurity to false: <userSecurity>false</userSecurity>
3. delete
<authorizationStrategy> and <securityRealm>
4. /etc/init.d/bitnami restart
@halyph
halyph / build.gradle
Last active August 29, 2015 14:14 — forked from glaforge/build.gradle
apply plugin:'groovy'
apply plugin:'idea'
repositories { mavenCentral() }
dependencies {
groovy 'org.codehaus.groovy:groovy-all:1.8.4'
}
task makeDirs(description:'make all dirs for project setup') << {
@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]
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 / 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>
@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