Category Archives: Thoughts

Android – Large File Transfer – Samsung Galaxy S3 SGS

This is one way transfer large files to android when other methods do not work:

  • Turn on Developer Mode and Debugging Tools
  • Install Android SDK on your computer
  • Plug in phone and open the command prompt and type:
  • More ADB info

    PATH-TO\android-sdk-windows\platform-tools\adb.exe push PATH-TO\FILE.zip /mnt/sdcard/
  • This usually takes a second.  I would first try transferring a small file to make sure you have the correct path.

Note: The ‘/mnt/sdcard’ may be specific to my device.  If you can’t seem to find a writable folder do this:

PATH-TO\android-sdk-windows\platform-tools\adb.exe shell

then, using ls and cd commands, you can move around and try and find the path to your writable directory.

 

Hope this helps someone!

Teaching Kids to Code – Processing.org

My friend Eric is a technology teacher at a school in the Richmond area and I were discussing the importance of teaching kids to code.  The website code.org goes into it.

I thought I should write up a quick tutorial on ways for kids (or grown ups) to code while:

  • Having fun
  • Creating
  • Learning
  • Sharing their work
  • Building off of each others work

My tutorial utilizes two technologies:

jsfiddle : This web platform allows you to program in javascript and see your results.  You can share and build off existing code.

Processingjs.org : This javascript library allows you to cool stuff like: this, this, or this.  It is a powerful library that has great documentation.

So, here are my basic first instructions:

START:

EDITING:
So, in this example, you can change the line of code:
processing.background(224);
to be:
processing.background(255,0,0);

VIEWING:
Hit RUN, and you will get a red background.

SHARING:
Then, you can use the SHARE button and you can see options to use Twitter or just send a link without any code:

 

So, I think you could learn a whole lot from these two things combined.

Hope this helps!

 

Current Phone Setup – Galaxy S III – Cyanogenmod

Android: Samsung Galaxy S III (SPH-L710)
Rom: Cyanogenmod 10.12 – Android 4.2.1
Best Features:

  • Being able to tether through USB and Wifi for free
  • Using the volume keys to skip tracks
  • Getting all the up-to-date features of android without worrying about Sprint releasing it for my phone
  • Other new android features

Run WordPress and Ruby on Rails using Apache

  1. Install a LAMP server with apache 2.
  2. Install Rails
  3. Install and Setup WordPress
  4. You should see wordpress here: http://example.com
  5. Then, add this to your apache config’s Virtualhost section:
    1. ProxyPass /fakerubypath http://127.0.0.1:3000
  6. Now, start your rails server
    1. ./script/rails server
  7. You should now be able to see your ruby site on: http://example.com/fakerubypath

I set mine up: wordpress and rails

 

Fantastic Thrift Store – Hours

Fan-tastic Thrift Store Hours
Monday: 10am – 6pm
Tuesday: 10am – 6pm
Wednesday: 10am – 6pm
Thursday: 10am – 6pm
Friday: 10am – 6pm
Saturday: 10am – 6pm
Sunday: CLOSED

I thought I would call and post what they said since I I couldn’t find the store hours for Fantastic Thrift anywhere online.

Roasted Winter Squash Recipe

Roasted Winter Squash

Roasted Winter Squash

Recipe:

  • Winter Squash, or really anything gourd-like.

The spread on top contains:

  • Some of the squash seeds
  • Sage
  • Something spicy, i used jalapeno, but you can use anything with kick, or don’t.
  • Cinnamon
  • Salt
  • Black Pepper
  • A little oil (olive)

Instruction:
Cut and place squash on cooking sheet, cut/grind up the remaining ingredients, add oil. rub on top.
Cover with tin-foil to prevent burning.
Cook for ~20 min.
Uncover and cook till golden brown/not burnt. (~10)

Bonus tip: throw in the rest of the seeds to cook them too.  They are a good snack.

Free Webcam Security – Dorgem – WinSCP

This is how you setup a free home security webcam using dorgem and winscp.exe.

First Download:

Next Configure Dorgem:
Most people are going to want to use the “Web Server” option. This will setup a webserver with your webcam on it…. Pretty straight forward.

But, when I was looking this up, I couldn’t find anywhere that tells you how to use WinSCP. So here I go:

First Configure WinSCP

  • Open WinSCP
  • New
  • Type in all the correct info in session
  • Make sure you set a default folder under Environment->Directories->Remote Directory
  • Save… and remember the name of the session
  • Connect and make sure you set it to remember passwords and everything

Second Configure Dorgem:

  • Open Dorgem
  • Preview the source
  • Click “Store Settings”
    • Add
    • External Program
    • Name it something to remember
    • Check Enable
    • Command: “C:\Program Files (x86)\WinSCP\winscp.exe” name_of@winscp_session.com /upload %s /defaults
    • OK
  • Click “Capture Now” to test it out.
  • You should now see a tmp file on the WinSCP server.
  • If you dont, then you might want to try changing the path to WinSCP in the command or double check the name of the stored WinSCP session in the command.
  • Then, you can enable motion detection under “options” on the main screen

Hope this helps some people!