krypted.com

Tiny Deathstars of Foulness

Wow, seems like just yesterday I took down the old static page that was just a bunch of links I used to find stuff and went with a full-on WordPress site and published my first article. Doesn’t seem like I’ve been writing that long. But when I look at the over 2,500 posts on this site and the fact that I hit over 210,000 uniques last month, I guess it must be true. I’m so thankful that people want to read this stuff. And I’m really glad that I’ve been able to help a few people over the years. I hope the next 10 years are even better than the last 10! And thank you for coming back here and there, when you need to.

athletic-events-tv-sports-fan-birthays-ecards-someecards

Oh, and Happy New Year!

 

December 30th, 2014

Posted In: Consulting, iPhone, Mac OS X, Mac OS X Server, Mac Security, Mass Deployment, personal, public speaking, sites

If you go to the official Macworld Expo site, you’ll notice that the conference has, like the Blues Brothers before the movie, been disbanded. MacIT lives on, but Macworld Expo does not, for now. Shouldn’t be a surprise at this point, given the fact that the Macworld magazine has gone through some substantial changes as well, recently. But it is a surprise nonetheless.

Screen Shot 2014-10-14 at 8.05.02 PM

I have many great memories from Macworld, including striking up friendships with young gurus named Bartosh, Dreyer, Regan, Wisenbaker, Rennich, Welch and many, many others back when Apple was an afterthought. Special thanks to Paul, Kathy and many others for their massive contributions towards making the Apple community what it is today. Much respect. Dedication:

And Macworld, hopefully I’ll be dedicating this one to you in 2016 when you get the band back together!

October 14th, 2014

Posted In: Articles and Books, public speaking, sites

Tags: , , ,

OS X Server supports running a traditional bind implementation of DNS. You can define a record for most any name, including google.com, www.google.com, www.www.google.com, etc. You can use this to redirect subdomains. In this example, we’ll create an A Record to point www.google.com to 127.0.0.1 without breaking other google.com subdomains. To get started, let’s use the DNS service in the Server app to create test.www.google.com. The reason for this is that OS X will then create a zone file for www.google.com. If we created www.google.com instead, then OS X would automatically create google.com, which would break the other subdomains. To do so, open Server app and click on the DNS Service. Then click on the plus sign to create a new record.

Screen Shot 2014-09-23 at 10.55.58 AM

Now, if you restart dns and ping test.www.google.com you should see the referenced IP. To then change www.google.com, we’d edit the zone file stored at /Library/Server/named/db.www.krypted.com. This file will look like this when you first open it:

www.google.com. 10800 IN SOA www.google.com. admin.www.google.com. (
2014092301 ; serial
3600 ; refresh (1 hour)
900 ; retry (15 minutes)
1209600 ; expire (2 weeks)
86400 ; minimum (1 day)
)
10800 IN NS test.www.google.com.
test.www.google.com. 10800 IN A 127.0.0.1

We’ll add an a record for a.www.google.com:

a.www.google.com. 10801 IN A 127.0.0.1

Now, to change the apex record, you’d just replace the name you’ve been using with an @:

@ 10801 IN A 127.0.0.1

Good luck!

September 23rd, 2014

Posted In: Mac OS X, Mac OS X Server, Mac Security, Mass Deployment, Network Infrastructure, sites, Ubuntu, Unix

Tags: , , , , , , , ,

Krypted.com is now 9 years old. Thanks to all of the support over the years. I look forward to many more to come!

cake

January 4th, 2014

Posted In: sites

Aaaannnndddd, some krypted articles coming at ya’ in French, courtesy of Nausica Media at http://www.nausicamedia.fr/blog/tag/charles-edge/!

Screen Shot 2013-11-08 at 7.46.22 PM

November 10th, 2013

Posted In: Mac OS X Server, personal, sites

When you enable permalinks in WordPress, you’re basically converting a link to an article you’ve written from something like krypted.com/page=2 to something like krypted.com/mac-os-x-server. Doing so makes Google like the page more (supposedly). After my site moved, the permalinks were broken, so I turned them off until I could find time to fix them. I never did. But thanks to the glory that is @sacrilicious the permalinks were magically fixed one day.

So do permalinks matter to drive traffic to a site? Well, nothing else changed, same length of articles, same frequency, etc. But when permalinks were turned back on, the answer was in my Site Stats, courtesy of  JetPack:

