/mouse enable
This file contains 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
// Oops.. I submitted the application before working on it... but here it goes with what I can remember.. | |
public class User { | |
private String username; | |
private String password; | |
public User(String username, String password) { | |
this.username = username; | |
this.password = password; | |
} |
This file contains 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
# add extra short cut keys for workspace navigation | |
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-5 "['<Alt>5']" | |
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-6 "['<Alt>6']" | |
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-7 "['<Alt>7']" | |
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-8 "['<Alt>8']" | |
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-9 "['<Alt>9']" | |
# shortcut for moving windows to designated workspace | |
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['<Shift><Alt>5']" | |
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-6 "['<Shift><Alt>6']" |
This file contains 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
#!/bin/bash | |
# edit line 7 - Main to corresponding class name | |
# edit line 11 - incorrect to corresponding fail message. The printing of incorrect should be implemented from java source | |
COUNTER=0 | |
while [ $COUNTER -lt 1000 ]; do | |
java Main >> output.txt | |
let COUNTER=COUNTER+1 | |
done |
This file contains 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
#! /bin/bash | |
# | |
# I3 bar with https://github.com/LemonBoy/bar | |
. $(dirname $0)/i3_lemonbar_config | |
if [ $(pgrep -cx $(basename $0)) -gt 1 ] ; then | |
printf "%s\n" "The status bar is already running." >&2 | |
exit 1 | |
fi |
This file contains 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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains 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
dependencies: | |
-> font-awesome | |
-> rxvt-unicode | |
-> compton | |
firefox theme: arc theme (dark) | |
wallpaper @ http://i.imgur.com/5aZL4uu.jpg | |
credit to: lovelybacon.deviantart.com |