Here are straight-forward instructions to setting up a bunch of different software on FreeNAS. If you make a terrible error, just throw up another plugin sandbox and repeat.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Are you using Mac OS X? | |
# You need to install coreutils for this to work. | |
# try `brew install coreutils` | |
# or `sudo port install coreutils` | |
# set a part size that works with FAT32 drives | |
PART_SIZE=3999 | |
# nice little intro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/tcsh | |
# Grab user information. | |
echo "PrivateInternetAccess OpenVPN Setup:" | |
echo " https://www.privateinternetaccess.com/pages/client-control-panel" | |
echo " -> PPTP/L2TP/SOCKS Username and Password" | |
echo -n "User: " | |
set user = "$<" | |
echo -n "Pass: " | |
set pass = "$<" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Widgets are dumb UI implementations sharing a specific interface, which | |
// defines how interaction with their contents happen. | |
// The common interface is defined in the MenuContainer constructor | |
// documentation, in ViewHelpers.jsm (you really don't need to care about this | |
// if you're not actually writing a widget; furthermore, a <xul:menulist> | |
// implements all those methods by default, so it can be considered itself a | |
// widget). | |
// This is how it is, because it's redundant to write the same UI interaction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Ci = Components.interfaces; | |
var Cc = Components.classes; | |
let eventListenerService = Cc["@mozilla.org/eventlistenerservice;1"] | |
.getService(Ci.nsIEventListenerService); | |
let dbg = new Debugger(); | |
let DOwindow = dbg.addDebuggee(content.window); | |
let nodes = content.window.document.querySelectorAll("*"); |