Best script and info on SQL waits – http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
Best script and info on SQL waits – http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
One of the bigger things I see as a complaint about the Surface Pro 3 (SP3) is that by default the Function keys are not the primary button press. Instead the defaults are the shortcut keys. Additionally, it’s not really documented anywhere how to switch what is primary.
Well, you can. Just use CAPS + Fn to switch between what you want to be primary.
Unfortunately, I use a lot of the Fn keys, but also Home and End. Oh well, guess I can’t have my cake and eat it too.
Another one of the great things about using a Synology is having access to all the great packages that both Synology and the community create. You find out about so many different apps you may not have been familiar with. Turns out Bliss was one of those (grab the app from Patters).
I have a fairly large music library I’ve composed over the years, and while I was picky about folder structure, all the other stuff was lacking: tags, images, etc. Back in July of 2012 I gave it a first run and liked what it did. However, I didn’t keep it installed (didn’t think I would need it continually).
Fast forward to last week, and I reinstalled it to help clean things up again – I had to restore lots of my music which meant the tags, folder structure, etc. were all messed up again. I’m loving it all over again for it’s ease of use and continual running in the background.
Turns out in the current release they’ve added some new case rules which I love, but was having a few issues with it. Shot of an email with some of the details, and got an immediate response saying it was being fixed in the next release that was in beta. I asked if they wanted any help with testing, and sure enough Dan (creator) gave me links to the beta which I promptly installed (replaced the bliss-bundle folder after you extract the Linux jar file).
Can’t say enough about the customer service, plus it’s fixing all my music issues in the background. Yay!
One of the challenges with running my own server now, is making sure everything is properly patched. With the big stink around the new Heartbleed vulnerability, it made me look into it a bit.
Turns out, in order to fix you can run the following:
sudo apt-get update sudo apt-get install -y libssl1.0.0 openssl # Confirm Build Date is at least Aril 7th 2014 openssl version -a # Restart all services listed by this command: sudo lsof -n | grep ssl | grep DEL
With the move of my domains to Azure instead of Dreamhost (oh, did I not mention that?), one of the things I needed to do was setup some SPF records to keep email from going into junk folders.
Now, there is a great article on creating SPF records, but those that know me know I’m not a big reader when there is a lot of text. Pictures FTW!
Anyways, as MS is a big proponent of utilizing SPF, they have created an excellent tool to create the record’s text. Yay team!
I’ve finally migrated my email from google apps to outlook.com. The key item that caused some issues was using domains.live.com. I had added the MX record that proved I owned it (and email was flowing correctly).
However, it was always set to “pending” and never switched to “active”. The problem is that the Hotmail.com MX record is the only MX record you can have. I had some of the old gmail records listed still, but at a much lower priority (higher number). Removing them immediately made it switch to active.
Grr.
In the last few releases, Synology has added L2TP/IPSec as an option for a VPN. I’ve never been able to get it to work on a Windows client until today.
Ports Required:
Fix on Windows clients – http://support.microsoft.com/kb/926179
Update:
Using OpenVPN with port 443, for easier access: http://forum.synology.com/enu/viewtopic.php?t=45545#p215354
I finally got around to installing Windows 8.1 Public Preview. I am definitely liking the new digs. However, I already started to look into how to uninstall due to the following items that I’ve now gotten sorted out (hopefully helps someone else):
Oh well, with the bad comes the good:
Overall, seems to be good now that I’ve surpassed the biggest hurdle.
I have an app that can call a single script, sending it some variables. Unfortunately, I needed to run multiple scripts, but both utilizing the same variables. With bash, there is an easy way to do that, just append “$@” to the script.
For example, the application calls ‘combined_scripts.sh’ with variables $1 through $7. The contents of ‘combined_scripts.sh’ is below and the variables are passed through to script1 and script2.
#!/bin/sh ./script1.sh "$@" python ./script2.py "$@"
I’ve been fighting this for awhile as the mkvtoolnix package doesn’t have the correct dependencies when you install it. Well, after doing a bit more digging I’ve found the answer to get mkvmerge to work!
Packages required:
Then, you need to set an environment variable of LANG=C. This can be done from the command line.
Tada, works!
http://forum.synology.com/enu/viewtopic.php?f=40&t=36845&start=15
*UPDATE – Jan 1 2016*
In addition to the LANG=C environment variable being set, I’ve also had to add in LC_ALL=C. For me, I run a script that calls mkvmerge, so I just set both of these in the script.