Showing posts from 2017

Learn basic regex for Linux in 2 minutes

re  :  strings in which
^a : a is the beginning char
a$ : a is the end char
a? : 0 or 1 a
a+ : 1 or more a
a* : 0 or more a
^a : doesn't contains a
. : matches any character
{3,5} : range of 3 to 5
[abcf] : matches any one of a,b,c or f
[[:space:]] : matches spaces
[[:space:]]{4,} : matches 4 or more spaces
[a-z] : a to z
[a-zA-Z] :  a to z and A to Zd : any digit
s : space
w : any alphabetw+(.ab)w+(53) : grouping (.ab) into group 1 and (53) into group 2, use them using \1,\2

Exercises:1. ab(cd)ef to abcdef
 rename -f 's/\([a-zA-Z0-9]+\)//g' *2. ab_cde_f to ab cde f
 rename -f 's/_/ /g' *3. 0abcde to abcde
 rename -f 's/(0)+([0-9a-zA-Z-.]+)/$2/g' *4. a.enbc to a bc
 rename -f  's/\.en/ /g' *5. a-bcdef to a bcdef
 rename -f  's/-/ /g' *6. AbcDeF to abcdef
 rename -f  'y/A-Z/a-z/' *

Some basic linux hacks

#Sharing files on local server: sender:target dir$ python3 -m http.server port receiver$ wget -r sender_ip:port/{name of file or folder}
sender:target dir$ tar -cz . | nc -q 10 -l -p 45454 receiver$ nc -w 10 $REMOTE_HOST 45454 | tar -xz
#Pushing  a local GIT repository to remote #Pulling a GIT remote repository: #To download an EDX course: 1. Download edx-dl from 2. Now browse to downloaded dir and type:sudo python install 3. Now authenticate (your credentials will be protected as per author of edx-dl):edx-dl -u --list-courses 4. Now use link of one of the course links from output of previous command:edx-dl -u link
#To rename files in all subdir recursively changing name1 in filename to name2:find . -type f -exec rename 's/name1/name2/g' *.vtt '{}' \;
#To rename files, appending it's parent name before it's filename:for file in */*/*; do         l1="${fi…

Seedr : online cloud torrent download

Most of you who are reading this post might have problems downloading torrents via a torrent client.
Seedris an online service that allows you to cloud download torrents via magnetic links or torrent torcache files. The free service allows cloud download  of upto 8GB at max, for larger files you will have to upgrade to premium with which you will get other amazing features. For details, take a look at their pricing below. is the next-generation product or service going to deliver the bit-torrent encounter into a completely degree. While torrents are certainly not precisely legal as well as safe and sound, nonetheless they have now grow to be part and also package of our on-line lifetime right now. And so, gain access to these in the quickest and also best way achievable we have now Seedr.
 Seedr works in almost every network across the globe. They also have torrent streaming feature and other amazing features for both non premium and premium users. is a great alternati…

Simplest way to recover deleted files.

Retrieving deleted files must be easy, and it is when you use Windows Recycle Bin or Mac's Trash. But what if you might have emptied the Recycle bin or Trash can? Or even worse, what if the Recycle Trash can have never been empowered on your system?

Undelete Wizard is one of the best answers! Undelete Wizard by recovers erased data, pictures and documents.

Hang on a second. Aren't pictures and documents just different varieties of files? They definitely are, want to know the best part: Recover Wizard recognises the priorities, and tools a set of special algorithms to locate the deleted Office documents, digital pictures and ZIP and RAR archives on the surface of your hard disk even if all traces of them are gone some time ago!

Restore erased files and recover wiped Word documents, Excel spreadsheets, PowerPoint presentations, email emails, ZIP and RAR racks, digital pictures and everything other types of files with Undelete Wizard! Empty Recycling Bin or…

How secure are these so called CGI Proxy Sites?

Everybody now these days is concerned with protecting their personal information from spying eyes on the web. While using continuing increase circumstances of stealing personal web identities, many people have been misdirected about what information needs to be hidden online and the simplest way to achieve a more secure Internet environment. One of the most frequent ideas is the fact when you start using CGI proxy server sites the security level increases.

CGI Proxy sites work by very quickly and effectively relaying web page request for users to websites and back. The CGI Server proxy script relays your information without ever revealing exactly who you are. So that you are anonymous to the site you are visiting. This kind of is done in a nearly seamless manner with the person only seeing a tiny advertising bar on top of the page. This kind of information is going in both directions with the site server talking to the server hosting the CGI proxy site. The website server would not kno…

5 BackEnd Flaws a developer should avoid.

1. Input Checking
Constantly check user input to make certain it is what you expected. Ensure it will not contain characters or other data which may be treated in a special way because of your program or any programs called by your program. This often involves checking for character types such as quotes and checking for unusual type characters such as non-alphanumeric characters where a textual content string is expected. Typically, they are a sign of an attack of some kind being attempted.

