Compare commits
3 Commits
be49235823
...
eff67c276c
| Author | SHA1 | Date | |
|---|---|---|---|
| eff67c276c | |||
| 3607578f3e | |||
| 9dd227eeea |
@ -1,104 +0,0 @@
|
|||||||
{
|
|
||||||
"timeStamp": 1596949021400,
|
|
||||||
"version": "1.28.4",
|
|
||||||
"userSettings": {
|
|
||||||
"advancedUserEnabled": true,
|
|
||||||
"alwaysDetachLogger": true,
|
|
||||||
"autoUpdate": true,
|
|
||||||
"cloudStorageEnabled": false,
|
|
||||||
"collapseBlocked": true,
|
|
||||||
"colorBlindFriendly": false,
|
|
||||||
"contextMenuEnabled": true,
|
|
||||||
"dynamicFilteringEnabled": true,
|
|
||||||
"externalLists": "https://gitcdn.xyz/repo/NanoMeow/MDLMirror/master/hosts.txt\nhttps://mirror.cedia.org.ec/malwaredomains/justdomains",
|
|
||||||
"firewallPaneMinimized": true,
|
|
||||||
"hyperlinkAuditingDisabled": true,
|
|
||||||
"ignoreGenericCosmeticFilters": false,
|
|
||||||
"largeMediaSize": 50,
|
|
||||||
"parseAllABPHideFilters": true,
|
|
||||||
"popupPanelSections": 15,
|
|
||||||
"prefetchingDisabled": true,
|
|
||||||
"requestLogMaxEntries": 1000,
|
|
||||||
"showIconBadge": true,
|
|
||||||
"tooltipsDisabled": false,
|
|
||||||
"webrtcIPAddressHidden": false
|
|
||||||
},
|
|
||||||
"selectedFilterLists": [
|
|
||||||
"https://mirror.cedia.org.ec/malwaredomains/justdomains",
|
|
||||||
"https://gitcdn.xyz/repo/NanoMeow/MDLMirror/master/hosts.txt",
|
|
||||||
"urlhaus-1",
|
|
||||||
"user-filters",
|
|
||||||
"assets.json",
|
|
||||||
"public_suffix_list.dat",
|
|
||||||
"ublock-resources",
|
|
||||||
"ublock-filters",
|
|
||||||
"ublock-badware",
|
|
||||||
"ublock-privacy",
|
|
||||||
"ublock-abuse",
|
|
||||||
"ublock-unbreak",
|
|
||||||
"easylist",
|
|
||||||
"easyprivacy",
|
|
||||||
"malware-0",
|
|
||||||
"malware-1",
|
|
||||||
"plowe-0"
|
|
||||||
],
|
|
||||||
"hiddenSettings": {
|
|
||||||
"allowGenericProceduralFilters": false,
|
|
||||||
"assetFetchTimeout": 30,
|
|
||||||
"autoCommentFilterTemplate": "{{date}} {{origin}}",
|
|
||||||
"autoUpdateAssetFetchPeriod": 120,
|
|
||||||
"autoUpdateDelayAfterLaunch": 180,
|
|
||||||
"autoUpdatePeriod": 7,
|
|
||||||
"benchmarkDatasetURL": "unset",
|
|
||||||
"blockingProfiles": "11111/#F00 11011/#C0F 11001/#00F 00001",
|
|
||||||
"cacheStorageAPI": "unset",
|
|
||||||
"cacheStorageCompression": true,
|
|
||||||
"cacheControlForFirefox1376932": "no-cache, no-store, must-revalidate",
|
|
||||||
"cnameIgnoreList": "unset",
|
|
||||||
"cnameIgnore1stParty": true,
|
|
||||||
"cnameIgnoreExceptions": true,
|
|
||||||
"cnameIgnoreRootDocument": true,
|
|
||||||
"cnameMaxTTL": 120,
|
|
||||||
"cnameReplayFullURL": false,
|
|
||||||
"cnameUncloak": true,
|
|
||||||
"cnameUncloakProxied": false,
|
|
||||||
"consoleLogLevel": "unset",
|
|
||||||
"debugScriptlets": false,
|
|
||||||
"debugScriptletInjector": false,
|
|
||||||
"disableWebAssembly": false,
|
|
||||||
"extensionUpdateForceReload": false,
|
|
||||||
"ignoreRedirectFilters": false,
|
|
||||||
"ignoreScriptInjectFilters": false,
|
|
||||||
"filterAuthorMode": false,
|
|
||||||
"loggerPopupType": "popup",
|
|
||||||
"manualUpdateAssetFetchPeriod": 500,
|
|
||||||
"popupFontSize": "unset",
|
|
||||||
"popupPanelDisabledSections": 0,
|
|
||||||
"popupPanelLockedSections": 0,
|
|
||||||
"popupPanelHeightMode": 0,
|
|
||||||
"requestJournalProcessPeriod": 1000,
|
|
||||||
"selfieAfter": 3,
|
|
||||||
"strictBlockingBypassDuration": 120,
|
|
||||||
"suspendTabsUntilReady": "unset",
|
|
||||||
"uiPopupConfig": "undocumented",
|
|
||||||
"uiFlavor": "unset",
|
|
||||||
"uiStyles": "unset",
|
|
||||||
"updateAssetBypassBrowserCache": false,
|
|
||||||
"userResourcesLocation": "unset"
|
|
||||||
},
|
|
||||||
"whitelist": [
|
|
||||||
"about-scheme",
|
|
||||||
"chrome-extension-scheme",
|
|
||||||
"chrome-scheme",
|
|
||||||
"moz-extension-scheme",
|
|
||||||
"opera-scheme",
|
|
||||||
"vivaldi-scheme",
|
|
||||||
"www.vipleague.lc",
|
|
||||||
"wyciwyg-scheme"
|
|
||||||
],
|
|
||||||
"netWhitelist": "about-scheme\nchrome-extension-scheme\nchrome-scheme\nmoz-extension-scheme\nopera-scheme\nvivaldi-scheme\nwww.vipleague.lc\nwyciwyg-scheme",
|
|
||||||
"dynamicFilteringString": "behind-the-scene * * noop\nbehind-the-scene * inline-script noop\nbehind-the-scene * 1p-script noop\nbehind-the-scene * 3p-script noop\nbehind-the-scene * 3p-frame noop\nbehind-the-scene * image noop\nbehind-the-scene * 3p noop",
|
|
||||||
"urlFilteringString": "",
|
|
||||||
"hostnameSwitchesString": "no-large-media: behind-the-scene false\nno-remote-fonts: * true\nno-scripting: * true\nno-scripting: www.youtube.com false\nno-scripting: nextcloud.jamma.life false\nno-scripting: gitlab.jamma.life false\nno-scripting: grocy.jamma.life false\nno-scripting: app.plex.tv false\nno-scripting: accounts.google.com false\nno-scripting: hangouts.google.com false\nno-scripting: admin.google.com false\nno-scripting: app.slack.com false\nno-scripting: webmail.dreamhost.com false\nno-scripting: github.com false",
|
|
||||||
"userFilters": ""
|
|
||||||
}
|
|
||||||
1747
firefox/user.js
1747
firefox/user.js
File diff suppressed because it is too large
Load Diff
@ -1,37 +0,0 @@
|
|||||||
# Pin your image
|
|
||||||
# KUBEMACS_IMAGE=kubemacs/kubemacs:2020.04.02
|
|
||||||
# Or not
|
|
||||||
# KUBEMACS_IMAGE=kubemacs/kubemacs:latest
|
|
||||||
KUBEMACS_IMAGE=kubemacs/kubemacs:2020.04.02
|
|
||||||
|
|
||||||
# $(id -u) / mainly for ~/.kube/config permissions
|
|
||||||
HOST_UID="1000"
|
|
||||||
|
|
||||||
# Vars for git commits
|
|
||||||
KUBEMACS_GIT_EMAIL="mail@jamesblair.net"
|
|
||||||
KUBEMACS_GIT_NAME="James Blair"
|
|
||||||
KUBEMACS_TIMEZONE=Pacific/Auckland
|
|
||||||
|
|
||||||
# This is the kind cluster name, maybe we should rename
|
|
||||||
# for some reason we can't used kind as the name
|
|
||||||
KUBEMACS_KIND_NAME=cncf.conformance
|
|
||||||
|
|
||||||
# ~/.kube/$KUBEMACS_HOSTCONFIG_NAME
|
|
||||||
KUBEMACS_HOST_KUBECONFIG_NAME=config
|
|
||||||
|
|
||||||
# Using a docker registry alongside kind
|
|
||||||
KIND_LOCAL_REGISTRY_ENABLE=true
|
|
||||||
KIND_LOCAL_REGISTRY_NAME=local-registry
|
|
||||||
KIND_LOCAL_REGISTRY_PORT=5000
|
|
||||||
|
|
||||||
# The repositories to check out
|
|
||||||
KUBEMACS_INIT_DEFAULT_REPOS='https://github.com/cncf/apisnoop.git'
|
|
||||||
# The folder to start tmate/emacs in
|
|
||||||
|
|
||||||
KUBEMACS_INIT_DEFAULT_REPOS_FOLDER="/home/projects"
|
|
||||||
|
|
||||||
# The first file you want emacs to open
|
|
||||||
KUBEMACS_INIT_ORG_FILE="apisnoop/README.org"
|
|
||||||
|
|
||||||
# If you want to see lots of information, set this to true
|
|
||||||
KUBEMACS_INIT_DEBUG=false
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
# kubemacs.sh
|
|
||||||
ENV_FILE=kubemacs.env
|
|
||||||
. $ENV_FILE
|
|
||||||
docker run \
|
|
||||||
--env-file $ENV_FILE \
|
|
||||||
--name kubemacs-docker-init \
|
|
||||||
--user root \
|
|
||||||
--privileged \
|
|
||||||
--network host \
|
|
||||||
--rm \
|
|
||||||
-it \
|
|
||||||
-v "/c/Users/$USER/.kube:/tmp/.kube" \
|
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
||||||
$KUBEMACS_IMAGE \
|
|
||||||
docker-init.sh
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
tmate -S /tmp/$USER.tmate.tmate new-session -s $USER -n $USER -d
|
|
||||||
tmate -S /tmp/$USER.tmate.tmate set-window-option -t $USER automatic-rename off
|
|
||||||
tmate -S /tmp/$USER.tmate.tmate set-window-option -t $USER allow-rename off
|
|
||||||
tmate -S /tmp/$USER.tmate.tmate attach
|
|
||||||
60
pinephone/readme.org
Normal file
60
pinephone/readme.org
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
#+TITLE: Pinephone setup
|
||||||
|
#+AUTHOR: James Blair
|
||||||
|
#+EMAIL: mail@jamesblair.net
|
||||||
|
#+DATE: <2022-12-11 Sun 16:00>
|
||||||
|
|
||||||
|
|
||||||
|
Below are the steps I follow post standard installation of mobian on my pinephone.
|
||||||
|
|
||||||
|
* Start temporary terminal session
|
||||||
|
|
||||||
|
The first thing I do once the operating system is installed and up to date is to install ~tmate~ so that I can start a temporary remotely accessible terminal session on the device.
|
||||||
|
|
||||||
|
This will give us a terminal session we can use to complete the remainder of this setup.
|
||||||
|
|
||||||
|
#+NAME: Install tmate
|
||||||
|
#+begin_src tmate
|
||||||
|
sudo apt install --yes tmate
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
* Setup ssh server
|
||||||
|
|
||||||
|
Once we have a foothold on the device via tmate we need to setup ~ssh~ server which we will use to securely connect to the device.
|
||||||
|
|
||||||
|
#+NAME: Setup ssh server[
|
||||||
|
#+begin_src tmate
|
||||||
|
sudo apt install --yes openssh-server
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
* Setup access tunnel
|
||||||
|
|
||||||
|
We want to be able to drop into a terminal on the device from anywhere provided it is powered on and has an internet connection. We can achieve this using a [[https://www.cloudflare.com/products/tunnel/][cloudflare access tunnel]].
|
||||||
|
|
||||||
|
There are many similar projects that can achieve a similar outcome however I currently use cloudflare for dns for my domains and want to keep control plane sprawl down currently. In future I might move to a self hosted tunnel solution.
|
||||||
|
|
||||||
|
To install the ~cloudflared~ daemon on the phone go to the control plane at https://one.dash.cloudflare.com, select the ~james-pinephone-pro~ tunnel, then run the given command on the pinephone terminal to install the service.
|
||||||
|
|
||||||
|
Note: Ensure to select the ~arm64-bit~ architecture rather than the default ~64-bit~.
|
||||||
|
|
||||||
|
The command will look something like this:
|
||||||
|
|
||||||
|
#+NAME: Install cloudflared
|
||||||
|
#+begin_src tmate
|
||||||
|
curl -L --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64.deb &&
|
||||||
|
|
||||||
|
sudo dpkg -i cloudflared.deb &&
|
||||||
|
|
||||||
|
sudo cloudflared service install <token>
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
* Bluetooth audio fix
|
||||||
|
|
||||||
|
To pair a wireless headset we first need to install the pa bluetooth module.
|
||||||
|
|
||||||
|
#+NAME: Install pa bt module
|
||||||
|
#+begin_src tmate
|
||||||
|
sudo apt install pulseaudio-module-bluetooth
|
||||||
|
#+end_src
|
||||||
17
readme.org
17
readme.org
@ -1,12 +1,14 @@
|
|||||||
#+TITLE: Tooling overview
|
#+TITLE: Tooling overview
|
||||||
#+AUTHOR: James Blair
|
#+AUTHOR: James Blair
|
||||||
#+EMAIL: mail@jamesblair.net
|
#+EMAIL: mail@jamesblair.net
|
||||||
#+DATE: <2022-11-15 Tue 09:15>
|
#+DATE: <2022-12-11 Sun 16:00>
|
||||||
|
|
||||||
|
|
||||||
This document captures my standard tooling for future replication and aims to make it as easy as possible to setup and use.
|
This document captures my standard tooling for future replication and aims to make it as easy as possible to setup and use a new device with my workflows.
|
||||||
|
|
||||||
The environment is based on [[https://pop.system76.com/][Pop!_OS]] ~22.04~ primarily, although guides for Windows 11 with [[https://docs.microsoft.com/en-us/windows/wsl/about][Window Subsystem for Linux]] are available in git history for legacy purposes.
|
For the purposes of this repository I broadly refer to tooling as the "standard" way devices are configured and which things are installed that are non-standard to the operating system.
|
||||||
|
|
||||||
|
The environment is based on [[https://pop.system76.com/][Pop!_OS]] ~22.04 LTS~ for my primary work device which is a 2021 Razer Blade 14". Additionally a subdirectory is included for my smartphone which is a [[https://www.pine64.org/pinephonepro/][PinePhone Pro]] from Pine64 running [[https://mobian-project.org/][Mobian]] ~12~.
|
||||||
|
|
||||||
|
|
||||||
* How I get things done
|
* How I get things done
|
||||||
@ -16,7 +18,7 @@ Before diving into the technical details, below is a brief summary of how I get
|
|||||||
|
|
||||||
** Code editing
|
** Code editing
|
||||||
|
|
||||||
For an editor I primarily rely on [[https://www.gnu.org/software/emacs/][emacs]], specifically [[https://github.com/humacs/humacs][humacs]]. To pair and share my terminals with others I rely on [[https://tmate.io/][tmate]]. My current primary device is a 2021 Razer Blade 14".
|
For an editor I primarily rely on [[https://www.gnu.org/software/emacs/][emacs]], specifically [[https://github.com/humacs/humacs][humacs]]. To pair and share my terminals with others I rely on [[https://tmate.io/][tmate]].
|
||||||
|
|
||||||
The main feature that I rely on in emacs is [[https://orgmode.org/][org-mode]]. This allows me to do literate programming, writing my documenation with embedded code blocks that are actually executable or exportable via [[https://orgmode.org/worg/org-contrib/babel/intro.html][babel]].
|
The main feature that I rely on in emacs is [[https://orgmode.org/][org-mode]]. This allows me to do literate programming, writing my documenation with embedded code blocks that are actually executable or exportable via [[https://orgmode.org/worg/org-contrib/babel/intro.html][babel]].
|
||||||
|
|
||||||
@ -25,12 +27,9 @@ Working with some clients I also use [[https://code.visualstudio.com/][visual st
|
|||||||
|
|
||||||
** Browsing the web
|
** Browsing the web
|
||||||
|
|
||||||
My primary browser is [[https://www.mozilla.org/en-GB/firefox/new/][firefox]]. The addons I use are:
|
My primary browser is [[https://www.mozilla.org/en-GB/firefox/new/][firefox]]. Over the years various addons have come and gone but [[https://github.com/gorhill/uBlock][u-block origin]] has remained a constant and something I use everywhere.
|
||||||
- u-block origin
|
|
||||||
- https everywhere
|
|
||||||
- privacy badger
|
|
||||||
|
|
||||||
For monitoring traffic, blocking connections, enforcing secure dns and routing connections through other servers vpn style I rely on [[https://safing.io/portmaster/][Portmaster]] + [[https://safing.io/spn/][SPN]].
|
For monitoring traffic, blocking connections, enforcing secure dns and routing connections through other servers vpn style I rely on [[https://safing.io/portmaster/][portmaster]] + [[https://safing.io/spn/][spn]].
|
||||||
|
|
||||||
|
|
||||||
** Reading email
|
** Reading email
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
# -*- ii: ii; -*-
|
|
||||||
#+TITLE: Open broadcast studio setup
|
#+TITLE: Open broadcast studio setup
|
||||||
#+AUTHOR: James Blair
|
#+AUTHOR: James Blair
|
||||||
#+EMAIL: mail@jamesblair.net
|
#+EMAIL: mail@jamesblair.net
|
||||||
|
|||||||
Reference in New Issue
Block a user