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 | |
if [ $# -eq 1 ] | |
NM=`uname -a && date` | |
NAME=`echo $NM | md5sum | cut -f1 -d" "` | |
then | |
ppa_name=`echo "$1" | cut -d":" -f2 -s` | |
if [ -z "$ppa_name" ] | |
then | |
echo "PPA name not found" | |
echo "Utility to add PPA repositories in your debian machine" |
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
cd /usr/sbin | |
nano add-apt-repository | |
#!/bin/bash | |
if [ $# -eq 1 ] | |
NM=`uname -a && date` | |
NAME=`echo $NM | md5sum | cut -f1 -d" "` | |
then | |
ppa_name=`echo "$1" | cut -d":" -f2 -s` |
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
# Mount root partition: | |
sudo mount /dev/sdXY /mnt # /dev/sdXY is your root partition, e.g. /dev/sda1 | |
# If you have a separate boot partition you'll need to mount it also: | |
sudo mount /dev/sdYY /mnt/boot | |
# Mount your virtual filesystems: | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
# Chroot |
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
gsettings set org.gnome.nautilus.icon-view default-zoom-level small |
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
fc-cache -f -v |
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
1. Download genymotion-2.6.0-ubuntu15_x64.bin | |
2. cd Downloads | |
3. chmod a+x genymotion-2.6.0-ubuntu15_x64.bin | |
4. ./genymotion-2.6.0-ubuntu15_x64.bin | |
5. Download libjpeg-turbo8-dbg_1.1.90+svn733-0ubuntu4.3_amd64.deb from http://packages.ubuntu.com/precise/libjpeg-turbo8-dbg and install it. | |
6. Download and install libjpeg-turbo8_1.1.90+svn733-0ubuntu4.3_amd64.deb from http://packages.ubuntu.com/precise/libjpeg-turbo8 and install it. | |
7. apt-get install libdouble-conversion1 | |
8. /opt/genymobile/genymotion/genymotion |
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
pacman -S git | |
mkdir ~/rf24libs | |
cd ~/rf24libs | |
git clone https://github.com/tmrh20/RF24.git RF24 | |
cd RF24 | |
sudo make install | |
cd examples_linux | |
make | |
ln -s /root/rf24libs/RF24/librf24.so.1.1.6 /usr/lib/librf24.so.1 | |
./gettingstarted |
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
attrib -h -s /d /s |
OlderNewer