Skip to content

Instantly share code, notes, and snippets.

View psafx's full-sized avatar

Prasong Aroonruviwat psafx

  • Bangkok, Thailand
View GitHub Profile
@psafx
psafx / grandcentrix.xml
Created December 13, 2017 16:11
grandcentrix style with "BLANK_LINES_AROUND_FIELD" = "0"
<code_scheme name="grandcentrix">
<option name="FIELD_NAME_PREFIX" value="m" />
<option name="STATIC_FIELD_NAME_PREFIX" value="m" />
<option name="GENERATE_FINAL_LOCALS" value="true" />
<option name="GENERATE_FINAL_PARAMETERS" value="true" />
<option name="INSERT_INNER_CLASS_IMPORTS" value="true" />
<option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
<option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="999" />
<option name="PACKAGES_TO_USE_IMPORT_ON_DEMAND">
<value>
@psafx
psafx / csscomb.json
Created May 16, 2017 06:13
csscomb config with recess sorting rules
{
"always-semicolon": true,
"color-case": "lower",
"block-indent": " ",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "single",
"space-before-colon": "",
@psafx
psafx / node-install.sh
Last active June 5, 2018 02:48
Node install script
#!/bin/bash
function version_gt() {
test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
}
echo "Node Linux Installer by www.github.com/taaem"
if [[ $EUID -ne 0 ]]; then
echo "Need Root for installing NodeJS"
sudo sh -c 'echo "Got Root!"'
@psafx
psafx / README.md
Created October 12, 2013 14:59 — forked from nikcub/README.md