Skip to content

Instantly share code, notes, and snippets.

View project0's full-sized avatar
:octocat:

Richard Hillmann project0

:octocat:
View GitHub Profile
@mahata
mahata / random.scala
Last active June 5, 2021 20:38
random ascii string generator in Scala
object randomSample {
def randomString(length: Int) = Stream.continually(util.Random.nextPrintableChar) take length mkString
}
println(randomSample.randomString(64))
@TrevorS
TrevorS / git-tree-alias.sh
Created March 27, 2014 14:47
git tree alias.
git config --global alias.tree "log --graph --decorate --pretty=oneline --abbrev-commit"
@bodokaiser
bodokaiser / config.go
Created June 26, 2014 08:16
Simple example how to merge JSON files.
package main
import (
"log"
"fmt"
"encoding/json"
)
var conf1 = `
{
@tolleiv
tolleiv / README.md
Last active August 10, 2021 21:01
Fortigate 300C logstash log parsing

Fortigate 300c log parsing in Logstash

QA ca be done with:

logstash-1.4.2/bin/logstash rspec --format documentation test.rb

@project0
project0 / reaction.html
Last active February 2, 2020 18:33
Get random picture from tumblr blog like devopsreactions.tumblr.com
<html>
<head>
<title>DevOps Reaction</title>
<style type="text/css">
body { background-color:#000; color:#fff }
h1 { font-size:35pt }
</style>
<script src="http://code.jquery.com/jquery-2.2.0.min.js"></script>
<script>
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 5, 2024 19:12
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example