Category: Linux

  • Automation…

    Controllers: Raspberry PI for the logic. it’ll have it’s own 802.11n USB adapter   Project Ideas: The promise, is to use an ESP8266, to control a bunch of relays.  Using the Raspberry PI for logic control. DIY 1 plug relay – HRV control. Check to see (via the NEST) if the humidity is high or…

  • rsync target permissions and ownership

    Add these flags, to set the target permissions, and ownership –chmod=a+rwx,g+rwx,o-wx –chown=OWNER:GROUP the chmod is 774.    

  • Excel date to unix time integer or unix time to excel date.

    FROM unix to excel date. [plain]=CELL/(60*60*24)+"1/1/1970"[/plain] From excel date to unix time. [text]=(CELL-"1970-01-01")*60*60*24[/text]   where “CELL” is your excel cell you’re trying to handle. CELL can also be replaced with the NOW() function.  

  • [fixed] raspbian / debian apt-get connect (101: Network is unreachable)

    Are you having issues When I ran: $> sudo apt-get install mosh Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: libio-pty-perl libprotobuf7 libutempter0 The following NEW packages will be installed: libio-pty-perl libprotobuf7 libutempter0 mosh 0 upgraded, 4 newly installed, 0 to remove and 1 not…

  • xdebug.ini with phpstorm

    [Server xdebug.ini file] zend_extension=xdebug.so xdebug.remote_enable=true xdebug.remote_connect_back = On xdebug.profiler_enable=1 xdebug.profiler_output_dir=”/tmp” Zero config phpstorm xdebug mode will now work.     [Ensure your router isn’t blocking xdebug] Port Trogger is turned on Trigger port: 80/tcp Incoming port 9000/tcp OR Set your local machine as the DMZ OR Port forwarding

  • Personal domain cname alias to ddns

    I know this will be giberish to most of my friends… if you have your own personal domain name; and decent router that supports ddns services, or a computer remains on most of the time, you could get something like: DOMAIN: privatelan.lloydleung.com to point to your home LAN, and no longer a need to remember…

  • pidgin.im msn protocol alternative: msn-pecan [update #2]

    Okay, Been working with pidgin w/msn-pecan on ubuntu 10.04.  New problem, pecan doesn’t crash pidgin anymore, however I am logged out after I’ve been away from my computer a little bit.  As in, when the screen saver kicks in, pecan logs me out or can’t maintain a connection. Doesn’t seem to happen in windows 7.…

  • little project ideas

    Just found a need to access my home server… however, it’s powered down… how can I overcome this problem in the future.  To answer my own question…  I should go lookup how to send a wake-on-lan command to the box. As well as know what my IP is… project ideas: 1.) Current IP notifier – send…

  • Ubuntu + Mysql setup

    Wow, that was so painless. Original Post Use your favourite means to install mysql, probably apache, php, phpmysqladmin as well… sudo /etc/init.d/mysql start mysqladmin -u root password myPassword where myPassword is your actual password. to test mysql -u root -p enjoy