Saturday 16 April 2016

Disable Ads uTorrent

Here’s how to disable ads from uTorrent:
  • Open Options > Preferences > Advanced. Here you’ll find a large list of flags for the app and a filter box.
  • Search for and disable(double click & set false) the following flags:
    • offers.left_rail_offer_enabled/left_rail_offer
    • gui.show_plus_upsell
    • offers.sponsored_torrent_offer_enabled/sponsored_torrent_offer_enabled
    • bt.enable_pulse
    • gui.show_notorrents_node
    • offers.content_offer_autoexec
  • As found out by our avid reader – Hakurei06, there are quite a few flags that are not being addressed by the hidden advanced menu in preferences. To do so, after you exit preferences while on the advanced menu, hold down Shift+F2 while clicking preferences again, to view a whole new world of flags and set them false as well:
    • gui.show_gate_explaination
    • gui.show_gate_notify
    • gui.show_plus_av_upsell
    • gui.show_plus_conv_upsell
    • gui.show_plus_upsell_nodes
    • offers.backup_left_rail_offer_enabled
    • offers.upgrade_panel
    • offers.upgrade_toolbar
    • offers.backup_sponsored_torrent_offer_enabled
*These flags may be named slightly differently depending on which version of the app you’re using. So, make sure to use the latest version .
**Notes. credits to bitsnapper.com 

Saturday 28 February 2015

CentOS 7

CentOS 7

Root Terminal.

copy a normal Terminal to desktop from the usr share applications.
edit the properties of the terminal on desktop and in command use
gnome-terminal -x su -

Root File Browser.

Same as above but copy the file browser over to desktop and in command use
gnome-terminal -x bash -c "sudo nautilus"

Nvidia network drivers

Import the rpm GPG key
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
Install ELRepo
yum install http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm

Friday 20 February 2015

Newznab Install Ubuntu 14.04

sudo gnome-terminal
cd /var
mkdir www
cd www
mkdir newznab
chmod 777 /var/www/newznab
cd back to root
Install PHP.
apt-get install php5 php5-dev php-pear
apt-get install php5-gd php5-mysql php5-curl
The next thing we need to do is edit the PHP configuration
gedit /etc/php5/cli/php.ini
Change these settings:
register_globals = Off i think Off is default mine were already set to Off
max_execution_time = 120
memory_limit = -1
date.timezone = Europe/London
apt-get install mysql-server-5.5
apt-get install mysql-client-5.5
apt-get install libmysqlclient-dev
sudo apt-get install -y apache2
sudo gedit /etc/php5/apache2/php.ini
Change these settings:
register_globals = Off i think Off is default mine was already set to Off
max_execution_time = 120
memory_limit = -1
date.timezone = Europe/London
Create the site configuration file for Apache
sudo gedit /etc/apache2/sites-available/newznab.conf
Paste this into the file and save it.

