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)
  • 15:38, 2 July 2022 Will talk contribs created page Openldap install (Created page with "<syntaxhighlight lang="bash"> sudo apt install \ slapd \ ldap-utils </syntaxhighlight> Creating a new Database: * http://www.dangtrinh.com/2013/10/ldap-create-new-ldap-directory.html * https://stackoverflow.com/questions/19537319/change-basedn-in-openldap")
  • 15:35, 2 July 2022 Will talk contribs created page Openldap tutorials (Created page with "{| class="wikitable" |- | when/why use ldap Novell || https://support.novell.com/techcenter/articles/ana20011101.html |- | when/why use ldap O'Reilly || http://archive.oreilly.com/pub/a/perl/excerpts/system-admin-with-perl/ten-minute-ldap-utorial.html |- |}")
  • 15:27, 2 July 2022 Will talk contribs deleted page VimPlugin: vimya (content was: " vimya allows you to connect with maya through a commandport. Vimya requires the following prerequisites: * That vim was compiled with a python interpreter (:py works) * Tail-Bundle plugin has been added * .vimrc let <code>g:vimyaPort = 9835</code> * userSetup.mel <code>if (! `commandPort -q ":9835"`) commandPort -n ":9835";</code> * cports.exe (currports) is a useful utility that can...", and the only contributor was "Will" (talk))
  • 14:59, 2 July 2022 Will talk contribs deleted page Filebot (content was: "Filebot is a fantastic tool for renaming TV episodes. = Install = <blockquote> == Archlinux == <blockquote> <syntaxhighlight lang="bash"> pacaur -S filebot sudo pacman -S java-openjfx </syntaxhighlight> </blockquote><!-- Archlinux --> </blockquote><!-- Install -->", and the only contributor was "Will" (talk))
  • 14:57, 2 July 2022 Will talk contribs deleted page Makemkv (content was: "Makemkv is a very simple (one click) DVD ripping program.<br> It produces uncompressed MKV files, with subtitles and audio. = Locations = <blockquote> {| class="wikitable" |- | <code>~/.MakeMKV/</code> || makemkv settings dir |- |} </blockquote><!-- Locations --> = Tutorials = <blockquote> {| class="wikitable" |- | cli backups || https://shkspr.mobi/blog/2012/02/command-line-backup-f...", and the only contributor was "Will" (talk))
  • 14:56, 2 July 2022 Will talk contribs deleted page Dvdbackup (content was: "__TOC__ DVDBackup is a program to backup DVDs. The process described below is untested (but really cool!). = Install = <blockquote> <syntaxhighlight lang="bash"> sudo pacman -S dvdbackup \ ## extract data from Video DVDs dvdauthor \ ## Assembles MPEG streams into DVD file on fs libdvdcss ## Access encrypted DVDs </syntaxhighlight> </blockquote><!-- Install --> <b...", and the only contributor was "Will" (talk))
  • 14:15, 2 July 2022 Will talk contribs deleted page XAMPP (content was: "XAMPP is a a cross platform web server. I'm not really using it for anything in particular, but I've started looking into it so that family/friends can run their own personal notes wikis. = Install = <blockquote> {| Resources | [http://portableapps.com/apps/development/xampp XAMPP portable] || || Download |- | https://wiki.bitnami.com/Infrastructure_Stacks/Bitnami_for_XAMPP || || Mo...", and the only contributor was "Will" (talk))
  • 04:02, 2 July 2022 Will talk contribs created page Cygwin install (Created page with "'''chocolatey installs cygwin to C:\programdata\chocolatey\cygwin\tools\cygwin''' Cygwin is built to be able to be run in a portable way. You install, update, and get new packages by re-running the cygwin installer. Always install the 32 bit version of cygwin, unless you absolutely need it to be 64bit. It is much more supported. Cygwin doesn't seem to require any registry keys to be set, the only things that affect it's portability are some environment variables.")
  • 04:02, 2 July 2022 Will talk contribs created page Cygwin troubleshooting (Created page with "= Common Problems = <blockquote> == rebase == <blockquote> Almost all issues related to cygwin can be resolved by rebasing. You can do it the quick/dirty way: <syntaxhighlight lang="bash"> C:/cygwin/bin/dash.exe /bin/rebaseall </syntaxhighlight> Or the full proper way: <syntaxhighlight lang="bash"> - Open Task Manager and close any processes that look to be Cygwin related. - Open C:\Cygwin\bin in Windows Explorer - Verify that dash.exe, ash.exe, rebase.exe, and reb...")
  • 04:00, 2 July 2022 Will talk contribs created page Cygwin package management (Created page with "Cygwin doesn't ship with a package manager.<br> Instead, you call the installer with params to install packages (or use the GUI). = Documentation = <blockquote> {| class="wikitable" |- | std cygwin packages || http://lug.mtu.edu |- | cygports packages || http://mirrors.kernel.org/sources.redhat.com/cygwinports/ |} </blockquote><!-- Documentation --> = Usage = <blockquote> <syntaxhighlight lang="bash"> # start cygwin with GPG key for cygports /path/to/setup-x86.exe -K h...")
  • 03:53, 2 July 2022 Will talk contribs created page Cygwin configuration (Created page with "= Fonts = <blockquote> {| | <code>/usr/share/fonts/font.ttf</code> || font dir |- | <code>fc-list</code> || list all fonts |} Acquiring Fonts <syntaxhighlight lang="bash"> # Droid-Sans-Mono (preference) http://www.fontsquirrel.com/fonts/droid-sans-mono # DejaVu http://sourceforge.net/projects/dejavu/ </syntaxhighlight> Installing Fonts <syntaxhighlight lang="bash"> # copy fonts to /usr/share/fonts/ fc-list # List all currently available fon...")
  • 03:49, 2 July 2022 Will talk contribs created page Cygwin programs (Created page with "Not every package works well in cygwin.<br> here are some I have found worked reasonably well in the past. == Terminal Programs == <blockquote> {| class="wikitable" |- | mintty |- | openssh |- | mutt |- | mpd |- |} </blockquote><!-- Terminal Programs -->")
  • 03:45, 2 July 2022 Will talk contribs created page Cygwinx (Created page with "xorg server for cygwin. = Documentation = <blockquote> {| class="wikitable" |- | <code>man xwin</code> || |- |} </blockquote><!-- Documentation --> = Locations = <blockquote> {| class="wikitable" |- | <code>~/.xstartwinrc</code> || customize startup |- |} </blockquote><!-- Locations --> = Usage = <blockquote> <syntaxhighlight lang="bash"> startxwin startx <program> -- <..xwin flags...> startx /usr/bin/openbox -- -rootless -keyhoook # start openbox in same window...")
  • 01:46, 2 July 2022 Will talk contribs created page Console2 (Created page with "A windows terminal, supporting tabs, batch, powershell, and ships with clink preinstalled.<br> It's convenient for quickly getting a nicer console on windows.")
  • 01:34, 2 July 2022 Will talk contribs created page Mintty (Created page with "mintty is a terminal emulator for windows that works with unix-like shells.<br> It is often used with cygwin and msys. It does not require that a xorg server is running.")
  • 01:28, 2 July 2022 Will talk contribs created page Programs: terminals (Created page with "= Windows = <blockquote> {| class="wikitable" |- | mintty |- | conemu |- |} </blockquote><!-- Windows --> = Linux = <blockquote> {| |- | xterm |- | suckless st |- | mrxvt |- | urxvt |- |} </blockquote><!-- Linux -->")
  • 00:56, 2 July 2022 Will talk contribs deleted page Tabatha openbsd5.4 randomWallpaper (content was: "= ~/.xmonad/Extensions/randomWallpaper = Dependencies: <pre> pkg_add ggrep </pre> <pre> sudo chown will:will randomWallpaper sudo chmod 755 randomWallpaper </pre> <syntaxhighlight lang="bash"> #!/bin/sh # Random Wallpaper chooser # I wrote this script because I am lazy, and I didn't feel like constantly changing the feh command # in .xmonad/xmonad.hs # It checks for all of the f...", and the only contributor was "Will" (talk))
  • 00:53, 2 July 2022 Will talk contribs deleted page Freebsd9.2 profoak externalIPget (content was: "= ~/.xmonad/Extensions/externalIPget = <pre> chmod 755 ~/.xmonad/Extensions/externalIPget echo "" \x3E ~/.xmonad/Extensions/externalIP chmod 755 ~/.xmonad/Extensions/externalIP </pre> <pre> #!/bin/sh # # Description: # Called by rootstart.service (systemd) after network connection has been established. # Gets external IP address, and saves it with an echo to the file externalIP whi...", and the only contributor was "Will" (talk))
  • 13:26, 1 July 2022 Will talk contribs created page Go errors (Redirected page to Golang errors) Tag: New redirect
  • 18:40, 26 June 2022 Will talk contribs created page Golang errcheck (Created page with "Checks for ignored errors within your application. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/kisielk/errcheck |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> go install github.com/kisielk/errcheck@latest </syntaxhighlight> </blockquote><!-- Install -->")
  • 18:38, 26 June 2022 Will talk contribs created page Golang checkers (Created page with "Linters, safety checks, validation etc. = Checkers = <blockquote> {| class="wikitable" |- | golang errcheck || list unhandled errors |- | golang gc || <code>go {build,run} -race</code> checks for race conditions |- |} </blockquote><!-- Checkers -->")
  • 17:39, 26 June 2022 Will talk contribs created page VimPlugin: vim-go (Created page with "A standalone LSP setup for golang and vim.<br> includes several refactoring tools as well. = Documentation = <blockquote> {| class="wikitable" |- | <code>:h vim-go</code> || https://github.com/fatih/vim-go/blob/master/doc/vim-go.txt |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="vim"> Plug 'https://github.com/fatih/vim-go', { 'do': ':GoUpdateBinaries' } </syntaxhighlight> </blockquote><!-- Install --> = Configuration = <b...")
  • 17:08, 26 June 2022 Will talk contribs created page Golang gopls (Created page with "Go LSP create/maintained by the go team. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/golang/tools/tree/master/gopls |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> go install golang.org/x/tools/gopls@latest </syntaxhighlight> </blockquote><!-- Install -->")
  • 17:07, 26 June 2022 Will talk contribs created page Golang lsps (Created page with "Available Language Server Protocols for go. = Notes = <blockquote> {| |- | golang gopls |- |} </blockquote><!-- Notes -->")
  • 17:04, 26 June 2022 Will talk contribs deleted page Golang toolchains (content was: "Tools to build go executables. = Usage = <blockquote> <syntaxhighlight lang="go"> go run . # compile and run pkg go build # create binary go clean # remove binary and tmpfiles go install # install binary go fmt foo.go # automatically format code </syntaxhighlight> </blockquote><!-- Basics --> = Notes = <blockquote> {| class="wikitable" |- | go...", and the only contributor was "Will" (talk))
  • 17:03, 26 June 2022 Will talk contribs moved page Golang debugging to Golang debuggers without leaving a redirect
  • 17:03, 26 June 2022 Will talk contribs moved page Golang compilation to Golang gc without leaving a redirect
  • 17:02, 26 June 2022 Will talk contribs created page Golang compilers (Created page with "You can compile go using various compilers. = Compilers = <blockquote> {| class="wikitable" |- | golang gc |- | golang gcc |- | golang clang |- |} </blockquote><!-- Compilers -->")
  • 16:09, 26 June 2022 Will talk contribs created page Golang gdb (Created page with "Instructions for debugging go with gdb.<br> Instructions vary by compiler = gc = <blockquote> If compiled with <code>gc</code> (default). <syntaxhighlight lang="bash"> go build -ldflags=-w . gdb your-executable </syntaxhighlight> </blockquote><!-- gc -->")
  • 03:05, 26 June 2022 Will talk contribs created page Go loops (Redirected page to Golang loops) Tag: New redirect
  • 00:31, 26 June 2022 Will talk contribs created page Golang encoding/csv (Created page with "Go's builtin module for encoding/decoding csv files. {{ NOTE | go's builtin csv module does not conform to it's encoding interface. }} = Serializing = <blockquote> </blockquote><!-- Serializing --> = Deserializing = <blockquote> </blockquote><!-- Deserializing -->")
  • 18:45, 25 June 2022 Will talk contribs created page Go functions (Redirected page to Golang functions) Tag: New redirect
  • 18:45, 25 June 2022 Will talk contribs created page Go methods (Redirected page to Golang methods) Tag: New redirect
  • 18:45, 25 June 2022 Will talk contribs created page Go modules (Redirected page to Golang modules) Tag: New redirect
  • 18:44, 25 June 2022 Will talk contribs created page Go variables (Redirected page to Golang variables) Tag: New redirect
  • 18:44, 25 June 2022 Will talk contribs created page Go datatypes (Redirected page to Golang datatypes) Tag: New redirect
  • 03:30, 25 June 2022 Will talk contribs created page Golang encoding/json (Created page with "= Deserializing = <blockquote> == Array to Array == <blockquote> </blockquote><!-- Array to Array --> == Object to Struct == <blockquote> <syntaxhighlight lang="go"> type User struct { id int Name string } func main() { var user User json.Unmarshal([]byte(`{"id": 123, "Name": "vaderd"}`), &user) fmt.Println(user.Name) } </syntaxhighlight> </blockquote><!-- Object to Struct --> </blockquote><!-- Deserializing -->")
  • 02:55, 25 June 2022 Will talk contribs created page Golang encoding (Created page with "Golang's <code>encoding</code> module defines the interfaces for data serialization. = Basics = <blockquote> Each method of encoding implements at least one of these interfaces <syntaxhighlight lang="go"> type BinaryMarshaler interface { MarshalBinary() (data []byte, err error) } type BinaryUnmarshaler interface { UnmarshalBinary(data []byte) error } type TextMarshaler interface { MarshallText(text []byte) error } type TextUnmarshaler interface { UnmarshalText(t...")
  • 00:35, 25 June 2022 Will talk contribs created page Coc-go (Created page with "neovim LSP server for golang. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/josa42/coc-go |- |} </blockquote><!-- Documentation -->")
  • 13:45, 24 June 2022 Will talk contribs created page Ocaml (Created page with "= Tutorials = <blockquote> {| class="wikitable" |- | cs3110 || intro to ocaml |- |} </blockquote><!-- tutorials -->")
  • 03:59, 24 June 2022 Will talk contribs created page Golang encoding/xml (Created page with "go's builtin library for parsing xml. {{ WARNING | wip }} = Basics = <blockquote> To parse xml within go: * you define <code>MarshallText/UnmarshallText</code> methods on an object * declare a variable with the types you'd like to use * <code>xml.Unmarshall(your_type)</code> will use type info to serialize/deserialize objects </blockquote><!-- Basics -->")
  • 02:41, 24 June 2022 Will talk contribs moved page Java targeting platforms to Java operating systems without leaving a redirect
  • 02:40, 24 June 2022 Will talk contribs moved page Java system to Java processes without leaving a redirect
  • 01:45, 22 June 2022 Will talk contribs created page Terraform (Created page with "A configuration orchestration tool by hashicorp. = Documentation = <blockquote> {| class="wikitable" |- | home || https://www.terraform.io/ |- |} </blockquote><!-- Documentation -->")
  • 01:21, 21 June 2022 Will talk contribs created page Golang documentation (Created page with "= Documentation = <blockquote> {| class="wikitable" |- | standard library || https://pkg.go.dev/std |- |} </blockquote><!-- Documentation --> = go doc = <blockquote> <syntaxhighlight lang="bash"> # list module docs/sigs (stdlib, internal) go doc internal/logger go doc io | bat -l go # nicely syntax highlighted </syntaxhighlight> </blockquote><!-- -->")
  • 00:52, 21 June 2022 Will talk contribs created page Golang tview (Created page with "TUI library for golang. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/rivo/tview |- |} </blockquote><!-- Documentation -->")
  • 00:39, 21 June 2022 Will talk contribs created page Golang qt (Created page with "Qt bindings for go.<br> supports cross compilation across several platforms. {{ WARNING | wiki updates, but code itself hasn't been updated in 2yrs }} = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/therecipe/qt |- |} </blockquote><!-- Documentation -->")
  • 04:39, 20 June 2022 Will talk contribs created page Golang anatomy (Created page with "<syntaxhighlight lang="bash"> myproject/ go.mod // module name, requirements main.go // optional CLI entrypoint printer.go // other 'main' package src are in toplevel dir internal/ // exported symbols from internal packages are only exposed within 'myproject' logger/ // subpackage logger.go math/ // subpackage division.go multiplication.go </...")
  • 03:41, 20 June 2022 Will talk contribs created page Golang delve (Created page with "delve is a go debugger.<br> It is more knowledgeable about the go runtime than golang gdb . = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/go-delve/delve |- |} </blockquote><!-- Documentation --> = Install = <blockquote> <syntaxhighlight lang="bash"> go install github.com/go-delve/delve/cmd/dlv@latest </syntaxhighlight> </blockquote><!-- Install --> = Usage = <blockquote> <syntaxhighlight lang="bash"> dlv debug dlv debug exam...")
  • 03:29, 20 June 2022 Will talk contribs created page Golang debugging (Created page with "= Documentation = <blockquote> {| class="wikitable" |- | gdb || https://go.dev/doc/gdb |- | delve || |} </blockquote><!-- Documentation -->")
  • 22:23, 19 June 2022 Will talk contribs created page Git environment (Created page with "= Documentation = <blockquote> {| class="wikitable" |- | <code>man git</code> || https://man.archlinux.org/man/extra/git/git.1.en#ENVIRONMENT_VARIABLES |- |} </blockquote><!-- Documentation --> = Environment = <blockquote> {| class="wikitable" |- | <code>GIT_CONFIG_GLOBAL</code> || use an alternate <code>~/.gitconfig</code> |- | <code>GIT_SSH_COMMAND</code> || alter ssh command git uses for git+ssh:// (hint: -vvv) |- |} </blockquote><!-- Environment -->")
  • 21:21, 19 June 2022 Will talk contribs created page Golang private modules conf: meta tags, git+ssh, nginx (Created page with "This configuration abstracts golang module path, <br> to provide access to private go modules over git+ssh,<br> by setting dynamic html meta tags using nginx.")
  • 17:40, 19 June 2022 Will talk contribs created page Fonts (Created page with " = Font Sources = <blockquote> {| class="wikitable" |- | bunny.net || https://fonts.bunny.net/ |- |} </blockquote><!-- Font Sources -->")
  • 14:10, 19 June 2022 Will talk contribs created page Golang module path (Created page with "Module paths are used both to locate, and uniquely identify packages.<br> Downloading packages is normally performed by a lookup in go index,<br> but the actual src is hosted using a server/service of your choosing. === URL suffix === <blockquote> Suffix indicating repository type <syntaxhighlight lang="go"> # Repos supporting multiple protocols will try each in order. # ex: https://, git://, git+ssh:// # # # Bazaar .bzr # Fossil .fossil # Git .git # M...")
  • 14:07, 19 June 2022 Will talk contribs deleted page Golang projects (content was: "Go projects are typically organized into groups of packages released together in modules.<br> They are [https://pkg.go.dev/ indexed], but you are responsible for hosting source-code yourself. = Documentation = <blockquote> {| class="wikitable" |- | <code>go.mod</code> ref || https://go.dev/doc/modules/gomod-ref |- | add/remove packages from index...", and the only contributor was "Will" (talk))
  • 13:49, 19 June 2022 Will talk contribs created page Mediawiki features (Created page with "= Redirects = <blockquote> You can create aliases for pages, that will be automatically redirected.<br> When renaming a page, you have the option to create one automatically,<br> otherwise do the following <syntaxhighlight lang="yaml"> - create page with desired name - add the text: '#REDIRECT mediapage to redirect to' - save </syntaxhighlight> You can see a list of all redirects Special:ListRedirects. </blockquote><!-- Redirects -->")
  • 13:45, 19 June 2022 Will talk contribs deleted page Golang package management (content was: "#REDIRECT Golang packaging", and the only contributor was "Will" (talk))
  • 01:12, 19 June 2022 Will talk contribs deleted page Go build (content was: "<code>go build</code> creates an executable for the package in cwd.<br> It also provides tools to validate your package. = Usage = <blockquote> Go build creates an executable with the name of your package.<br> If your package includes slashes, it is only the basename.<br> (ex: package: <code>example.com/x/foo</code> creates executable <code>foo</code>) <syntaxhighlight lang="bash"> g...", and the only contributor was "Will" (talk))
  • 01:11, 19 June 2022 Will talk contribs deleted page Go run (replaced with go compilation)
  • 01:03, 19 June 2022 Will talk contribs created page Golang compilation (Created page with "This page documents the builtin golang compilation tools. = run = <blockquote> <code>go run</code> will build and run an executable. <blockquote> <syntaxhighlight lang="bash"> go run . # compile package at cwd, and run it's 'main()' method go run . --help # cli params for the program can be passed to go run go run main.go lib.go ... # compile only these files, and run detected 'main()' method go run some/package # compile a specific pa...")
  • 01:01, 19 June 2022 Will talk contribs created page Go build (Created page with "<code>go build</code> creates an executable for the package in cwd.<br> It also provides tools to validate your package. = Usage = <blockquote> Go build creates an executable with the name of your package.<br> If your package includes slashes, it is only the basename.<br> (ex: package: <code>example.com/x/foo</code> creates executable <code>foo</code>) <syntaxhighlight lang="bash"> go build # build executable for package at cwd go build -o altname # build...")
  • 00:51, 19 June 2022 Will talk contribs created page Go run (Created page with "<code>go run</code> will build and run an executable. = Usage = <blockquote> <syntaxhighlight lang="bash"> go run . # compile package at cwd, and run it's 'main()' method go run . --help # cli params for the program can be passed to go run go run main.go lib.go ... # compile only these files, and run detected 'main()' method go run some/package # compile a specific package </syntaxhighlight> </blockquote><!-- Usage -->")
  • 21:30, 18 June 2022 Will talk contribs created page Golang logging (Created page with "Logging is a standardized format of writing progress/debug info. = Example = <blockquote> <syntaxhighlight lang="go"> // ./logger.go package main import "os" import "log" // params: // 1. device you'd like to log to // 2. log-prefix of this logger // 3. log-formatting options // var Logger = log.New(os.Stderr, "", log.Ldate|log.Ltime|log.Lshortfile) </syntaxhighlight> <syntaxhighlight lang="go"> // ./main.go package main func main() { Logger.Println("th...")
  • 17:38, 18 June 2022 Will talk contribs created page Golang tutorials (Created page with " {| class="wikitable" |- | golang specification (best) || https://go.dev/ref/spec |- | effective go || https://go.dev/doc/effective_go |- | zetcode || https://zetcode.com/all/#go |- |}")
  • 17:29, 18 June 2022 Will talk contribs deleted page Python services (content was: "A service is a process meant to be started with/managed by the operating system, and run in the background. Different operating systems have different ways of handling this. = Useful Libraries = <blockquote> </blockquote><!-- useful libraries --> = Platforms = <blockquote> == linux == <blockquote> See systemd </blockquote><!-- linux --> == FreeBSD == <blockquote> </blockquote>...", and the only contributor was "Will" (talk))
  • 17:01, 18 June 2022 Will talk contribs created page Golang matching (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | <code>path.Match</code> (glob match) || https://pkg.go.dev/path@go1.18.3#Match |- | <code>regexp</code> || https://pkg.go.dev/regexp |- |} </blockquote><!-- Documentation --> = Match (glob) = <blockquote> <syntaxhighlight lang="bash"> import "path" isTrue := path.Match("f*", "foo") // glob match </syntaxhighlight> </blockquote><!-- Match (glob) --> = Regexp = <blockquote> <syntaxhighlight lang="go"> import "re...")
  • 16:18, 18 June 2022 Will talk contribs created page Golang print (Created page with "= Basics = <blockquote> <syntaxhighlight lang="go"> require "fmt" fmt.Println("foo") // print to stdout with newline fmt.Printf("%v", 123) // print formatted string to stdout (no newline) fmt.Fprintf(os.Stdout, "%v", 123) // prints formatted string to writable object (ex. STDOUT, STERR, ..) fmt.Sprintf("%v", 123) // returns formatted string (no newline) </syntaxhighlight> </blockquote><!-- Basics --> = Format Syntax = <blockqu...")
  • 16:15, 18 June 2022 Will talk contribs created page Golang filesystem (Created page with " = Errors = <blockquote> <syntaxhighlight lang="go"> require "errors" require "os" require "io/fs" _, err := os.Stat("foo.bar") if errors.Is(err, fs.ErrExist) {...} if errors.Is(err, fs.ErrNotExist) {...} if errors.Is(err, fs.ErrPermission) {...} if errors.Is(err, fs.ErrPermission) {...} </syntaxhighlight> {{ expand | The old method defines <code>Is${N}</code> functions to test for various <code>os</code> package errors. | <syntaxhighlight lang="go"> require "os" //...")
  • 13:22, 18 June 2022 Will talk contribs deleted page Golang signals (this is covered by processes)
  • 13:13, 18 June 2022 Will talk contribs created page Golang operating system (Created page with " = Host Info = <blockquote> <syntaxhighlight lang="go"> require "os" host, err := os.Hostname() </syntaxhighlight> </blockquote><!-- Host Info --> = User Info = <blockquote> User info is exposed by a struct of passwd info. <syntaxhighlight lang="go"> userinfo, err := user.Lookup("will") if errors.Is(err, user.UnknownUserError) {...} fmt.Println(userinfo.Uid) </syntaxhighlight> </blockquote><!-- User Info -->")
  • 16:34, 12 June 2022 Will talk contribs created page Xmldump2zim (Created page with "Create an xml dump from a MediaWiki website using [https://www.mediawiki.org/wiki/Manual:DumpBackup.php DumpBackup.php], then use <code>xmldump2zim</code> to convert it to a zim file (which will allow you to read it offline). = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/KasparNagu/xmldump2zim |- |} </blockquote><!-- Documentation -->")
  • 14:01, 12 June 2022 Will talk contribs created page Static-wiki (Created page with "A tool designed to create a static-html copy of wikipedia, preserving search. {| class="wikitable" |- | github || https://github.com/segfall/static-wiki |- | static wikipedia || http://static.wiki/ |- |}")
  • 14:00, 12 June 2022 Will talk contribs created page Mw2html (Created page with "A tool to create a static-html copy of a mediawiki website with working links (but no css). = Install = <blockquote> <source lang="bash"> # Install htmldata cd /home/will/dev # Install htmldata to a location on $PYTHONPATH curl -#O http://www.connellybarnes.com/code/htmldata/htmldata # Install mw2html cd $www/maintenance git clone https://github.com/samuell/mw2html.git </source> </blockquote><!-- Install --> = Configuration = <blockquote> In order for the pythons...")
  • 13:47, 11 June 2022 Will talk contribs created page Wget-2-zim (Created page with "Shellscript to create a zimfile from a website. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/ballerburg9005/wget-2-zim |- |} </blockq...")
  • 13:46, 11 June 2022 Will talk contribs created page Zim-tools (Created page with "A collection of tools for manipulating and creating zimfiles.<br> Includes <code>zimwriterfs</code>, which creates a zimfile from a mediawiki install. = Documentation = <bloc...")
  • 12:45, 11 June 2022 Will talk contribs created page Mwoffliner (Created page with "Scrape a mediawiki website, build a zim file. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/openzim/mwoffliner |- |} </blockquote><!--...")
  • 02:56, 8 June 2022 Will talk contribs created page Golang processes (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | <code>os</code> || https://pkg.go.dev/os@go1.18.3 |- |} </blockquote><!-- Documentation --> = Current Process = <blo...")
  • 00:43, 7 June 2022 Will talk contribs created page Golang testify (Created page with "Testify is a 3rd party test library for golang.<br> It includes assertions and mocks. = Documentation = <blockquote> {| class="wikitable" |- | github || https://github.com/st...")
  • 00:41, 7 June 2022 Will talk contribs created page Golang std testing (Created page with "Go ships with a test suite. = Documentation = <blockquote> {| class="wikitable" |- | <code>testing</code> || https://pkg.go.dev/testing@go1.18.3 |- |} </blockquote><!-- Docum...")
  • 21:23, 6 June 2022 Will talk contribs created page Golang signals (Created page with "Golang has builtin tools to handle unix signals. = Documentation = <blockquote> {| class="wikitable" |- | <code>os/signal</code> || https://pkg.go.dev/os/signal@go1.18.3 |- |...")
  • 19:05, 6 June 2022 Will talk contribs created page Golang synchronization (Created page with "Synchronization tools are used to synchronize multiple concurrent codepaths so that your program can continue synchronously. = WaitGroups = <blockquote> WaitGroups are global...")
  • 17:32, 6 June 2022 Will talk contribs created page Golang concurrency (Created page with "= Goroutines = <blockquote> Goroutines use green-threads rather than os-threads.<br> An OS thread is relatively expensive in setup and memory. One thread is reserved for a par...")
  • 16:17, 6 June 2022 Will talk contribs created page Nnn (Created page with "A tiny cli file manager that uses minimal i/o to keep it performant. * minimal io * <code>cd</code> on quit * tiny * extendable * supports file previews * pipe and select fil...")
  • 14:13, 6 June 2022 Will talk contribs created page Python manim (Created page with "Illustrate math concepts visually using animation.<br> Written and used by the 3blue 1brown channel. = Documentation = <blockquote> {| class="wikitable" |- | github || https:...")
  • 03:14, 6 June 2022 Will talk contribs created page Golang interfaces (Created page with "Similar to other languages, interfaces in go define a contract of method-signatures that implementors must have.<br> Unlike other languages, golang interfaces are implicit --...")
  • 02:47, 6 June 2022 Will talk contribs created page Golang methods (Created page with "While Go is not an OOP language, it lets you bind methods to any type.<br> This is most common with structs, but any type is supported = Basics = <blockquote> <syntaxhighlig...")
  • 01:13, 6 June 2022 Will talk contribs created page Golang errors (Created page with "= panic and recover = <blockquote> Go seems to discourage the use of exception-style control-flows,<br> encouraging the use of errors in return-values instead. Go does provid...")
  • 19:12, 29 May 2022 Will talk contribs created page Golang input/output (Created page with "= print = <blockquote> == Basics == <blockquote> <syntaxhighlight lang="go"> require "fmt" fmt.Println("foo") // print to stdout with newline fmt.Printf("%v",...")
  • 13:54, 29 May 2022 Will talk contribs created page Golang operators (Created page with "= Arithmetic = <blockquote> <syntaxhighlight lang="go"> 1 + 1 // addition 1 - 1 // subtraction 1 * 1 // multiplication 1 / 1 // division 1 % 1 // modulus </syntaxhighlight> </...")
  • 13:29, 29 May 2022 Will talk contribs created page Golang datatypes (Created page with "= Implied Types = <blockquote> </blockquote><!-- Implied Types --> = Text = <blockquote> </blockquote><!-- Text --> = Numeric = <blockquote> </blockquote><!-- Numeric -->...")
  • 04:52, 29 May 2022 Will talk contribs created page Gocryptfs (Created page with "Userspace Encrypted filesystem. Desgined to address some shortfalls of encfs (ex. vulnerabilities when multiple versions of same file are available). = Documentation = <b...")
  • 02:22, 29 May 2022 Will talk contribs created page Gpg configuration (Created page with " = Documentation = <blockquote> {| class="wikitable" |- | options ref || https://www.gnupg.org/gph/en/manual/r1172.html |- |} </blockquote><!-- Documentation --> = Locations...")
  • 02:05, 29 May 2022 Will talk contribs created page Gpg agent (Created page with "gpg-agent is a daemon that caches secrets in memory.<br> secrets can be retrieved/stored from processes by communicating with gpg-agent over a socket.<br> gpg itself inter...")
  • 17:52, 28 May 2022 Will talk contribs created page Programming: Synchronization (Created page with "When writing Concurrent systems, it is useful to be able wait for behaviour to be complete before starting another task.<br> This page has several...")
  • 17:46, 28 May 2022 Will talk contribs moved page Programming: Threading to Programming: Concurrency
  • 03:53, 25 May 2022 Will talk contribs created page Golang variables (Created page with "= Assignment = <blockquote> <syntaxhighlight lang="go"> // declare and assign variable var name string name = "foo" // declare and assign variable, inferring type name := "fo...")
  • 21:24, 23 May 2022 Will talk contribs created page Golang conventions (Created page with "= Naming = <blockquote> == Casing == <blockquote> <syntaxhighlight lang="go"> func DoThing() { ... } // exported functions are PascalCase func doThing() { ... } // regular f...")
  • 20:40, 23 May 2022 Will talk contribs created page Golang loops (Created page with "= For Loops = <blockquote> initializer/condition based loops <syntaxhighlight lang="go"> for i := 0; i < 10; i++ { sum += i } </syntaxhighlight> iterating over mappings <...")
  • 20:36, 23 May 2022 Will talk contribs created page Golang conditionals (Created page with "= If statements = <blockquote> <syntaxhighlight lang="go"> if 1 > 0 { fmt.Println("true") } </syntaxhighlight> You can also assign and test a variable in one step. <synta...")
  • 20:32, 23 May 2022 Will talk contribs created page Golang rf (Created page with "A go refactoring tool. = Documentation = <blockquote> {| class="wikitable" |- | official docs || https://pkg.go.dev/rsc.io/rf#section-readme |- |} </blockquote><!-- Documenta...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)