2. Range Checking
Always check the ranges when copying data, allocating memory or executing any procedure which could potentially overflow. Some encoding languages provide range-checked port access (such as the std:: vector:: at() in C++, but many computer programmers insist on using the unchecked array index [] notation. In addition, the use of functions such as strcpy() should be avoided in preference to strncpy(), that allows you to specify the maximum volume of characters to copy. Similar versions…

How secure are our online payments?

The seamless world of the Internet has broken wide open the physical barriers that existed across regions on the Globe. Today, subsequently, you could be sitting down in Munich and purchasing goodies from Seoul. Extremely convenient, and thrilling. On the other hand, when you pay for your goodies and shipping your Credit Card, are you sure, you are paying simply for what you paid for? It’s likely your Credit Card Information traverses through the alien territory into the wrong pair of hands. The end result, the next morning hours, you will find your money eroded or purged? Not just a situation that almost all of us can afford or enjoy.

Exactly how then transact on the Net and yet safeguard our hard earned monies from those Electronic pirates? The answer is relatively simple. Every time you choose to buy product or services through websites, before entering your Credit Credit card and other personal information look for facts on whether the payment portal is secured. Informed customers …

Why is website monitoring required?

What is site monitoring all about? 
To understand that, let's hear Carl's story:

Carl returned to the office after a tough day of talks. He still was not sure if the important deal was on or off, but dinner would soon be waiting and he had just enough time left to check his emails fantastic telephone messages.

He had 14 phone messages, every one of them urgent. Also late to ca right away; that would have to hold back for morning.

His inbox held that familiar email report from his site monitoring service. This individual smiled. As usual, there were no error notifies. That's what he enjoyed to see -- his site still performing well.

He looked carefully at the report. Each of the varieties were functioning. The shopping cart, too. Password safety was functioning. At least he did not have to worry about his internet site this evening.

There have been still some download rate issues reported by the new Hong Kong Monitoring Station. Selection a mental note to boost the concern with hi…

Network Intrusion Systems

With computer hackers and personality thieves getting more computer literate, the security your computer needs to bear them out has to always stay at least one step up front. There is a different type of computer safety tool that detects an attack or system intrusion before it includes the chance to damage your computer. It truly is called an IDS or Invasion Detection System which is another form of application coating firewall. Intrusion detection systems are programmed to discover attempted malicious attacks or intrusions by computer cyber-terrorist trying to get into your system by finding inappropriate, incorrect, or anomalous activity. There does seem to be to be some question of how well this system works when many personal computer users are going to wireless online connections. Some will dispute that with the usage of intrusion prevention technology has created a unique challenge for security experts. In order to make this manner of system effective, such monitoring of these d…

Get a job in a gaming company !

As pleasing , this dream job of every gamer, sounds , it's as much hard to get it .
Well, if you truly desire it then not even the big gaming giants like EA, Ubisoft and Bethesda can stop you from getting your dream job :)

These are some of the known jobs that some gaming companies offer:

1. Working as a Video Game Clerk :
Performing at video gaming store or rental place - either permanently or temporarily - has got to be every teenage gamer's dream. In a single place, employees have access to the first games and game systems hot off the market and they are privy to peek inside magazines hot off the press before anyone else. If that wasn't enough, gaming clerks get a discount on what would otherwise be too expensive (games, game systems, and game accessories) to even think about buying. Awesome!

2. Working as a Videogame Tester:
 Before a game hits the industry, it has to go through comprehensive testing and if you think the programmers lurking behind the game test their own mat…

How to protect your website's admin privileges from unauthorised access?

NOTE: This tutorial is for educational purposes only so the reader is warned to apply this knowledge at their own risk and responsibility. This blog shall not be accounted for any violations or unauthorized actions being practiced by anyone. 

SQL Injection is one of the most frequent security vulnerabilities on the net. Here I'll try to describe in detail this kind of vulnerabilities with examples of bugs in PHP and possible alternatives.

If you are not so confident with encoding languages and web solutions you may well be wondering what SQL stay for. Well, is actually an acronym for Organised Query Language (pronounced "sequel"). It's "de facto" the conventional language to access and manipulate data in directories.

Nowadays most websites count on the database (usually MySQL) to maintain and gain access to data.

Our example will be a common sign in form. Internet surfers see those login forms every day, you put your account information in and then the server d…

SEO and Google Sandbox

All the time you put a lot of into creating a really great website only to find that no one will get it and Google will not rank your site very highly. You hear about a thing called "search engine optimization" and determine to give it a go. Before you go adding your keywords to each factor of your internet pages and building links any way you can, take a step back and remind yourself of the old saying, "sometimes less is more".

Search engine optimization, or SEO, has truly taken off over the last five years as more and more fledgling webmasters have developed websites, only to find that no one comes to visit. As they look at different companies for ways to get more visitors, almost all of them quickly find resources how to optimize an online page for the search engines and go right to work sprinkling keywords everywhere and linking from any place they can get them.

This causes problems for a search engine because let's face it, you want to manipulate the search …

Optimize your website to load quickly.

Can you be considering getting your website to release in the browser quickly? In case you have a personal website for hobby sake, it could be a big deal but if you are in charge of a company website attracting customers, this can be tremendously important. If the homepage can take forever to load into the browser, you may well be dropping out on crucial business. The only solution is to develop the page again so that visitors or customers who open it stay there.

We need to understand that not every net connection works on Cable, T1 or ISDN. A major number of surfers in the world still use modems today (normally 56. 6Kbps). For that reason, it is imperative that this website design should take into consideration that this should load quickly over a low-speed internet connection.

Design and style parameters which may have to be kept in mind are incredibly simple:

Loading time is dependent on the scale (disk size) of the page. Even more, space is occupied when you integrate images and mult…

How to optimise your website's navigation?

Generate no mistake. the most impressive looking and product-rich internet site will fail to convert visitors into paying customers if they are unable to more quickly and simply find what they are looking for. There's a lot of competition out there. Develop and design an internet site gowns easy to understand and use, and you'll catch the attention of more than your reasonable share of visitors - visitors that will go back, and buy, again and again. Fail in this, and the sole your smiling will be your competitors.

How do we accomplish this? By utilizing intuitive navigation techniques. Make use of them in the development and design of your website; then sit down back as hordes of satisfied customers return to your internet business regularly. And you'll find when internet marketing, return business is your key to significant and effortless income.

Ok, so what exactly is intuitive navigation - and how do we design it into our website? You need to know what is actually not. No…