Random Resources Software Development

How to push an existing project to a Github repository

While trying to figure out how to do this I found lots of bad info, info that lead to nothing but issues and bugs. I have stay so busy and do so many things I can never remember how to do anything. That is basically why this ENTIRE blog exists, my shit memory.

I found this article on DigitalOcean that works properly.

Step 1 create a repository on Github, even if the code you want to put in a repo exists, as long as it is not currently in any repo at all.

Step 2 navigate to the folder that contains the code that you want to push to the new Git/Github repo and run git init

Step 3 add the files with git add -A or git add .

Step 4 commit the files

Step 5 add the remote git origin server

Step 6 push to the remote git origin server

Or just use this script.


Random Resources

Link to Doctrine annotations list

This post is because I will never remember how I found this link to the list of annotations for doctrine.

Doctrine Annotations list

Random Resources Web Development

PHP random links and resources

PHP the Right way – a website/book full of the most useful information you will find about PHP

Random Resources

Scala database access driver client links and resources.

Resources and links about accessing a database in Scala.

An async postgre mysql db access client 

Random Software Development

Why are Scala val variables called values?

One of the oddest things I encountered when starting to learn Scala was seeing variables called values instead of variables.

When I first started reading the docs I saw a list of values of the classes, traits etc. I kept wondering WTF is a value why not call it a variable like every other language.

So for a while I just thought the Scala community just referred to all class variables as values.

Then I was reading the docs some more, I found this page. It has this one easy to miss line that answers the question why are vals called values instead of variables.

The second sentence below the difference between Val and Var

“Because val fields can’t vary, some people refer to them as values rather than variables.”


And that is the answer. In the Scala API documentation most classes/objects you see has a list of values defined with val.

I suppose the class variables are defined this way so that you don’t accidentally mutate them or change them.

I am still  not sure why methods are called members yet, when I figure that out maybe I’ll write about it.

Random Resources Software Development

Interesting blog about databases

I found this link somehow. This guy has all kinds of interesting information about databases, programming and technology in general .

Electrical Engineering Random

Cool electronic recycling ideas

Cool ideas for reusing electronics

Things you can make from old, dead laptops

What is worth salvaging from an old smartphone?


random cool links

I am all over in the tech. I have quite a few inventions I am working on. I stay busy learning about tech all day everyday and all it does is give me more and more ideas. One day I’ll catch a break and get some money and start inventing away.

software to calculate woofer box sizes 

information about the software above, how to use it etc.

more software to design speaker boxes

Information about passive radiators

Free electronics learning online book.

Circuit lab free schematics and circuit simulation software. Totally cool.

Electronics notes website. Awesome electronics free learning resources website.

Information for inventors

The Ultimate Guide To Motivating Users To Invite Their Friends To A New Platform

citiled light calculator. – an odd calculator I found  I don’t even know how.

Therapeutic Ultrasound with Piezo Components
This is a seriously interesting article about the medical uses for piezo generated waves. Things such as tumor destruction, targeted medicine release and Intravascular Lithotripsy ( plaque removal in the arteries ) I was just thinking about how we need a way to remove plaque to help reduce blood pressure and extend life the other day. I think about an insane amount of things all the time, the more complex the better.

Generating Ultrasound with Piezo Components

This has some interesting information on the subject. I got into the piezo devices because I designed a mining device that has 0 ZERO mechanical parts. I want to build a mining device because I want to get off earth and live inside an asteroid, a ship inside an asteroid to be highly stealthy and hide from other life. There is other life, Earth is roughly 1/4 the age of the universe, it has had billions of years to find us and hide from us. That is a series of articles though. I even know why aliens probe buttholes and E.T’s finger glows. LOL

Using an Arduino to control an FM tuner

Hacking Nasa Satellites to view earth

Link to website.

How to create an Arduino FM radio

Link to website article

DIY 3D printer

I can’t wait to build one of these!!!

Part 2 of building DIY 3D printer

Part 3 of Building a DIY 3d Printer

DIY – Lab Bench Power Supply

Lecture 8 Part C: Frequency response of a piezoelectric element
</ h4>


Scala Java Joke

Interviewer: How much do you know about Java?

Me : Enough to decide to learn Scala

Interviewer: Do you not like Java?

Me: I’d rather not write a paragraph to simply create and use an object