$iisdir = '\\\\myfolder\\subfolder\\';
opendir LOGS, "$iisdir" or die "Directory error for IIS LOGS: $!\n";
my @files = grep /\.txt$/, readdir LOGS;
@files = sort { -M $a <=> -M $b } @files;
$active_log = $files[-1];
print "active log: $active_log\n\n";
Disable Compatibility Check in Firefox
Open "about:config"
Create if necessary and set the key to false for:
extensions.checkCompatibility
After you install the plug-in you want, go ahead and set it back to true again. Once it's installed it will start working.
Steps for Eclipse Installation
HAL Formatter installation
How to Install Server
How to Create Project
Laptop Battery in Ubuntu
Try this first from the terminal:
cat /proc/sys/vm/laptop_mode
Sublime – Change font size of folder sidebar
Select Preferences / Browse Packages…, and go to Theme - Default directory.
Open Default.sublime-theme with your editor and search for sidebar_label string. You should find something like:
{
"class": "sidebar_label",
"color": [0, 0, 0],
"font.bold": false
}
You can add here the font size you prefer:
{
"class": "sidebar_label",
"color": [0, 0, 0],
"font.bold": false,
"font.size": 14.0
}
Curl Example for Mariner Lookup Rest Call
Use the following to make the rest call from the command line:
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -d @myfile.xml "http://halprdpolartu01.hq.halw.com:8080/hal-polar/rest/contact/v1.0.0"
curl -H "Accept: application/json" -H "Content-Type: application/xml" -d @myfile.xml "http://halprdpolartu01.hq.halw.com:8080/hal-polar/rest/contact/v1.0.0"
Good Git UI Tool for Ubuntu SmartGit
You can also configure it to user meld as an external editor.
http://www.syntevo.com/smartgit/download
Creating embedded Google Maps and Using Google Services
You need to have an account that's activated.
How to create the maps:
https://developers.google.com/maps/documentation/embed/guide#api_key
How to activate the API
https://code.google.com/apis/console/?noredirect&pli=1#project:814358246212:services
Mac Desktop Wall Papers
Refer: https://interfacelift.com