ServerAdmin webmaster@localhost
ServerName localhost
# These paths should be fine
DocumentRoot /var/www/newznab/www
ErrorLog /var/log/apache2/error.log
LogLevel warn
ServerSignature Off
#

Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
Require all granted
# Alias /covers /var/www/newznab/recources/covers
Now we need to disable the default Apache settings, enable the one we just created for Newznab and enable modrewrite:
In /etc/apache2/sites-available the Newznab file must be called newznab.conf
sudo a2dissite 000-default.conf
sudo service apache2 restart
sudo a2ensite newznab
sudo service apache2 restart
sudo a2enmod rewrite
sudo service apache2 restart
Install Unrar
sudo apt-get install unrar
Now Mediainfo install:
sudo apt-get install -y python-software-properties
sudo add-apt-repository ppa:shiki/mediainfo
sudo apt-get update
sudo apt-get install mediainfo
Now install SVN
sudo apt-get install subversion
svn co svn://svn.newznab.com/nn/branches/nnplus /var/www/newznab
user *****
pass *****
yes
Checked out revison 3201
Set the permissions on directories as well:
sudo chmod 777 /var/www/newznab/www/lib/smarty/templates_c
sudo chmod 777 /var/www/newznab/www/covers/movies
sudo chmod 777 /var/www/newznab/www/covers/anime
sudo chmod 777 /var/www/newznab/www/covers/music
sudo chmod 777 /var/www/newznab/www
sudo chmod 777 /var/www/newznab/www/install
sudo chmod 777 /var/www/newznab/nzbfiles/
Install Screen
sudo apt-get install screen
then
cd /var/www/newznab/misc/update_scripts/nix_scripts
cp newznab_screen.sh newznab_screen_local.sh
gedit newznab_screen_local.sh
Set the Newznab_Path to export NEWZNAB_PATH=”/var/www/newznab/misc/update_scripts”
Open up http://localhost/install in a web browser:
Once setup is done on the site page some options to set:
Put your Newznab ID in
Unrar Path
/usr/bin/unrar
Mediainfo Path
/usr/bin/mediainfo
In Usenet Settings Section
Perform Integrated Update Cleanup – Set to Yes
Password Settings – Deep
Delete Passworded Releases – Yes
Spotnab Settings
Auto Discovery – Yes
Then add your groups:)
Tested and working on Ubuntu 12.04 and 14.04

Saturday 5 April 2014

Install VMware Tools on RHEL 6 & Centos 6

This is a HOWTO for installing VMware Tools on RHEL 6 and Centos 6.  I'm mainly posting this since I never remember what the prerequisites are.

Install the VMware tools prerequisites:

yum install make gcc kernel-devel kernel-headers glibc-headers perl

Mount the VMware Tools CD (after inserting it into the VM)

mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom

Copy the install bundle from the CD and extract it.

cp /mnt/cdrom/VMware-Tools*.tar.gz /tmp/
cd /tmp/
tar xvfz VMwareTools*.tar.gz

Run the installer, default on all prompts works fine.

cd /tmp/vmware-tools-distrib
./vmware-install.pl  # add -d to auto accept defaults

install zpanel with php 5.5.9 with suhosin

Install ZPanel including the last PHP version and Suhosin.
Now PHP 5.5.9 including suhosin. At the end of the installation it confirms it works.

CentOS 6.X

Code:
bash <(curl -Ss http://tomvanbrienen.nl/downloads/10_1_1_custom.sh)

This is the clean ZPanel version with only PHP 5.5.9 & Suhosin

Zpanel Installs

Pear - Install
wget http://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar


If its blank with no output you need to
edit /etc/suhosin.ini
add suhosin.executor.include.whitelist = phar
When you install Pear install with the defaults
then in zpanel go to Admin, Module Admin, Apache Config
and change Use Open Base Dir to "FALSE"
edit /etc/php.ini
add include_path=".:/usr/share/pear:/php/includes"

Repo Browser - Install
zppy repo add rustus.txt-clan.com
zppy update
zppy install repo_browser


Vhosts edit for sub folder as main www dir
Admin, Module Admin, Apache Config
Select vhosts for the account you want and paste the whole lot for document root in there
so example would be
DocumentRoot "/var/zpanel/hostdata/MYHOSTNAME/public_html/MYHOST.COM"
and you would change to
DocumentRoot "/var/zpanel/hostdata/MYHOSTNAME/public_html/MYHOST.COM/subfolder/anothersubfolder"

Backup database's but not files
Admin, Module Admin, Backup Config

Ajax Explorer addon

in /etc/zpanel/panel/etc/apps/ajaxplorer/conf
and file bootstrap_conf.php
uncomment line with define("AJXP_LOCALE", "en_EN.UTF-8");

Tuesday 1 April 2014

My First Chrome Theme Deep Dark

I released a theme to the Google Web Store A Dark carbon kind of texture with blue text. This theme was inspired by the firefox theme FT DeepDark so credits to him.
ScreenShot

Deep dark Download
I Have another theme same as this only Aero instead might upload that very soon