git config user.name "Your Name Here"
git config user.email your@email.com
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/php | |
<?php | |
date_default_timezone_set("America/Chicago"); | |
$who = trim(`whoami`); | |
$base = "/Users/{$who}/Dropbox/Screenshots/"; | |
$files = glob("{$base}*.png"); | |
foreach($files as $file) | |
{ |
- (void) updateFrameSize | |
{ | |
CGPoint orgPoint = self.frame.origin; | |
CGSize orgSize = self.frame.size; | |
scaleX = orgSize.width/sizeOfBounds.width; | |
scaleY = orgSize.height/sizeOfBounds.height; | |
self.frame = CGRectMake(self.frame.origin.x, self.frame.origin.y, sizeOfBounds.width, sizeOfBounds.height); | |
self.transform = CGAffineTransformScale(self.transform, scaleX, scaleY); |
2012-02-22 08:00:00 |
<?php | |
// Check current Wifi Network and Disable Applications | |
$ssid_string = exec("networksetup -getairportnetwork en1"); | |
$my_ssid = "OpenWrt"; | |
preg_match("/^Current Wi-Fi Network: (?P<ssid>[^\W]+)$/", $ssid_string, $match); | |
if($match['ssid'] != $my_ssid) |
VDP generates a self-signed certificate without a proper common name (CN), there are two things that need to be done to make the VDP SSL connection green. First, the certificate needs the proper FQDN and second, the certificate must be signed by a trusted CA.
Most of these commands were pulled out of the VDP SHA256 hotfix script and documentation on signing tomcat keys.
If anything goes wrong, you can delete the tomcat key, run the self-signed certificate command without modification and restart the webapp to get the system back to a default state.
Delete the current tomcat key: