Skip to content

Instantly share code, notes, and snippets.

@hippoz
hippoz / .screenrc
Created March 20, 2019 03:00 — forked from joaopizani/.screenrc
A killer GNU Screen Config
# the following two lines give a two-line status, with the current window highlighted
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# huge scrollback buffer
defscrollback 5000
# no welcome message
startup_message off
@hippoz
hippoz / report.lua
Created May 22, 2018 10:27 — forked from YutaroHayakawa/report.lua
Lua script for formatting output of wrk to csv
done = function(summary, latency, requests)
-- open output file
f = io.open("result.csv", "a+")
-- write below results to file
-- minimum latency
-- max latency
-- mean of latency
-- standard deviation of latency
-- 50percentile latency
@hippoz
hippoz / gist:8feb158c0c94f87c6762
Created January 7, 2016 10:14
Gradle : build.gradle for scala
group 'com.hipposoft'
version = '1.0'
apply plugin: 'java'
apply plugin: 'scala'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
@hippoz
hippoz / gist:c200b744cc5881cb2b62
Created October 4, 2015 15:20
MongoDB Configuration Windows Sample
systemLog:
destination: file
path: "D:/mongodb/log/mongodb.log"
logAppend: true
quiet : false
storage:
dbPath: "D:/mongodb/data"
processManagement:
windowsService:
serviceName: "MongoDB"
@hippoz
hippoz / gist:8b488d9659ff587d789a
Last active September 15, 2015 06:45
Gradle:SpringBoot+Groovy Starter
buildscript {
ext {
springBootVersion = '1.2.5.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath("io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE")
@hippoz
hippoz / gist:9ad331ae24aab3dfd4b8
Created August 5, 2015 10:24
Sublime : Build Sample Gradle Windows
{
"cmd" : ["cmd", "/k", "gradle", "clean", "build"],
"working_dir": "${project_path:${folder}}",
}
@hippoz
hippoz / gist:ca77c0629f2fda398c22
Last active September 15, 2015 04:07
Gradle : build.gradle groovy + java
group 'com.hipposoft'
version = '1.0'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'idea'
apply plugin: 'eu.appsatori.fatjar'
sourceCompatibility = 1.7
targetCompatibility = 1.7