Author Archive
Linux: Batch rename to remove # leading characters from files of a certain type
by Logan Rogers-Follis on Apr.12, 2015, under Techie
If you have a bunch of files like:
$ ls /home/me/Desktop/Music/
0001 – File1.mp3
0002 – File2.mp3
0003 – File3.doc
…
$
And you want to remove the “0001 – ” from the start of all of them then you can use the following expressing to do this provided they are all in the same folder (if not just run this more than once):
cd /home/me/Desktop/Music/ && for file in *mp3; do mv "$file" "${file:8}"; done
Afterwards:
$ ls /home/me/Desktop/Music/
File1.mp3
File2.mp3
0003 – File3.doc
…
$
NOTE: For more details see http://community.linuxmint.com/tutorial/view/1162 as I got my example from there.
Learning to Code
by Logan Rogers-Follis on Feb.15, 2015, under Techie, Video Games
Dropping these links here so I will hopefully use them myself and maybe others that find this site will follow them to learn something (more) about Programming. I haven’t really looked into these links very far so do your own research as you start to learn.
CodeCombat – Learn how to code by playing a game – https://codecombat.com/
Games for programmings | CodinGame – http://www.codingame.com/start
Scratch – Imagine, Program, Share – http://scratch.mit.edu/
Learn to code | Codecademy – http://www.codecademy.com/
Learn | Code.org – http://code.org/learn
CS50: Introduction to Computer Science | edX – https://www.edx.org/course/introduction-computer-science-harvardx-cs50x#.VNYLwvnF_0c
List of free programming books and guides – https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
Bento | Learn to code the way professionals do – https://www.bento.io/
How to disable Flash Player protected mode in Firefox
by Logan Rogers-Follis on Feb.08, 2015, under Techie
Since Firefox 35 you can do the following to disable the annoying “Activate Flash” on any page with Flash.
In the Address Bar type in “about:config”
Confirm that you will careful when prompted
Search for “dom.ipc.plugins.flash.disable-protected-mode” and set it to true (ie disabled)
Coding links
by Logan Rogers-Follis on Feb.08, 2015, under Techie
I have to share these links for anyone that see’s this and so I can find them in the future:
Speedup FireFox
by Logan Rogers-Follis on Oct.23, 2014, under Techie
WARNING! If you do anything else than listed before the browser may act worse or not work anymore.
- Open FireFox and go to “about:config” in the Address Bar.
- Search for “network.http.pipelining” and double-click on it to change it to TRUE
- Then “network.http.proxy.pipelining” and change it to TRUE
- Then set “network.http.pipelining.maxrequests” to 8 (higher the number pages may load slower)
Close all copies of FireFox and open it up again to enjoy quicker page loads.