blog.hortonew.com
RetroPie: Raspberry Pie Retro Gaming Setup
http://blog.hortonew.com/retropie-raspberry-pie-retro-gaming-setup
Erik Horton is writing on the Svbtle. June 1, 2014. RetroPie: Raspberry Pie Retro Gaming Setup. What I’m going to show you how to configure. Raspberry Pi running the Raspbian OS. Boot into emulationstation, a GUI frontend to RetroArch allowing you to select any emulators’ games. Use of xboxdrv to use an xbox controller to play with. Automount of a windows shared drive where all your ROM’s are stored. For this setup, I got: 2012-10-28-wheezy-raspbian.zip.torrent. Finally, click Write. Enable the ssh server.
blog.hortonew.com
How to use Regex in Splunk searches
http://blog.hortonew.com/how-to-use-regex-rex-in-splunk
Erik Horton is writing on the Svbtle. June 24, 2014. How to use Regex in Splunk searches. Regex to extract fields. Rex field= raw "port (? Port ) .". The source to apply the regular expression to. Left side of (). The left side of what you want stored as a variable. Anything here will not be captured and stored into the variable. Everything here is still a regular expression. Right side of (). Store captured regex in variable port . Putting it all together. Say you have raw data equal to the following.
blog.hortonew.com
Splunk Cisco_IPS app no longer pulls from IPS
http://blog.hortonew.com/splunk-ciscoips-app-no-longer-pulls-from-ips
Erik Horton is writing on the Svbtle. June 2, 2014. Splunk Cisco IPS app no longer pulls from IPS. After an upgrade to Splunk 6, the Cisco IPS. App fails to download IPS logs. Navigate to /var/log/splunk/sdee get.log. Events like the following show up. Exception thrown in sdee.get(): URLError: urlopen error [Errno 1] ssl.c:521 error:1407741A:SSL routines:SSL23 GET SERVER HELLO:tlsv1 alert decode error. Note: Upgrade to the latest version and you shouldn’t experience the problem anymore. App Link.
blog.hortonew.com
Configure Notepad++ to run a python script
http://blog.hortonew.com/configure-notepad-to-run-a-python-script
Erik Horton is writing on the Svbtle. June 1, 2014. Configure Notepad to run a python script. Install python (2.7.4). Download the python 2.7.4 windows installer from http:/ www.python.org/download/. Run through the installer using the default settings for everything. It should install python in the folder: C: Python27. If you’re using a different version of python, just substitute out the version number wherever you see 27. From http:/ notepad-plus-plus.org/download. Download the Notepad installer.
blog.hortonew.com
Splunk: Automatically update GeoIP database across environment
http://blog.hortonew.com/splunk-automatically-update-geoip-database-across-environment
Erik Horton is writing on the Svbtle. April 8, 2015. Splunk: Automatically update GeoIP database across environment. Information for this post was inspired by this post. Edit: Also see George Starcher’s implementation. On every Splunk upgrade, they also push out a GeoIP database found here. Instead of waiting, I wanted to automate the pull on search heads. The following is how you can set up the same in your environment. Create app structure on Deployment Server. Get maxmind db.sh. Iplocation] db path = ...
blog.hortonew.com
Getting Ubuntu 12.04 LTS, Django, and Heroku to all play nicely together
http://blog.hortonew.com/getting-ubuntu-1204-lts-django-and-heroku-to-all-play-nicely-together
Erik Horton is writing on the Svbtle. June 1, 2014. Getting Ubuntu 12.04 LTS, Django, and Heroku to all play nicely together. Personally, I used VMWare Workstation 8 to host my Ubuntu machine, so I will include some instructions for that as well. Open: C: ProgramData VMware VMware Workstation config.ini (Windows 7). Prefvmx.minVmMemPct = "100" mainMem.useNamedFile = "FALSE" mainMem.partialLazySave = "FALSE" mainMem.partialLazyRestore = "FALSE". Note: This will prevent a long shutdown process for your vm.
blog.hortonew.com
Python Game Development - Pygame vs. Pyglet: Part 1
http://blog.hortonew.com/python-game-development-pygame-vs-pyglet-part-1
Erik Horton is writing on the Svbtle. June 1, 2014. Python Game Development - Pygame vs. Pyglet: Part 1. Here, you’ll find basic comparisons between Pygame and Pyglet, showing you how to accomplish the same tasks in each. As I learn, more posts on the subject will be made. Get a blank window to come up. Import pygame pygame.init() screen = pygame.display.set mode( 800,600) if name = " main ": while True: pygame.display.flip(). Control Frames Per Second (FPS). Import pygame, sys from pygame.locals imp...
blog.hortonew.com
Python Game Development - Pygame vs. Pyglet: Part 2
http://blog.hortonew.com/python-game-development-pygame-vs-pyglet-part-2
Erik Horton is writing on the Svbtle. June 1, 2014. Python Game Development - Pygame vs. Pyglet: Part 2. Here in part 2, you’ll find intermediate level snippet comparisons between Pygame and Pyglet. If you missed it, check out Part 1. Display an image and text on the screen. Display a group of items to the screen with one draw command. Execute code when mouse buttons are pressed. Play a sound file when a key is pressed. Import pyglet from pyglet.window import key #Put sound files in a folder called "...
SOCIAL ENGAGEMENT