A curated list of arrrrrrrrr!
# MINI HOWTO | |
# 0. You will need PyYaml and BeautifulSoup python libraries. (Installation is up to you to figure it out) | |
# 1. Go to your heimdall page and save the html file. Note the file location. | |
# 2. Add the file location to heimdall_page variable. | |
# 3. Add the current homer yml file location as base_yaml variable. | |
# 4. Add your generated homer yaml file location to homer_config variable. | |
# 5. Define your icons folder. (Mine was in homer-icons/png) | |
import yaml | |
from yaml.loader import SafeLoader | |
from bs4 import BeautifulSoup as BS |
Here is the looks and feel of your terminal once the tutorial has been applied on your system:
Using Homebrew:
There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.
There is now an option while editing your VM's settings to add a New raw disk
when you click `Add ha
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
This guide instructs you in how to unbrick an Amazon Kindle Paperwhite. The consequences of following it are your own responsibility. This method (opening the Kindle and using the serial interface) should be a last resort and should only be considered if other methods fail
- Pry open Kindle using a prying tool
- Unscrew the screen and remove it from the base. Note that there's a screw hidden under the adhesive at the top in the middle
- Solder tin wire to serial ports on the bottom
- Attach tin wire to USB TTY device (order is ground, RX, TX, from the kindle's perspective, where GND is the smallest pad) and plug USB TTY device into your computer
- Open Putty on your computer in serial mode, with the serial port specified as your USB device and baud configured to 115200
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
This simple script uses the meta-spotify gem to query Spotify on the CLI. If you have iTerm2, the links generated can be clicked with Command-Click to go straight to Spotify.
This was done for the simple purpose of playing around with the meta API. Feel free to fork, improve my quickly-thrown-together Ruby code, or ignore and roll your eyes.
Note: This script requires Ruby 1.9. If you're not using that by now, you're pretty lame. :p Install RVM and get going!
from BeautifulSoup import BeautifulSoup | |
import urllib2 | |
import re | |
import time | |
import sys | |
import os | |
user_agent = 'Mozilla/5 (Solaris 10) Gecko' | |
headers = { 'User-Agent' : user_agent } |