This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### GIT && PS1 | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset | |
# Regular Colors | |
Black="\[\033[0;30m\]" # Black | |
Red="\[\033[0;31m\]" # Red |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download MariaDB Galera di : downloads.mariadb.org/mariadb-galera/ | |
ekstrak file tersebut, lalu compile : #tar xzf mariadb*.tar.gz & cd maria* & make && make install | |
setelah proses compile dan install selesai, masuk ke direktori hasil instalasi di /usr/local/ : #cd /usr/local/ | |
tambahkan group baru untuk mysql menggunakan perintah pw : #pw groupadd mysql | |
adduser baru mysql : #useradd -g mysql mysql | |
masuk ke folder mysql : #cd mysql | |
set chown : #chown -R mysql . | |
set chgrup : #chgrp -R mysql . | |
install mysql mariadb pada user : #scripts/mysql_install_db --user=mysql | |
set chown root dan mysql : #chown -R root & chown -R mysql data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
urxvt*foreground: #f2f2f2 | |
urxvt*background: #101010 | |
urxvt*color0: #101010 | |
urxvt*color1: #f13a21 | |
urxvt*color2: #93f91d | |
urxvt*color3: #ffd00a | |
urxvt*color4: #004f9e | |
urxvt*color5: #ec0048 | |
urxvt*color6: #2aa7e7 | |
urxvt*color7: #f2f2f2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package BLogin; | |
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import java.util.InputMismatchException; | |
import java.util.Scanner; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------- | |
-- "Zhongguo" awesome theme -- | |
-- By Tony @ git-pull -- | |
-- based on Zenburn by anrxc -- | |
-- License: GNU GPL v2 -- | |
---------------------------------- | |
-- {{{ Main | |
theme = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- {{{ License | |
-- | |
-- Awesome configuration, using awesome 3.4.10 on Ubuntu 11.10 | |
-- * Tony N <tony@git-pull.com> | |
-- | |
-- This work is licensed under the Creative Commons Attribution-Share | |
-- Alike License: http://creativecommons.org/licenses/by-sa/3.0/ | |
-- based off Adrian C. <anrxc@sysphere.org>'s rc.lua | |
-- }}} |