All public logs

From wikinotes

Combined display of all available logs of wikinotes. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 21:26, 22 January 2023 Will talk contribs created page Plain org (Created page with "A org mode client for ios.<br> Integrates with syncthing via mobius sync! = Documentation = <blockquote> {| class="wikitable" |- | home || https://plainorg.com/ |- |} </blockquote><!-- Documentation -->")
  • 21:19, 22 January 2023 Will talk contribs created page Org mode (Created page with "The famous emacs task management system. = Documentation = <blockquote> {| class="wikitable" |- | home || https://orgmode.org/ |- |} </blockquote><!-- Documentation --> = Clients = <blockquote> == vim == <blockquote> {| class="wikitable" |- | |- |} </blockquote><!-- --> == ios == <blockquote> {| class="wikitable" |- | plain org |- | beorg |- |} </blockquote><!-- ios --> </blockquote><!-- Clients -->")
  • 21:14, 22 January 2023 Will talk contribs created page Emacs plugins (Created page with "= Task Management = <blockquote> {| class="wikitable" |- | org mode |- |} </blockquote><!-- Task Management -->")
  • 21:13, 22 January 2023 Will talk contribs created page Mobius sync (Created page with "An ios client for syncthing, free for ?? GB.<br> Notably, integrates with plain org, an org mode ios app. * Usage is free up to 20MB, then purchase * Unless using app-integration (ex. plain org), synchronization requires app running in foreground. = Documentation = <blockquote> {| class="wikitable" |- | home || https://www.mobiussync.com/ |- | app store || https://apps.apple.com/us/app/mobiussync/id1539203216?itsct=apps_box&itscg=30200 |- |} </blockquot...")
  • 03:00, 9 January 2023 Will talk contribs created page Sprak connection functions (Created page with "This section is for interacting with specific computers. = FinanceComputer = The town's bank <syntaxhighlight lang="C"> fin = Connect("Finance Computer") fin.ChangeBalance("Sebastian", +100) # Change User's Balance </syntaxhighlight> = Wellspring = Wellspring's inventory, and balance. <syntaxhighlight lang="C"> wells = Connect("Wellspringer") wells.RegisterSeller( name, amount ) # Register Sale for a User </syntaxhighlight> = Factory = <blockquote> == Goods == <bloc...")
  • 02:56, 9 January 2023 Will talk contribs created page Sprak entertainment functions (Created page with "= General = <blockquote> Functions that seem to be able to be used for all categories of entertainment. <syntaxhighlight lang="bash"> SetPitch(22) # Determines the audio's pitch </syntaxhighlight> </blockquote><!-- General --> = Songs = <blockquote> Tracks can be played with <code>PlayLoop("Apache")</code> <syntaxhighlight lang="bash"> Apache BlacKnuten # Relaxing! Ponty # Relaxing and Nice! </syntaxhighlight> </blockquote><!-- Songs --> = Radio = <blockquote>...")
  • 02:53, 9 January 2023 Will talk contribs created page Sprak world functions (Created page with " = General = <blockquote> <syntaxhighlight lang="bash"> Sleep(1) # Sleep time in seconds GetUser() # Identifies you as "Sebastian" GetRoom() # Identifies room being accessed from GetHour() # Gets hour, most TVs use this GetType() # Gets type of item (used in Trash Can) GetPosition(name) # Get Coordinates of a user (ex: Pixie) (only police computer...) Print(Name()) # Print ComputerName Info()...")
  • 02:46, 9 January 2023 Will talk contribs created page Sprak syntax (Created page with "= Variables = <blockquote> Assignment <syntaxhighlight lang="bash"> var list = [false, true] # a list var myVar = 1.0 # ? automatically determine type? </syntaxhighlight> </blockquote><!-- Variables --> = Datatypes = <blockquote> <syntaxhighlight lang="python"> number myNum = 1234 string myStr = "test" bool myBol = false array letters = "abcdefg" # define an array number letterCount = Count(letters) # number of items in array...")
  • 23:17, 8 January 2023 Will talk contribs created page Else Heart.Break() Tram Schedule (Created page with " <source lang="yaml"> 22:48 - 22:56: 1x square north of hotel devotchka </source>")
  • 23:08, 8 January 2023 Will talk contribs created page Else Heart.Break() Locations (Created page with "= Terminals = <blockquote> <syntaxhighlight lang="C"> Hotel: Hotel_Office_MediumComputer1_1 SteeringComputer # has disk drive HarborWest: HarborWest_LargeComputerL2_LargeComputerL2_1 # can update money Burrows: Frank_Room_MediumComputer1_1 # Shoe Store Lodge_FirstCorridor_MediumSewercomputer_MediumSewerComputer_3 # Shoe Store (disk) Yvonne: Yvonne_ArcadeMachine2 Chez Dot: ArcadeMachine_Arc...")
  • 01:14, 8 January 2023 Will talk contribs created page Agg (Created page with "Tool to convert asciinema asciicast files to .gifs. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/asciinema/agg |- |} </blockquote><!-- Documentation -->")
  • 01:13, 8 January 2023 Will talk contribs created page Asciicast2gif (Created page with "Convert asciinema asciicast files to gifs. {{ WARNING | this is deprecated, see agg instead. }} = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/asciinema/asciicast2gif |- |} </blockquote><!-- Documentation -->")
  • 00:47, 8 January 2023 Will talk contribs created page Asciinema (Created page with "Python script to capture terminal sessions. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/asciinema/asciinema |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> pacman -S asciinema </syntaxhighlight> </blockquote><!-- Install -->")
  • 00:32, 8 January 2023 Will talk contribs created page Viml functional (Created page with "= Filter = <blockquote> <syntaxhighlight lang="vim"> mylist = ["ditch", "KEEP", v:null, "KEEP"] let filtered = filter(copy(mylist), 'v:val == "KEEP"') </syntaxhighlight> </blockquote><!-- Filter -->")
  • 16:03, 7 January 2023 Will talk contribs created page VimPlugin: vimrunner (Created page with "A test runner for vim. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/AndrewRadev/vimrunner |- |} </blockquote><!-- Documentation -->")
  • 16:01, 7 January 2023 Will talk contribs created page Viml libraries (Created page with "= Testing = <blockquote> {| class="wikitable" |- | VimPlugin: vader || viml test framework |- |} </blockquote><!-- Testing -->")
  • 04:44, 6 January 2023 Will talk contribs created page Hoomband (Created page with "sleep headphones. = Pairing = <blockquote> <syntaxhighlight lang="bash"> pacman -S pulseaudio-bluetooth </syntaxhighlight> then continue like any other device with bluez </blockquote><!-- Pairing -->")
  • 03:37, 4 January 2023 Will talk contribs created page Glorious pc gaming gmmk (Created page with "The Glorious PC Gaming GMMK (glorious modular mechanical keyboard). = Documentation = <blockquote> {| class="wikitable" |- | manual || https://cdn.shopify.com/s/files/1/0549/2681/files/GMMK-RGB-MANUAL-v1.pdf |- |} </blockquote><!-- Documentation --> = Configuration = <blockquote> <syntaxhighlight lang="yaml"> fn + # toggle colour fn insert # toggle various animations, incl no animation fn up/down # toggle brightness </syntaxhighlight> </blockquote><!-- Config...")
  • 06:27, 24 December 2022 Will talk contribs created page SimpleCal (Created page with "An IOS calendar application that syncs with caldav. = Documentation = <blockquote> {| class="wikitable" |- | app store || https://apps.apple.com/us/app/simple-calendar-simplecal/id1227579630 |- |} </blockquote><!-- Documentation -->")
  • 06:25, 24 December 2022 Will talk contribs created page Igloo irc (Created page with "An irc client for ios. = Documentation = <blockquote> {| class="wikitable" |- | app store || https://apps.apple.com/us/app/igloo-irc-client/id1545797402 |- |} </blockquote><!-- Documentation --> = Configuration = <blockquote> <syntaxhighlight lang="yaml"> host: ${DOMAIN.COM} port: ${PORT} password: ${LOGIN_PASS} nick: ${NICK} ident: ${ZNC_USER}/${ZNC_SERVERNAME} # ex: vaderd/liberachat name: ${ZNC_USER}/${ZNC_SERVERNAME} </syntaxhighlight> </blockquote><!--...")
  • 06:22, 24 December 2022 Will talk contribs created page Flacbox (Created page with "A music player. Add music over SMB. = Documentation = <blockquote> {| class="wikitable" |- | app store || https://apps.apple.com/us/app/flacbox-hi-res-music-player/id1097564256 |- |} </blockquote><!-- Documentation --> = Usage = <blockquote> == Synchronizing Music == <blockquote> Instead of using itunes, I've opted to use '''flacbox'''. It allows you to define an SMB share, and browse/download music to your phone from it. <syntaxhighlight lang="yaml"> Flacbox > Settin...")
  • 06:18, 24 December 2022 Will talk contribs created page Reeder 5 (Created page with "An RSS reader, can consume from fever. = Documentation = <blockquote> {| class="wikitable" |- | app store || https://apps.apple.com/us/app/reeder-5/id1529445840 |- |} </blockquote><!-- Documentation --> = Configuration = <blockquote> <syntaxhighlight lang="yaml"> - Settings: Add Account - Fever: Description: https://${DOMAIN}:${PORT}/plugins.local/fever/ Sync: Background Refresh </syntaxhighlight> </blockquote><!-- Configuration -->")
  • 06:12, 24 December 2022 Will talk contribs created page Quick text (Created page with "No Frills text editor for ios. Maybe useful with file sync programs for journaling. = Documentation = <blockquote> {| class="wikitable" |- | app store || https://apps.apple.com/us/app/quicktext-plain-text-editor/id1440478074 |- |} </blockquote><!-- Documentation -->")
  • 05:26, 24 December 2022 Will talk contribs created page Pgp everywhere (Created page with "Encrypt/decrypt arbitrary text/files. Might be useful for journaling. = Documentation = <blockquote> {| class="wikitable" |- | home || https://www.pgpeverywhere.com/ |- |} </blockquote><!-- Documentation -->")
  • 04:35, 22 December 2022 Will talk contribs created page Valheim (Created page with "A viking craft-em-up. = Streaming = <blockquote> Works from windows -> linux. * ensure host is not triple-wide before streaming, otherwise tiny screen * if gamepad not detected, restart the client steam * if game does not launch to stream, try from big-picture mode. * launch w/ vulkan. much better image quality. </blockquote><!-- Streaming -->")
  • 21:21, 18 December 2022 Will talk contribs created page Javascript logging (Created page with "Logging in javascript is exposed through <code>console</code>. <syntaxhighlight lang="javascript"> console.error("error"); console.warn("warning"); console.log("info"); console.debug("debug"); </syntaxhighlight>")
  • 16:08, 18 December 2022 Will talk contribs created page Javascript anatomy (Created page with " = Web Browser = <blockquote> Some features of javascript (ex. ES6 modules) do not work when loading webpages directly from the filesystem.<br> You can use a tiny toy web-server like python http or golang simple-go-web-server to load your javascript instead. {{ expand | ${PROJECT}/index.html | <syntaxhighlight lang="html5"> <!doctype html public "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html lang="e...")
  • 15:05, 18 December 2022 Will talk contribs created page Nix golang (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | nix wiki: go || https://nixos.wiki/wiki/Go |- |} </blockquote><!-- Documentation -->")
  • 14:50, 18 December 2022 Will talk contribs created page Python http (Created page with "Python standard library for http servers, cookies, and low-level request tools.<br> You can also use it as a quick-and-dirty webserver on the commandline. = Documentation = <blockquote> {| class="wikitable" |- | http || https://docs.python.org/3/library/http.html?highlight=http#module-http |- |} </blockquote><!-- Documentation --> = CLI = <blockquote> <syntaxhighlight lang="bash"> python -m http.server -d src # serve files in 'src' on localhost:8000 </syntaxhighlight>...")
  • 14:06, 18 December 2022 Will talk contribs created page Golang simple-go-web-server (Created page with "Tiny development web-server that supports javascript and reloading on file change events. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/madeinfree/simple-go-web-server |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> go install github.com/madeinfree/simple-go-web-server@latest </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="bash"> # se...")
  • 13:49, 18 December 2022 Will talk contribs created page Kernel event queue (Created page with "The kernel event queue system lets you subscribe to events emitted from the kernel in userspace.<br> Some examples of events: * file written * device mounted * I/O errors = Documentation = <blockquote> {| class="wikitable" |- | LWN: event queue intro || https://lwn.net/Articles/760714/ |- |} </blockquote><!-- Documentation -->")
  • 13:36, 18 December 2022 Will talk contribs created page Epoll (Created page with "epoll is a linux kernel event queue. = Tutorials = <blockquote> {| class="wikitable" |- | kernel queues essential guide || https://habr.com/en/post/600123/#linux-and-epoll |- | python epoll || http://scotdoyle.com/python-epoll-howto.html |- |} </blockquote><!-- Tutorials -->")
  • 13:32, 18 December 2022 Will talk contribs created page Linux kernel event queue (Created page with "Linux kernel events are currently queued with the epoll system.")
  • 13:31, 18 December 2022 Will talk contribs created page Linux kernel configuration (Created page with "= Documentation = <blockquote> {| class="wikitable" |- | kernel option docs || https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html |- | tut: kernel programming guide || https://sysprog21.github.io/lkmpg/ |} </blockquote><!-- Documentation --> = Locations = <blockquote> {| class="wikitable" |- | <code>/etc/modprobe.d/*.conf</code> || load kernel modules on startup |- | <code>/lib/modules/$(uname -r)/*</code> || kernel modules (modules.builtin lists b...")
  • 13:27, 18 December 2022 Will talk contribs created page Kqueue (Created page with "Notification Events from the kernel to userspace. Used by several of the BSDs. = Documentation = <blockquote> {| class="wikitable" |- | wikipedia || https://en.wikipedia.org/wiki/Kqueue |- |} </blockquote><!-- Documentation -->")
  • 14:20, 17 December 2022 Will talk contribs created page Javascript conventions (Created page with "= Documentation = <blockquote> {| class="wikitable" |- | google styleguide || https://google.github.io/styleguide/jsguide.html#naming-camel-case-defined |- |} </blockquote><!-- Documentation -->")
  • 04:34, 17 December 2022 Will talk contribs moved page XHR/AJAX requests to Javascript AJAX
  • 04:29, 17 December 2022 Will talk contribs created page Html javascript (Created page with "= Sourcing Javascript = <blockquote> Include with relative path <syntaxhighlight lang="html4strict"> <head> <script src="assets/myscript.js"/> </head> </syntaxhighlight> Include from another website <syntaxhighlight lang="html4strict"> <head> <script src="https://foo.com/js/foo.js"/> </head> </syntaxhighlight> Inline javascript <syntaxhighlight lang="html4strict"> this is not considered safe: <div> <!-- ... --> <script> document.getElementById("foo").i...")
  • 01:44, 17 December 2022 Will talk contribs created page Javascript modules (Created page with "In recent years, javascript has been extended to support modules. = Documentation = <blockquote> {| class="wikitable" |- | MDN modules || https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules |- |} </blockquote><!-- Documentation --> = Example = <blockquote> <syntaxhighlight lang="bash"> </syntaxhighlight> <syntaxhighlight lang="html4strict"> <html lang="en"> <head> <script type="module" src="main.js"></script> <!-- add main.js to file --> </...")
  • 01:12, 17 December 2022 Will talk contribs created page Typescript modules (Created page with "<syntaxhighlight lang="typescript"> export default function foo() { } export default function bar() { } </syntaxhighlight> <syntaxhighlight lang="typescript"> ipmort foo from "./foobar.js"; </syntaxhighlight>")
  • 01:02, 17 December 2022 Will talk contribs created page Typescript objects (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://www.typescriptlang.org/docs/handbook/2/objects.html |- |} </blockquote><!-- Documentation -->")
  • 00:37, 17 December 2022 Will talk contribs created page Typescript classes (Created page with "= Example = <blockquote> <syntaxhighlight lang="typescript"> class User { id: string; constructor(name: string) { this.id = "12345"; } } let user = new User("vaderd"); </syntaxhighlight> </blockquote><!-- Example -->")
  • 00:30, 17 December 2022 Will talk contribs moved page Typescript interface to Typescript interfaces without leaving a redirect
  • 23:58, 16 December 2022 Will talk contribs created page Typescript install (Created page with " = Install = <blockquote> <syntaxhighlight lang="bash"> npm install -g typescript </syntaxhighlight> </blockquote><!-- Install -->")
  • 04:11, 15 December 2022 Will talk contribs created page Golang functional (Created page with "* Go has first class methods * Go does not ship with algebraic data types, and does not implement railroad style pipes You could write it though, checkout https://willpittman.net:8080/index.php?title=Golang_script#How_it_Works")
  • 23:35, 14 December 2022 Will talk contribs created page Golang script (Created page with "A collection of shellscript inspired utility functions,<br> with stream-like asynchronous piping. Very clever. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/bitfield/script |- |} </blockquote><!-- Documentation -->")
  • 16:52, 11 December 2022 Will talk contribs created page Bash random (Created page with " = $RANDOM envvar = <blockquote> The RANDOM environment variable returns a random number between 0 and 32767.<br> You can use modulus to use it to generate a random number within a range. <syntaxhighlight lang="bash"> echo $(($RANDOM % 6 + 3)) # pick a number between 3 and 9 (6+3) </syntaxhighlight> </blockquote><!-- $RANDOM envvar -->")
  • 16:37, 11 December 2022 Will talk contribs created page Google text adventure (Created page with "A text adventure hidden in the javascript console. = Instructions = <blockquote> <syntaxhighlight lang="yaml"> - visit google.com - search: text adventure - open javascript console # you'll be prompted with 'Would you like to play a game?' (yes/no) </syntaxhighlight> </blockquote><!-- Instructions -->")
  • 06:24, 11 December 2022 Will talk contribs created page AI dungeon (Created page with "web-only AI powered procedurally generated adventure game.<br> Free to play online, also available as an app. = Documentation = <blockquote> {| class="wikitable" |- | home || https://aidungeon.io/ |- |} </blockquote><!-- Documentation -->")
  • 06:23, 11 December 2022 Will talk contribs created page Open-adventure (Created page with "A port of collossal cave adventure. = Documentation = <blockquote> {| class="wikitable" |- | gitlab || https://gitlab.com/esr/open-adventure |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> aura -A open-adventure </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="bash"> advent </syntaxhighlight> </blockquote><!-- Usage -->")
  • 03:28, 11 December 2022 Will talk contribs created page Typescript interface (Created page with "In typescript, interfaces are implicit -- any object that satisfies the requested interface is allowed.<br> Interfaces can be extended (grown) into new interfaces that include others. = Interface = <blockquote> <syntaxhighlight lang="typescript"> interface Person { firstName: string; lastName: string; } interface Employee extends Person { id: number; } </syntaxhighlight> </blockquote><!-- Interface --> = Type Alias = <blockquote> You can also define a type...")
  • 03:09, 11 December 2022 Will talk contribs created page Typescript functions (Created page with "= Type Annotations = <blockquote> <syntaxhighlight lang="typescript"> function warn(msg: string) { console.log(msg); } </syntaxhighlight> </blockquote><!-- Type Annotations -->")
  • 03:07, 11 December 2022 Will talk contribs created page Typescript variables (Created page with "= Assignment = <blockquote> <syntaxhighlight lang="typesript"> let name: string = "alex"; </syntaxhighlight> </blockquote><!-- Assignment --> = Scope = <blockquote> </blockquote><!-- Scope -->")
  • 03:05, 11 December 2022 Will talk contribs created page Typescript datatypes (Created page with "= Primitives = <blockquote> <syntaxhighlight lang="typescript"> string number boolean </syntaxhighlight> </blockquote><!-- Primitives -->")
  • 03:00, 11 December 2022 Will talk contribs created page Typescript tsc (Created page with "<code>tsc</code> is typescript's compiler. = Install = <blockquote> <syntaxhighlight lang="bash"> npm install -g typescript </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="bash"> tsc foo.ts # type-check foo.ts </syntaxhighlight> </blockquote><!-- Usage -->")
  • 02:55, 11 December 2022 Will talk contribs created page Typescript compilers (Created page with "typescript tsc is typescript's compiler.")
  • 02:26, 11 December 2022 Will talk contribs created page Javascript bundlers (Created page with "javascript bundlers combine all of your js source into one file, and load it for every page on your website.<br> this helps avoid CSP/CORS issues by loading js from a trusted source, and avoiding loading potentially malicious js.")
  • 02:20, 11 December 2022 Will talk contribs created page Javascript linters (Created page with "See javascript eslint.")
  • 02:20, 11 December 2022 Will talk contribs created page Javascript eslint (Created page with "A linter for javascript/jsx. = Documentation = <blockquote> {| class="wikitable" |- | home || https://eslint.org/ |- | cli docs || https://eslint.org/docs/latest/user-guide/command-line-interface |- |} </blockquote><!-- Documentation --> = Locations = <blockquote> {| class="wikitable" |- | <code>${PROJECT}/.eslintrc</code> || config |- |} </blockquote><!-- Locations --> = Usage = <blockquote> <syntaxhighlight lang="bash"> npx eslint ${optional_...")
  • 02:14, 11 December 2022 Will talk contribs created page Javascript debuggers (Created page with "A debugger is builtin to your browser console. = Documentation = <blockquote> {| class="wikitable" |- | MDN: debugger || https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger |- |} </blockquote><!-- Documentation --> = Example = <blockquote> <syntaxhighlight lang="javascript"> // add to your code, this is your breakpoint // (you may need the dev tools/console visible for it to trigger) debugger; </syntaxhighlight> </blockquote><!-- Examp...")
  • 02:06, 11 December 2022 Will talk contribs created page React testing (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://reactjs.org/docs/testing.html |- |} </blockquote><!-- Documentation -->")
  • 02:02, 11 December 2022 Will talk contribs moved page React DOM events to React events without leaving a redirect
  • 01:55, 11 December 2022 Will talk contribs created page React hooks (Created page with "Hooks let you use react state within function components (without classes). = Documentation = <blockquote> {| class="wikitable" |- | available hooks || https://reactjs.org/docs/hooks-reference.html |- | docs || https://reactjs.org/docs/hooks-overview.html |- |} </blockquote><!-- Documentation --> = Example = <blockquote> useState lets you initialize state with a value, and returns a setter. <syntaxhighlight lang="javascript"> // copied from official docs function Exam...")
  • 01:34, 11 December 2022 Will talk contribs created page React lazy components (Created page with " = Lazy Component Imports = <blockquote> A component import can be wrapped in a <code>React.lazy()</code>, which delays the component from loading until it is called.<br> While it is loading, the nearest parent <code>React.Suspense</code> component will be rendered in it's place (ex. loading-bar, spinner). <syntaxhighlight lang="javascript"> const MyComponent = React.lazy(() => import('./MyComponent')); function RootComponent() { return ( <React.Suspense fallbac...")
  • 23:55, 10 December 2022 Will talk contribs moved page React forms to React state management without leaving a redirect
  • 23:26, 10 December 2022 Will talk contribs created page React forms (Created page with "HTML forms in react behave similarly to html,<br> but react encourages you to mirror form state changes within your react components so they can be the source-of-truth. = Documentation = <blockquote> {| class="wikitable" |- | official tutorial || https://reactjs.org/docs/forms.html |- |} </blockquote><!-- Documentation --> = Mirroring Form State = <blockquote> A <code>text</code> input maintains state in the browser when the user changes text.<br> It is encouraged to m...")
  • 21:31, 10 December 2022 Will talk contribs moved page React environments to React projects without leaving a redirect
  • 21:03, 10 December 2022 Will talk contribs created page React DOM events (Created page with "You can subscribe to DOM events with callbacks similarly to javascript.<br> except that events are in camelcase <br> and callbacks are defined as methods rather than strings. React DOM events are abstracted, so they behave the same on all browsers. See [https://reactjs.org/docs/events.html SyntheticEvent docs]. See https://reactjs.org/docs/handling-events.html = Documentation = <blockquote> {| class="wikitable" |- | Event Handling Docs || https://reactjs.org/docs/...")
  • 16:03, 10 December 2022 Will talk contribs created page Vscode plugin: neovim (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | plugin || https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim |- |} </blockquote> = Install = <blockquote> <syntaxhighlight lang="javascript"> // ~/Library/Application Support/Code/User/settings.json { "extensions.experimental.affinity": { "asvetliakov.vscode-neovim": 1 } } </source> </blockquote>")
  • 19:33, 4 December 2022 Will talk contribs created page Recipe: ginger juice (Created page with " = Ingredients = <blockquote> <syntaxhighlight lang="yaml"> ginger root: 1 1/2 cups honey: 1/4 cup lemon: 1x green tea satchet: 1x peppermint tea satchet: 1x </syntaxhighlight> </blockquote><!-- Ingredients --> = Tools = <blockquote> <syntaxhighlight lang="yaml"> - blender </syntaxhighlight> </blockquote><!-- Tools --> = Directions = <blockquote> <syntaxhighlight lang="yaml"> - Chop off stem-side of 1x lemon - Sha...")
  • 22:34, 26 November 2022 Will talk contribs created page Factory pattern (Created page with " = Basics = <blockquote> Given classes <code>Cat, Dog</code> that implement interface <code>Animal</code>,<br> We want a factory that chooses the desired pet. <syntaxhighlight lang="ruby"> module Animal interface! sig { abstract.returns(String) } def speak; end end class Cat include Animal sig { override.returns(String) } def speak "meow" end end class Dog include Animal sig { override.returns(String) } def speak "woof" end end </synta...")
  • 07:24, 26 November 2022 Will talk contribs created page Kavita (Created page with "web-based book reader/opds source.<br> Written in C#/typescript. = Documentation = <blockquote> {| class="wikitable" |- | home || https://www.kavitareader.com/#home |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> sudo aura -A kavita-bin </syntaxhighlight> </blockquote><!-- Install -->")
  • 07:04, 26 November 2022 Will talk contribs created page Thorium (Created page with "Exceptional library and OPDS client written in typescript.<br> Supports regional library subscriptions, alongside your own books. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/edrlab/thorium-reader |- | official docs || https://edrlab.github.io/thorium-reader-doc/ |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> aura -A thorium-bin </syntaxhighlight> </blockquote><!-- Install --> =...")
  • 05:26, 26 November 2022 Will talk contribs created page Calibre-opds-client (Created page with "Access a calibre-server install over OPDS.<br> Browse/Download books into local calibre install. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/goodlibs/calibre-opds-client |- |} </blockquote><!-- Documentation --> = Install = <blockquote> Install Plugin <syntaxhighlight lang="bash"> cd /var/tmp git clone https://github.com/goodlibs/calibre-opds-client calibre-customize -b calibre-opds-client/calibre_plugin </syntaxhighlight>...")
  • 23:30, 19 November 2022 Will talk contribs created page Vim after-directory (Created page with "Load config files after vim's own files are loaded. = Documentation = <blockquote> {| class="wikitable" |- | <code>:help after-directory</code> || https://vimhelp.org/options.txt.html#after-directory |- |} </blockquote><!-- Documentation -->")
  • 18:53, 19 November 2022 Will talk contribs created page Vim digraphs (Created page with "The <code>:digraphs</code> command gives you access to UTF-8 characters you cannot enter directly with a keyboard.<br> You can use custom syntax highlighting to swap characters or character-combinations with these UTF-8 characters. = Tutorials = <blockquote> {| class="wikitable" |- | digraphs/ligatures in vim || https://alpha2phi.medium.com/vim-digraphs-and-ligatures-7dec3cb0a623 |- |} </blockquote><!-- Tutorials --> = Example = <blockquote> <syntaxhighlight lang="bash...")
  • 22:11, 13 November 2022 Will talk contribs created page Programming: Refactoring (Created page with "Changing implementation without changing outputs of code.")
  • 21:28, 13 November 2022 Will talk contribs created page Ruby cycromatic (Created page with "Measures cyclomatic complexity of ruby code = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/soutaro/cycromatic |- |} </blockquote><!-- Documentation -->")
  • 21:27, 13 November 2022 Will talk contribs created page Ruby flog (Created page with "Measures ABC complexity of ruby code. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/seattlerb/flog |- |} </blockquote><!-- Documentation -->")
  • 21:26, 13 November 2022 Will talk contribs created page Ruby complexity metrics (Created page with "= ABC Complexity = <blockquote> {| class="wikitable" |- | ruby flog |- |} </blockquote><!-- ABC Complexity --> = Cyclomatic Complexity = <blockquote> {| class="wikitable" |- | ruby cycromatic |- |} </blockquote><!-- Cyclomatic Complexity -->")
  • 21:11, 13 November 2022 Will talk contribs created page Programming: Code Complexity Metrics (Created page with "Metrics to help you identify parts of your codebase that might be difficult to modify.<br> Also known as Programming Complexity. = Documentation = <blockquote> {| class="wikitable" |- | wikipedia || https://en.wikipedia.org/wiki/Programming_complexity |- |} </blockquote><!-- Documentation --> = SLOC (source lines of code) = <blockquote> Literally, the number of lines of code in your application. </blockquote><!-- SLOC (source lines of code) --> = Cyclomatic Complexit...")
  • 19:55, 13 November 2022 Will talk contribs created page Ruby gemspec (Created page with "== Gemspec File == Your gemspec file defines requirements, version, author etc. <br> A gemspec file is required to publish to rubygems.<br> You can reference your gemspec requirements within a Gemfile by calling the function <code>gemspec</code>. See https://guides.rubygems.org/specification-reference/ == Build/Release == <source lang="bash"> gem build foo.gemspec gem push foo-0.0.0.gem </source>")
  • 19:55, 13 November 2022 Will talk contribs created page Ruby gem projects (Created page with "= Notes = <blockquote> {| class="wikitable" |- | ruby gemspec || define project (paths etc) |- | ruby gemfile || define project requirements |- |} </blockquote><!-- Notes -->")
  • 20:02, 12 November 2022 Will talk contribs created page Systemd journald (Created page with "Systemd's builtin journaling system is called journald.<br> It is managed using the <code>journalctl</code> executable.")
  • 04:15, 3 November 2022 Will talk contribs created page Lemmy (Created page with "A federated bulletin board system, like reddit or HN. Neat! = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/LemmyNet/lemmy |- |} </blockquote><!-- Documentation -->")
  • 22:26, 29 October 2022 Will talk contribs created page Git-diffn (Created page with "Uses awk to add line numbers to git diff. = Documentation = <blockquote> {| class="wikitable" |- | src || https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/blob/master/useful_scripts/git-diffn.sh |- | SO comment || https://stackoverflow.com/questions/24455377/git-diff-with-line-numbers-git-log-with-line-numbers |- |} </blockquote><!-- Documentation -->")
  • 22:25, 29 October 2022 Will talk contribs created page Git diff-so-fancy (Created page with "{{ NOTE | I've stopped using this globally. It wasn't working consistently everywhere. I'd prefer to a) use something that is entirely python, bash, or compiled b) only use it on dev machines It's a very good idea though. }} https://github.com/so-fancy/diff-so-fancy Reformats the git-diff headers so that they are MUCH more readable. https://github.com/so-fancy/diff-so-fancy <source lang="bash"> sudo pacman -S npm sudo npm install -g diff-so-fancy git config --global...")
  • 22:21, 29 October 2022 Will talk contribs created page Git-bug (Created page with "A bugtracker, designed to be committed alongside your code.<br> Could be helpful to have this information alongside the code history. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/MichaelMure/git-bug |- |} </blockquote><!-- Documentation -->")
  • 17:53, 29 October 2022 Will talk contribs deleted page Git internals (content was: "{| class="wikitable" width="100%" |- | git database internals II (github) || https://github.blog/2022-08-30-gits-database-internals-ii-commit-history-queries/ |- | show git works at a low-level, as written by someone who rewrote it in java || https://codewords.recurse.com/issues/two/git-from-the-inside-out || |- |}", and the only contributor was "Will" (talk))
  • 17:53, 29 October 2022 Will talk contribs deleted page Git best practices (content was: "= writing good commit messages = https://juffalow.com/other/write-good-git-commit-message", and the only contributor was "Will" (talk))
  • 17:52, 29 October 2022 Will talk contribs created page Git tutorials (Created page with "= Best Practices = <blockquote> {| class="wikitable" |- | good commit messages || https://juffalow.com/other/write-good-git-commit-message |- |} </blockquote><!-- Best Practices --> = Git Internals = <blockquote> {| class="wikitable" |- | git database internals || https://github.blog/2022-08-30-gits-database-internals-ii-commit-history-queries/ |- | git internals overview || https://codewords.recurse.com/issues/two/git-from-the-inside-out |- |} </blockquote><!-- Git Int...")
  • 17:09, 29 October 2022 Will talk contribs moved page Ruby multiprocessing to Ruby processes
  • 17:01, 29 October 2022 Will talk contribs created page Ruby io (Created page with "REDIRECT [ruby input/output]")
  • 15:21, 29 October 2022 Will talk contribs created page Ruby cli (Created page with " = Param Parsing, Raw = <blockquote> <syntaxhighlight lang="ruby"> #!/usr/bin/env ruby EXECUTABLE = File.basename(__FILE__) ARGV.count.times do |index| case ARGV[index] when '-h', '--help' help_msg <<~HELP #{EXECUTABLE} [-h] DESCRIPTION: does things PARAMS: $1: foo HELP puts(help_msg) exit(0) else puts "error" exit(1) end end </syntaxhighlight> </blockquote><!-- Param Parsing -->")
  • 18:38, 22 October 2022 Will talk contribs created page Freebsd rc syntax (Created page with " == Example == <blockquote> {{ expand | Simple Annotated Skeleton file | <source lang="bash"> #!/bin/sh # PROVIDE: myservice # allows other services to require 'myservice' # REQUIRE: DAEMON # before this service starts, DAEMON must be provided # KEYWORD: shutdown # this service must be killed before the system shuts down . /etc/rc.subr # source rc.subr, generic rc-script functions </sour...")
  • 18:35, 22 October 2022 Will talk contribs created page Freebsd rc troubleshooting (Created page with "= Force Starting Broken InitScripts = <blockquote> Sometimes, you don't have time to troubleshoot why a particular command is not working. You can get around this in two ways: ''' rc.local method ''' <source lang="bash"> # /etc/rc.local /usr/local/etc/rc.d/${MY_SERVICE} start # bypass rc.d init and run </source> ''' crontab method ''' <source lang="bash"> su crontab -u </source> <source lang="bash"> # crontab @reboot /usr/local/etc/rc.d/<my_service> start </source>...")
  • 18:28, 22 October 2022 Will talk contribs created page Freebsd rc usage (Created page with "= Managing Services = <blockquote> All daemons are enabled, and primarily configured in the <code>/etc/rc.conf</code>. rcvars (variables which can be overridden in rc.conf) are listed in the program's rcscript <code>/usr/local/etc/rc.d</code>. <source lang="bash"> # /etc/rc.conf: sshd_enable="YES" sshguard_enable="YES" sshguard_whitelist="/etc/sshguard.whitelist" </source> Services can be managed from the commandline very simply: <source lang="bash"> service sshguard s...")
  • 13:55, 9 October 2022 Will talk contribs created page Alrogithms compilers (Created page with " = Tutorials = <blockquote> {| class="wikitable" |- | let's build a compiler || https://compilers.iecc.com/crenshaw/ |- |} </blockquote><!-- Tutorials -->")
  • 13:48, 9 October 2022 Will talk contribs created page Gnome feeds (Created page with "Mobile linux RSS reader. = Documentation = <blockquote> {| class="wikitable" |- | home || https://gfeeds.gabmus.org/ |- |} </blockquote><!-- Documentation -->")
  • 13:46, 9 October 2022 Will talk contribs created page Calls (Created page with "A mobile linux phone calling app. = Documentation = <blockquote> {| class="wikitable" |- | repo || https://gitlab.gnome.org/GNOME/calls |- |} </blockquote><!-- Documentation -->")
  • 13:43, 9 October 2022 Will talk contribs created page Chatty (Created page with "purism's SMS app = Documentation = <blockquote> {| class="wikitable" |- | repo || https://source.puri.sm/Librem5/chatty |- |} </blockquote><!-- Documentation -->")
  • 13:39, 9 October 2022 Will talk contribs created page Numberstation (Created page with "A mobile gnome authenticator clone to generate two-factor authentication codes. = Documentation = <blockquote> {| class="wikitable" |- | home || https://git.sr.ht/~martijnbraam/numberstation |- |} </blockquote><!-- Documentation -->")
  • 13:35, 9 October 2022 Will talk contribs created page Glodroid (Created page with "FOSS project to put android on a pinephone or raspberry pi = Documentation = <blockquote> {| class="wikitable" |- | home || https://glodroid.github.io/ |- |} </blockquote><!-- Documentation -->")
  • 13:23, 9 October 2022 Will talk contribs created page Rust tutorials (Created page with "= Tutorials = <blockquote> {| class="wikitable" |- | rust by example || https://doc.rust-lang.org/rust-by-example/index.html |- | what you can't do in rust + workarounds || https://blog.logrocket.com/what-you-cant-do-in-rust-and-what-to-do-instead/ |- |} </blockquote><!-- Tutorials -->")
  • 00:12, 4 October 2022 Will talk contribs created page Mailctl (Created page with "mailctl provides IMAP/SMTP clients with the capabilities of renewal and authorization of OAuth2 credentials. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/pdobsan/mailctl |- | config docs || https://github.com/pdobsan/mailctl#configuration |- |} </blockquote><!-- Documentation --> = Locations = <blockquote> {| class="wikitable" |- | <code>$XDG_CONFIG_HOME/mailctl/config.yml</code> || config |- |} </blockquote><!-- Locations -->...")
  • 16:41, 2 October 2022 Will talk contribs created page Font iosevka (Created page with "iosevka is a customizable monospaced font.<br> it can be custom-built to imitate various other fonts <code>ss##</code> codes, but if you have strong preferences on ligations, spacing, etc. you may want to build it yourself. My favourite variants: * ss12 (ubuntu mono style) * ss15 (ibm plex mono style) * ss16 (pt mono style) * ss20 (curly style) Cu = Documentation = <blockquote> {| class="wikitable" |- | home || https://typeof.net/Iosevka/ |- | customizer (preview vari...")
  • 16:35, 1 October 2022 Will talk contribs created page Prometheus metric syntax (Created page with "Syntax used to expose metrics to prometheus. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://prometheus.io/docs/instrumenting/exposition_formats/ |- |} </blockquote><!-- Documentation -->")
  • 02:52, 26 September 2022 Will talk contribs created page Vim cursor stacks (Created page with "There are two stacks in vim that keep track of your position.<br> * The '''tagstack''' keeps track of your position between <code><C-]></code> tag jumps * The '''jumpstack''' keeps track of all of your cursor positions (through files) = Tag Stack = <blockquote> Jump-Searching with tagstack <syntaxhighlight lang="vim"> " tag: lookup, jump to definition " ================================ :tag keyword <C-]> g-<lmb> " tagselect: lookup, choose from definitions " =======...")
  • 18:21, 25 September 2022 Will talk contribs created page Terraform tutorials (Created page with " = Tutorials = <blockquote> {| class="wikitable" |- | managing secrets || https://blog.gruntwork.io/a-comprehensive-guide-to-managing-secrets-in-your-terraform-code-1d586955ace1 |- |} </blockquote><!-- Tutorials -->")
  • 18:05, 25 September 2022 Will talk contribs created page Terraform provider vultr (Created page with "Interact with vultr via terraform. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://registry.terraform.io/providers/vultr/vultr/latest/docs |- |} </blockquote><!-- Documentation -->")
  • 18:04, 25 September 2022 Will talk contribs created page Terraform provider digitalocean (Created page with "Interact with digitalocean via terraform. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://registry.terraform.io/providers/digitalocean/digitalocean/latest/docs |- |} </blockquote><!-- Documentation -->")
  • 17:49, 25 September 2022 Will talk contribs created page Terraform loops (Created page with "<syntaxhighlight lang="tf"> [for s in var.list : upper(s)] # .map() list items [for k, v in var.map : length(k) + length(v)] # .map() mapping items [for s in var.list : upper(s) if s != ""] # .filter() items </syntaxhighlight>")
  • 17:46, 25 September 2022 Will talk contribs created page Terraform conditionals (Created page with "The only conditional is the ternary operator. = Ternary = <blockquote> <syntaxhighlight lang="tf"> condition ? true_val : false_val </syntaxhighlight> </blockquote><!-- Ternary -->")
  • 17:45, 25 September 2022 Will talk contribs created page Terraform operators (Created page with "= Logical = <blockquote> <syntaxhighlight lang="tf"> && # and || # or </syntaxhighlight> </blockquote><!-- Logical --> = Arithmetic = <blockquote> <syntaxhighlight lang="tf"> *, /, % # multiply, divide, modulo +, - # add, subtract </syntaxhighlight> </blockquote><!-- Arithmetic --> = Equality = <blockquote> <syntaxhighlight lang="tf"> ==, != # equal, not equal >, >=, <, <= # range </syntaxhighlight> </blockquote><!-- Equality -->")
  • 17:41, 25 September 2022 Will talk contribs created page Terraform functions (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | builtin functions || https://www.terraform.io/language/functions |- | invoking functions || https://www.terraform.io/language/expressions/function-calls |- |} </blockquote><!-- Documentation --> = Calling Functions = <blockquote> <syntaxhighlight lang="tf"> # arguments are positional min(1, 2, 3) # expand list of arguments (splat operator) var = [1, 2, 3] min(var...) </syntaxhighlight> </blockquote><!-- Calling...")
  • 17:31, 25 September 2022 Will talk contribs created page Terraform providers (Created page with "Expose resource-types and data-sources that you can use.<br> Several providers are available in the [https://registry.terraform.io/browse/providers terraform registry].<br> Providers are installed when you run <code>terraform init</code> within a terraform directory. = Documentation = <blockquote> {| class="wikitable" |- | providers || https://www.terraform.io/language/providers#providers |- | registry || https://registry.terraform.io/browse/providers |- | version const...")
  • 17:07, 25 September 2022 Will talk contribs created page Terraform modules (Created page with "A terraform module is a collection of <code>*.tf</code> files within a specific directory.")
  • 17:03, 25 September 2022 Will talk contribs created page Terraform resources (Created page with "Resources are the composable building blocks of your terraform configuration. = Documentation = <blockquote> {| class="wikitable" |- | overview || https://www.terraform.io/language/resources |- | provisioners || https://www.terraform.io/language/resources/provisioners/syntax |- |} </blockquote><!-- Documentation --> = Meta Arguments = <blockquote> Meta Arguments are available on all resource types, and allow you to customize how they are built. <syntaxhighlight lang="...")
  • 16:10, 25 September 2022 Will talk contribs created page Terraform variables (Created page with " = Resources / Scope = <blockquote> Within terraform, exposed variables are exposed via '''resources'''. <syntaxhighlight lang="tf"> # variables var.input_variable # input variables are defined in a 'variable {}' block, and can be set in modules or on the commandline local.value # local values are defined in a 'locals {}' block module.output # module outputs are defined in 'module {}' blocks data.type.source # data sources are defined in 'data...")
  • 15:46, 25 September 2022 Will talk contribs created page Terraform datatypes (Created page with "= Primitive = <blockquote> == Null == <blockquote> <syntaxhighlight lang="tf"> null </syntaxhighlight> </blockquote><!-- Null --> == Strings == <blockquote> <syntaxhighlight lang="tf"> "abcd" </syntaxhighlight> </blockquote><!-- Strings --> == Numbers == <blockquote> <syntaxhighlight lang="tf"> 28 7.5 </syntaxhighlight> </blockquote><!-- Numbers --> == Bool == <blockquote> <syntaxhighlight lang="tf"> true false </syntaxhighlight> </blockquote><!-- Bool --> </blockquot...")
  • 15:39, 25 September 2022 Will talk contribs created page Terraform comments (Created page with "<syntaxhighlight lang="tf"> # comment // comment multiline * comment: </syntaxhighlight>")
  • 15:29, 25 September 2022 Will talk contribs created page Terraform usage (Created page with " = Usage = <blockquote> <syntaxhighlight lang="bash"> terraform fmt # autoformat terraform files </syntaxhighlight> </blockquote><!-- Usage -->")
  • 15:24, 25 September 2022 Will talk contribs created page Terraform syntax (Created page with "Terraform files use the extension <code>*.tf</code> = Documentation = <blockquote> {| class="wikitable" |- | terraform language || https://www.terraform.io/language |- |} </blockquote><!-- Documentation --> = Basics = <blockquote> * '''blocks''' contain configuration for an object using a key/value format * blocks can optionally be assigned a variable number of '''labels''' * key-value assignments within a block are referred to as '''arguments''' <syntaxhighlight lang...")
  • 19:08, 24 September 2022 Will talk contribs created page Programming: Caching (Created page with " = Invalidation = <blockquote> == Tag Caching == <blockquote> Objects are assigned an auto-incrementing version number<br> When an object changes, the cache is updated with that version number<br> Caches that refer to multiple object-types, keep a reference to the versions of each object the cache refers to. ex. * User created <code>user_v=0</code> * User renamed <code>user_v=1</code> * ProjectUsers <code>adds user proj_v=1</code> * ProjUserCache is tagged with <code>us...")
  • 17:02, 24 September 2022 Will talk contribs created page Asciiflow2 (Created page with "A self hosted web-based tool for creating ascii diagrams. = Documentation = <blockquote> {| class="wikitable" |- | home || https://github.com/lewish/asciiflow |- |} </blockquote><!-- Documentation -->")
  • 17:00, 24 September 2022 Will talk contribs created page Asciio (Created page with "Program to facilitate creating ASCII flow-charts. = Documentation = <blockquote> {| class="wikitable" |- | home/docs || https://metacpan.org/pod/App::Asciio |- |} </blockquote><!-- Documentation -->")
  • 18:45, 18 September 2022 Will talk contribs created page Meli (Created page with "A CLI mail client, inspired by mutt.<br> Screenshots make it appear to seamlessly handle multiple inboxes with different storage types (which mutt cannot do).<br> Very promising. = Documentation = <blockquote> {| class="wikitable" |- | github || https://git.meli.delivery/meli/meli |- |} </blockquote><!-- Documentation -->")
  • 14:55, 18 September 2022 Will talk contribs created page Iproute2 (Created page with "The Linux <code>ip</code> tool used to manage networking. Created by the linux kernel developers = Documentation = <blockquote> {| class="wikitable" |- | src || https://mirrors.edge.kernel.org/pub/linux/utils/net/iproute2/ |- |} </blockquote><!-- Documentation -->")
  • 14:53, 18 September 2022 Will talk contribs created page Linux Networking (Created page with " = Overview = <blockquote> <pre> </pre> == Routing Policy == <blockquote> The routing policy is managed by iproute2. </blockquote><!-- Routing Policy --> == Routing Table == <blockquote> routing tables determine what network a packets is sent to.<br> A variety of tools can be used to manage it, but iproute2 is generally used today. net-tools route generally manages routing table in Linux.<br> You can also dump the routing table with netstat|netstat...")
  • 19:38, 17 September 2022 Will talk contribs created page Mysql replication (Created page with "Replication lets you mirror all data written to a database to one or more others.<br> Generally, this is used for read-optimizations, but it is possible to use as a write-optimization. {{ NOTE | much more information in my textbook, return as needed }} = Overview = <blockquote> Replication Types <syntaxhighlight lang="yaml"> logical: every sql statement is repeated on the slave database row: every row is replicated to the slave database </syntaxhighlight> Replicat...")
  • 19:26, 17 September 2022 Will talk contribs created page Iostat (Created page with "Linux tool for monitoring I/O info over time interval. = Documentation = <blockquote> {| class="wikitable" |- | <code>man iostat</code> || https://man.archlinux.org/man/iostat.1 |- |} </blockquote><!-- Documentation --> = Usage = <blockquote> <syntaxhighlight lang="bash"> iostat -dx 5 </syntaxhighlight> <syntaxhighlight lang="yaml"> rrqm/s, wrqm/s: number of read/write requests per second that could be 'meged' into a single read/write request r/s, w/s: number...")
  • 19:25, 17 September 2022 Will talk contribs created page Vmstat (Created page with "Linux tool exposing resource usage over time. = Documentation = <blockquote> {| class="wikitable" |- | <code>man vmstat</code> || https://man.archlinux.org/man/core/procps-ng/vmstat.8.en |- |} </blockquote><!-- Documentation --> = Usage = <blockquote> <syntaxhighlight lang="bash"> vmstat 5 # refresh stats every 5s </syntaxhighlight> <syntaxhighlight lang="yaml"> procs: r: num processes waiting for cpu time b: num processes sleeping (waiting on I/O) memory: # mem...")
  • 18:37, 17 September 2022 Will talk contribs created page Programming: Atomicity (Created page with "Atomicity is when an operation is guaranteed to happen all at once, or not at all.<br> ex: a database transaction, or an programming language atomic type. = Strategies = <blockquote> == Double-Write Buffer == <blockquote> Databases like MySQL's innodb use a double-write buffer to guarantee write atomicity. * In addition to the final datastore, we keep a rolling buffer (the double-write buffer) with a short history of writes. * Before writing to...")
  • 03:42, 17 September 2022 Will talk contribs created page Cool-retro-term (Created page with "A beautiful terminal rendered as a stylized CRT monitor. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/Swordfish90/cool-retro-term |- |} </blockquote><!-- Documentation --> = Usage = <blockquote> <syntaxhighlight lang="bash"> cool-retro-term </syntaxhighlight> </blockquote><!-- Usage -->")
  • 03:28, 17 September 2022 Will talk contribs created page Cataclysm dda (Created page with "Cataclysm Dark Days ahead is a post-apocalyptic roguelike rendered in ascii art. <syntaxhighlight lang="bash"> pacman -S cataclysm-dda </syntaxhighlight>")
  • 04:02, 9 September 2022 Will talk contribs created page Algorithms: Hash Join (Created page with "https://www.youtube.com/watch?v=uX6PmZhS2zU")
  • 03:53, 9 September 2022 Will talk contribs created page Algorithms: Merge Join (Created page with "Merge joins require that both tables are sorted by the column with the join condition.<br> This is ideal for indexed columns, since most indexes work by sorting entries. Table1/2 are iterated through at the same time.<br> Every time the pkey from table-1 doesn't match table-2,<br> the next table1 entry is chosen. It is very efficient.")
  • 03:16, 9 September 2022 Will talk contribs created page Algorithms: Block Nested Loop Join (Created page with "A buffered variation of Algorithms: Nested Loop Join. = Documentation = <blockquote> {| class="wikitable" |- | video || https://www.youtube.com/watch?v=JGgwD05gM2A |- |} </blockquote><!-- Documentation --> <syntaxhighlight lang="bash"> +(outer)-----+ +-(results)--------+ | batch-1 | | results-1 | +------------+ +------------------+- | batch-2 | +-(buffer)-------+ | res...")
  • 02:49, 9 September 2022 Will talk contribs created page Algorithms: Nested Loop Join (Created page with "Nested Loop Joins are used to join two arrays of elements together based on a condition. It is commonly used in RDBMS's. = Basics = <blockquote> <syntaxhighlight lang="ruby"> users = [ {id: 1, firstname: 'darth', lastname: 'vader'}, {id: 2, firstname: 'luke', lastname: 'skywalker'}, {id: 3, firstname: 'obi-wan', lastname: 'kenobi'}, ] faction_users = [ {id: 1, name: 'imperials', user_id: 1}, {id: 2, name: 'rebels', user_id: 2}, {id: 3, name...")
  • 00:45, 9 September 2022 Will talk contribs created page Mysql user management (Created page with "= Root Password = <blockquote> == mysql-8.0 == <source lang="bash"> service mysql-server stop mysqld_safe --skip-networking mysql </source> <source lang="MySQL"> # mysql-8.0 ALTER USER 'root'@'localhost' IDENTIFIED BY 'root-password'; FLUSH PRIVILEGES; </source> == mysql-6.0 == <source lang="bash"> service mysql-server stop mysqld_safe --skip-grant-tables --skip-networking mysql </source> <source lang="MySQL"> # mysql-6.0 UPDATE mysql.USER SET authentication_string...")
  • 04:22, 8 September 2022 Will talk contribs created page Mysql os cache (Created page with "{{ TODO | research. Apparently most prominent in MyISAM tables? }}")
  • 04:21, 8 September 2022 Will talk contribs created page Mysql query cache (Created page with "{{ NOTE | It is disabled by default starting in MySQL-5.6<br> https://dev.mysql.com/blog-archive/mysql-8-0-retiring-support-for-the-query-cache/ }} The query cache is a key-value store of cacheable-queries, and their result.<br> This interferes with benchmarking, since repeat queries may be much faster to lookup. To avoid the query cache: <syntaxhighlight lang="mysql"> # 1. Add a calculated-function to your selected rows - since they are not cacheable # TODO: valida...")
  • 04:19, 8 September 2022 Will talk contribs created page Mysql myisam caches (Created page with "= Key Cache = <blockquote> Key Caches/Buffers store index values, and depend on the OS cache for row data. </blockquote><!-- Key Cache -->")
  • 04:19, 8 September 2022 Will talk contribs created page Mysql innodb caches (Created page with "= Buffer Pool (in-memory) = <blockquote> == Basics == <blockquote> Stores adaptive-hash-table (in-memory db caching), row data, write buffers, locks etc. <syntaxhighlight lang="mysql"> # pages in buffer pool (memory) (16KB/page ?) select count(*) from information_schema.innodb_buffer_page; # ========== # configuration # =========== # bytes per chunk show variables like 'innodb_buffer_pool_chunk_size'; # bytes allowed for buffer pool show variables like 'innodb_buffe...")
  • 01:27, 8 September 2022 Will talk contribs created page Mysql partitioning (Created page with "A partitioned table's contents are stored in different locations.<br> A '''partitioning key''' is passed to a function to determine which partition a row or column should belong to.<br> Partitions must share the same storage-engine = Partition Methods = <blockquote> <syntaxhighlight lang="yaml"> horizontal: rows are partitioned vertical: cols are partitioned </syntaxhighlight> </blockquote><!-- Partition Styles --> = Partitioning Strategies = <blockquote> </block...")
  • 01:55, 7 September 2022 Will talk contribs created page Mysql caches (Created page with "= The Query Cache = <blockquote> {{ NOTE | Mysql-8+ drops support for the query cache.<br> It is disabled by default starting in MySQL-5.6<br> https://dev.mysql.com/blog-archive/mysql-8-0-retiring-support-for-the-query-cache/ }} Benchmarking is difficult, since MySQL is often configured to use a query cache.<br> This is similar to a key-value store of cacheable-queries, and their result.<br> This interferes with benchmarking, since repeat queries may be much faster to l...")
  • 00:08, 7 September 2022 Will talk contribs created page Podman usage (Created page with "podman images contain recipes for building a container.<br> Instructions are typically outlined in a <code>Containerfile</code>. = Documentation = <blockquote> {| class="wikitable" |- | <code>man Containerfile</code> || https://man.archlinux.org/man/community/containers-common/Containerfile.5.en |- | <code>man podman-build</code> || https://man.archlinux.org/man/community/podman/podman-build.1.en |- | <code>man podman-pull</code> || https://man.archlinux.org/man/communi...")
  • 23:51, 6 September 2022 Will talk contribs created page Podman install (Created page with "= Archlinux = <blockquote> <syntaxhighlight lang="bash"> pacman -S podman </syntaxhighlight> No daemon is required </blockquote><!-- Archlinux -->")
  • 23:41, 6 September 2022 Will talk contribs created page Podman (Created page with "Alternative to docker.")
  • 04:15, 6 September 2022 Will talk contribs deleted page Online Stores (content was: " = Online Stores = <blockquote> {| class="wikitable" |- | https://eco-max.com || cleaning products |- | https://www.cdw.ca || computer/server supplies |- | https://fillmyfridge.ca || coffee beans |- | https://www.petmax.ca || cat supplies |- | https://birdsnpaws.com || cat supplies |- | https://vacuumpartscanada.ca || vacuum bags && parts (kenmore 50403) |- | https://www.rossibikes.co...", and the only contributor was "Will" (talk))
  • 03:53, 6 September 2022 Will talk contribs created page Netdata (Created page with "A comprehensive resource usage metrics aggregator and dashboard.<br> Optionally, can be configured to send-to, or receive-from prometheus.<br> Extensive support for FreeBSD. * cpu * processes * disks * network * entropy = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/netdata/netdata |- |} </blockquote><!-- Documentation -->")
  • 21:02, 4 September 2022 Will talk contribs created page Mysql engines (Created page with "Each table can have it's own engine,<br> performance may suffer if a join is made across two engine types. {| class="wikitable" |- | innodb || write/concurrency optimized (row lock on write) |- | myisam || read optimized (table lock on write) |- | memory || slow, only supports hash indexes, used for temporary tables. |- | federated || defers reads/writes to other databases. slow on joins, aggregates, etc. |- | blackhole || writes not persisted. |- | csv || csvs written...")
  • 20:28, 4 September 2022 Will talk contribs created page Mysql benchmarking (Created page with " = Traps = <blockquote> == The Query Cache == <blockquote> Benchmarking is difficult, since MySQL is often configured to use a query cache.<br> This is similar to a key-value store of cacheable-queries, and their result.<br> This interferes with benchmarking, since repeat queries may be much faster to lookup. To avoid the query cache: <syntaxhighlight lang="yaml"> - Add a function to your selected rows - since they are not cacheable ex. 'SELECT ..., NOW() FROM ...'...")
  • 20:10, 4 September 2022 Will talk contribs created page Mysql indexes (Created page with "Indexes use various datastructures to store data to prevent full scans of all rows in the table. = Index Types = <blockquote> == BTree == A binary tree. Default for persisted storage engines. Optimize Queries that are * sorted * field prefixes * range (less than 10, between C and F) But not queries * field suffixes == Hash == A hash table. Default for the memory engine.<br> hash-collisions are accounted for, but each key with the same hash will need to be checked...")
  • 20:07, 4 September 2022 Will talk contribs moved page Myql optimization to Mysql optimization without leaving a redirect (typo)
  • 20:05, 4 September 2022 Will talk contribs moved page Sql optimization to Myql optimization without leaving a redirect (optimization depends heavily on the database used.)
  • 19:04, 4 September 2022 Will talk contribs deleted page Firefox addon foxsplitter (no longer exists)
  • 19:03, 4 September 2022 Will talk contribs created page Firefox addon add block plus (Created page with "A popular ad blocker for firefox. = Documentation = <blockquote> {| class="wikitable" |- | addon || https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search |- |} </blockquote><!-- Documentation -->")
  • 19:00, 4 September 2022 Will talk contribs created page Firefox addon privacy badger (Created page with "The EFF's ad blocker. = Documentation = <blockquote> {| class="wikitable" |- | addon || https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search |- |} </blockquote><!-- Documentation -->")
  • 18:22, 4 September 2022 Will talk contribs created page Qutebrowser addon qute-keepassxc (Created page with "Qutebrowser ships with a keepassxc integration. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/qutebrowser/qutebrowser/blob/master/misc/userscripts/qute-keepassxc |- |} </blockquote><!-- Documentation --> = Setup = <blockquote> <syntaxhighlight lang="yaml"> - open: keepassxc: - Tools/Settings: - Tab: Browser Integration: - [x] Enable browser integration </syntaxhighlight> <syntaxhighlight lang="python"> # ~/.config/qu...")
  • 18:06, 4 September 2022 Will talk contribs created page Firefox addon keepassxc (Created page with "Official browser integration with keepassxc. = Documentation = <blockquote> {| class="wikitable" |- | addon || https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/ |- |} </blockquote><!-- Documentation --> = Setup = <blockquote> Allow Browser Extension <syntaxhighlight lang="yaml"> - open: keepassxc: - Tools/Settings: - Tab: Browser Integration: - [x] Enable browser integration - Enable Integration for these browsers: - [x] f...")
  • 16:52, 4 September 2022 Will talk contribs created page Firefox addon search bookmarks history and tabs (Created page with "Ctrl-p style fuzzy searching bookmarks. = Documentation = <blockquote> {| class="wikitable" |- | home || https://addons.mozilla.org/en-US/firefox/addon/search-tabs-bookmarks-history/ |- |} </blockquote><!-- Documentation -->")
  • 04:07, 4 September 2022 Will talk contribs created page Qt6ct (Created page with "See qt5ct")
  • 03:56, 4 September 2022 Will talk contribs created page Qt5ct (Created page with "A program to manage qt stylesheets.")
  • 19:36, 3 September 2022 Will talk contribs created page Grafana backups (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://grafana.com/docs/grafana/v9.0/setup-grafana/upgrade-grafana/#backup |- |} </blockquote><!-- Documentation -->")
  • 04:01, 2 September 2022 Will talk contribs created page Grafana usage (Created page with "= Metrics Explorer = <blockquote> <syntaxhighlight lang="yaml"> - login as admin/user - choose datasource in top-left dropdown # ex. prometheus - choose timerange in top-right dropdown # ex. last 12 hrs - above the prompt you can toggle between a UI query builder, and promql </syntaxhighlight> </blockquote><!-- Metrics Explorer -->")
  • 03:44, 2 September 2022 Will talk contribs created page Grafana install (Created page with " = FreeBSD = <blockquote> <syntaxhighlight lang="bash"> pkg install grafana9 </syntaxhighlight> <syntaxhighlight lang="bash"> # /etc/rc.conf grafana_enable="YES" </syntaxhighlight> <syntaxhighlight lang="yaml"> - open 'http://foo.com:3000 - login: user: admin pass: admin # follow prompt and change password </syntaxhighlight> </blockquote><!-- FreeBSD -->")
  • 02:43, 2 September 2022 Will talk contribs created page Grafana datasources (Created page with "DataSources are how grafana gets metrics. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://grafana.com/docs/grafana/latest/datasources/add-a-data-source/ |- |} </blockquote><!-- Documentation -->")
  • 02:40, 2 September 2022 Will talk contribs created page Grafana datasource: prometheus (Created page with "Configuring prometheus as a grafana datasource. = Documentation = <blockquote> {| class="wikitable" |- | getting started || https://grafana.com/docs/grafana/latest/getting-started/get-started-grafana-prometheus/ |- | official docs || https://grafana.com/docs/grafana/latest/datasources/prometheus/ |} </blockquote><!-- Documentation -->")
  • 04:10, 31 August 2022 Will talk contribs created page Kybook3 (Created page with "An ebook reader for ios.")
  • 03:22, 31 August 2022 Will talk contribs created page Rctl (Created page with "Set jail resource use restrictions. = Tutorials = <blockquote> {| class="wikitable" |- | klara || https://klarasystems.com/articles/controlling-resource-limits-with-rctl-in-freebsd/ |- |} </blockquote><!-- Tutorials -->")
  • 03:05, 31 August 2022 Will talk contribs created page Jail exporter (Created page with "A prometheus exporter that dumps stats about freebsd jails. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/phyber/jail_exporter |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> pkg install jail_exporter </syntaxhighlight> </blockquote><!-- Install --> = Configuration = <blockquote> <syntaxhighlight lang="bash"> # /etc/rc.conf jail_exporter_enable="YES" </syntaxhighlight> </...")
  • 16:17, 28 August 2022 Will talk contribs created page Fx (Created page with "Interactively explore a json object from your terminal. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/antonmedv/fx |- |} </blockquote><!-- Documentation -->")
  • 13:57, 28 August 2022 Will talk contribs created page Isync (Created page with "An alternative to offlineimap, apparently with better OAUTH support. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/djnym/isync |- |} </blockquote><!-- Documentation --> = Tutorials = <blockquote> {| class="wikitable" |- | arch wiki || https://wiki.archlinux.org/title/isync |- |} </blockquote><!-- Tutorials -->")
  • 05:03, 27 August 2022 Will talk contribs created page VimPlugin: mason (Created page with "Installs LSP providers for neovim's native VimPlugin: lsp. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/williamboman/mason.nvim |- |} </blockquote><!-- Documentation -->")
  • 05:01, 27 August 2022 Will talk contribs created page VimPlugin: nvim-lsp-installer (Created page with "Installs lsp providers for neovim lsp. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/williamboman/nvim-lsp-installer |- |} </blockquote><!-- Documentation -->")
  • 03:15, 27 August 2022 Will talk contribs created page VimPlugin: nvim-lspconfig (Created page with "Pre-Made configurations for various neovim lsps. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/neovim/nvim-lspconfig |- |} </blockquote><!-- Documentation --> = Config = <blockquote> </blockquote><!-- Config -->")
  • 03:01, 27 August 2022 Will talk contribs created page VimPlugin: lsp (Created page with "Neovim's builtin lsp client. = Documentation = <blockquote> {| class="wikitable" |- | <code>:h lsp</code> || https://neovim.io/doc/user/lsp.html |- |} </blockquote><!-- Documentation -->")
  • 00:44, 26 August 2022 Will talk contribs created page VimPlugin: vimtex (Created page with "Latex editing, live previews, syntax highlighting, etc. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/lervag/vimtex |- |} </blockquote><!-- Documentation -->")
  • 04:21, 11 August 2022 Will talk contribs deleted page Retroarch (content was: " Retroarch is an emulator manager. It allows you to browse roms from various systems, and easily run them using an appropriate emulator. It also abstracts the controller configuration to simplify using one controller across several emulators. = Documentation = <blockquote> {| class="wikitable" | playlists, thumbnails, filestructure/fileformat documentation || https://docs.libretro.com...", and the only contributor was "Will" (talk))
  • 04:07, 11 August 2022 Will talk contribs deleted page Rcps3 (content was: "rcps3 is a playstation3 emulator available on both windows and linux. = Install = <blockquote> == windows == <blockquote> * Install vcredist (link on their website) * Install DirectX (link on their website) * File > Install Firmware: /mnt/games/PS3/__firmware__ * configuration > pads: Handlers:Xinput # (for xbox one controller -- confirmed working) </blockquote><!-- windows --> </...", and the only contributor was "Will" (talk))
  • 04:05, 11 August 2022 Will talk contribs deleted page Emulation wii (content was: "#REDIRECT Dolphin", and the only contributor was "Will" (talk))
  • 04:03, 11 August 2022 Will talk contribs deleted page Dolphin (content was: "dolphin is a gamecube/wii emulator. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/dolphin-emu/dolphin |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> packer -S dolphin-emu-git </syntaxhighlight> </blockquote><!-- Install --> = Configuration = <blockquote> == General Setup == <blockquote> <syntax...", and the only contributor was "Will" (talk))
  • 03:58, 11 August 2022 Will talk contribs deleted page Reicast (content was: "Reicast is a Sega Dreamcast emulator. You must install a bios into the emulator before you are able to use it. {{NOTE| reicast is no longer under active development, apparently redream is the new champion}} = Installing Bios = * Copy <code>dc_boot.bin</code> and <code>dc_flash.bin</code> to <code>~/.local/share/reicast/data</code>. * make sure these files have full permissions....", and the only contributor was "Will" (talk))
  • 03:58, 11 August 2022 Will talk contribs deleted page Redream (content was: "redream is a dreamcast emulator. = Install = <blockquote> <syntaxhighlight lang="bash"> pacaur -S redream-git pacaur -S libretro-redream-git-latest </syntaxhighlight> <syntaxhighlight lang="bash"> mkdir -p ~/.redream/ cp /mnt/games/Sega Dreamcast/__bios__/dreamcast-bios/dc_flash.bin ~/.redream/flash.bin cp /mnt/games/Sega Dreamcast/__bios__/dreamcast-bios/dc_boot.bin ~/.redream/bo...", and the only contributor was "Will" (talk))
  • 03:51, 11 August 2022 Will talk contribs deleted page Tor (content was: "A system/web browser that helps anonymize your web traffic. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://2019.www.torproject.org/docs/documentation |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <source lang="bash"> sudo pacman -S tor torbrowser-launcher gpg --auto-key-locate nodefault,wkd --locate-keys torbrowser@torproject.o...", and the only contributor was "Will" (talk))
  • 03:51, 11 August 2022 Will talk contribs deleted page Torghost (content was: "redirect DNs/traffic through socks proxy to tor.<br> iptables specific. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/SusmithKrishnan/torghost |- |} </blockquote><!-- Documentation -->", and the only contributor was "Will" (talk))
  • 03:50, 11 August 2022 Will talk contribs deleted page Torphantom (content was: "A neat utility built overtop of NetworkManager/iptables that routes all of your external traffic through tor.<br> Forked from torghost, adds mac spoofing. {{ NOTE | Curiously, iptables and nftables can cooperate. https://wiki.nftables.org/wiki-nftables/index.php/Troubleshooting Blocking from either firewall (even where explicitly allowed in one) will block the traffic. }} = Document...", and the only contributor was "Will" (talk))
  • 00:03, 9 August 2022 Will talk contribs created page Datastructures: trees (Created page with "A hierarchical graph. = Documentation = <blockquote> {| class="wikitable" |- | wikipedia: trees || https://en.wikipedia.org/wiki/Category:Trees_(data_structures) |- |} </blockquote><!-- Documentation --> = Binary Tree = <blockquote> </blockquote><!-- Binary Tree --> = Self Balancing Binary Search Tree = <blockquote> A balanced binary search tree is one that is equally distributed. A self balancing binary search tree is composed of: * nodes * nodes contain keys * nod...")
  • 23:40, 8 August 2022 Will talk contribs moved page Datastructures: Bitmasks to Datastructures: bitmasks without leaving a redirect
  • 23:39, 8 August 2022 Will talk contribs moved page Bitmasks to Datastructures: Bitmasks without leaving a redirect
  • 02:27, 7 August 2022 Will talk contribs created page Programming: Concurrency Tutorials (Created page with "= Tutorials = <blockquote> {| class="wikitable" |- | Python Concurrency || https://chriskiehl.com/article/parallelism-in-one-line || An excellent intro to threading, discusses classical threading models. A must read. |- | C Concurrency || https://begriffs.com/posts/2020-03-23-concurrent-programming.html?hn=1 || thorough overview of concurrency and pthreads in C |- | HP threading basics || http://www.hpl.hp.com/techreports/2009/HPL-2009-259html.html || |- | comparison of...")
  • 02:26, 7 August 2022 Will talk contribs created page Programming: Queues (Created page with "= Blocking Queue = <blockquote> Interface between producers, and consumers of data. A Generic FIFO Array/List in shared memory,<br> with put/take methods protected by a lock.<br> Empowers the Producer/Consumer pattern. * If the queue has a fixed-size, <code>put</code> blocks until the queue has room for another item. * Setting max queue size may keep you from running out of memory in high volume producers </blockquote><!-- Blocking Queue --> = Deque = <blockquote> A d...")
  • 21:47, 6 August 2022 Will talk contribs created page Programming: Concurrency Patterns (Created page with " = Producer/Consumer = <blockquote> * A producer adds data to a synchronized queue * A variable number of consumers process data from a synchronized queue in a loop * When producer is finished, send a poison pill for each worker, informing it to break/exit the loop gracefully </blockquote><!-- Producer/Consumer -->")
  • 15:51, 6 August 2022 Will talk contribs created page Pdf.js (Created page with "A javascript pdf viewer. Embedded in several web browsers. = Install = <blockquote> <syntaxhighlight lang="bash"> pacman -S pdfjs </syntaxhighlight> </blockquote><!-- Install -->")
  • 13:58, 3 August 2022 Will talk contribs created page Sql conditionals (Created page with "You can substitute values in your query with conditionals <syntaxhighlight lang="sql"> SELECT id, CASE WHEN name = "foo" THEN "Foo" ELSE "Bar" END capitalizedName, height # ... </syntaxhighlight>")
  • 03:19, 3 August 2022 Will talk contribs created page Programming: Threads (Created page with "Threads are units of synchronous code that can be multiplexed within a process.<br> Threads belonging to the same process, and share the same memory, so care needs to be taken to ensure the same object is not changed twice. = Thread Safety = <blockquote> == Strategies == <blockquote> Thread safety can be achieved by * not sharing state across threads (ex. serialization) * only sharing immutable state * synchronization between threads </blockquote><!-- Strategies --> =...")
  • 16:21, 24 July 2022 Will talk contribs created page Mailbox.org (Created page with "A paid mail hosting service that doesn't sell your data to advertisers.<br> Supports IMAP out of the box.")
  • 15:37, 24 July 2022 Will talk contribs created page Hydroxide (Created page with "Headless bridge between imap/caldav/carddav and protonmail api. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/emersion/hydroxide |- |} </blockquote><!-- Documentation -->")
  • 15:35, 24 July 2022 Will talk contribs created page Protonmail (Created page with "A mail hosting service with a focus on privacy from ex CERN employees.<br> Messages are encrypted client-side, preventing your email contents to be used in advertising campaigns. You'll need to use a service like proton-bridge (non-free) or hydroxide to use with an MUA. = Documentation = <blockquote> {| class="wikitable" |- | |- |} </blockquote><!-- Documentation -->")
  • 14:44, 24 July 2022 Will talk contribs created page Steam console (Created page with "Steam has a command console that you can use to interact with it's API. = Usage = <blockquote> Launch steam with <syntaxhighlight lang="bash"> open 'steam://open/console' # launch steam with console tab present </syntaxhighlight> Then search for, and find documentation for commands <syntaxhighlight lang="bash"> find 'keyword' </syntaxhighlight> </blockquote><!-- Usage -->")
  • 15:48, 23 July 2022 Will talk contribs created page Programming Testing: Isolation (Created page with "This page is about writing code in a way that it can be tested in isolation (without collaborators). = Overrides = <blockquote> If possible in your language, you can override methods with a fake, or a mock. </blockquote><!-- Overrides --> = Separating Produce/Modify = <blockquote> Separate creating/fetching info from mutating it.<br> This lets you test your mutations independently of collaborators with a variety of inputs. <syntaxhighlight lang="go"> func GetHtml() s...")
  • 15:30, 23 July 2022 Will talk contribs deleted page Programming Testing: Testing Existing Code (content was: "= Seams = <blockquote> Seams allow you to change how code performs without changing it in place. Seams have two components: * seam - ''place where code behaviour can be changed'' * enabling-point - ''something outside of your code that activates the seam (script, envvar, ...)'' {{ expand | preprocessing seams | In languages like C/C++, you can introduce a seam using a macro. Includ...", and the only contributor was "Will" (talk))
  • 14:03, 23 July 2022 Will talk contribs created page Programming Testing: Seams (Created page with "Seams are places where you can alter the behaviour of a program when it is under test.<br> The available seams depend on the programming language in use.<br> When designing a program for testing, you should provide seams to allow it to be tested. = PreProcessor Seams = <blockquote> {{ TODO | untested }} In C/C++ and other languages with macros,<br> you can use an <code>IFDEF</code> to inject or replace test methods. Something like this. <syntaxhighlight lang="c"> #ifd...")
  • 20:20, 22 July 2022 Will talk contribs created page Coc-snippets (Created page with "Complete vim snippets from coc's completer. notably, supports syntax for: * VimPlugin: vim-snipmate * VimPlugin: ultisnips = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/neoclide/coc-snippets |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="vim"> " ad-hoc install :CocInstall coc-snippets " configured install (alongside LSPs) let g:coc_global_extensions = ["coc-snippets"] </syntaxh...")
  • 16:49, 22 July 2022 Will talk contribs created page Golang afero (Created page with "Afero defines and implements an interface to access the filesystem.<br> You can then pass in an abstraction of real os calls, or a stub stub interface you can make assertions against. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/spf13/afero |- |} </blockquote><!-- Documentation --> = Usage = <blockquote> == Basics == <blockquote> <syntaxhighlight lang="go"> appfs := afero.NewOsFs() // real 'os' calls appfs := afero.NewMemMap...")
  • 16:24, 22 July 2022 Will talk contribs created page Golang patterns (Created page with "Some design pattern implementations in go = Singleton = <blockquote> <syntaxhighlight lang="go"> // src: https://medium.com/golang-issue/how-singleton-pattern-works-with-golang-2fdd61cd5a7f var once sync.Once // type global type singleton map[string]string var ( instance singleton ) func NewClass() singleton { once.Do(func() { // <-- atomic, does not allow repeating instance = make(singleton) // <-- thread safe }) return instance } </syntaxhighlight> </blo...")
  • 13:58, 22 July 2022 Will talk contribs moved page Vim text objects to Vim motions
  • 13:57, 22 July 2022 Will talk contribs created page Vim text objects (Created page with "vim commands are usually composable with text-objects.<br> text objects let you refer to groups of tokens in your file with a letter or two. For example <syntaxhighlight lang="vim"> ci} " change all text within {}s (from anywhere within {}s) daw " delete a word (from anywhere in word) </syntaxhighlight>")
  • 04:41, 18 July 2022 Will talk contribs created page Go logging (Redirected page to Golang logging) Tag: New redirect
  • 04:09, 18 July 2022 Will talk contribs created page Golang coverage (Created page with "Go ships with a test coverage measuring tool. = Usage = <blockquote> <syntaxhighlight lang="bash"> go test -coverprofile=out.cov ./... # report coverage to 'out.cov' go tool cover -html=out.cov # open report in web </syntaxhighlight> </blockquote><!-- Usage -->")
  • 12:01, 17 July 2022 Will talk contribs created page Golang testscript (Created page with "Automate filesystem based tests (given n files, run cli commands, expect x).<br> It was built by the core team to test the go compiler. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://pkg.go.dev/github.com/rogpeppe/go-internal/testscript |- |} </blockquote><!-- Documentation -->")
  • 04:41, 15 July 2022 Will talk contribs created page Go interfaces (Redirected page to Golang interfaces) Tag: New redirect
  • 02:47, 13 July 2022 Will talk contribs created page Kitty (Created page with "A featureful gpu accelerated terminal emulator. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://sw.kovidgoyal.net/kitty/conf/ |- |} </blockquote><!-- Documentation --> = Locations = <blockquote> {| class="wikitable" |- | <code>$XDG_CONFIG_HOME/kitty/kitty.conf</code> || user config |- |} </blockquote><!-- Locations --> = Configuration = <blockquote> <source lang="conf"> clear_all_shortcuts yes macos_option_as_alt yes macos_quit_when_l...")
  • 01:58, 13 July 2022 Will talk contribs created page Delta (Created page with "colourized side-by-side diffs and pager. = Documentation = <blockquote> {| | github || https://github.com/dandavison/delta |} </blockquote><!-- Documentation -->")
  • 01:57, 13 July 2022 Will talk contribs created page Icdiff (Created page with "A colourized side-by-side diff tool. = Documentation = <blockquote> {| | github || https://github.com/jeffkaufman/icdiff |} </blockquote><!-- Documentation -->")
  • 06:08, 10 July 2022 Will talk contribs created page Golang x/net (Created page with "The official library for parsing HTML.<br> It is not shipped with go's standard library, but it is maintained by the go developers. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://pkg.go.dev/golang.org/x/net/html |- |} </blockquote><!-- Documentation -->")
  • 22:10, 9 July 2022 Will talk contribs deleted page Profoak freebsd9.2 .cshrc (content was: "= ~/.cshrc = <pre> # $FreeBSD: release/9.2.0/share/skel/dot.cshrc 244007 2012-12-08 00:28:16Z eadler $ # # .cshrc - csh resource script, read at beginning of execution by each shell # # see also csh(1), environ(7). # more examples available at /usr/share/examples/csh/ # #PRESET ALIASES #---------------- alias h history 25 alias j jobs -l alias la ls -aF alias lf ls -FA alias ll...", and the only contributor was "Will" (talk))
  • 22:09, 9 July 2022 Will talk contribs deleted page Profoak freebsd9.2 hosts (content was: "= /etc/hosts = You will want to follow the convention below to fix the issues with the mail daemon hanging on boot. <pre> ::1 localhost.localdomain localhost \x3Ccomputername\x3E 127.0.0.1 \x3Ccomputername\x3E </pre> <pre> # $FreeBSD: release/9.2.0/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $ # # Host Database # # This file should contain the addresses and aliases for lo...", and the only contributor was "Will" (talk))
  • 22:09, 9 July 2022 Will talk contribs deleted page Profoak freebsd9.2 .start (content was: "= ~/.start = <pre> chmod 755 ~/.start </pre> <pre> #!/bin/csh #------------ # commands to execute on user login. randomWallpaper conky & /home/will/.xmonad/Extensions/startupXmobarGapToggle </pre>", and the only contributor was "Will" (talk))
  • 22:09, 9 July 2022 Will talk contribs deleted page Tabatha openbsd5.4 .start (content was: "= ~/.start = Dependencies: <pre> Extensions/randomWallpaper conky </pre> <pre> #!/bin/ksh /usr/bin/randomWallpaper conky & </pre>", and the only contributor was "Will" (talk))
  • 22:08, 9 July 2022 Will talk contribs deleted page Tabatha .profile (content was: "= ~/.profile = DESC: Autorun program that loads on boot. loads my .kshrc and my packages source <pre> # $OpenBSD: dot.profile,v 1.4 2005/02/16 06:56:57 matthieu Exp $ # # sh/ksh initialization PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:. # PACKAGES: export PKG_PATH=ftp://athena.caslab.queensu.ca/pub/OpenBSD/5.4/packages/am...", and the only contributor was "Will" (talk))
  • 22:08, 9 July 2022 Will talk contribs deleted page Freebsd9.2 profoak startupXmobarGapToggle (content was: "= ~/.xmonad/Extensions/startupXmobarGapToggle = <pre> chmod 755 ~/.xmonad/Extensions/startupXmobarGapToggle </pre> <syntaxhighlight lang="bash"> #!/bin/sh # # run on xmonad startup, waits for xmobar to be started, then toggles the gap # that hides xmobar so that it is visible. # For some odd reason, Mod+b must be run twice for the gap to be toggled. xmobarOn=$(ps -A | grep xmobar)...", and the only contributor was "Will" (talk))
  • 22:08, 9 July 2022 Will talk contribs deleted page Freebsd9.2 profoak xmonad.hs (content was: "= ~/.xmonad/xmonad.hs = Quite a few changes in here from linux and OpenBSD. Do not expect sound to work, I do not believe the BSDs use ALSA. Setup: <pre> xmonad --recompile </pre> <syntaxhighlight lang="haskell"> --FOR CHANGES, http://xmonad.org/xmonad-docs/xmonad-contrib/ --XMOBAR PP COLOURS ETC: http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DynamicLog.html#v:dyn...", and the only contributor was "Will" (talk))
  • 22:07, 9 July 2022 Will talk contribs deleted page Freebsd9.2 profoak .xinitrc (content was: "<pre> ~/.xinitrc </pre> .xinitrc is heavily tied to your login manager (be it xdm, slim, or nothing at all). If only plan to have xmonad without a login manager at all, a simple {{{exec xmonad}}} will suffice. <pre> #!/bin/sh # SLIM Login Manager DEFAULT_SESSION=xmonad case $1 in fvwm) exec fvwm ;; xmonad) exec xmonad ;; *) exec xmonad ;; esac </pre>", and the only contributor was "Will" (talk))
  • 22:07, 9 July 2022 Will talk contribs deleted page Tabatha openbsd5.4 xmobarrc (content was: "= ~/.xmobarrc = Dependencies: <pre> pkg_add ggrep Extensions/topInfo </pre> <syntaxhighlight lang="haskell"> Config { font = "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" , borderColor = "black" , border = TopB , bgColor = "black" , fgColor = "grey" , position = Top , allDesktops = True , hideOnStart = False , lowerOnStart = True...", and the only contributor was "Will" (talk))
  • 22:06, 9 July 2022 Will talk contribs deleted page Tabatha openbsd5.4 topInfo (content was: "= ~/.xmonad/Extensions/topInfo = <pre> sudo chown will:will topInfo sudo chmod 755 topInfo </pre> <syntaxhighlight lang="bash"> #!/bin/sh # Unfortunately, I couldn't compile the default plugins for xmobar with 'cabal install' in openBSD # I wrote this as an alternative, all it is doing is filtering the 'top' command if [ $1 == "cpu" ] ; then top -1 | grep "All CPUs" | awk -F" " '{...", and the only contributor was "Will" (talk))
  • 22:06, 9 July 2022 Will talk contribs deleted page Tabatha openbsd mrxvtrc (content was: "= ~/.mrxvtrc = <pre> #----------------------- # MRXVT Terminal Config #----------------------- # Solarized Dark/Light #---------------------- # Solarized Dark #Mrxvt.background: #002B36 # Solarized Light Mrxvt.background: #FDF6E3 # Main Colours: #--------------- Mrxvt.foreground: #657B83 # Tabs Mrxvt.itabForeground: #EEE8D5 Mrxvt.itabBackground: #58...", and the only contributor was "Will" (talk))
  • 22:06, 9 July 2022 Will talk contribs deleted page Tabatha openbsd .conkyrc (content was: "~/.conkyrc Dependencies: <pre> Extensions/externalIPget </pre> <pre> # Use Xft? use_xft no #xftfont Droid Sans Mono:size=9 #xftalpha 0.8 font *terminus.se* font -*-*-*-*-*-*-12-*-*-*-*-*-*-* text_buffer_size 2048 # Update interval in seconds update_interval 1 # This is the number of times Conky will update before quitting. # Set to zero to run forever. total_run_times 0 # Create ow...", and the only contributor was "Will" (talk))
  • 18:25, 9 July 2022 Will talk contribs created page Haskell doctemplates (Created page with "A templating system used by pandoc. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/jgm/doctemplates |- |} </blockquote><!-- Documentation -->")
  • 16:41, 9 July 2022 Will talk contribs created page Haskell stack (Created page with "A package manager for haskell = Install = <blockquote> <syntaxhighlight lang="bash"> pacman -S stack </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="bash"> stack install skylighting </syntaxhighlight> </blockquote><!-- Usage -->")
  • 16:40, 9 July 2022 Will talk contribs created page Haskell cabal (Created page with "A package manager for haskell. = Install = <blockquote> <syntaxhighlight lang="bash"> pacman -S cabal-install </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="bash"> cabal install skylighting </syntaxhighlight> </blockquote><!-- Usage -->")
  • 16:39, 9 July 2022 Will talk contribs created page Haskell packaging (Created page with "= Package Managers = <blockquote> {| |- | haskell cabal |- | haskell stack |- |} </blockquote><!-- Package Managers -->")
  • 16:39, 9 July 2022 Will talk contribs created page Haskell (Created page with "= Intro/Reference = <blockquote> {| |- | haskell packaging |- |} </blockquote><!-- Intro/Reference -->")
  • 16:34, 9 July 2022 Will talk contribs created page Haskell skylighting (Created page with "A syntaxhighlighting library for haskell. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/jgm/skylighting |- |} </blockquote><!-- Documentation -->")
  • 14:07, 9 July 2022 Will talk contribs created page Weechat weechat-fzf (Created page with "Adds a fzf-based completer for your buffer list.<br> Built overtop of tmux and fzf. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/trygveaa/weechat-fzf |- |} </blockquote><!-- Documentation --> = Install = <blockquote> {{ NOTE | Currently not added to weechat's index of scripts, so must be installed manually. }} <syntaxhighlight lang="bash"> git clone </syntaxhighlight> </blockquote><!-- Install -->")
  • 23:18, 6 July 2022 Will talk contribs created page Vim indenting (Created page with " auto-indent is managed by the following options <syntaxhighlight lang="vim"> set ai? "autoindent " auto indentation set cin? "cindent " configurable, character-insertion based indentation set cink? "cinkeys " keys that when typed in insert-mode, cause re-indentation set cino? set si? set inde? set indk? </syntaxhighlight>")
  • 22:22, 6 July 2022 Will talk contribs created page VimPlugin: vim-yaml-folds (Created page with "Syntax based code folding for yaml. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/pedrohdz/vim-yaml-folds |- |} </blockquote><!-- Documentation -->")
  • 22:21, 6 July 2022 Will talk contribs created page VimPlugin: FastFold (Created page with "Reduces events that cause fold recalculation in vim, making files with lots of folds faster in insert mode. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/Konfekt/FastFold |- |} </blockquote><!-- Documentation -->")
  • 22:18, 6 July 2022 Will talk contribs created page VimPlugin: SimpylFold (Created page with "Syntax based code folding for python in vim. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/tmhedberg/SimpylFold |- |} </blockquote><!-- Documentation -->")
  • 12:42, 4 July 2022 Will talk contribs created page Sphinx apidoc usage (Created page with "<syntaxhighlight lang="bash"> # generate apidocs (before `make html`) sphinx-apidoc \ --separate \ -d 3 \ -o ./_api \ project/path </syntaxhighlight>")
  • 12:41, 4 July 2022 Will talk contribs moved page Sphinx apidocs configuration to Sphinx apidoc configuration without leaving a redirect
  • 12:40, 4 July 2022 Will talk contribs created page Sphinx apidocs configuration (Created page with "First, see sphinx configuration for configuring sphinx. = Mocking Libraries = <blockquote> Some code will not be available when rendering sphinx. This might be only available within a custom interpreter (ex: vim, maya), or initializing classes might run code that connects to a database, or something else you might not want to depend on to produce docs. It is considered a best practice to mock out these modules. If using the <code>autodoc</code> directive, it will e...")
  • 20:53, 3 July 2022 Will talk contribs created page D&D 5e: Languages (Created page with "= Basics = <blockquote> Languages have two components * language (ex. common, gnomish) * script/alphabet (ex. common, dwarvish, draconic) </blockquote><!-- Basics --> = Languages = <blockquote> common <syntaxhighlight lang="yaml"> # LANG SCRIPT common common dwarvish dwarvish elvish elvish giant dwarvish gnomish dwarvish goblin dwarvish halfling common orc dwarvish </syntaxhighlight> exotic <syntaxhighlight lang="yam...")
  • 19:26, 3 July 2022 Will talk contribs created page D&D 5e: Core Mechanics (Created page with "= Attack = <blockquote> <syntaxhighlight lang="yaml"> # conflicting info. # manual says: # * 1d20 + ${WEAPON_PROFICIENCY} # * 1d${WEAPON_TYPE_DICE} + ${WEAPON_PROFICIENCY} # WEAPON_PROFICIENCY = ${STR_MODIFIER} + ${CLASS_PROFICIENCY_MODIFIER} </syntaxhighlight> </blockquote><!-- Attack -->")
  • 19:12, 3 July 2022 Will talk contribs created page D&D 5e: Character Creation (Created page with " = Abilities = <blockquote> <syntaxhighlight lang="yaml"> - Roll '4d6' for each ability. - Sum highest '3x' # OR - Assign '15, 14, 13, 12, 10, 8' to abilities of your choosing # OR (if DM approves) - Distribute 27 points where you like </syntaxhighlight> Final ability scores are adjusted based on value using this formula <syntaxhighlight lang="python"> (${LVL} // 2) - 5 </syntaxhighlight> Sample Result <syntaxhighlight lang="yaml"> STR 15 (+2) # 17 DEX 14 (+2) # 16...")
  • 18:36, 3 July 2022 Will talk contribs created page D&D 5e: Character Progression (Created page with " = Basics = <blockquote> * Abilities: Strength, Dexterity, Constitution, Intelligence, Wisdom, Charisma. </blockquote><!-- Basics --> = Creation = <blockquote> == Abilities == <blockquote> <syntaxhighlight lang="yaml"> - Roll '4d6' for each ability. Sum highest '3' # OR - Assign '15, 14, 13, 12, 10, 8' to abilities of your choosing </syntaxhighlight> </blockquote><!-- Abilities --> </blockquote><!-- Creation -->")
  • 18:33, 3 July 2022 Will talk contribs created page D&D 5e (Created page with "= Notes = <blockquote> {| class="wikitable" |- | D&D 5e: Character Progression |- | D&D 5e: Core Mechanics |- |} </blockquote><!-- Notes -->")
  • 16:13, 3 July 2022 Will talk contribs created page Calibre-web (Created page with "An alternative web UI for calibre. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/janeczku/calibre-web |- |} </blockquote><!-- Documentation -->")
  • 17:01, 2 July 2022 Will talk contribs created page Golang dedent (Created page with "A single-function library that dedents strings. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/lithammer/dedent |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> go get github.com/lithammer/dedent </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="go"> import "dedent" dedent.Dedent(` a: b: 1 c: 2 `) //a: // b: 1 </syntaxhi...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)