Skip to content

Instantly share code, notes, and snippets.

View kokizzu's full-sized avatar

Kiswono Prayogo kokizzu

View GitHub Profile
@kokizzu
kokizzu / install.sh
Last active August 29, 2015 14:02
LiteIDE ArchLinux
git clone https://github.com/visualfc/liteide.git
export QTDIR=/usr
cd liteide/build
./update_pkg.sh
./build_linux.sh
./deploy_linux_qt4.8_webkit.sh
@kokizzu
kokizzu / KyzDarkDup.icls
Created June 19, 2014 07:44
WebStorm Dark Color Scheme .WebIde70/config/colors/KyzDarkDup.icls
<?xml version="1.0" encoding="UTF-8"?>
<scheme name="KyzDarkDup" version="124" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="14" />
<option name="EDITOR_FONT_NAME" value="Source Code Pro" />
<colors>
<option name="ADDED_LINES_COLOR" value="295622" />
<option name="ANNOTATIONS_COLOR" value="8b999f" />
<option name="CARET_COLOR" value="bbbbbb" />
<option name="CARET_ROW_COLOR" value="323232" />
@kokizzu
kokizzu / KyzDarkRubyMine.icls
Last active August 29, 2015 14:03
RubyMine Dark Color Scheme ~/.RubyMine60/config/colors/KyzDark.icls
<?xml version="1.0" encoding="UTF-8"?>
<scheme name="KyzDark" version="124" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="13" />
<option name="EDITOR_FONT_NAME" value="Anka/Coder Narrow" />
<colors>
<option name="ADDED_LINES_COLOR" value="295622" />
<option name="ANNOTATIONS_COLOR" value="8b999f" />
<option name="CARET_COLOR" value="bbbbbb" />
<option name="CARET_ROW_COLOR" value="323232" />
@kokizzu
kokizzu / KyzDarkPhpStorm.icls
Last active August 29, 2015 14:03
PhpStorm Dark Color Scheme ~/.WebIde80/config/colors/KyzDark.icls
<?xml version="1.0" encoding="UTF-8"?>
<scheme name="KyzDark" version="124" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="13" />
<option name="EDITOR_FONT_NAME" value="Anka/Coder Narrow" />
<colors>
<option name="ADDED_LINES_COLOR" value="295622" />
<option name="ANNOTATIONS_COLOR" value="8b999f" />
<option name="CARET_COLOR" value="bbbbbb" />
<option name="CARET_ROW_COLOR" value="323232" />
@kokizzu
kokizzu / [email protected]
Created July 22, 2014 21:10
Systemd network service file
[Unit]
Description=Network connectivity (%i)
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
@kokizzu
kokizzu / install.sh
Last active August 29, 2015 14:04
VPS Archlinux
# 0. download latest .iso from https://www.archlinux.org/download/
# dump to USB disk if required:
# dd bs=4M if=/path/to/archlinux-yyyy.mm.dd-dual.iso of=/dev/your_usb_disk
# 1. boot with archlinux ISO
# 2. create partition, format, mount
lsblk # find disk name
disk=/dev/vda
cfdisk $disk # create only 1 ext4 partition, set bootable; 83; write; quit
@kokizzu
kokizzu / netmon.cpp
Created July 28, 2014 14:45
modified netmon applet
/* opyright (C) 2010 Ciriaco Garcia de Celis
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@kokizzu
kokizzu / yakuakerc
Created August 23, 2014 02:13
~/.kde4/share/config/yakuakerc
[Animation]
Frames=0
[Appearance]
BackgroundColorOpacity=80
Term
@kokizzu
kokizzu / libcouchbase-2.4.4
Last active August 29, 2015 14:10
PKGBUILDs
# Maintainer: Gabriel Garrido <[email protected]>
# Contributors: Lev Lybin <[email protected]>, Kiswono <[email protected]>
pkgname=libcouchbase
pkgver=2.4.4
pkgrel=1
pkgdesc="The C library provides fast access to documents in Couchbase Server 2.0."
arch=('i686' 'x86_64')
url="https://github.com/couchbase/libcouchbase"
license=('Apache')
@kokizzu
kokizzu / suspend-usb-device.sh
Created February 24, 2015 13:35
Suspend USB Device
#!/bin/bash
#
# suspend-usb-device: an easy-to-use script to properly put an USB
# device into suspend mode that can then be unplugged safely
#
# Copyright (C) 2009, Yan Li <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or