Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#!/bin/bash #By Kris Occhipinti #http://filmsbykris.com #GPLv3 #Aug 2014 #kills xbmc and installs/starts NES emulator #grabs ROMS from web sudo initctl stop xbmc sudo modprobe snd_bcm2835 if [ -f "/usr/games/fceu" ]; then echo "Emulator is installed." else echo "Installing Emulator." sudo apt-get install fceu alsa alsa-oss ca-certificates xorg icewm fi url="$1" echo "Getting Game..." wget "$url" -O /tmp/rom.zip && aoss fceu /tmp/rom.zip rm /tmp/rom.zip echo "Thanks for playing!!!" echo "Good Bye!!!" sudo initctl start xbmc whoami
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)