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
// -sp-context:browser | |
Components.utils.import("resource://gre/modules/jsdebugger.jsm"); | |
addDebuggerToGlobal(this); | |
let win = Services.wm.getMostRecentWindow("navigator:browser"); | |
let dbg = new Debugger(win.gBrowser.selectedBrowser.contentWindow); | |
let urls = new Set(dbg.findScripts().map(s => s.url)); | |
for (let u of urls) console.log(u); |
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
<!-- The following iframe is created by devtools/client/framework/toolbox-hosts.js:82. src="about:blank" --> | |
<iframe xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="devtools-toolbox-bottom-iframe" height="458" tooltip="aHTMLTooltip" src="about:devtools-toolbox" aria-label="Developer Tools"/> | |
<vbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="toolbox-container" flex="1"> | |
<div xmlns="http://www.w3.org/1999/xhtml" id="toolbox-toolbar-mount"> | |
<div data-reactroot="" class="devtools-tabbar"> | |
<!-- The following div is created by devtools/client/framework/components/toolbox-toolbar.js:107 renderToolboxButtons() --> | |
<div id="toolbox-buttons-start"> | |
BUTTONS... | |
</div> | |
</div> |
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
performance.mark("startFoo"); | |
// A time consuming function | |
foo(); | |
performance.mark("endFoo"); | |
performance.measure("durationFoo", "startFoo", "endFoo"); | |
// Delete all Marks | |
performance.clearMarks(); | |
// Delete the Measure "durationFoo" |
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
render() { | |
let { | |
dispatch, | |
snapshots, | |
front, | |
heapWorker, | |
allocations, | |
toolbox, | |
filter, | |
diffing, |
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
diff --git a/devtools/client/framework/toolbox.js b/devtools/client/framework/toolbox.js | |
--- a/devtools/client/framework/toolbox.js | |
+++ b/devtools/client/framework/toolbox.js | |
@@ -104,16 +104,18 @@ loader.lazyGetter(this, "registerHarOver | |
*/ | |
function Toolbox(target, selectedTool, hostType, contentWindow, frameId, | |
msSinceProcessStart) { | |
this._target = target; | |
this._win = contentWindow; | |
this.frameId = frameId; |
We have decided to make a number of architectural changes to the Storage Panel to simplify the process of migrating to fission. Most of the original code can be reused but a number of changes need to be made in order to prepare the code for migration.
We will first make a number of changes to the Storage Panel and then migrate it to the application panel (and to fission).
These changes can be summarised as follows:
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
➜ ./mach create-mach-environment -f | |
created virtual environment CPython3.9.1.final.0-64 in 403ms | |
creator CPython3Posix(dest=/Users/ratcliffes/.mozbuild/_virtualenvs/mach, clear=False, global=False) | |
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/ratcliffes/Library/Application Support/virtualenv) | |
added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1 | |
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator | |
Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt) | |
Collecting cffi==1.14.4 | |
Using cached cffi-1.14.4.tar.gz (471 kB) | |
Collecting pycparser==2.20 |