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 | |
#getting sublime window | |
wmctrl -l -p | grep -e "- Sublime" > .hacking-sublime-pre.txt; | |
raw=$(cat .hacking-sublime-pre.txt) | |
#getting the sublime app code to identify simultaneous windows | |
echo $raw | sed 's/[^ ]* //' | sed 's/[^ ]* //' | sed 's/\s.*$//' > .hacking-sublime-apcode.txt; | |
apcode=$(cat .hacking-sublime-apcode.txt) | |
echo $apcode |
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
[Desktop Entry] | |
Version=1.0 | |
Name=Light Table | |
GenericName=Text Editor | |
Exec=/opt/LightTable/LightTable | |
Terminal=false | |
Icon=light-table.png | |
Type=Application | |
Categories=GTK;Utility;TextEditor;Application;IDE;Development; |
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
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netdb.h> | |
#include <string.h> | |
#include <dlfcn.h> | |
//#include <stdlib.h> |
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 | |
# Author: rhoconlinux, rhoconlinux.wordpress.com | |
# Credit for the spinner to Tasos Latsas https://github.com/tlatsas/bash-spinner | |
##########################spinner funcion starts | |
function _spinner() { |
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/sh -e | |
# | |
# rc.local | |
# | |
# This script is executed at the end of each multiuser runlevel. | |
# Make sure that the script will "exit 0" on success or any other | |
# value on error. | |
# | |
# In order to enable or disable this script just change the execution | |
# bits. |
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 | |
sudo chmod a-x /usr/share/oneconf/oneconf-service | |
sudo chmod a-x /usr/share/oneconf/oneconf-query | |
sudo chmod a-x /usr/share/oneconf/oneconf-update | |
wget https://github.com/oz123/solarized-mate-terminal/archive/master.zip && unzip master.zip && rm master.zip | |
cd solarized-mate-terminal-master/ | |
bash solarized-mate.sh light profile1 | |
bash solarized-mate.sh light default |
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 lists those modules which we don't want to be loaded by | |
# alias expansion, usually so some other driver will be loaded for the | |
# device instead. | |
# evbug is a debug tool that should be loaded explicitly | |
blacklist evbug | |
# these drivers are very simple, the HID drivers are usually preferred | |
blacklist usbmouse | |
blacklist usbkbd |
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
# /etc/crontab: system-wide crontab | |
# Unlike any other crontab you don't have to run the `crontab' | |
# command to install the new version when you edit this file | |
# and files in /etc/cron.d. These files also have username fields, | |
# that none of the other crontabs do. | |
SHELL=/bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
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
[Desktop Entry] | |
Name=plank-preferences | |
GenericName=Plank Preferences | |
Comment=Plank Preferences | |
Icon=plank | |
Exec=plank --preferences | |
Terminal=false | |
Type=Application | |
Categories=System | |
Name[es_ES]=plank-preferences |
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 | |
echo "Creating plank themer dockitem..." | |
USERNAME=$(whoami) | |
ABS_ADDR=/home/$USERNAME/.local/share/applications/plank-preferences.desktop | |
cd $HOME/.config/plank/dock1/ | |
touch $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem | |
echo \[PlankItemsDockItemPreferences\] >> $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem | |
echo Launcher=$ABS_ADDR >> $HOME/.config/plank/dock1/launchers/plank-preferences.dockitem |