Broadcasting Wifi over water

https://community.ui.com/questions/Wifi-over-water-at-a-mile/775693ee-2db3-41df-9529-aa850d437abf

https://community.ui.com/questions/PTP-link-over-water/e0f00d69-dcdc-426e-a7e1-56a209c63d87

Posted in Uncategorized | Comments Off on Broadcasting Wifi over water

Divs at tables. Viola!

https://snook.ca/archives/html_and_css/getting_your_di

#container { display: table; }

#row { display: table-row; }

#left, #right, #middle { display: table-cell; }

Posted in Uncategorized | Comments Off on Divs at tables. Viola!

UBNT Gen 1 AirCam

Air Cam does not keep date over reboot.

Have to set manually.  Pain.

ssh in and

AirCam.v3.0.9.25# date 2015.01.05-13:09
Mon Jan  5 13:09:00 GMT 2015

Of course why it is locking up would be a good question to answer.  Alas. Broken Laptops call my name.

Posted in Tech Work | Comments Off on UBNT Gen 1 AirCam

FTP enabling on OS X Mav – Thanks iGerry

Fortunately, as with other server software on the OS X, I can actually enable the FTP server using the launchctl program on the Mac.

The launchctl software interfaces with launchd (a software that runs on the background to manage daemons/agents on the Mac) daemon on OS X.

Launchctl allows Mac users to load, unload daemons/agents and generally control launchd. To load the FTP server, just run the Terminal app and run the command:

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

And just like that FTP is now enabled.

You can unload the FTP server by also using the launchctl command. To unload the FTP server, just perform the following command in the Terminal app:

sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

http://igerry.com/desktop/apple-os/enabling-ftp-server-os-x-mavericks.html

Posted in Uncategorized | Comments Off on FTP enabling on OS X Mav – Thanks iGerry

Upside Flip

A day late I don’t play much anymore :-(. Sorry it was not ready for April Fools day.

I was thinking of having some fun with our main website http://www.orcasonline.com and wanted to flip the website upside down.  Certainly you can’t leave it like that so I found a way to flip it right side up if you click.  The I figured how to flip it again on another click and what fun.  A bit of a pain if you want to actually use the site though!

In the head section:

<head>
…..
<style>
.flip {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
-webkit-backface-visibility: hidden;
}
.flipback {
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-backface-visibility: hidden;
}
</style>
<script>
function flipit() {
var e = document.getElementById(“flipable”);
if (e.classList.contains(‘flip’)) {
e.className = “flipback”;
window.scrollTo(0, 0);
return;
}
if (e.classList.contains(‘flipback’)) {
e.className = “flip”;
window.scrollTo(0, document.body.scrollHeight-500);
return;}
}
</script>
……
</head>

Create a div for the whole site with ID=flipable
<div id=”flipable” onclick=”flipit()”> …… </div>

Add scroll script to get the top to show at the bottom:of div
<script>
window.onload=toBottom;
function toBottom() {
window.scrollTo(0, document.body.scrollHeight-500);
}
</script>

Click to flip!!
Notes:  The 500 above is in pixels and  based on a standard monitor resolution being 1024 by 768.  768 did not do it right so I adjusted to 500.  Need to figure a way to determine resolution and calc the scroll by that value.
Of course rotating a different degree value is interesting also!

Posted in Uncategorized | Comments Off on Upside Flip

WordPress Permalinks debacle

Thanks for the post here: http://wordpress.org/support/topic/solved-permalinks-working-in-apache2-ubuntu-1010?replies=6

Searched long and hard for this solution.

Ubuntu server fresh install permalinks not working.

1. The additional step I had to take was to edit /etc/apache2/sites-enabled/000-default.
In that file you’ll find an AllowOverride setting for /var/www, saying “None”.
Change the setting to say: AllowOverride All

2. a.sudo chown -v :www-data "/enterYourFilePathHere/.htaccess"
b.sudo chmod -v 664 "/enterYourFilePathHere/.htaccess"
c.sudo a2enmod rewrite
d.sudo /etc/init.d/apache2 restart

It was that step 2.c I was unaware of.  Thanks to the poster I can move ahead now with a migration.

Posted in Uncategorized | Leave a comment

Possible MacBook Pro Wireless Connection Fix

from here:

If this did not work, try the following solution. It worked for me to some extent on another computer. The only extra thing I need to do is always choose my wireless from a list every time the computer wakes up. Just slightly annoying, but takes less than 10 seconds total from the time you wake up the computer.

Solution: Launch the “KeyChain Access” application. Select “Passwords” on the left navigation area under “Category”. Then in the search box on the top right, enter the SSID of your wireless network. In my case, I typed “wide”. You will see two or four entries where the name is your SSID. Delete all the entries. The next time you connect, it will re-create the necessary records. This might solve your issue.
 

Posted in Uncategorized | Leave a comment

Virtualization

Looking at OpenVZ http://wiki.openvz.org/Quick_installation

and Promox VE http://www.proxmox.com/downloads/proxmox-ve

as viable options for virtualization.

Posted in Uncategorized | Leave a comment

CPanel email pasword change.

http://forums.hostnine.com/showthread.php?t=1286

If you goto http://yourdomain.com/webmail

Before the user clicks on Horde, you can click the change password button at the bottom

the link is:
http://yourdomain.com:2095/webmail/x…yourdomain.com

(this is for cPanel 11 and those using X3)

But the same link is available in previous versions on cPanel

Posted in Uncategorized | Leave a comment