Writing
Science concepts shown through GIFs
Pretty cool gifs that’ll help you understand concepts visually: 20 Gifs That Teach You Science Concepts In Seconds
Java: Concatenate a string before the last occurrence of any character
private String addToString(String source, char separator, String toBeInserted) { int index = source.lastIndexOf(separator); if(index >= 0 && index < source.length()) return source.substring(0, index) + toBeInserted + source.substring(index); else return null; }
How to copy file permissions from one to another
chmod `stat -f %A srcFile` dstFile via Non Geek Recipes How to copy file permissions – nongeekrecipes.org.
How to get information of your jobs in RunDeck
Did you know RunDeck has an API so you can get information about your jobs? Here are a couple of examples: To check the system: /api/1/system/info To see jobs of a project: /api/1/jobs?project=<project_name> More info at RunDeck API | Version 2. Cheers!
Android: Get rid of Recommended Apps in Notification on Galaxy device
Pretty straightforward; just do the following: Got to Settings Go to Application Manager Select the All tab Select PageBuddyNotiSvc Uncheck Show Notifications Voila! Reference: seo-michael.
Firefox: “You are not authorized to view this page” when connecting to intranet
In case you get the error below when connecting to your Windows-based intranet using Firefox, here’s the fix: 1. In your toolbar, type “about:config 2. Search for “network.negotiate-auth.allow-insecure-ntlm-v1” and set it to “true 3. That’s it. When you access the site, it will now ask you to enter your domain creds You are not authorized…