How To: Ninja your Google Searches

Google is great, but with a few tips it can be awesome!! These are the tips I found most helpful to memorize.

Noob Ninja

  • Ignore Spelling (google will correct you)
  • Only unique, descriptive keywords
  • Use quotes for exact match
    • “Pirates are awesome!” 
  • Case insensitive
    • Cats == cats
  • Ignore Special Characters
    • Wont be in the search: @#%^*()=[]\
  • Omit common words
    • a, the i
    • Put them in quotes if they are important: “a”, “the”, “i”

Read more

How to: Install Arduino IDE Ubuntu

I tried installing Arduino IDE from the repo’s through apt-get but realialized that the Arduino Yun was not listed. So I google some more and eventually installed the newest IDE and arduino Yun was finally listed.

Steps:

  1. Download Arduino IDE (file ending in .tar.xz)
  2. Extract the folder containing the files
  3. IMPORTANT: Move the folder containing the Arduino IDE files into the directory you want it to reside
    1. The installer will rely on this being the location of the Arduino IDE
  4.  In a terminal, cd into the directory containing the Arduino IDE
  5. Run the command $ sudo ./install

Note: When you run ./install, sometimes  desktop shortcut will be created but you wont be the owner (It will show up with an X and a lock) in that case run  $sudo chown <username> ~/Desktop/Arduino-IDE.desktop

How To: Disassemble Microsoft Sculpt Ergonomic keyboard and make it wired

I could not find any tutorials on how to disassemble this keyboard so I thought I’d take pics along the way to disassembling mine. I also decided to make it wired (still with the dongle!!) because I realized that if you lose the dongle, there is no way to replace it and you need to spend another $70 on a new keyboard !!! So I decided to hide it in the body of the keyboard, and that way I will never risk losing it!

Read more

Most useful shortcuts and Tweaks for macOS/Windows/Linux

This is a list of my most used shortcuts and tweaks for the different operating systems, they can save you a lot of time and make your workflow much faster through the day.

SHORTCUTS

Show/Hide Program Windows

  • macOS ==> F3 (Expose Key)
  • Linux Gnome ==> command Key
  • Windows 10 ==> command + Tab

Lock Screen

  • macOS ==> option + cmd + power == > lock Screen
  • Linux ==> command + L
  • Windows 7/10 ==> command + L

Show Desktop

  • macOS ==> cmd + F3 (Expose)
  • Linux Gnome ==> command + D
  • Windows 10 ==> command + D

Copy or Move Dragged Icon

  • macOS==> Click and drag an icon, hold option/alt before releasing
  • Linux ==> Click and drag an icon, hold ctrl before releasing

Read more

How To: Fix “The following application requires Microsoft .NET Framework 4.5: Intel® Rapid Storage Technology”

I got a startech 5.25 hot swap bay for my computer (Windows 7 on an MSI Z87-G41), hot swap wouldnt actually work. Saw that there was a new Intel® Rapid Storage Technology driver for my motherboard and decided to install it. Unfortunately I got the error “The following application requires Microsoft .NET Framework 4.5: Intel® Rapid Storage Technology” even though I had .NET 4.7 installed. After a while or looking I came across a post that helped me fix the problem.

Read more

How to: Get started with Ubuntu Gnome

This is a list of things I had to do to get Ubuntu Gnome ready to use to my liking.

  1. Enable 1600×900 resolution 
  2. Install Chrome 
  3. Install chrome-gnome-shell
  4. Disable top left hot corner
  5. Disable Screen Shield Extension when lock is disabled
  6. Tweek Tool
    1. Desktop: Enable Icons on Desktop
    2. Top Bar: Show Date on Top bar
    3. Appearance: Disable Animations
    4. Windows: Enable Minimize/Maximize
  7. Install Spotify
  8. Install Spotify-AdKiller
  9. Install KeepassX –> Software Center
  10. Install Dash to Dock
  11. Install Player Indicator
  12. Media Keys on Top Bar
  13. Install and setup OpenVPN
    1. Install and configure network-manager-openvpn-gnome
    2. Configure openVPN

 

Get Started with Qubes OS 3.2 (Update: not stable)

Update 5/20/2017: After spending many hours getting Qubes to work just right, and even upgrading from 8GB to 16GB, it stopped booting (error below). I thought it was the hard drive so I bought a Crucial MX300 and lo and behold it happened again after a few hours of setting it up, so I said screw this and installed ubuntu Gnome. I think its a really cool idea, and takes a bit of time to get your head wrapped around how it works and how to use it, but it is too unstable for daily driver. What it presents is a very safe environment and easy to compartmentalize different working environments, but I don’t like the feeling of uncertainty that any update will kill the whole thing.

——————————————————– Read more

How To: Fix EFI_MEMMAP is not enabled when installing Qubes OS 3.2 with UEFI

I wanted to try using Qubes OS for its security and compartmentalization. The problem was that I could not even get it to install :/

Problem: Error below when trying to install

[ 0.000000] efi: EFI_MEMMAP is not enabled.
[ 0.000000] esrt: ESRT header is not in the memory map.
[ 5.901147] dracut-pre-trigger[424]: cat: /tmp/dd_disk: no such file or directory

Solution:

  1. Update RUFUS to latest version 3.14 as of this post.
  2. Select DD image onto USB drive

No trying to install, you will get the error above still but it will continue with the installer in EFI mode.

Sources:

This post directly references using the DD flag :
https://www.qubes-os.org/doc/installation-guide/
Common UEFI Errors  – https://www.qubes-os.org/doc/uefi-troubleshooting/
https://www.reddit.com/r/Qubes/comments/62fwjg/am_i_doing_something_wrong_qubes_iso_install/

 

How to: Access mysql on MAMP and import large sql files

You first need to locate the mysql binary.

$ cd /Applications/MAMP/Library/bin

then access the database

$ ./mysql -u <username> -p <dabataseName>

Note in MAMP: <username> = root

When asked for a password enter root

mysql> source <path/to/file>.sql

Sources:
http://stackoverflow.com/questions/15278375/importing-larger-sql-files-into-mysql
http://stackoverflow.com/questions/9335403/access-mamps-mysql-from-terminal