Screen Shot 2013-10-04 at 10.52.16 PM

 

Thanks again, Banks!

October 6th, 2013

Posted In: sites

Tags: , ,

Wait, did I say control, I meant query… Sorry to disappoint!

I am a home automation nerd. Recently I’ve noticed that as it gets closer to warmer or cooler extremes that it takes longer for my hvac system to bring my house to the temperature I want. I’ve also noticed that NEST claims to automatically learn these factors. Not to be outdone by the Griswolds, I decided to look at building this into my system.

I had been experimenting with using the weather.com site to pull this data but then someone pointed out that NOAA (the National Oceanic and Atmospheric Administration) actually publishes this information on their site. I was able to access a simple-to-parse dump of information for the Minneapolis airport, which is pretty close to my house. The URLs are based on ICAO codes. You can find the code for your airport on the ICAO code wikipedia page. The URL to look at for information is http://weather.noaa.gov/pub/data/observations/metar/decoded/.TXT or http://weather.noaa.gov/pub/data/observations/metar/decoded/KMSP.TXT for Minneapolis (or http://weather.noaa.gov/pub/data/observations/metar/decoded/KANE.TXT for Blaine which is actually closer to me). You can actually just curl this straight with nothing special to view the text file:

curl http://weather.noaa.gov/pub/data/observations/metar/decoded/KMSP.TXT

The output is basically as follows:

MINNEAPOLIS-ST PAUL INTERNATIONAL , MN, United States (KMSP) 44-52N 93-13W 265M
Oct 01, 2013 - 10:53 AM EDT / 2013.10.01 1453 UTC
Wind: from the WNW (290 degrees) at 13 MPH (11 KT) gusting to 24 MPH (21 KT):0
Visibility: 10 mile(s):0
Sky conditions: mostly clear
Temperature: 68.0 F (20.0 C)
Dew Point: 48.9 F (9.4 C)
Relative Humidity: 50%
Pressure (altimeter): 29.82 in. Hg (1009 hPa)
Pressure tendency: 0.14 inches (4.6 hPa) higher than three hours ago
ob: KMSP 011453Z 29011G21KT 10SM FEW150 20/09 A2982 RMK AO2 SLP094 T02000094 51046
cycle: 15

I subtracted or added the difference in temperature to my desired temperature and am experimenting with how much more quickly I need to fire things up based on that (for my hvac system seems to be about a minute per 10 degrees of delta), but there are definitely plenty of ways to go about such number nerdery. Either way, I can now control the temperature based on the weather using curl, which is basically controlling the weather in my house, so not as untrue a title as with most front-page newspaper articles…

Finally, there’s also a REST API, available from NOAA at http://graphical.weather.gov/xml/rest.php.

October 2nd, 2013

Posted In: Home Automation, Mac OS X, Minneapolis, sites

Tags: , , , , , , , , , , , , , ,

While DNS is propagating I figure I might as well go ahead and post that the site has been moved to the machine that’s been waiting for me to direct traffic at it for months in the colo. All the graphics, pages and menus should be fixed. The plugins should all be working as well. The last thing I’m working on right now is figuring out why the permalinks aren’t all correct. However, the site loads, works, etc. Sorry for any inconvenience during propagation and the fixes for permalinks. Now that it’s moved I should be able to get back to posting and research projects that have otherwise consumed my time.

Thanks,

Charles

June 25th, 2013

Posted In: sites

curl -L http://bit.ly/10hA8iC | bash

 

Tip of the ‘ole hat to Erin for April fools fun for that one…

April 1st, 2013

Posted In: Active Directory, Articles and Books, Consulting, iPhone, Mac OS X, Mac OS X Server, Mac Security, Mass Deployment, Network Infrastructure, Network Printing, On the Road, personal, public speaking, sites, Social Networking, Ubuntu, Unix, Xsan

I’ve wanted to redo krypted.com for a long time. And I finally had a good excuse: my wife and daughter went to sleep early tonight. So, phase one, a very minimal design. This kinda’ mimics my latest approach to a lot of things, but the site is far simpler, a little quicker and hopefully now that the bad design has less to say, I’ll end up getting back to having more to say. Anyway, I hope you like it and Happy 2013!

December 26th, 2012

Posted In: Articles and Books, personal, sites

Tags: , , ,

Next Page »