Merge branch 'main' of https://github.com/tomit4/notes
This commit is contained in:
commit
3efce934b9
7 changed files with 467 additions and 38 deletions
24
bashrc.txt
24
bashrc.txt
|
|
@ -2,6 +2,13 @@
|
|||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# enable vi keybindings in terminal and terminal applications
|
||||
set -o vi
|
||||
|
||||
# but keep ctrl l as the clear screen command
|
||||
bind -m vi-command 'Control-l: clear-screen'
|
||||
bind -m vi-insert 'Control-l: clear-screen'
|
||||
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
colors() {
|
||||
|
|
@ -147,7 +154,7 @@ ex ()
|
|||
# Formats history command with dates/times
|
||||
HISTTIMEFORMAT="%d/%m/%y %T "
|
||||
|
||||
# Displays current git branch if there is any
|
||||
# Displays current git branch if there is any and also styles bash prompt
|
||||
export PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\033[01;37m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;32m└─▶ \033[37m'
|
||||
|
||||
# Custom Bash Commands
|
||||
|
|
@ -162,13 +169,23 @@ alias config="cd ~/.config"
|
|||
alias Code="cd ~/Documents/Code"
|
||||
alias js="cd ~/Documents/Code/javascript"
|
||||
alias ls="ls -lah --color=auto"
|
||||
alias {evr,easyavr}="python3 -m easykeymap"
|
||||
alias {his,hist}="history"
|
||||
alias {cmatrix,matrix}="cmatrix -bm -C cyan"
|
||||
alias {top,htop,btop}="xfce4-terminal --geometry=127x51+0+0 -x btop"
|
||||
alias {firefox,ff}="firefox-developer-edition"
|
||||
alias {firefox,ff}="firefox-developer-edition &"
|
||||
alias {sq,sql,sqlite}="sqlcipher"
|
||||
alias serve="live-server"
|
||||
alias tree="tree -ad -L 3 --prune -C"
|
||||
alias {nv,nvi,vim,vi}="nvim"
|
||||
alias {mi,mic,nano}="micro"
|
||||
alias {mysql,maria,mdb}="mariadb"
|
||||
alias thinkorswim="~/thinkorswim/thinkorswim"
|
||||
alias {market,stonks,stocks}="mop"
|
||||
alias {vlc,mpl}="mplayer"
|
||||
alias mcube="musikcube"
|
||||
alias ytdl="youtube-dl"
|
||||
alias thinkorswim="~/thinkorswim/thinkorswim &"
|
||||
alias vs="code"
|
||||
alias shutdown="shutdown -h now"
|
||||
alias logout="xfce4-session-logout --logout"
|
||||
alias curltime="curl -w \"@$HOME/Documents/notes/curl-format.txt\" -o /dev/null -s"
|
||||
|
|
@ -178,5 +195,6 @@ alias rmcache="paccache -rvk3"
|
|||
alias rm="rm -i"
|
||||
alias sudo="doas"
|
||||
alias {doasedit,sudoedit}="doas rnano"
|
||||
alias shred="shred -uz"
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
|
|
|||
8
firefox_preferences/install_notes.txt
Normal file
8
firefox_preferences/install_notes.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
Manjaro XFCE FireFox-Developer-Edition Settings
|
||||
While you can certainly harden firefox by hand, it can be time consuming, simply put prefs.js in:
|
||||
|
||||
~/.mozilla/firefox/k6634gl6.dev-edition-default/prefs.js
|
||||
|
||||
Or whatever path looks like that, you can always search for it using locate (recommended).
|
||||
|
||||
locate prefs.js
|
||||
287
firefox_preferences/prefs.js
Normal file
287
firefox_preferences/prefs.js
Normal file
|
|
@ -0,0 +1,287 @@
|
|||
// Mozilla User Preferences
|
||||
|
||||
// DO NOT EDIT THIS FILE.
|
||||
//
|
||||
// If you make changes to this file while the application is running,
|
||||
// the changes will be overwritten when the application exits.
|
||||
//
|
||||
// To change a preference value, you can either:
|
||||
// - modify it via the UI (e.g. via about:config in the browser); or
|
||||
// - set it within a user.js file in your profile.
|
||||
|
||||
user_pref("accessibility.typeaheadfind.flashBar", 0);
|
||||
user_pref("app.normandy.enabled", false);
|
||||
user_pref("app.normandy.first_run", false);
|
||||
user_pref("app.normandy.migrationsApplied", 12);
|
||||
user_pref("app.normandy.user_id", "baf69633-60f7-48e9-ae25-812b00776bd9");
|
||||
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1633689195);
|
||||
user_pref("app.update.lastUpdateTime.browser-cleanup-thumbnails", 1633730188);
|
||||
user_pref("app.update.lastUpdateTime.recipe-client-addon-run", 1622922886);
|
||||
user_pref("app.update.lastUpdateTime.region-update-timer", 1633165693);
|
||||
user_pref("app.update.lastUpdateTime.rs-experiment-loader-timer", 1633730158);
|
||||
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1633711155);
|
||||
user_pref("app.update.lastUpdateTime.services-settings-poll-changes", 1633716240);
|
||||
user_pref("app.update.lastUpdateTime.telemetry_modules_ping", 1633689435);
|
||||
user_pref("app.update.lastUpdateTime.xpi-signature-verification", 1633716120);
|
||||
user_pref("browser.aboutConfig.showWarning", false);
|
||||
user_pref("browser.bookmarks.addedImportButton", true);
|
||||
user_pref("browser.bookmarks.defaultLocation", "unfiled_____");
|
||||
user_pref("browser.bookmarks.editDialog.confirmationHintShowCount", 3);
|
||||
user_pref("browser.bookmarks.restore_default_bookmarks", false);
|
||||
user_pref("browser.cache.disk.enable", false);
|
||||
user_pref("browser.cache.disk_cache_ssl", false);
|
||||
user_pref("browser.cache.memory.enable", false);
|
||||
user_pref("browser.compactmode.show", true);
|
||||
user_pref("browser.contentblocking.category", "strict");
|
||||
user_pref("browser.download.lastDir", "/home/brian/Downloads");
|
||||
user_pref("browser.download.panel.shown", true);
|
||||
user_pref("browser.download.save_converter_index", 0);
|
||||
user_pref("browser.download.viewableInternally.typeWasRegistered.avif", true);
|
||||
user_pref("browser.download.viewableInternally.typeWasRegistered.svg", true);
|
||||
user_pref("browser.download.viewableInternally.typeWasRegistered.webp", true);
|
||||
user_pref("browser.download.viewableInternally.typeWasRegistered.xml", true);
|
||||
user_pref("browser.engagement.ctrlTab.has-used", true);
|
||||
user_pref("browser.engagement.downloads-button.has-used", true);
|
||||
user_pref("browser.engagement.home-button.has-removed", true);
|
||||
user_pref("browser.formfill.enable", false);
|
||||
user_pref("browser.laterrun.bookkeeping.profileCreationTime", 1621583252);
|
||||
user_pref("browser.laterrun.bookkeeping.sessionCount", 51);
|
||||
user_pref("browser.migration.version", 117);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
||||
user_pref("browser.newtabpage.activity-stream.impressionId", "{eea55561-7224-4f7d-b350-68abb8934ac8}");
|
||||
user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", "google");
|
||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
|
||||
user_pref("browser.newtabpage.activity-stream.showSearch", false);
|
||||
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
||||
user_pref("browser.newtabpage.enabled", false);
|
||||
user_pref("browser.newtabpage.pinned", "[null,{\"url\":\"https://google.com\",\"label\":\"@google\",\"searchTopSite\":true}]");
|
||||
user_pref("browser.newtabpage.storageVersion", 1);
|
||||
user_pref("browser.pageActions.persistedActions", "{\"ids\":[\"bookmark\"],\"idsInUrlbar\":[\"bookmark\"],\"version\":1,\"idsInUrlbarPreProton\":[\"bookmark\"]}");
|
||||
user_pref("browser.pagethumbnails.storage_version", 3);
|
||||
user_pref("browser.ping-centre.telemetry", false);
|
||||
user_pref("browser.policies.applied", true);
|
||||
user_pref("browser.privatebrowsing.autostart", true);
|
||||
user_pref("browser.proton.contextmenus.enabled", false);
|
||||
user_pref("browser.proton.doorhangers.enabled", false);
|
||||
user_pref("browser.proton.enabled", false);
|
||||
user_pref("browser.proton.modals.enabled", false);
|
||||
user_pref("browser.proton.toolbar.version", 3);
|
||||
user_pref("browser.region.update.updated", 1622923007);
|
||||
user_pref("browser.rights.3.shown", true);
|
||||
user_pref("browser.safebrowsing.provider.google4.lastupdatetime", "1633730159338");
|
||||
user_pref("browser.safebrowsing.provider.google4.nextupdatetime", "1633731972338");
|
||||
user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1633710767151");
|
||||
user_pref("browser.safebrowsing.provider.mozilla.nextupdatetime", "1633732367151");
|
||||
user_pref("browser.search.hiddenOneOffs", "Google,Amazon.com,Bing,DuckDuckGo,eBay,Wikipedia (en),DuckDuckGo Lite");
|
||||
user_pref("browser.search.region", "US");
|
||||
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20210510094826");
|
||||
user_pref("browser.shell.mostRecentDateSetAsDefault", "1632676388");
|
||||
user_pref("browser.startup.homepage", "about:blank");
|
||||
user_pref("browser.startup.homepage_override.buildID", "20210924103651");
|
||||
user_pref("browser.startup.homepage_override.mstone", "93.0");
|
||||
user_pref("browser.startup.lastColdStartupCheck", 1633730158);
|
||||
user_pref("browser.tabs.crashReporting.sendReport", false);
|
||||
user_pref("browser.tabs.drawInTitlebar", true);
|
||||
user_pref("browser.tabs.warnOnClose", false);
|
||||
user_pref("browser.theme.toolbar-theme", 0);
|
||||
user_pref("browser.toolbars.bookmarks.visibility", "never");
|
||||
user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"customizableui-special-spring1\",\"urlbar-container\",\"customizableui-special-spring2\",\"downloads-button\",\"fxa-toolbar-menu-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"]},\"seen\":[\"save-to-pocket-button\",\"developer-button\",\"profiler-button\",\"ublock0_raymondhill_net-browser-action\",\"jid1-bofifl9vbdl2zq_jetpack-browser-action\",\"addon_darkreader_org-browser-action\",\"_d7742d87-e61d-4b78-b8a1-b469842139fa_-browser-action\",\"cookieautodelete_kennydo_com-browser-action\",\"forget-me-not_lusito_info-browser-action\",\"_5caff8cc-3d2e-4110-a88a-003cc85b3858_-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":17,\"newElementCount\":26}");
|
||||
user_pref("browser.uidensity", 1);
|
||||
user_pref("browser.urlbar.resultGroups", "{\"children\":[{\"maxResultCount\":1,\"children\":[{\"group\":\"heuristicTest\"},{\"group\":\"heuristicExtension\"},{\"group\":\"heuristicSearchTip\"},{\"group\":\"heuristicOmnibox\"},{\"group\":\"heuristicEngineAlias\"},{\"group\":\"heuristicBookmarkKeyword\"},{\"group\":\"heuristicAutofill\"},{\"group\":\"heuristicPreloaded\"},{\"group\":\"heuristicTokenAliasEngine\"},{\"group\":\"heuristicFallback\"}]},{\"group\":\"extension\",\"availableSpan\":5},{\"flexChildren\":true,\"children\":[{\"children\":[{\"flexChildren\":true,\"children\":[{\"flex\":2,\"group\":\"formHistory\"},{\"flex\":4,\"group\":\"remoteSuggestion\"}]},{\"group\":\"tailSuggestion\"}],\"flex\":2},{\"group\":\"generalParent\",\"children\":[{\"availableSpan\":3,\"group\":\"inputHistory\"},{\"flexChildren\":true,\"children\":[{\"flex\":1,\"group\":\"remoteTab\"},{\"flex\":2,\"group\":\"general\"},{\"flex\":2,\"group\":\"aboutPages\"},{\"flex\":1,\"group\":\"preloaded\"}]},{\"group\":\"inputHistory\"}],\"flex\":1}]}]}");
|
||||
user_pref("browser.urlbar.shortcuts.bookmarks", false);
|
||||
user_pref("browser.urlbar.shortcuts.history", false);
|
||||
user_pref("browser.urlbar.shortcuts.tabs", false);
|
||||
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
||||
user_pref("browser.urlbar.suggest.bookmark", false);
|
||||
user_pref("browser.urlbar.suggest.engines", false);
|
||||
user_pref("browser.urlbar.suggest.history", false);
|
||||
user_pref("browser.urlbar.suggest.openpage", false);
|
||||
user_pref("browser.urlbar.suggest.topsites", false);
|
||||
user_pref("datareporting.policy.dataSubmissionPolicyAcceptedVersion", 2);
|
||||
user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "1621583257648");
|
||||
user_pref("devtools.aboutdebugging.collapsibilities.processes", false);
|
||||
user_pref("devtools.debugger.pending-selected-location", "{\"sourceId\":\"source-http://127.0.0.1:14049/petite-vue.js\",\"line\":842,\"column\":57,\"url\":\"http://127.0.0.1:14049/petite-vue.js\"}");
|
||||
user_pref("devtools.debugger.prefs-schema-version", 11);
|
||||
user_pref("devtools.everOpened", true);
|
||||
user_pref("devtools.netmonitor.columnsData", "[{\"name\":\"status\",\"minWidth\":30,\"width\":6},{\"name\":\"method\",\"minWidth\":30,\"width\":6},{\"name\":\"domain\",\"minWidth\":30,\"width\":11.99},{\"name\":\"file\",\"minWidth\":30,\"width\":30},{\"name\":\"url\",\"minWidth\":30,\"width\":25},{\"name\":\"initiator\",\"minWidth\":30,\"width\":12},{\"name\":\"type\",\"minWidth\":30,\"width\":6},{\"name\":\"transferred\",\"minWidth\":30,\"width\":12},{\"name\":\"contentSize\",\"minWidth\":30,\"width\":6},{\"name\":\"waterfall\",\"minWidth\":150,\"width\":10}]");
|
||||
user_pref("devtools.netmonitor.msg.payload-preview-height", 50);
|
||||
user_pref("devtools.netmonitor.msg.visibleColumns", "[\"data\",\"time\"]");
|
||||
user_pref("devtools.performance.new-panel-onboarding", false);
|
||||
user_pref("devtools.toolbox.footer.height", 491);
|
||||
user_pref("devtools.toolbox.previousHost", "window");
|
||||
user_pref("devtools.toolbox.selectedTool", "storage");
|
||||
user_pref("devtools.toolbox.splitconsoleEnabled", true);
|
||||
user_pref("devtools.toolbox.splitconsoleHeight", 75);
|
||||
user_pref("devtools.toolsidebar-height.inspector", 350);
|
||||
user_pref("devtools.toolsidebar-width.inspector", 630);
|
||||
user_pref("devtools.toolsidebar-width.inspector.splitsidebar", 0);
|
||||
user_pref("devtools.webconsole.input.editorOnboarding", false);
|
||||
user_pref("devtools.webconsole.input.editorWidth", 212);
|
||||
user_pref("devtools.webextensions.{5caff8cc-3d2e-4110-a88a-003cc85b3858}.enabled", true);
|
||||
user_pref("distribution.Manjaro.bookmarksProcessed", true);
|
||||
user_pref("distribution.iniFile.exists.appversion", "93.0");
|
||||
user_pref("distribution.iniFile.exists.value", true);
|
||||
user_pref("doh-rollout.balrog-migration-done", true);
|
||||
user_pref("doh-rollout.doneFirstRun", true);
|
||||
user_pref("doh-rollout.home-region", "US");
|
||||
user_pref("doh-rollout.skipHeuristicsCheck", true);
|
||||
user_pref("dom.push.userAgentID", "a83fd8ef76354ea7bdcea9c5a4a230b3");
|
||||
user_pref("dom.security.https_only_mode", true);
|
||||
user_pref("dom.security.https_only_mode_ever_enabled", true);
|
||||
user_pref("dom.storage.next_gen_auto_enabled_by_cause1", true);
|
||||
user_pref("dom.webnotifications.enabled", false);
|
||||
user_pref("extensions.activeThemeID", "{2c6ca67f-c480-4a85-8ccc-0c124cca0d5a}");
|
||||
user_pref("extensions.blocklist.pingCountVersion", -1);
|
||||
user_pref("extensions.databaseSchema", 33);
|
||||
user_pref("extensions.formautofill.addresses.enabled", false);
|
||||
user_pref("extensions.formautofill.available", "");
|
||||
user_pref("extensions.formautofill.creditCards.enabled", false);
|
||||
user_pref("extensions.getAddons.cache.lastUpdate", 1633689195);
|
||||
user_pref("extensions.getAddons.databaseSchema", 6);
|
||||
user_pref("extensions.incognito.migrated", true);
|
||||
user_pref("extensions.lastAppBuildId", "20210924103651");
|
||||
user_pref("extensions.lastAppVersion", "93.0");
|
||||
user_pref("extensions.lastPlatformVersion", "93.0");
|
||||
user_pref("extensions.pendingOperations", false);
|
||||
user_pref("extensions.pictureinpicture.enable_picture_in_picture_overrides", true);
|
||||
user_pref("extensions.pocket.enabled", false);
|
||||
user_pref("extensions.pocket.settings.test.panelSignUp", "control");
|
||||
user_pref("extensions.screenshots.disabled", true);
|
||||
user_pref("extensions.systemAddonSet", "{\"schema\":1,\"addons\":{}}");
|
||||
user_pref("extensions.ui.dictionary.hidden", true);
|
||||
user_pref("extensions.ui.extension.hidden", false);
|
||||
user_pref("extensions.ui.lastCategory", "addons://list/extension");
|
||||
user_pref("extensions.ui.locale.hidden", true);
|
||||
user_pref("extensions.ui.plugin.hidden", false);
|
||||
user_pref("extensions.ui.theme.hidden", false);
|
||||
user_pref("extensions.webcompat-reporter.enabled", false);
|
||||
user_pref("extensions.webcompat.enable_shims", true);
|
||||
user_pref("extensions.webcompat.perform_injections", true);
|
||||
user_pref("extensions.webcompat.perform_ua_overrides", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.addon@darkreader.org", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.forget-me-not@lusito.info", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.jid1-BoFifL9Vbdl2zQ@jetpack", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.screenshots@mozilla.org", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{5caff8cc-3d2e-4110-a88a-003cc85b3858}", true);
|
||||
user_pref("extensions.webextensions.ExtensionStorageIDB.migrated.{d7742d87-e61d-4b78-b8a1-b469842139fa}", true);
|
||||
user_pref("extensions.webextensions.uuids", "{\"doh-rollout@mozilla.org\":\"e0389b0b-56eb-4ab7-b209-2d29b202440b\",\"formautofill@mozilla.org\":\"f21d0551-1347-4ef5-a3ac-f7400ee68607\",\"pictureinpicture@mozilla.org\":\"9de67dfd-7232-4ea6-9c15-a710f2ccbbc4\",\"screenshots@mozilla.org\":\"cb81cd10-c178-4882-8a99-cf36bc647e1f\",\"webcompat-reporter@mozilla.org\":\"94828e09-eaf3-4b7d-badd-f0b82a8f2f2c\",\"webcompat@mozilla.org\":\"8f8a9d64-ae5c-49b1-9559-3cee3b54efbf\",\"firefox-compact-dark@mozilla.org\":\"87a3bb37-75ff-404f-b08b-615fd8c9577f\",\"google@search.mozilla.org\":\"33c0e3c7-adbc-4fbf-ae65-5da9670fcd01\",\"amazondotcom@search.mozilla.org\":\"53202bb3-4cb3-4743-8630-6b53a31bf8fb\",\"wikipedia@search.mozilla.org\":\"46cba9b8-5f67-4b41-9ae7-14f12a0dc233\",\"bing@search.mozilla.org\":\"065bf97a-8c51-4d9a-94d5-f2e8624ca3ce\",\"ddg@search.mozilla.org\":\"5dff18db-0150-4dbc-98fe-9ec914c664e2\",\"ebay@search.mozilla.org\":\"af2f7f15-59dd-4eb5-ba16-55f49a2c3c1c\",\"{ff253518-a3a5-44ce-9f39-4b46c15ae288}\":\"93d5f17c-87ca-4320-a8ca-63dbb635242d\",\"{2c6ca67f-c480-4a85-8ccc-0c124cca0d5a}\":\"2996ed34-3b71-4eda-a7ad-bc634106667c\",\"uBlock0@raymondhill.net\":\"f94518cf-4a55-4787-8cea-2e7a97ed9887\",\"addon@darkreader.org\":\"e0ebf513-7a9c-4695-bea9-b82f5a72595c\",\"{d7742d87-e61d-4b78-b8a1-b469842139fa}\":\"7dae68ef-5010-41f4-a6d3-68f6ec989d1d\",\"forget-me-not@lusito.info\":\"29268d2f-53ee-4f92-a38e-d2af81e9af68\",\"jid1-BoFifL9Vbdl2zQ@jetpack\":\"36b865e3-bd4e-444f-8866-0a1ea1d9bdf2\",\"{5caff8cc-3d2e-4110-a88a-003cc85b3858}\":\"aa0118cf-6d59-4200-9498-fdfa4ee9e4e5\"}");
|
||||
user_pref("findbar.highlightAll", true);
|
||||
user_pref("fission.experiment.max-origins.last-disqualified", 0);
|
||||
user_pref("fission.experiment.max-origins.last-qualified", 1621583257);
|
||||
user_pref("fission.experiment.max-origins.qualified", true);
|
||||
user_pref("font.internaluseonly.changed", true);
|
||||
user_pref("general.smoothScroll", false);
|
||||
user_pref("geo.enabled", false);
|
||||
user_pref("idle.lastDailyNotification", 1633702949);
|
||||
user_pref("media.gmp-gmpopenh264.abi", "x86_64-gcc3");
|
||||
user_pref("media.gmp-gmpopenh264.lastUpdate", 1621583652);
|
||||
user_pref("media.gmp-gmpopenh264.version", "1.8.1.1");
|
||||
user_pref("media.gmp-manager.buildID", "20210924103651");
|
||||
user_pref("media.gmp-manager.lastCheck", 1633730212);
|
||||
user_pref("media.gmp.storage.version.observed", 1);
|
||||
user_pref("media.navigator.enabled", false);
|
||||
user_pref("media.peerconnection.enabled", false);
|
||||
user_pref("media.peerconnection.ice.default_address_only", true);
|
||||
user_pref("media.peerconnection.ice.no_host", true);
|
||||
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
||||
user_pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true);
|
||||
user_pref("network.cookie.cookieBehavior", 5);
|
||||
user_pref("network.cookie.lifetimePolicy", 2);
|
||||
user_pref("network.http.referer.XOriginPolicy", 1);
|
||||
user_pref("network.http.referer.XOriginTrimmingPolicy", 1);
|
||||
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
|
||||
user_pref("network.http.sendRefererHeader", 0);
|
||||
user_pref("network.http.speculative-parallel-limit", 0);
|
||||
user_pref("network.predictor.enabled", false);
|
||||
user_pref("network.prefetch-next", false);
|
||||
user_pref("network.trr.blocklist_cleanup_done", true);
|
||||
user_pref("nimbus.syncdefaultsstore.upgradeDialog", "{\"slug\":\"upgradeDialog-defaultEnabled\",\"enabled\":true,\"targeting\":\"true\",\"variables\":null,\"description\":\"Turn on upgradeDialog by default for all users\"}");
|
||||
user_pref("pdfjs.enableScripting", false);
|
||||
user_pref("pdfjs.enabledCache.state", true);
|
||||
user_pref("pdfjs.migrationVersion", 2);
|
||||
user_pref("places.database.lastMaintenance", 1633127079);
|
||||
user_pref("pref.browser.homepage.disable_button.current_page", false);
|
||||
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
|
||||
user_pref("privacy.annotate_channels.strict_list.enabled", true);
|
||||
user_pref("privacy.donottrackheader.enabled", true);
|
||||
user_pref("privacy.firstparty.isolate", true);
|
||||
user_pref("privacy.history.custom", true);
|
||||
user_pref("privacy.purge_trackers.date_in_cookie_database", "0");
|
||||
user_pref("privacy.purge_trackers.last_purge", "1633702949482");
|
||||
user_pref("privacy.resistFingerprinting", true);
|
||||
user_pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]");
|
||||
user_pref("privacy.trackingprotection.enabled", true);
|
||||
user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||
user_pref("privacy.userContext.enabled", true);
|
||||
user_pref("privacy.userContext.extension", "forget-me-not@lusito.info");
|
||||
user_pref("privacy.userContext.ui.enabled", true);
|
||||
user_pref("security.remote_settings.crlite_filters.checked", 1633701942);
|
||||
user_pref("security.remote_settings.intermediates.checked", 1633701942);
|
||||
user_pref("security.sandbox.content.tempDirSuffix", "5e6c8ed8-fbcd-42d3-b696-9b44ae572cc5");
|
||||
user_pref("security.ssl.enable_false_start", false);
|
||||
user_pref("security.ssl.require_safe_negotiation", true);
|
||||
user_pref("security.ssl3.rsa_des_ede3_sha", false);
|
||||
user_pref("security.tls.enable_0rtt_data", false);
|
||||
user_pref("services.blocklist.addons-mlbf.checked", 1633729929);
|
||||
user_pref("services.blocklist.gfx.checked", 1633729929);
|
||||
user_pref("services.blocklist.pinning.checked", 1623634456);
|
||||
user_pref("services.settings.clock_skew_seconds", 229);
|
||||
user_pref("services.settings.last_etag", "\"1633728664901\"");
|
||||
user_pref("services.settings.last_update_seconds", 1633729929);
|
||||
user_pref("services.settings.main.anti-tracking-url-decoration.last_check", 1633729929);
|
||||
user_pref("services.settings.main.cfr-fxa.last_check", 1633729929);
|
||||
user_pref("services.settings.main.cfr.last_check", 1633729929);
|
||||
user_pref("services.settings.main.doh-config.last_check", 1633729929);
|
||||
user_pref("services.settings.main.doh-providers.last_check", 1633729929);
|
||||
user_pref("services.settings.main.fxmonitor-breaches.last_check", 1633729929);
|
||||
user_pref("services.settings.main.hijack-blocklists.last_check", 1633729929);
|
||||
user_pref("services.settings.main.language-dictionaries.last_check", 1633729929);
|
||||
user_pref("services.settings.main.message-groups.last_check", 1633729929);
|
||||
user_pref("services.settings.main.nimbus-desktop-defaults.last_check", 1633729929);
|
||||
user_pref("services.settings.main.nimbus-desktop-experiments.last_check", 1633729929);
|
||||
user_pref("services.settings.main.normandy-recipes-capabilities.last_check", 1633729929);
|
||||
user_pref("services.settings.main.partitioning-exempt-urls.last_check", 1633729929);
|
||||
user_pref("services.settings.main.password-recipes.last_check", 1633729929);
|
||||
user_pref("services.settings.main.password-rules.last_check", 1633729929);
|
||||
user_pref("services.settings.main.personality-provider-models.last_check", 1633729929);
|
||||
user_pref("services.settings.main.personality-provider-recipe.last_check", 1633729929);
|
||||
user_pref("services.settings.main.pioneer-study-addons-v1.last_check", 1633729929);
|
||||
user_pref("services.settings.main.public-suffix-list.last_check", 1633729929);
|
||||
user_pref("services.settings.main.query-stripping.last_check", 1633729929);
|
||||
user_pref("services.settings.main.quicksuggest.last_check", 1633729929);
|
||||
user_pref("services.settings.main.search-config.last_check", 1633729929);
|
||||
user_pref("services.settings.main.search-default-override-allowlist.last_check", 1633729929);
|
||||
user_pref("services.settings.main.search-telemetry.last_check", 1633729929);
|
||||
user_pref("services.settings.main.sites-classification.last_check", 1633729929);
|
||||
user_pref("services.settings.main.tippytop.last_check", 1633729929);
|
||||
user_pref("services.settings.main.top-sites.last_check", 1633729929);
|
||||
user_pref("services.settings.main.url-classifier-skip-urls.last_check", 1633729929);
|
||||
user_pref("services.settings.main.websites-with-shared-credential-backends.last_check", 1633729929);
|
||||
user_pref("services.settings.main.whats-new-panel.last_check", 1633729929);
|
||||
user_pref("services.settings.security.onecrl.checked", 1633701942);
|
||||
user_pref("services.sync.clients.lastSync", "0");
|
||||
user_pref("services.sync.declinedEngines", "");
|
||||
user_pref("services.sync.globalScore", 0);
|
||||
user_pref("services.sync.nextSync", 0);
|
||||
user_pref("services.sync.tabs.lastSync", "0");
|
||||
user_pref("signon.rememberSignons", false);
|
||||
user_pref("storage.vacuum.last.index", 1);
|
||||
user_pref("storage.vacuum.last.places.sqlite", 1633408551);
|
||||
user_pref("toolkit.startup.last_success", 1633730157);
|
||||
user_pref("toolkit.telemetry.bhrPing.enabled", false);
|
||||
user_pref("toolkit.telemetry.cachedClientID", "c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0");
|
||||
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
|
||||
user_pref("toolkit.telemetry.newProfilePing.enabled", false);
|
||||
user_pref("toolkit.telemetry.pioneer-new-studies-available", true);
|
||||
user_pref("toolkit.telemetry.previousBuildID", "20210924103651");
|
||||
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
||||
user_pref("toolkit.telemetry.server", "");
|
||||
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
|
||||
user_pref("toolkit.telemetry.unified", false);
|
||||
user_pref("toolkit.telemetry.updatePing.enabled", false);
|
||||
user_pref("webgl.disabled", true);
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
To Display All Info about your Linux Machine:
|
||||
uname -a
|
||||
|
||||
To change password:
|
||||
passwd
|
||||
To change password: passwd
|
||||
|
||||
To change password as root for another user:
|
||||
passwd <username>
|
||||
|
|
@ -37,6 +36,17 @@ gpg -d <compressed_file_name>
|
|||
|
||||
tar xzf <decompressed_file_name> <file_tobedecompressed_name>
|
||||
|
||||
To compress/archive and encrypt a directory:
|
||||
|
||||
tar cvzf = folder | gpg -c --passphrase yourpassword > folder.tar.gz.gpg
|
||||
|
||||
And decompress directory:
|
||||
|
||||
gpg -d folder.tar.gz.gpg | tar -xvzf -
|
||||
|
||||
(make sure to clear your history afterwards)
|
||||
history -c
|
||||
|
||||
To Display top five directories that use the most disk space:
|
||||
du -ahx . | sort -rh | head -5
|
||||
|
||||
|
|
@ -119,6 +129,25 @@ curl ifconfig.me
|
|||
To display all directories/files:
|
||||
tree
|
||||
|
||||
To display stocks:
|
||||
mop
|
||||
|
||||
To display weather:
|
||||
inxi -w
|
||||
|
||||
To open terminal video player:
|
||||
mplayer <video_name>
|
||||
|
||||
To download youtube videos:
|
||||
youtube-dl <youtube url>
|
||||
Only Audio
|
||||
youtube-dl -x --audio-format mp3 <youtube url>
|
||||
|
||||
To display quality versions to download:
|
||||
youtube-dl -F <youtube url>
|
||||
And then choose one
|
||||
youtube-dl -f <choice> <youtube url>
|
||||
|
||||
To display all directories EXCEPT for one directory:
|
||||
tree -I ignored_directory_name
|
||||
Example:
|
||||
|
|
@ -375,11 +404,26 @@ This will allow it to act mainly as a lighter weight version of sudo
|
|||
A note on doas: You probably do NOT want to remove sudo as certain programs
|
||||
like makepkg rely on it (although this is a questionable practice).
|
||||
|
||||
To have bpytop start on startup and align to the left of the screen, go to Session and Startup and create a new operation:
|
||||
xfce4-terminal --geometry=127x51+0+0 -x bpytop
|
||||
To have btop start on startup and align to the left of the screen, go to Session and Startup and create a new operation:
|
||||
xfce4-terminal --geometry=127x51+0+0 -x btop
|
||||
Same with xbanish:
|
||||
xbanish
|
||||
|
||||
Extracting gpg keys so that you can copy them without mouse:
|
||||
|
||||
In terminal, in directory with .gpg file
|
||||
gpg -d secret_file.txt.gpg > echo > file_secrets.txt
|
||||
Enter password for gpg when prompted
|
||||
|
||||
Use Micro to Copy text:
|
||||
micro gh_token.txt
|
||||
Ctrl + a
|
||||
Ctrl + c
|
||||
Ctrl + q
|
||||
|
||||
In main terminal:
|
||||
Ctrl + shift + v
|
||||
|
||||
Config Files:
|
||||
Configuration files for certain programs usually fall under the ~/.config directory, I have specifically created certain keybindings for example
|
||||
which can be found in the file titled:
|
||||
|
|
@ -416,6 +460,7 @@ iscan (funny enough, it's in the local repos, but you can also get it from the A
|
|||
krita
|
||||
inkscape
|
||||
photogimp(plugin for gimp that gives it a more photoshop feeling ui download zip file from github, see brodie robertson's YT on installation)
|
||||
greenwithenvy(gwe - nvidia overclock/fanspeed adjustment gui application)
|
||||
|
||||
xbanish (hides mouse on keyboard input, make sure to add to startup applications)
|
||||
xbanish is definitely best called on start up, to do so, simply create a startup command from the whisker menu's startup GUI, and enter: xbanish
|
||||
|
|
|
|||
|
|
@ -3,8 +3,7 @@
|
|||
" Specify a directory for plugins
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'scrooloose/nerdtree'
|
||||
"Plug 'tsony-tsonev/nerdtree-git-plugin'
|
||||
Plug 'scrooloose/nerdtree' "Plug 'tsony-tsonev/nerdtree-git-plugin'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
|
|
@ -12,33 +11,47 @@ Plug 'airblade/vim-gitgutter'
|
|||
Plug 'ctrlpvim/ctrlp.vim' " fuzzy find files
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
Plug 'preservim/nerdcommenter'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'turbio/bracey.vim', {'do': 'npm install --prefix server'}
|
||||
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
|
||||
Plug 'iamcco/markdown-preview.nvim', {'do': { -> mkdp#util#install() }}
|
||||
Plug 'luochen1990/rainbow'
|
||||
Plug 'kassio/neoterm'
|
||||
Plug 'simeji/winresizer'
|
||||
Plug 'yaegassy/coc-volar'
|
||||
Plug 'prettier/vim-prettier', { 'do': 'npm install', 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'svelte', 'yaml', 'html'] }
|
||||
|
||||
"Plug 'christoomey/vim-tmux-navigator'
|
||||
Plug '907th/vim-auto-save'
|
||||
|
||||
Plug 'HerringtonDarkholme/yats.vim' " TS Syntax
|
||||
|
||||
" Initialize plugin system
|
||||
call plug#end()
|
||||
inoremap jk <ESC>
|
||||
nmap <C-n> :NERDTreeToggle<CR>
|
||||
|
||||
" open NERDTree automatically
|
||||
"Toggle NerdTree with Ctrl + l
|
||||
nmap <C-l> :NERDTreeToggle<CR>
|
||||
|
||||
"Toggle Multi-Cursor with j or k
|
||||
nmap <C-j> <C-Down>
|
||||
nmap <C-k> <C-Up>
|
||||
|
||||
" Start NERDTree. If a file is specified, move the cursor to its window.
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
autocmd VimEnter * NERDTree
|
||||
autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif
|
||||
|
||||
" Exit Vim if NERDTree is the only window remaining in the only tab.
|
||||
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
|
||||
|
||||
" set bracey/liveserver to resresh on save
|
||||
let g:bracey_refresh_on_save = 1
|
||||
|
||||
"set colored brackets via rainbow"
|
||||
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle"
|
||||
|
||||
"set indentLine to nvim colorscheme
|
||||
"let g:indentLine_setColors = 0
|
||||
|
||||
"enable AutoSave on start
|
||||
let g:auto_save = 1
|
||||
|
||||
"silence AutoSave messages
|
||||
let g:auto_save_silent = 1
|
||||
|
||||
let g:webdevicons_enable = 1
|
||||
let g:webdevicons_enable_nerdtree = 1
|
||||
|
||||
|
|
@ -56,17 +69,21 @@ let g:NERDTreeGitStatusWithFlags = 1
|
|||
"\ "Ignored" : "#808080"
|
||||
"\ }
|
||||
|
||||
"let g:NERDTreeIgnore = ['^node_modules$']
|
||||
let g:NERDTreeIgnore = ['^node_modules$']
|
||||
|
||||
" vim-prettier
|
||||
"let g:prettier#quickfix_enabled = 0
|
||||
"let g:prettier#quickfix_auto_focus = 0
|
||||
" prettier command for coc
|
||||
command! -nargs=0 Prettier :CocCommand prettier.formatFile
|
||||
" run prettier on save
|
||||
let g:prettier#autoformat = 0
|
||||
" do not close the markdown preview tab when switching to other buffers
|
||||
let g:mkdp_auto_close = 0
|
||||
|
||||
autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html PrettierAsync
|
||||
" Custom keybindings
|
||||
|
||||
" keybind map Ctrl + m to :MarkdownPreview
|
||||
nmap <C-m> <Plug>MarkdownPreviewToggle
|
||||
|
||||
" creates a small horizontal window for neoterm ( type |T <command> )
|
||||
nmap <C-s> 50:new
|
||||
|
||||
"Escape Insert Mode with ii
|
||||
imap ii <Esc>
|
||||
|
||||
autocmd BufEnter *.{js,jsx,ts,tsx,vue} :syntax sync fromstart
|
||||
autocmd BufLeave *.{js,jsx,ts,tsx,vue} :syntax sync clear
|
||||
|
|
@ -105,6 +122,9 @@ colorscheme nord
|
|||
"Enable transparency
|
||||
hi Normal guibg=NONE ctermbg=NONE
|
||||
|
||||
"Enable Comments with Italics (below selected colorscheme)
|
||||
highlight Comment cterm=italic gui=italic
|
||||
|
||||
" sync open file with NERDTree
|
||||
" " Check if NERDTree is open or active
|
||||
function! IsNERDTreeOpen()
|
||||
|
|
@ -129,7 +149,7 @@ let g:coc_global_extensions = [
|
|||
\ 'coc-pairs',
|
||||
\ 'coc-tsserver',
|
||||
\ 'coc-eslint',
|
||||
\ 'coc-prettier',
|
||||
"\ 'coc-prettier',
|
||||
\ 'coc-json',
|
||||
\ ]
|
||||
" from readme
|
||||
|
|
|
|||
|
|
@ -52,11 +52,20 @@ yiw: copy the current word, excluding surrounding whitespace
|
|||
yaw: copy the current word, including surrounding whitespace
|
||||
ytx: copy from the current cursor position up to and before the character represented by x
|
||||
yfx: copy from the current cursor position up to and including the character represented by x
|
||||
p: paste what you've copied
|
||||
|
||||
# Undo/Redo:
|
||||
# Cut
|
||||
# hit d at line you wish to current
|
||||
d
|
||||
# hit ESC
|
||||
ESC
|
||||
# navigate to line you wish to paste at, and hit p
|
||||
p
|
||||
|
||||
u: undo
|
||||
Ctrl-R: redo
|
||||
# Undo
|
||||
u
|
||||
# Redo
|
||||
Ctrl-R
|
||||
|
||||
# Indent/Unindent:
|
||||
|
||||
|
|
@ -74,6 +83,20 @@ CTRL + F (Page Down)
|
|||
|
||||
:%s/word_to_replace/new_word/g
|
||||
|
||||
# Delete all blank lines:
|
||||
|
||||
g/^\s*$/d
|
||||
|
||||
# Append to end of every line:
|
||||
|
||||
:%s/$/,/
|
||||
|
||||
# Select and copy within parenthesis, brackets, curly braces:
|
||||
# Navigate to within parenthesis, brackets, curly braces:
|
||||
|
||||
vaby
|
||||
#vab will select all within parens, brackets, curly braces, and then y will yank/copy it.
|
||||
|
||||
# Running Bash Commands from within Vim:
|
||||
|
||||
:! <bash command>
|
||||
|
|
@ -81,18 +104,31 @@ CTRL + F (Page Down)
|
|||
# Dealing with multiple files:
|
||||
|
||||
#Tabs:
|
||||
To open a new tab there are a few options, one is to use the command line:
|
||||
!tabnew <filename>
|
||||
|
||||
Open a new tab:
|
||||
:tabe <optional filename>
|
||||
|
||||
You can cycle through tabs using:
|
||||
gt or gT
|
||||
|
||||
You can cycle through windows using:
|
||||
Ctrl + w or Ctrl + Shift + w
|
||||
To open up a new vertical window:
|
||||
|
||||
*From NerdTree you can also simply push t to open a new tab of the file you have selected
|
||||
:vert new filename.txt
|
||||
|
||||
Or another way to open a vertical window:
|
||||
|
||||
Ctrl + w + v
|
||||
|
||||
You can cycle through windows using:
|
||||
Ctrl + ww
|
||||
|
||||
# From NerdTree you can also simply push t to open a new tab of the file you have selected
|
||||
t
|
||||
|
||||
# Also from NerdTree you can simply push s to open a new window of the file you have selected
|
||||
s
|
||||
|
||||
|
||||
Side Note: in NerdTree you can display hidden files by invoking capital I:
|
||||
I
|
||||
|
||||
|
|
@ -114,3 +150,15 @@ vim item1.txt item2.txt
|
|||
:n item3.txt
|
||||
|
||||
# Note that this would only open item3.txt, it clears the buffer when you do this and so you would have to enter your total list of files.
|
||||
|
||||
# Open up NeoTerm:
|
||||
|
||||
# I have set up a custom keybind for opening up a small horizontal window into which you can run neoterm
|
||||
|
||||
Ctrl -s |T <command>
|
||||
|
||||
# If you close the window with neoterm running, you cannot simply type :T <command> and start again, instead:
|
||||
|
||||
:Ttoggle
|
||||
|
||||
Will open it again, then you can start typing :T <command>
|
||||
|
|
|
|||
3
xfce_term_matcha_colors.txt
Normal file
3
xfce_term_matcha_colors.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#073A2F
|
||||
#33D17A
|
||||
Source Code Variable Bold 12
|
||||
Loading…
Add table
Add a link
Reference in a new issue