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 | |
# Script to install Fedy < http://folkswithhats.org/ >. | |
# Copyright (C) 2014 Satyajit sahoo | |
# Custom by kriptonium - 13/11/2015 | |
if [[ ! $(whoami) = "root" ]]; then | |
echo "Please run the script as root." | |
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
@echo off | |
tasklist /FI "IMAGENAME eq mysqld.exe" 2>NUL | find /I /N "mysqld.exe">NUL | |
if "%ERRORLEVEL%"=="0" ( | |
goto continue | |
) else ( | |
goto mysql_not_running | |
) | |
:continue |
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
bash -c 'su -c "curl http://folkswithhats.org/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"' |
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
netbeans_default_options=" | |
-J-client | |
-J-Xss2m | |
-J-Xms32m | |
-J-XX:PermSize=32m | |
-J-Dapple.laf.useScreenMenuBar=tr | |
-J-Dapple.awt.graphics.UseQuartz=true | |
-J-Dsun.java2d.noddraw=true | |
-J-Dsun.java2d.dpiaware=true | |
-J-Dsun.zip.disableMemoryMapping=true |
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
* Connecting to irc.kampungchat.org (104.140.137.152) port 6667... | |
* Connection failed. Error: Connection timed out | |
Cycling to next server in KanpungChat... | |
* Disconnected (). | |
* Looking up irc.kampungchat.org | |
* Connecting to irc.kampungchat.org (104.140.137.152) port 6667... | |
* Connection failed. Error: Connection timed out | |
Cycling to next server in KanpungChat... | |
* Disconnected (). | |
* Looking up irc.kampungchat.org |
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
sudo apt-get remove linux-header-4.0* linux-image-4.0* |
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
sudo reboot |
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 /tmp | |
wget \ | |
kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb \ | |
kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb \ | |
kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb | |
sudo dpkg -i linux-headers-4.0*.deb linux-image-4.0*.deb |
NewerOlder