Search results

From wikinotes
  • Ext2 (category Pages using deprecated source tags)
    ext2 is a linux filesystem. It is not journaled, but it is natively supported by most of the BSDs. Linux sudo fdisk /dev/sdb g # new gpt table n # new
    1 KB (119 words) - 01:34, 9 June 2020
  • Python memory profiler (category Pages using deprecated source tags)
    Profile your python script by running it on commandline. Set target function with @profile and execute with python -m memory_profiler file.py. sudo pip
    647 bytes (41 words) - 05:18, 28 August 2020
  • Xcode (category Pages using deprecated source tags)
    xcode is MacOS's IDE and compiler. There are two ways of installing xcode. through the App-Store (always latest) downloading explicit versions: https://developer
    1 KB (99 words) - 14:02, 10 August 2020
  • Macos Virtualization (category Pages using deprecated source tags)
    Technically, it is against Apple's TOS to run apple software on non-apple-brand hardware. Mostly-Automated KVM image builder for various MacOS releases
    895 bytes (44 words) - 16:20, 2 July 2022
  • VimPlugin: Ctags (category Pages using deprecated source tags)
    indexes your source-tree. Before ctags can be used, you must generate a tags file (ctags -R). You must continuously update this file to continue to use ctags
    502 bytes (53 words) - 15:57, 10 April 2021
  • Awscli (category Pages using deprecated source tags)
    digitalocean exposes it's own version of S3, with a compatible API. When using awscli, you must specify --endpoint=https://{region}/digitaloceanspaces.com
    682 bytes (82 words) - 20:29, 24 March 2019
  • Github-cli (category Pages using deprecated source tags)
    official cli client. config.yml git_protocol: https editor: prompt: enabled pager: aliases: co: pr checkout hosts.yml github.com: user: <githubuser> oauth_token:
    1 KB (93 words) - 15:38, 24 October 2023
  • Cmake compile targets (category Pages using deprecated source tags)
    cpp -o compiled_program # using compiler 'gcc' clang++ source.cpp lib/source2.cpp lib/sourc3.cpp -o compiled_program # using compiler 'clang' # something
    1 KB (126 words) - 19:35, 18 May 2018
  • Eclim: java (category Pages using deprecated source tags)
    Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found. You're using a JRE version that is not installed.
    1 KB (115 words) - 19:31, 1 March 2020
  • Msi directory (category Pages using deprecated source tags)
    really mean entry(Directory='TARGETDIR', Directory_Parent='', DefaultDir='SourceDir') # ? entry(Directory='ProgramFilesFolder', Directory_Parent='TARGETDIR'
    2 KB (74 words) - 17:05, 16 December 2019
  • The Sims 4 (category Pages using deprecated source tags)
    to use the cinematic camera. Tab # enter cinematic view mouse-movement # look around 1st-person +/- # zoom in/out e/q # up/down Enable Cheats using the
    1 KB (110 words) - 14:46, 4 July 2021
  • Gnu global (category Pages using deprecated source tags)
    gnu global behaves similarly to ctags/cscope. It scans your source code directory, and enables you to jump between files and discover where functions/classes
    1 KB (87 words) - 03:08, 31 October 2019
  • Ruby rails (category Pages using deprecated source tags)
    Rails is a collection of ruby gems centered around creating a website. rails is a metapackage - you'll need to do some digging to find the correct module
    3 KB (37 words) - 15:27, 2 May 2024
  • Encfs (category Pages using deprecated source tags)
    WARNING: encfs is being infrequently/community maintained. The author hints at using newer alternative like ecryptfs or gocryptfs. NOTE: Keep backups of your
    2 KB (173 words) - 22:08, 11 May 2024
  • Ruby pry (category Pages using deprecated source tags)
    module/class) whereami # print current location show-source <method> # show sourcecode show-source -ld <method> # show sourcecode with docstring show-doc
    5 KB (617 words) - 16:19, 16 April 2024
  • Pass (category Pages using deprecated source tags)
    encrypted/decrypted using gpg key "name-of-gpgkey" pass init -p personal "name-of-gpgkey" # save passwords (.password-store/personal/pers.gpg) # encrypted using configured
    2 KB (156 words) - 03:15, 6 February 2022
  • Python setuptools (category Pages using deprecated source tags)
    WARNING: It's now encouraged to use pyproject.toml instead of setup.py to configure your project. setuptools may still be used as your build system of choice
    1 KB (107 words) - 23:25, 14 February 2024
  • Sockstat (category Pages using deprecated source tags)
    sockstat is a FreeBSD tool that lists open ports. A clone has been written for linux. # FreeBSD # (pre-installed with base) # Archlinux # see https://packages
    1 KB (103 words) - 12:30, 11 July 2020
  • Bsd top (category Pages using deprecated source tags)
    # top sorted by cpu top -o res # top sorted by used memory top -o res -a | less -S # top sorted by used mem, showing cli params for prog Top also has some
    1 KB (156 words) - 18:00, 16 April 2022
  • FreeBSD devfs (category Pages using deprecated source tags)
    access, permissions, and automatic behaviour. These rules can also be managed using the devfs command. NOTE: careful to choose a high number, low numbers may
    2 KB (147 words) - 20:56, 25 February 2024
  • Kubernetes (category Pages using deprecated source tags)
    learning, they will eventually need to be divided into sensibly categorized pages. See Also: https://kubernetes.io/docs/concepts/ kubernetes is not itself
    2 KB (146 words) - 20:09, 12 May 2024
  • Python pyproject.toml (category Pages using deprecated source tags)
    to your project. (ex. before you needed to install setuptools, then could use setup.py) # pyproject.toml [tool.pytest.ini_options] python_files = *.py testpaths
    1 KB (52 words) - 23:19, 14 February 2024
  • Linux Fonts (category Pages using deprecated source tags)
    beginning of font list Check which font will answer to a font-family (when used in something like a web browser). fc-match Helvetica See Also: https://wiki
    3 KB (251 words) - 16:06, 7 April 2024
  • Steam streaming (category Pages using deprecated source tags)
    select + y keyboard: # I think F8? Watch bandwidth usage using nload Determine bandwidth type using tcpdump If network is congested, consider increasing buffer
    5 KB (448 words) - 16:19, 14 April 2024
  • ModemManager (category Pages using deprecated source tags)
    Tool to configure modems. Like the pinephone, for example. sudo pacman -S modemmanager systemctl enable ModemManager.service systemctl start ModemManager
    1 KB (92 words) - 21:10, 9 February 2021
  • VimPlugin: vim-plug (category Pages using deprecated source tags)
    Asynchronous vim plugin manager. call plug#begin('~/.vim/bundle') Plug 'https://github.com/vim-scripts/DrawIt' Plug 'ssh://domain.com:/git/foo-plugin'
    1 KB (99 words) - 00:36, 15 February 2024
  • Traceroute (category Pages using deprecated source tags)
    traceroute/tracert measures how long it takes to make every connection between your request, and the target domain. Run, and wait a couple of minutes for
    941 bytes (109 words) - 20:39, 20 June 2022
  • Bsd ps (category Pages using deprecated source tags)
    command + arguments used to start process %cpu # percentage of cpu use %mem # percentage of memory use rss # (resident-set-size kb) memory used by a process (excludes
    1 KB (169 words) - 18:23, 16 April 2022
  • Bsd vmstat (category Pages using deprecated source tags)
    processes, memory, disk, and cpu activity. See also gnu vmstat. procs memory page disks faults cpu r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy
    559 bytes (73 words) - 14:59, 28 August 2020
  • Systemd-boot (category Pages using deprecated source tags)
    booting with EFI, and it is now built-in to systemd. # Confirm you booted using EFI efivar -l Create EFI partition sudo fdisk /dev/sda g # create gpt table
    2 KB (178 words) - 19:01, 11 June 2023
  • Networkmanager (category Pages using deprecated source tags)
    NetworkManager is a tool to manage all networks (wired/wireless) on your machine. As soon as configured connections are available, they will be connected
    2 KB (89 words) - 15:53, 31 December 2020
  • Python typing (category Pages using deprecated source tags)
    Type annotations in python. from typing import Dict, List, Tuple from typing import Optional, Union class Project: def ex_param_w_return(user: User) ->
    2 KB (176 words) - 22:56, 13 February 2024
  • Bash functions (category Pages using deprecated source tags)
    $1 } inner "foo" ) #!/usr/bin/env bash create_array() { local -n arr=$1 # use nameref for indirection arr=(one "two three" four) } main() { local my_array
    2 KB (219 words) - 02:00, 17 February 2024
  • Procstat (category Pages using deprecated source tags)
    Columns START # start memory addr END # end memory addr RES # resident memory (pages?)
    874 bytes (103 words) - 14:59, 28 August 2020
  • Pkgng (category Pages using deprecated source tags)
    the selling point of PKGNG (package next-generation), was allowing users to use a mix of binary packages and ports. This is not the case, but you can compile
    2 KB (227 words) - 23:55, 18 February 2024
  • Mutt imap (category Pages using deprecated source tags)
    mutt/folders/<account> # # folder settings only. accounts/* will be used when needed. source ~/.mail/accounts/<account> set folder = "imaps://<your_email>@imap
    4 KB (419 words) - 17:23, 19 February 2024
  • Git config (category Pages using deprecated source tags)
    committed to git repo. # ~/.gitignore # ${PROJECT}/../.gitignore tags # exclude file 'tags' anywhere it exists build/**/manifest # '**' matches any level
    5 KB (486 words) - 15:17, 16 February 2024
  • Python pytest (category Pages using deprecated source tags)
    result): assert (a+b) == result fixtures are pre-built functions that you can use as parameters to your tests. Less code to read, less code to write. Note that
    6 KB (488 words) - 02:39, 14 February 2024
  • Cups (category Pages using deprecated source tags)
    you'll need to set the default printer and you may need to enable it. (if you used the UI, queue may be set during setup, tab complete it) # set default printer
    6 KB (510 words) - 01:40, 28 February 2024
  • Netctl (category Pages using deprecated source tags)
    sudo pacman -S wpa_supplicant iw dialog wpa_actiond # wireless sudo systemctl enable netctl-auto@${IFACE}.service # autostart sudo systemctl enable ne
    2 KB (134 words) - 15:23, 31 December 2020
  • Nvidia-smi (category Pages using deprecated source tags)
    nvidia-smi is a commandline tool that shows information about your GPU like temperature, vram consumption, etc. watch -n5 nvidia-smi Sun May 9 09:52:39
    2 KB (121 words) - 18:11, 14 November 2021
  • Visualstudio (category Pages using deprecated source tags)
    be searched-for/found using Ctrl+Shift+P (ex: installing extensions) Symbols are searched using Ctrl+t Files are searched using Ctrl+p Code > Settings
    2 KB (124 words) - 14:01, 24 April 2024
  • Pi hole (category Pages using deprecated source tags)
    Built overtop of dnsmasq, to serve as an ad-blocker. There are two variations: a standalone version made for the local machine, and one designed to operate
    1,004 bytes (35 words) - 15:12, 2 April 2022
  • Sorbet usage (category Pages using deprecated source tags)
    b: T.nilable(Integer)).void } def bar(a, b: nil) = nil end You can also use sorbet as an LSP. srb tc --lsp
    1 KB (107 words) - 19:26, 4 November 2023
  • Python anatomy (category Pages using deprecated source tags)
    org/dev/peps/ In particular PEP8 is the current style-guide used by the python project itself, and is used by most python projects: https://www.python.org/dev/peps/pep-0008/
    1 KB (146 words) - 23:07, 14 February 2024
  • Lm sensors (category Pages using deprecated source tags)
    interface temp1: +27.8°C (crit = +106.0°C) temp2: +29.8°C (crit = +106.0°C) ucsi_source_psy_0_00081-i2c-0-08 Adapter: NVIDIA GPU I2C adapter in0: 0.00 V (min =
    992 bytes (151 words) - 23:38, 6 March 2022
  • Firefox addon tridactyl (category Pages using deprecated source tags)
    open 'https://addons.mozilla.org/en-US/firefox/addon/tridactyl-vim/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search' :installnative
    1 KB (92 words) - 20:32, 13 April 2024
  • Zfs-stats (category Pages using deprecated source tags)
    15.85 GiB Real Managed: 97.28% 15.42 GiB Logical Total: 16.00 GiB Logical Used: 39.54% 6.33 GiB Logical Free: 60.46% 9.67 GiB Kernel Memory: 462.54 MiB
    2 KB (157 words) - 21:08, 13 September 2020
  • Ruby input/output (category Pages using deprecated source tags)
    puts "hello" print "a", "b", 12 printf "num: %5.2f name: %s", 1.123, "alex" #> "num: 1.12 name: alex" line = gets puts line ARGF # stdin fd = StringIO
    1 KB (67 words) - 15:49, 25 January 2023
  • Gcalcli (category Pages using deprecated source tags)
    dinner # search for event to interactively delete ## Haven't successfully used reminder yet gcalcli remind 5 echo "REMINDER" # schedule a reminder with
    2 KB (179 words) - 22:15, 8 February 2021
  • Saltstack grains (category Pages using deprecated source tags)
    Grains are facts about a system that a minion is running on. You can target machines based on this information, or alter states/configuration based on
    1 KB (110 words) - 01:58, 15 August 2022
  • Saltstack platform notes (category Pages using deprecated source tags)
    use grains['os_family'] to target a range of platforms RedHat: - CentOS - RedHat Windows: - Windows Debian: - Debian - Ubuntu Arch: - Archlinux Windows:
    1 KB (144 words) - 14:20, 24 January 2021
  • Sudo configuration (category Pages using deprecated source tags)
    /etc/sudoers configuration file (but use visudo unless certain)
    2 KB (131 words) - 17:27, 20 January 2024
  • Ruby ffast (category Pages using deprecated source tags)
    A library and cli tool for searching/matching nodes within ruby's AST. gem install ffast fast --ast some/file.rb # show ast fast '(const _ _)' some/file
    1 KB (172 words) - 16:38, 1 February 2024
  • VimPlugin: lightline (category Pages using deprecated source tags)
    text '0x%B' " statusline formatter syntax vim functions " vim functions Just use a component function to return different results based on winwidth() let g:lightline
    2 KB (116 words) - 17:23, 10 February 2024
  • Steam install (category Pages using deprecated source tags)
    install steam alongside your gpu drivers, and lib32 opengl drivers. pacman -S steam \ nvidia \ lib32-nvidia-utils \ lib32-libva-vdpau-driver \ lib32-libva-intel-driver
    2 KB (183 words) - 20:02, 14 April 2024
  • Saltstack custom states (category Pages using deprecated source tags) (section Using Salt Information)
    If you find yourself doing very complex things with jinja2, you might want to consider writing your own salt-state instead for readability. See the following
    1 KB (97 words) - 22:21, 2 September 2023
  • Curl (category Pages using deprecated source tags)
    is slow send, receive, etc) curl -#O https://example.com/file # download, using original filename, and progressbar curl https://example.com/file -o out.tgz
    2 KB (215 words) - 02:42, 1 April 2021
  • Windows Bootloader (category Pages using deprecated source tags)
    com/en-us/windows-hardware/manufacture/desktop/windows-setup-installing-using-the-mbr-or-gpt-partition-style
    2 KB (145 words) - 20:51, 3 October 2020
  • Couchbase (category Pages using deprecated source tags)
    --name couchbase -p 8091-8094:8091-8094 -p 11210:11210 couchbase # admin page http://localhost:8091 # N1QL query docker exec -it couchbase sh /opt/couchbase/bin/cbq
    2 KB (130 words) - 00:46, 12 February 2021
  • Toxiproxy (category Pages using deprecated source tags)
    A tool to help test your application for points of failure, by simulating down/bad-network conditions. First, start the server, leave it running in the
    2 KB (167 words) - 23:29, 31 August 2023
  • Msi properties (category Pages using deprecated source tags)
    MSIUSEREALADMINDETECTION 1 installer should use current user info, even when running as admin. (<=vista) use me ProductName Human readable name of application
    1 KB (40 words) - 01:55, 18 December 2019
  • Noip (category Pages using deprecated source tags)
    external ip address, and gives you a permanent address on the internet you can use to reach your server. NOTE: Cannot run in FreeBSD jail, needs access to shared
    837 bytes (80 words) - 21:34, 19 June 2021
  • Saltstack concepts (category Pages using deprecated source tags)
    Components gpg: # program to encrypt/decrypt things jinja: # templating engine (use python/dictionary substitution within configfiles) ../ #======= pillars/ #=======
    3 KB (227 words) - 05:34, 12 July 2022
  • Wireshark (category Pages using deprecated source tags)
    wireshark.org/docs/man-pages/tshark.html man wireshark-filter (display filter syntax) https://www.wireshark.org/docs/man-pages/wireshark-filter.html man
    2 KB (160 words) - 02:26, 20 January 2021
  • Python compilation (category Pages using deprecated source tags)
    to look out for. Cython expresses your python code as C/C++ code, then you use a compiler to compile it into a finished product. It boasts nearly 100% compatibility
    2 KB (210 words) - 12:40, 21 October 2019
  • Ruby gemfile (category Pages using deprecated source tags) (section Sources)
    multiple source blocks, or define a source for each gem individually. # source block source 'your.repo.com' do gem 'foo' gem 'bar' end # inline source gem 'baz'
    3 KB (267 words) - 21:43, 13 April 2021
  • Linux CLI Intro (category Pages using deprecated source tags)
    Clear Terminal Screen apropos <command> # list man pages related to command man <command> # show man page <command> --help # show brief help for params pwd
    2 KB (175 words) - 23:24, 8 April 2023
  • Gnu top (category Pages using deprecated source tags)
    (reserved, and/or actively used) (important!) USED # (kb) actual used memory (ram/swap) RES # (kb) memory used (ram) SWAP # (kb) memory used (swap) top's Config
    2 KB (235 words) - 05:55, 27 August 2022
  • Python pyenv (category Pages using deprecated source tags)
    debug symbols pyenv local 3.6.5 # 'python' command now uses 3.6.5 env PYENV_VERSION=system vim # use specific pyenv version pyenv versions # list installed
    1 KB (121 words) - 00:48, 31 August 2021
  • Qemu (category Pages using deprecated source tags) (section using EFI)
    id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 7 associated providers: 1 name:NVIDIA-0 Provider 1: id: 0x20e cap: 0xb, Source Output, Sink Output
    9 KB (957 words) - 23:20, 12 May 2024
  • Tlp (category Pages using deprecated source tags)
    # cpu-scaling/battery/etc scaling. (ex: performance, powersave, ...) # # use either to see available profiles: cat /sys/devices/system/cpu/cpu0/cpufre
    2 KB (207 words) - 15:56, 7 March 2022
  • Vdirsyncer (category Pages using deprecated source tags)
    computer (so it is available offline). pacman -S vdirsyncer You can then use cron, or systemd to synchronize contacts. # crontab */5 * * * * /usr/bin/vdirsyncer
    3 KB (212 words) - 23:53, 29 August 2022
  • Saltstack usage (category Pages using deprecated source tags)
    '/src/dir/' '/dst/dir/' recurse=True # optional keyword-args are assigned using '=' with no spaces salt-call saltutil.refresh_modules Filtering Hosts/Minions
    3 KB (293 words) - 01:02, 17 February 2022
  • Java json-simple (category Pages using deprecated source tags)
    <!-- https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple --> <dependency> <groupId>com.googlecode.json-simple</groupId> <artifac
    2 KB (201 words) - 14:07, 19 April 2019
  • Ruby factory bot (category Pages using deprecated source tags)
    attributes_for(:user) # creates hash to instantiate User instance # can be used in 'do' block create(:user) do |user| user.posts.create(attributes_for(:post))
    3 KB (204 words) - 16:33, 3 November 2023
  • Gmail (category Pages using deprecated source tags)
    Gmail API - APIs & Services: - [+] ENABLE APIS AND SERVICES (top/middle of page) - Search: Gmail API - Enable # 3) Assign token/access scopes - OAuth consent
    3 KB (289 words) - 14:01, 11 June 2022
  • Ruby rails: secrets and key-values (category Pages using deprecated source tags)
    information, but are overkill for other types of info. For non-secret information use Application.config. config/application.rb is designed to rails and it's various
    2 KB (156 words) - 15:22, 8 August 2020
  • Viml functions (category Pages using deprecated source tags)
    call them using the keyword call :call ResizeTabs("four", 4, "abc", "efg") You may also define a command for your function, allowing it to be used without
    3 KB (354 words) - 00:54, 17 March 2024
  • Networkmanager nmcli (category Pages using deprecated source tags)
    Manages several network types. You may also be interested in netctl. sudo pacman -S networkmanager sudo systemctl enable NetworkManager.service sudo systemctl
    3 KB (293 words) - 23:31, 10 March 2024
  • VimPlugin: fzf.vim (category Pages using deprecated source tags)
    fzf#vim#with_preview()) " use sane defaults for preview-showing call fzf#run(l:options) " run fzf Examples call fzf#run(fzf#wrap({ source: 'git ls-files' }))
    4 KB (396 words) - 23:32, 4 February 2024
  • Python logging (category Pages using deprecated source tags)
    record): if record.name.startswith('chatty'): return 0 return 1 install filter using logging.basicConfig() logging.basicConfig() for handler in logging.root.handlers:
    3 KB (319 words) - 00:33, 25 November 2019
  • Freebsd jail setup: thick jail (category Pages using deprecated source tags)
    A Thick jail is a totally separate FreeBSD install. It can be running a differrent release from the host, and any of the other jails. This approach is
    2 KB (271 words) - 18:26, 13 June 2020
  • Coc-solargraph (category Pages using deprecated source tags) (section could not find X-Y.Y.Y in any of the sources)
    install solargraph-rails --pre # if using rails (I've had a lot of issues with this) :CocInstall coc-solargraph " uses solargraph on backend For each project:
    3 KB (313 words) - 18:26, 28 December 2021
  • Cannon pixma iP110 (category Pages using deprecated source tags) (section Print Test Page)
    list - Next - 1-1 Printer setup: next - 2-1 Setup Procedure: Wireless Setup using the USB cable - Select your place of residence: - [x] USA, Canada, Latin
    3 KB (294 words) - 15:43, 24 February 2024
  • Timewarrior (category Pages using deprecated source tags)
    continue the last active `tag` timew summary [<tag>,<tag>,...] ## show summary of recorded time timew day/week/month [<tag>,<tag>,...] ## print a GANT chart
    4 KB (426 words) - 23:39, 8 February 2021
  • Viml builtin functions (category Pages using deprecated source tags)
    get line info line('.') " current line number getline('.') " current line getline(10, 20) " get list of lines 10-through-20 getline(1)[0] " get char at
    4 KB (375 words) - 00:21, 10 February 2024
  • Bash datatypes (category Pages using deprecated source tags)
    which character is used to separate items in a list. By default it is a single empty space. You can change it, if you'd like. Some use cases: iterating over
    4 KB (409 words) - 01:58, 17 February 2024
  • Viml commands (category Pages using deprecated source tags)
    'syntax' -complete=syntime  :syntime suboptions -complete=tag tags -complete=tag_listfiles tags, file names are shown when CTRL-D is hit -complete=user user
    5 KB (500 words) - 19:31, 29 July 2023
  • Ruby bundler (category Pages using deprecated source tags)
    gem requirements using a ruby gemfile. This is similar to python-pip's requirements.txt file. gem install bundler # generate gemfile using 'rubygems.org'
    4 KB (370 words) - 19:51, 4 November 2023
  • Freebsd jail setup: thin jail (category Pages using deprecated source tags)
    outside of a jail's scope. Jail options can be referenced within other options using bash variable syntax. All options can be defined either globally, or for
    2 KB (332 words) - 11:43, 13 June 2020
  • Python modules (category Pages using deprecated source tags)
    imported, it can be used using the full importpath package.subpkg.module.my_func() This is a lot of typing. Alternatively, you can use the keywords from
    4 KB (447 words) - 01:32, 14 February 2024
  • Programming: Time Complexity (category Pages using deprecated source tags)
    nums do_nothing([1, 2, 3]) A logarithm is the opposite of an exponent (it is used to solve for an exponent). For example: log(2)8 # what power of 2 makes 8
    3 KB (412 words) - 22:47, 16 January 2021
  • Cron (category Pages using deprecated source tags)
    this is FreeBSD's cron environment. PWD=/home/$USER # by default cron may use 'sh' rather than 'bash/zsh' (which does not support '&>>') * * * * * command
    3 KB (354 words) - 03:58, 13 November 2022
  • Saltstack state cookbook (category Pages using deprecated source tags)
    .states.file.html use jinja as context in configfile ./etc/rc.conf: file.managed: - source: salt:/rc/rc.conf - template: jinja using dictionary as context
    5 KB (465 words) - 20:05, 19 June 2022
  • Git usage (category Pages using deprecated source tags) (section tags)
    works) You can tag releases of your git repository with versions so that they are easy to revert. Listing Tags git tag # list all tags git tag -l '1.*' # list
    12 KB (1,604 words) - 16:51, 23 January 2024
  • Sorbet syntax (category Pages using deprecated source tags)
    is set as a class method, but designed to run on a class instance) you can use T.bind(self, YourClass). # stdlib types String Symbol Integer Float NilClass
    4 KB (454 words) - 19:07, 14 May 2024
  • Saltstack install (category Pages using deprecated source tags)
    install salt either by using the version of salt in your distrobution's package repository or using salt's bootstrap script. unix: use your distrobution's
    5 KB (609 words) - 18:38, 11 May 2024
  • Ruby rails: routes (category Pages using deprecated source tags)
    articles#update # DELETE /articles/:id(.:format) articles#destroy # Interactive Pages on 'articles' resource # new_article GET /articles/new(.:format) articles#new
    5 KB (493 words) - 21:15, 18 March 2024
  • Evolution (category Pages using deprecated source tags)
    gnome.Evolution-alarm-notify. sudo pacman -S breeze I have had the best using lxappearance widget style: raleigh icon theme: breeze mouse cursor: breeze
    4 KB (402 words) - 14:52, 5 November 2023
  • Saltstack statefiles (category Pages using deprecated source tags)
    .sls Here are some patterns that I find myself using quite a lot NOTE: I have also encountered the use of '%h' which expands to a user's homedirectory
    5 KB (556 words) - 21:38, 20 March 2021
  • OSX Catalina: work (category Pages using deprecated source tags)
    universal-ctags \ gems sudo gem install ripper-tags sudo gem install solargraph neovim # neovim brew install neovim # don't use nix, coc-solargraph requires writable
    7 KB (539 words) - 14:53, 19 April 2024
  • Gpg keys (category Pages using deprecated source tags)
    encrypt/decrypt using subkey # encrypt echo foo \ | gpg --encrypt -r user@domain.com `# encrypt` \ | gpg `# decrypt` revoke I haven't used this yet. gpg
    5 KB (636 words) - 03:21, 29 May 2022
  • Vim plugins (category Pages using deprecated source tags)
    Vim is extremely extensible, both using viml and python (if it is compiled into your version of vim). If you are looking for directions for creating your
    8 KB (76 words) - 23:34, 23 February 2024
  • Saltstack pillar (category Pages using deprecated source tags) (section Using Pillar)
    youre pillar's output. If using a traditional saltmaster setup, configuration goes into your /usr/local/etc/salt/master. If using a masterless setup, configuration
    6 KB (626 words) - 12:11, 25 April 2019
  • Unix filesystem permissions (category Pages using deprecated source tags)
    deleted by root, is not dumped, On linux, this is controlled using chattr, on bsd you use chflags . ls -lo # ls, displaying immutable bit chflags noschg
    6 KB (705 words) - 18:58, 12 February 2023
  • Steam proton (category Pages using deprecated source tags)
    also install proton independently of steam, using their github repo. - install steam - install a game using proton (to install a proton dist) WARNING: this
    8 KB (723 words) - 01:12, 28 August 2023
  • Python datatypes (category Pages using deprecated source tags)
    (equality, ...) and/or the fields (defaults, ...). You can add custom validation using the __post_init__() method. import dataclasses from typing import Tuple @dataclasses
    8 KB (846 words) - 01:22, 6 February 2022
  • Saltstack configuration (category Pages using deprecated source tags)
    else you may find you need. Since I'm working alone, I've been quite happy using simply base. user: salt # user to run salt as file_roots: # root of salt-states
    9 KB (779 words) - 19:34, 27 August 2023
  • Windows 10 (category Pages using deprecated source tags)
    and enable - chocolatey to install packages # Settings can't be opened using the Built-in Administrator account # (untested) HKEY_LOCAL_MACHINE\SOFTW
    8 KB (736 words) - 19:04, 9 March 2024
  • Couchdb (category Pages using deprecated source tags)
    the lack of vi-mode, and aliases makes me struggle more than just simply using curl. but it did help me quickly understand couchdb's concepts, and that
    9 KB (1,027 words) - 16:54, 14 February 2021
  • Ruby rails: models (category Pages using deprecated source tags)
    useful. NOTE: You can automatically create a model and CRUD views/controllers using scaffolds # create model 'User', # db-migration to create table 'users' rails
    11 KB (1,121 words) - 15:03, 6 May 2024
  • Visualstudio 16 (2019) (category Pages using deprecated source tags)
    com/thank-you-downloading-visual-studio/?sku=community&rel=16&utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=link+cta&utm_content=download+commandli
    1 KB (69 words) - 03:44, 3 March 2021
  • Nodejs events (category Pages using deprecated source tags)
    execute synchronously in the order they were enqueued. You can make them async using timers. event.on('start', setTimer(() => { console.log('foo') }, 0))
    2 KB (134 words) - 23:20, 4 July 2021
  • Talon configuration (category Pages using deprecated source tags)
    '#<phrase>: skip()' in '~/.talon/user/knausj_talon/modes/sleep_mode.talon' When using multiple monitors, align at the top edge (otherwise talon help windows cut-off
    1 KB (131 words) - 16:01, 23 January 2021
  • Protontricks (category Pages using deprecated source tags)
    winetricks for proton. select games using their id, then run winetricks within that wine-prefix's environment. pacaur -S protontricks-git protontricks
    1 KB (139 words) - 03:25, 13 November 2021
  • Python reprint (category Pages using deprecated source tags)
    asynchronous progressbars. Notably, it does not do this using curses (but I am uncertain if it uses windows). import reprint # NOTE: internval an integer
    654 bytes (69 words) - 23:13, 22 August 2020
  • Cpp qt: cmake (category Pages using deprecated source tags)
    include `CMAKE_CURRENT_SOURCE_DIR`, `CMAKE_CURRENT_BINARY_DIR` set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # export compile.json (used by linter) find_package(Qt5Widgets
    1 KB (173 words) - 21:18, 8 February 2019
  • Standards: users and groups (category Pages using deprecated source tags)
    Information Source windows (see rules for logon names) https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/bb726984(v=technet
    1 KB (59 words) - 01:33, 19 May 2018
  • Visualstudio 15 (2017) (category Pages using deprecated source tags)
    https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2017 https://docs.microsoft.com/en-
    1 KB (99 words) - 00:02, 9 March 2019
  • Docker install (category Pages using deprecated source tags)
    sudo pacman -S docker sudo systemctl enable docker sudo systemctl start docker sudo docker info # test that daemon is running sudo usermod -a -G docker
    1 KB (127 words) - 21:01, 21 April 2020
  • Ruby jekyll components (category Pages using deprecated source tags)
    sass preprocessed stylesheets index.(md|html|textile) # your site's main page mkdir _includes touch _includes/post-standard.css # create your CSS snippet
    1 KB (137 words) - 01:01, 28 February 2021
  • Cpp qt: signals (category Pages using deprecated source tags)
    project/include/mybutton.h #ifndef MYBUTTON_H #define MYBUTTON_H #include <QtWidgets/QPushButton> #include <iostream> class MyButton: public QPushButton
    1 KB (138 words) - 21:38, 8 February 2019
  • Kenshi (category Pages using deprecated source tags)
    blocking strength: used in attk-dmg for blunt type weapons dexterity: used in attk-dmg for cutting type weapons <weapon_skill>: used in calculation of raw
    2 KB (168 words) - 20:24, 3 January 2020
  • Openbox (category Pages using deprecated source tags)
    configurable floating window manager. openbox --reconfigure # reload config Use xev to determine key-name to bind xev equal keybidnding (see 'equal') KeyPress
    2 KB (90 words) - 01:17, 26 January 2023
  • Wsl (category Pages using deprecated source tags)
    Windows-Subsystem-For-Linux lets you run a linux kernel on top of a windows system. WSL-1 uses a translation layer (like cygwin/msys) for system calls. This documentation
    739 bytes (56 words) - 20:09, 3 January 2021
  • Java maven: dependencies (category Pages using deprecated source tags)
    maven can manage downloading your project's dependencies from it's package repository. Find Dependency in maven-repo Search https://mvnrepository.com/search
    1 KB (85 words) - 15:43, 6 April 2019
  • Python numpy (category Pages using deprecated source tags)
    Numpy introduces C arrays into python, alongside several fast/compiled functions for operating on those arrays. array = numpy.array([ [0, 1, 2, 3, 4],
    984 bytes (93 words) - 12:36, 19 September 2019
  • Viml exceptions (category Pages using deprecated source tags)
    v:excepton " last raised exception v:throwpoint " where last exception occurred Vim does not have exception types. It has error messages. Careful - vim
    1 KB (102 words) - 14:44, 7 April 2023
  • Microsoft windows terminal (category Pages using deprecated source tags)
    downwards facing arrow - settings: { //... "profiles": { "defaults": { //"useAcrylic": true, //"acrylicOpacity": 0.8, //"experimental.retroTerminalEffect":
    1 KB (69 words) - 14:34, 10 January 2021
  • Bash variables (category Pages using deprecated source tags)
    By default, variables are global and variables do not need to be declared. You can declare local variables, or array types. declare foo # declare global
    1 KB (143 words) - 17:10, 13 March 2022
  • Znc hosting (category Pages using deprecated source tags)
    traffic. You'll need to split them up onto separate ports if you intend to use them within a reverse proxy. See https://wiki.znc.in/Reverse_Proxy TODO: This
    1 KB (155 words) - 02:36, 26 June 2021
  • Graphqurl (category Pages using deprecated source tags)
    graphqurl is a cli graphql query tool with autocompletion. It is built overtop of curl. npm install -g graphqurl Interactive has tab completion, but without
    1 KB (112 words) - 02:49, 27 November 2020
  • Bash profiling (category Pages using deprecated source tags)
    See https://unix.stackexchange.com/questions/39644/how-can-i-profile-a-shell-script # -x: enable xtrace # -v: enable verbose mode (print line as executed)
    1 KB (142 words) - 19:37, 18 April 2021
  • Python pyenv-virtualenv (category Pages using deprecated source tags)
    pyenv-virtualenv allows you to automatically activate virtualenvs as you change directories. (just like pyenv switches python installs as you change directories)
    782 bytes (64 words) - 01:16, 4 August 2020
  • Freebsd-ports (category Pages using deprecated source tags)
    FreeBSD ports have compilation instructions for several packages that are unavailable in the binary package repo. WARNING: Avoid mixing ports and packages
    890 bytes (103 words) - 00:32, 1 July 2021
  • FreeBSD jails: networking: iface aliases jail.conf (category Pages using deprecated source tags)
    This is the easiest, and most standard way of setting up networking within jails. This is appropriate if you do not have any special needs (ex: jail specific
    619 bytes (82 words) - 15:24, 3 July 2020
  • Go termeter (category Pages using deprecated source tags)
    tool to create dynamic charts on the commandline. Built with very specific use case in mind. go get github.com/atsaki/termeter/cmd/termeter column-names
    776 bytes (87 words) - 21:28, 28 August 2020
  • Easy-move-resize (category Pages using deprecated source tags)
    Lets you use a modifer with mouseclicks to move/resize windows on macos. Similar to kde window resizer on windows. brew cask install easy-move-plus-resize
    881 bytes (78 words) - 16:04, 3 January 2021
  • Python-digitalocean authentication (category Pages using deprecated source tags)
    Python-digitalocean uses environment variables to communicate the credentials and endpoint. NOTE: Your Access Token Determines the digitalocean account
    614 bytes (54 words) - 16:00, 26 July 2020
  • Python pdb (category Pages using deprecated source tags)
    pdb is python's official builtin debugger. It lets you step through your code line-by-line, testing values until you find a problem. python -m pdb test
    696 bytes (33 words) - 20:24, 8 February 2019
  • Ufs (category Pages using deprecated source tags)
    UFS is traditionally a BSD filesystem. FreeBSD gpart destroy -F /dev/da0 # destroy partition table gpart create -s GPT /dev/da0 # create partition table
    1 KB (140 words) - 21:26, 27 September 2020
  • Python objgraph (category Pages using deprecated source tags)
    Library to help identify cause of memory leaks in your program. import objgraph objgraph.show_most_common_types() # graphviz object references by class
    1 KB (111 words) - 03:30, 28 August 2020
  • Ruby rails: scaffolds (category Pages using deprecated source tags)
    Scaffolds allow you to very quickly create a CRUD representation of something on your website in one step. It creates: model views (create, delete, update
    651 bytes (44 words) - 02:15, 10 April 2020
  • Rez troubleshooting (category Pages using deprecated source tags)
    must be current, and without changes git repo-top must be accessible (if using submodules, must have the top-most level .git directory) avoid permissions
    1 KB (127 words) - 15:57, 26 March 2019
  • Jinja2 template syntax (category Pages using deprecated source tags)
    if foo in bar -%} Key = Value {% endif -%} dictionaries can be accessed using periods instead of [] {% set foo = {'a': {'b': None}} %} {{ foo.a.b }} You
    1 KB (121 words) - 17:09, 26 July 2020
  • Gawk matching (category Pages using deprecated source tags)
    print "match found"; } }' #> match found The matched text is identified using global variables. RSTART // the first matching character RLENGTH // the number
    2 KB (165 words) - 00:22, 17 July 2022
  • Mutt offlineimap (category Pages using deprecated source tags)
    will set up a folder-hook that sources account settings when mailbox is loaded. # ~/.mutt/muttrc folder-hook work/* source +/.mutt/folders/work
    976 bytes (114 words) - 22:19, 1 January 2021
  • Sphinx recommonmark (category Pages using deprecated source tags)
    ${PACKAGE}/source/conf.py extensions = [ 'recommonmark', 'sphinx.ext.autosectionlabel', ] autosectionlabel_prefix_document = True # allow use both .rst
    1 KB (93 words) - 15:53, 14 March 2021
  • Python boto3 (category Pages using deprecated source tags)
    boto3 is a module used to control amazon AWS services from python. Boto3 controls Amazon AWS services using various clients attached to a single session
    1 KB (98 words) - 16:15, 13 March 2019
  • Certbot example: standalone (category Pages using deprecated source tags)
    If you aren't running a webserver, you can use the certbot standalone renewal. It will spin up it's own webserver just for the cert renewal. Generate Certificate
    708 bytes (72 words) - 03:14, 2 May 2020
  • Nodejs modules (category Pages using deprecated source tags)
    expose https://nodejs.dev/learn/expose-functionality-from-a-nodejs-file-using-exports
    2 KB (155 words) - 23:43, 31 July 2021
  • Cbsd jail setup (category Pages using deprecated source tags)
    Generally, cbsd is used similarly to vagrant. Build instructions are written to CBSDfile, and the server is built using sudo cbsd up. # pass params by
    1,018 bytes (101 words) - 02:43, 9 June 2020
  • Sphinx myst (category Pages using deprecated source tags)
    markdown syntax. # ${PACKAGE}/requirements.txt sphinx myst_parser # ${PACKAGE}/source/conf.py extensions = [ 'myst_parser', ] # some title Some `text`. An [external
    2 KB (102 words) - 17:44, 13 August 2021
  • Csharp xml docs (category Pages using deprecated source tags)
    also supports javadoc style comments /** <summary>blah</summary> */ Tags You use XML tags in your class. /// <summary> Description of blah <c>inline-code</c>
    2 KB (187 words) - 04:13, 30 October 2019
  • At (category Pages using deprecated source tags)
    at is a tool that schedules a job to run once, at a specific time. You can combine with notify-send for reminders. These jobs persist on reboot. sudo pacman
    955 bytes (110 words) - 17:38, 18 February 2023
  • Nix configuration (category Pages using deprecated source tags)
    nixos are each separate systems and each have their own configuration. This page documents the nix package manager component. You may also be interested in
    872 bytes (60 words) - 18:29, 19 December 2021
  • Systemd timer syntax (category Pages using deprecated source tags)
    Timer files can be used to control when a systemd service of the same name runs. It is similar to cron. Vdirsyncer is a good example. # /etc/systemd/system/vdirsyncer
    931 bytes (82 words) - 00:43, 31 May 2021
  • Ruby rbenv-gemset (category Pages using deprecated source tags)
    Plugin for ruby rbenv that downloads/uses ruby gems within your project directory (to keep gem isolated from each other, and avoid version requirement
    969 bytes (61 words) - 20:14, 29 March 2020
  • Groot (category Pages using deprecated source tags)
    Groot is my fileserver. music, games, movies, backups, VMs etc. It is named after an ent-like character from Guardians of the Galaxy movies/comics that
    1 KB (102 words) - 06:25, 29 December 2021
  • Xbindkeys (category Pages using deprecated source tags)
    Xbindkeys is a higher level abstraction overtop of xmodmap. It allows you to bind keys to bash one-liners. xbindkeys --multikey # capture keycode for multi-key
    1 KB (131 words) - 17:13, 27 September 2020
  • Libcaca (category Pages using deprecated source tags)
    libcaca coverts images to coloured ascii art that you can view within your terminal window. You can also integrate it with mutt so that you can get image
    558 bytes (63 words) - 00:56, 31 December 2020
  • Python mock (category Pages using deprecated source tags)
    Mocks are a tool to help you keep your unittests isolated. you can substitute a parameter with a mock object (and assign return values to it's methods)
    639 bytes (59 words) - 14:56, 29 August 2020
  • Talon install (category Pages using deprecated source tags)
    NOTE: in addition to installing talon itself, you'll need to install one of it's speech recognition modules. See talon configuration for details. NOTE:
    951 bytes (105 words) - 14:10, 8 August 2021
  • Python wavio (category Pages using deprecated source tags)
    wavio is a simple library for reading wavfiles into numpy arrays, and converting them back into numpy arrays. NOTE: Personally, I found the private methods
    749 bytes (74 words) - 11:28, 21 September 2019
  • Xpadneo (category Pages using deprecated source tags)
    Designed for Xbox One S v2 controllers over bluetooth. Full feature support, and confirmed working even through wine/proton games. For wine/proton games
    690 bytes (70 words) - 02:51, 27 June 2021
  • Zathura (category Pages using deprecated source tags)
    config ~/.local/share/zathura program data, notably history (with current page info)
    1 KB (76 words) - 19:19, 7 August 2022
  • Bash filesystem (category Pages using deprecated source tags)
    [ -e ~/.bashrc ] && echo "path exists" [ -f ~/.bashrc ] && echo "file exists" [ -d ~/.vim ] && echo "dir exists" [ -L ~/.bashrc ] && echo "symlink exists"
    1 KB (133 words) - 03:36, 17 November 2021
  • Ruby attributes (category Pages using deprecated source tags)
    begin with @ instance variables are defined in the constructor. they cannot be read/written unless they are declared with an accessor a getter/setter method
    2 KB (154 words) - 23:32, 5 April 2020
  • Mailcap (category Pages using deprecated source tags)
    mailcap associates mimetypes with commands used to display them. TODO: learn more about mailcap Format # %s is the file # if %s is none, contents passed
    1 KB (130 words) - 18:54, 29 December 2020
  • Tarsnap (category Pages using deprecated source tags)
    Tarsnap is a tool to encrypt/backup files remotely. You're charged for transfer, and total stored bytes. pacman -S tarsnap # archlinux pkg install tarsnap
    1 KB (107 words) - 23:16, 20 September 2020
  • Vlc (category Pages using deprecated source tags)
    A very modular video player. sudo pacman -S vlc \ `# dvd playback` \ libdvdcss \ libdvdnav \ libdvdread \ `# webcam playback` \ v4l2-utils `# linux only`
    2 KB (132 words) - 15:53, 12 February 2023
  • Star Wars Squadrons (category Pages using deprecated source tags)
    # supported natively - use nvidia surround - configure fullscreen - set resolution in game to 5760x1080 pitch up: (y-axis down) pitch down: (y-axis up)
    2 KB (114 words) - 18:44, 21 February 2021
  • IOS 14: hydrospanner (category Pages using deprecated source tags)
    # system tray - safari - mail - phone - imessage # keep - calendar - photos - notes - settings - contacts - maps Settings > Keyboard: - [ ] Auto-Correction
    2 KB (112 words) - 15:13, 23 May 2023
  • Feh (category Pages using deprecated source tags)
    feh is a simple tool for viewing images. You can view a directory as thumbnails, individual images, or set wallpapers. pacman -S feh setup-x86.exe -q -P
    1 KB (108 words) - 03:56, 2 July 2022
  • Boxstarter (category Pages using deprecated source tags)
    install -y Microsoft-Hyper-V-All -source windowsFeatures choco install -y Microsoft-Windows-Subsystem-Linux -source windowsfeatures Invoke-WebRequest -Uri
    2 KB (239 words) - 22:40, 7 December 2018
  • Python SpeechRecognition (category Pages using deprecated source tags)
    Recognizer() while True: with mic as source: recognizer.adjust_for_ambient_noise(source) audio = recognizer.listen(source) text = recognizer.recognize_sphinx(audio)
    2 KB (179 words) - 17:16, 28 September 2019
  • I3 tips and tricks (category Pages using deprecated source tags)
    screen gets annoying. Originally I solved this by using xdotool, but due to it's interference when using controllers in games, I switched to a much cleaner
    1 KB (99 words) - 21:54, 6 August 2021
  • Javascript exceptions (category Pages using deprecated source tags)
    class CustomError extends Error { /* ... */} ecmascript <6 stack-overflow // source: https://stackoverflow.com/questions/464359/custom-exception-type function
    2 KB (171 words) - 15:00, 6 June 2021
  • Cpp magic methods (category Pages using deprecated source tags)
    public: MyClass (int, int); // constructor ~MyClass; // destructor }; // source MyClass::MyClass (int a, int b) { cout << "constructed with args" << a <<
    1 KB (141 words) - 23:10, 29 November 2018
  • Python trepan (category Pages using deprecated source tags)
    test.py 'a' 'b' ## Separate trepan options from pythonScript options ## using '--' (like xorg) from trepan.api import debug debug()
    902 bytes (91 words) - 22:16, 6 May 2018
  • I3 usage (category Pages using deprecated source tags)
    you can use this to have multiple independently stacked vert-splits After choosing a location for i3's IPC socket, you can communicate with it using the commandline
    2 KB (191 words) - 21:52, 6 August 2021
  • Pf usage (category Pages using deprecated source tags)
    # Firstly, log packets affected by your 'block-everything' rule # using the syntax: `block log all` sudo tcpdump -n -e -ttt -i pflog0 # watch log sudo
    1 KB (181 words) - 22:33, 14 June 2020
  • Java install (category Pages using deprecated source tags)
    and Oracle. oracle jdk Must acquire license to use commercially. Comes with additional tools. Built using openjdk.
    864 bytes (40 words) - 18:39, 9 February 2019
  • Gpg usage (category Pages using deprecated source tags)
    required You can cache the private key's password after login using gpg agent echo "text" | gpg --encrypt \ --armor `# (opt) chars restricted to ASCII`
    2 KB (187 words) - 22:52, 8 April 2023
  • Iexpress (category Pages using deprecated source tags)
    a unique filename. I started embedding zipfiles within the archive, and using .bat files to extract/run the desired program WARNING: CAB files have a maximum
    2 KB (192 words) - 17:11, 2 February 2020
  • Ranger (category Pages using deprecated source tags)
    shell in current dir :bulkrename " display selected filenames in vim, rename using vim You can perform more complicated bulk renames with vim itself. " populate
    2 KB (111 words) - 16:02, 6 June 2022
  • Python qt: modelview (category Pages using deprecated source tags)
    I've found the following pattern very flexible while using model/view in Qt. It allows you to reuse behaviours (in form of QActions) in different model/view
    2 KB (174 words) - 16:37, 26 May 2019
  • Python setuptools: project info (category Pages using deprecated source tags)
    the install environment is suitable for your project using classifiers. import setuptools setuptools.setup( classifiers = [ # Project Maturity 'Development
    2 KB (132 words) - 17:39, 3 August 2020
  • Elasticsearch (category Pages using deprecated source tags)
    }, "tagline" : "You Know, for Search" } ElasticSearch is interfaced with using HTTP methods. The query itself is encoded in the JSON payload. curl -X POST
    2 KB (118 words) - 20:20, 25 January 2021
  • Viml input/output (category Pages using deprecated source tags)
    :messages) You can see the history of printed output (at least echom output) using :messages There are other variations on echo, see help echo. call delete
    2 KB (200 words) - 00:04, 24 December 2021
  • Cmake datatypes (category Pages using deprecated source tags)
    "<anything>-NOTFOUND" # ==== # True # ==== #.. any other set variable.. MESSAGE( "Using Home Directory: $ENV{HOME}" ) # environment variables are in the namespace
    2 KB (155 words) - 18:55, 18 May 2018
  • Cmder (category Pages using deprecated source tags)
    cmder is the closest that I have come to using tmux natively on windows, and that makes me very happy. tmux-style panes unix-style tab completion tabs
    1 KB (121 words) - 18:52, 27 August 2023
  • Javascript generators (category Pages using deprecated source tags)
    functions allow you to change context and return without losing context. You can use this to create infinite loops, factories, etc. Similar to python generators
    1 KB (84 words) - 12:06, 6 June 2021
  • Elisp datatypes (category Pages using deprecated source tags)
    Lisp is dynamically typed, a variable can contain any type of value. It's type is determined by the contents. (defvar my_variable "my_variable_value")
    1 KB (116 words) - 18:53, 11 January 2020
  • Ruby jekyll usage (category Pages using deprecated source tags)
    created in the _drafts directory. A post's name must use valid-URL characters (no spaces), and use the extension of your desired markup language. touch
    1 KB (132 words) - 00:55, 28 February 2021
  • Arch ABS (category Pages using deprecated source tags)
    The Archlinux ABS system allows you to modify and alter/recompile packages from the official repos. pacman -S asp # tool to checkout specific port asp
    1 KB (123 words) - 18:28, 25 December 2021
  • Shadowenv (category Pages using deprecated source tags)
    but it is intended for macos. I'm not sure I can depend on shadowenv. Maybe use direnv instead. pacman -S rust git clone https://github.com/Shopify/shadowenv
    716 bytes (66 words) - 00:22, 9 August 2020
  • Keepassxc (category Pages using deprecated source tags)
    A fully cross platform keepass implementation. see also keepassxc-cli. sudo pacman -S keepassxc # archlinux gsudo choco install keepassxc # windows Aside
    2 KB (125 words) - 23:35, 8 April 2023
  • Cpp Python to cpp (category Pages using deprecated source tags)
    This page is to help me with the transition, creating bridges between information I know in python, and what it's equivalent is in cpp. sizeof(va ); //
    800 bytes (79 words) - 15:20, 9 February 2019
  • Jail maintenance (category Pages using deprecated source tags)
    NOTE: # cat /etc/os-release # innacurate if freebsd-upgrade used # uname -a # innacurate, jails use host kernel freebsd-version # prints version (confirmed
    2 KB (181 words) - 23:47, 2 June 2023
  • Icalendar thirdparty syntax (category Pages using deprecated source tags)
    Some programs make use icalendar, but extend it with additional fields. Thunderbird has a feature that lets you perform a snooze operation on alarms or
    1 KB (128 words) - 23:22, 9 July 2020
  • Nodejs http (category Pages using deprecated source tags)
    const http = require('http'); const server = http.createServer((req, res) => { res.statusCode 200; res.setHeader('Content-Type', 'text/html'); res.end('<h1>hello
    2 KB (123 words) - 00:30, 5 July 2021
  • Sqlite datatypes (category Pages using deprecated source tags)
    NULL # null TEXT # a string INTEGER # integer (no bool!) REAL # floating point number BLOB # blob of binary data, stored exactly SQLite does not have a
    2 KB (181 words) - 15:21, 12 February 2021
  • Sqlite syntax (category Pages using deprecated source tags)
    # All Tables SELECT name FROM sqlite_master WHERE type = "table" PRAGMA table_info(table_name) # Columns in Table PRAGMA index_list(table_name) # Indexes
    2 KB (121 words) - 16:50, 12 February 2021
  • Bitlbee discord: configuration (category Pages using deprecated source tags)
    Each discord account will need to be registered within bitlbee. (bitlbee supports connecting simultaneously to multiple discord accounts). account list
    1 KB (140 words) - 02:59, 26 August 2023
  • Elite Dangerous: Jobs (category Pages using deprecated source tags)
    If you stubled on a lucrative job, and want to record it: - 4: view right display - status: ? # list recent jumps (identify recent jumps) - 1 > galaxy
    1 KB (155 words) - 02:59, 13 March 2021
  • OVR toolkit (category Pages using deprecated source tags)
    Launch after another VR application, and it allows you to embed/control windows within your VR headset. - SteamVR > Settings: # outside of VR - startup/shutdown
    1 KB (91 words) - 23:10, 10 March 2021
  • Dovecot (category Pages using deprecated source tags)
    Dovecot is an IMAP server. You can use it to receive email. TODO: this page is a mess Create Self-Signed SSL Certificate openssl genrsa -des3 -out dovecot
    1 KB (175 words) - 03:09, 18 February 2022
  • Freebsd syscons (category Pages using deprecated source tags)
    conf vt.kern.vty = "sc" # enable syscons export TERM=xterm # required to use vidcontrol command kldload vesa # unless already loaded vidcontrol -i mode
    2 KB (104 words) - 02:04, 8 February 2021
  • Java functional programming (category Pages using deprecated source tags)
    Streams are the primary interface for dealing with functional programming paradigms in java. Streams are covered in much greater detail in java datatypes
    2 KB (190 words) - 15:57, 8 June 2019
  • Ftp (category Pages using deprecated source tags)
    FTP (File Transfer Protocol) is a client/server way of exposing/downloading files. This documentation refers to the FTP commandline client. # connect to
    2 KB (140 words) - 14:05, 13 June 2020
  • Python exceptions (category Pages using deprecated source tags)
    You can get a list of all of the builtin predefined exceptions here: https://docs.python.org/2/library/exceptions.html You can also define your own custom
    2 KB (173 words) - 18:27, 15 February 2019
  • Ruby rails: usage (category Pages using deprecated source tags)
    Rails rails new -h # subparser help rails --version # print rails version rails server # start server (default) http://localhost:3000 rails console # pry
    2 KB (124 words) - 22:18, 16 November 2020
  • Powershell datatypes (category Pages using deprecated source tags)
    $cwd = get-location # save output of cmdlet to variable $cwd # print variable $cwd | get-member # pipe objects to get-member to present information about
    2 KB (177 words) - 03:57, 19 September 2018
  • Kybook2 (category Pages using deprecated source tags)
    Supports book formats pdf, epub, fb2, djvu, mobi, azw3, cbr, cbz, cbt etc. Archive formats zip/rar/tar And synchronization over CIFS/SMB! WARNING: superceeded
    1 KB (73 words) - 04:09, 31 August 2022
  • Navit (category Pages using deprecated source tags)
    Highly configurable cross platform turn-by-turn GPS navigation app. Mobile friendly layout. sudo pacman -S navit See mmcli Download a mapset # Interactive
    2 KB (106 words) - 20:28, 7 February 2021
  • Weechat scripts (category Pages using deprecated source tags)
    functionality. Weechat comes bundled with it's own package manager you can use to install these scripts. /script search vimode # search /script install vimode
    1 KB (66 words) - 02:28, 26 August 2023
  • Avahi (category Pages using deprecated source tags)
    Avahi is a linux mdns implementation. It allows you to resolve hostnames to ip addresses over your local network. sudo pacman -S avahi sudo pacman -S nss-mdns
    1 KB (114 words) - 20:26, 7 November 2020
  • Xow (category Pages using deprecated source tags)
    warned, it's a bit of a CPU-hog. Supports up to 8x controllers. WARNING: use xone now instead pacaur -S xow-git systemctl enable --now xow.service # enable
    1 KB (95 words) - 02:20, 27 August 2023
  • Xorg configuration (category Pages using deprecated source tags)
    Xorg is mostly self-configuring now, but you can still configure it with files. sudo Xorg -configure :1 # autoconfigure xorg in /root/xorg.conf.new (change
    1 KB (109 words) - 01:50, 17 April 2022
  • Dropbox (category Pages using deprecated source tags)
    Dropbox was great. I still haven't entirely replaced it. It's insecure, proprietary, and received an update that broke compatibility with the CLI tools
    745 bytes (80 words) - 18:19, 23 November 2019
  • Python futures (category Pages using deprecated source tags)
    Python's futures module introduces the concept of Executors and Futures. It reduces the overhead required to run asynchronous code. An executor is initialized
    862 bytes (91 words) - 18:45, 15 February 2019
  • I3blocks (category Pages using deprecated source tags)
    i3blocks is a menubar designed to be used with i3 similar to xmobar/dzen. pacman -S i3blocks pacaur -S i3blocks-contrib # additional scripts i3-msg restart
    2 KB (101 words) - 18:27, 21 August 2021
  • Python sqlite3 (category Pages using deprecated source tags)
    commit() conn.close() By default cursors are a tuple. If you'd like a dict, use the sqlite3.Row row factory. conn.row_factory = sqlite3.Row cursor = conn
    1 KB (115 words) - 19:31, 12 February 2021
  • Freebsd dump (category Pages using deprecated source tags)
    filesystems in /etc/fstab dump -D /mnt/usb/profoak/current/dumpdates \ # Dump uses the file dumpdates to perform -0Lauf /mnt/usr/profoak/current/ada0p2.dump
    1 KB (129 words) - 17:36, 9 March 2019
  • Terminal.app (category Pages using deprecated source tags)
    in terminal Terminal > Preferences: - Profiles > Basic > Keyboard: - [x] Use Option as Meta key Terminal > Preferences: - Profiles > Basic > Shell: - When
    1 KB (97 words) - 13:02, 24 March 2020
  • Java maven plugin: javadoc (category Pages using deprecated source tags)
    docs https://maven.apache.org/plugins/maven-javadoc-plugin/ official 'usage' page https://maven.apache.org/plugins/maven-javadoc-plugin/usage.html official
    1 KB (73 words) - 16:53, 13 April 2019
  • Gdb (category Pages using deprecated source tags)
    gdb python2 run systems/core/myscript.py # when a segfault occurs, you can use the standard # gdb options to display the full backtrace bt Debian Debian-based
    2 KB (151 words) - 03:17, 10 February 2023
  • Mutt mailbox alias (category Pages using deprecated source tags)
    remote imap account. Unfortunately, not builtin to neomutt. WARNING: I haven't used this yet Compile mutt with patch mbalias work imaps://user@mysw33thost.com/
    715 bytes (65 words) - 18:10, 30 December 2020
  • Ruby cancan (category Pages using deprecated source tags)
    Cancan is a framework for defining/granting/checking permissions for an ability. WARNING: cancan has been superceeded by cancancan class Ability include
    1 KB (118 words) - 19:30, 26 May 2023
  • Mutt usage (category Pages using deprecated source tags)
    (tab-completes) # tagging # ======= T $REGEX # tag messages mathing regex t # toggle tagged ;$CMD # perform mutt-command on all tagged # ex: # T Paystub # tag all messages
    2 KB (171 words) - 23:03, 30 October 2021
  • Zfs overview (category Pages using deprecated source tags)
    Manager. A pool can be composed of one or more VDEVs VDEV Virtual Device. Can use various GEOM-providers (raw-disk, geli-partition, gpt-partition, ....) Because
    2 KB (123 words) - 16:21, 14 June 2020
  • Steam tricks (category Pages using deprecated source tags)
    open steam console: steam://nav/console - open Steam Client Bootstrapper - use download_depot command # download_depot <appid> <depotid> [<target manifestid>]
    1 KB (135 words) - 23:11, 27 August 2023
  • Redis syntax (category Pages using deprecated source tags)
    This page describe's redis' native protocol. Libraries may abstract it, but the base featureset is exposed here. KEYS '*' # list all keys TYPE key # return
    1 KB (131 words) - 23:18, 20 April 2021
  • Mpd configuration (category Pages using deprecated source tags)
    'track' representing stream mpc add http://foo.com:8000 # alternatively, use vlc http://foo.com/mpd.ogg
    2 KB (195 words) - 15:47, 16 April 2022
  • Nftables logging (category Pages using deprecated source tags)
    Logging is super important, I'm keeping this page short so that it can be used in emergencies. Some quick facts: nftables logs directly to dmesg. nftables
    1 KB (114 words) - 17:57, 3 September 2022
  • Homebrew (category Pages using deprecated source tags)
    A Community-driven package manager for osx. See also macports . NOTE: brew aims to reuse macos-provided libraries, instead of installing own copies. This
    1 KB (108 words) - 14:43, 23 August 2023
  • Slack (category Pages using deprecated source tags)
    proprietary/paid messaging platform. A desktop client is available, or you can use it from a web browser. pacaur -S slack-desktop ctrl-k # jump to channel ctrl-shift-k
    1 KB (118 words) - 21:33, 25 August 2023
  • Ruby yard (category Pages using deprecated source tags) (section Common Tags)
    options = {}) # format the object end # @author will pittman # @deprecated deprecated in favour of {#foo} # @!attribute [rw] name # @return [String] a
    2 KB (171 words) - 17:31, 26 January 2021
  • Ruby rbenv (category Pages using deprecated source tags)
    versions, similar to python virtualenv. Successor to ruby rvm. Consider using ruby chruby instead. # macos sudo port install rbenv sudo port install ruby-build
    2 KB (103 words) - 23:25, 5 November 2020
  • Html anatomy (category Pages using deprecated source tags) (section Tags/Elements)
    20px; } HTML is expressed using html elements expressed in tags (ex: <div>). Tags are opened/closed <div>...</div>. Some tags may have attributes. <img
    2 KB (241 words) - 14:04, 17 December 2022
  • Ext4 (category Pages using deprecated source tags)
    package: fusefs-ext2 # NOTE: there is a port sysutils/fusefs-ext4fs but it is deprecated # in favour of fusefs-ext2 mount -t ext2fs /dev/ad1s1 /mnt Linux You cannot
    2 KB (172 words) - 22:19, 18 September 2022
  • Sphinx install (category Pages using deprecated source tags)
    (builtins.fetchGit { url = "https://github.com/DavHau/mach-nix/"; ref = "refs/tags/3.1.1"; }) { python = "python38"; }, extra_python_requirements ? [] }: let
    2 KB (214 words) - 06:14, 28 February 2021
  • Baikal troubleshooting (category Pages using deprecated source tags)
    baikal's source code, in particular $_SERVER[] references (which refers to http headers) was very helpful for configuring the reverse proxy. Baikal uses the
    1 KB (175 words) - 01:56, 17 July 2020
  • Python setuptools: custom targets (category Pages using deprecated source tags)
    vader/jellybeans vim plugins and executes tests. """ description = 'run vimfile tests (using Vader.vim)' # --interactive/-i # --xml user_options = [ ('interactive', 'i'
    2 KB (120 words) - 18:58, 3 August 2020
  • Bash modules (category Pages using deprecated source tags)
    SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path
    2 KB (249 words) - 23:13, 29 October 2022
  • Iptables (category Pages using deprecated source tags)
    interface (eth0) SRC source ip address DST dest ip address LEN TOS PREC TTL ID PROTO networking protocol (tcp, udp, ..) SPT source-port DPT destination-port
    15 KB (1,462 words) - 20:28, 17 July 2020
  • Weechat wee-slack (category Pages using deprecated source tags)
    py autoload/ Only works if wee-slack is pre-approved. /slack register # Source https://www.nicksantamaria.net/post/slack-token-from-web-interface/ https://github
    2 KB (163 words) - 15:11, 22 May 2021
  • Ruby rails: views (category Pages using deprecated source tags)
    Views are the actual HTML websites, formatted using templating logic. They are preprocessed using ruby eruby, and have access to all @instance_vars on
    1 KB (80 words) - 16:45, 19 November 2020
  • Ruby rails: autoload (category Pages using deprecated source tags)
    nested path using Module.nesting. module A module B class C def print_nesting puts Module.nesting # [A::B::C, A::B, A] end end end end Rails 6+ uses ruby zeitwerk
    1 KB (101 words) - 01:19, 29 July 2023
  • Xmodmap (category Pages using deprecated source tags)
    their key-codes. Look up what your keyboard registers for a button press using xev. xev # get keycodes for keyboard buttons (raw) xbindkeys -k # get keycode
    1 KB (126 words) - 17:17, 27 September 2020
  • Linux Themes (category Pages using deprecated source tags)
    config/gtk-3.0/settings.ini Qt themes are set in ~/.config/qt5ct/qt5ct.conf using qt5ct pacman -S lxappearance # gui conifigure gtk-themes pacman -S qt5ct
    2 KB (141 words) - 14:15, 9 October 2022
  • IOS 10.3: hydrospanner (category Pages using deprecated source tags)
    weather - omnistat: memory - omnistat: cpu - calendar Instead of using itunes, I've opted to use flacbox. It allows you to define an SMB share, and browse/download
    2 KB (164 words) - 02:36, 28 August 2021
  • Npm package management (category Pages using deprecated source tags)
    npm is the nodejs package manager. It can be used to install packages to your os, or you can use a package.json file to manage a project's dependencies
    1 KB (93 words) - 19:06, 4 July 2021
  • Python flask: troubleshooting (category Pages using deprecated source tags)
    properly (it will return the route without the sublocation). You can fix this using: https://github.com/antarctica/flask-reverse-proxy-fix This is caused when
    1,017 bytes (122 words) - 15:48, 9 September 2019
  • Cmake basics (category Pages using deprecated source tags)
    CTests (*.cmake files run using ctest executable) Each type of file has it's own set of available commands. script commands can be used anywhere. project commands
    2 KB (175 words) - 18:47, 18 May 2018
  • Codemod (category Pages using deprecated source tags)
    codemod is a fantastic, and flexible tool for refactoring your code and previewing changes as you go. Regex, and multiline-regex are both supported. NOTE:
    2 KB (160 words) - 20:06, 4 November 2021
  • VimPlugin: Drawit (category Pages using deprecated source tags)
    taking notes. While you're in Visual Block mode, you can block out a chunk and use '\a' '\b' '\l' and others to convert the selection into another type of drawing
    639 bytes (83 words) - 19:38, 30 March 2019
  • Javascript functions (category Pages using deprecated source tags)
    this.printx.bind(B) } // this.printb uses value of 'x' from 'B' printx() { console.log(this.x); } // this.printx uses value of 'x' from 'A' } const a = new
    2 KB (180 words) - 12:12, 5 February 2023
  • Javascript objects (category Pages using deprecated source tags)
    siblings[0] student.skills.drawing student['skills']['drawing'] Objects can also be used in place of classes. function Student(name, age) { this.name = name this
    2 KB (158 words) - 23:07, 23 May 2021
  • Python qt: qapplication (category Pages using deprecated source tags)
    QWidgets make extensive use of an eventloop to communicate between each other, and handle widget construction/deletion. Any code making use of signals/slots requies
    641 bytes (78 words) - 22:53, 21 May 2018
  • Ruby file (category Pages using deprecated source tags)
    NOTE: There is no such thing as ruby packages. Only modules, and namespaces. #!/usr/bin/env ruby -w This is how you import the module. paths can be absolute
    2 KB (155 words) - 13:50, 10 September 2020
  • VimPlugin: RopeVim (category Pages using deprecated source tags)
    python rope is a library for refactoring python code. ropevim is a vim interface to this library. # vimrc Plugin 'https://github.com/python-rope/ropevim
    1 KB (158 words) - 16:30, 14 February 2021
  • Javascript arguments (category Pages using deprecated source tags)
    number of args console.log(arguments[2]) // the 3rd arg } foo(1, 2, 3) You can use ...var to expand an array as function parameters. Like splat, or list expansion
    2 KB (134 words) - 11:48, 6 June 2021
  • Sphinx usage (category Pages using deprecated source tags)
    Sphinx is made to be extremely simple to run, a makefile is created in your configured directory (generally doc), you simply need to go in there, and type
    603 bytes (80 words) - 12:46, 4 July 2022
  • Ruby sidekiq (category Pages using deprecated source tags)
    Sidekiq lets you run background jobs in ruby. Queues must be configured in advance. Queues may be assigned a priority score by setting them within a list
    2 KB (92 words) - 14:27, 20 June 2023
  • Msi troubleshooting (category Pages using deprecated source tags)
    msiexec /log log.txt /i file.msi It is possible for a user to not be an administrator, but be assigned some administrator privileges. If the GUI indicates
    2 KB (101 words) - 16:57, 16 December 2019
  • Python decorators (category Pages using deprecated source tags)
    decorator the decorator returns the wrapped function Here is an example I used to mock `input` vs `raw_input` in python 3/2. def mock_input(return_value):
    2 KB (187 words) - 19:15, 29 August 2020
  • Dns basics (category Pages using deprecated source tags)
    DNS lookup host google.com # output: # tcpdump: verbose output suppressed, use -v[v]... for full protocol decode # listening on wlp3s0, link-type EN10MB
    1 KB (234 words) - 17:15, 20 June 2021
  • Batch filesystem (category Pages using deprecated source tags)
    REM read file line-by-line set TEXT_T="C:\file.txt" for /f "eol= tokens=* delims= usebackq" %%i in (%TEXT_T%) do ( echo %%i ) REM count lines in file FINDSTR
    2 KB (216 words) - 16:27, 10 July 2021
  • Pf configuration (category Pages using deprecated source tags)
    # /etc/rc.conf pf_enabled="YES" # enable service gateway_enable="YES" # set if you will be NAT, or forwarding packets to other servers pflog_enable="YES"
    2 KB (169 words) - 12:16, 31 May 2020
  • Samba usage (category Pages using deprecated source tags)
    preference) mklink /d C:\mnt\movies \\hostname\movies map share to drive-letter NET USE x: \\hostname\share /USER:<user> <password> /PERSISTENT YES mount from commandline
    2 KB (245 words) - 03:09, 25 April 2021
  • Outward crafting (category Pages using deprecated source tags)
    cierzo: - eggs - fish - seaweed - raw meat - turmmips # beetles - ochre beetles - gravel beetles # minerals - mana stones - salt swamp: - blood mushrooms
    2 KB (209 words) - 18:21, 14 August 2021
  • Bug.n (category Pages using deprecated source tags)
    Bug.N emulates dwm in windows. It struggles a bit with some application windows (like file browsers). # Disable Win+L Hotkey (lock machine) reg add HK
    2 KB (155 words) - 19:51, 9 January 2021
  • Ruby exceptions (category Pages using deprecated source tags)
    Only StandardError and subclasses interrupt execution (this is the default exception) begin # try rescue # except rescue Exception => exc # except Exception
    2 KB (170 words) - 15:28, 31 October 2023
  • Weechat script vimode (category Pages using deprecated source tags)
    custom vimode keybindings can be configured. /script install vimode.py Use ctrl+space to enter normal-node. /vimode bind_keys ctrl-Wx /command # bind normal-mode
    2 KB (157 words) - 22:37, 27 July 2020
  • Msvc (category Pages using deprecated source tags)
    MSVC (visualstudio) is window's official compiler (that that platform is built around). Visual studio versioning is frustrating, but wikipedia has a fantastic
    2 KB (89 words) - 02:56, 3 March 2021
  • Bash streams (category Pages using deprecated source tags)
    Most of the bash Programs: coreutils are designed to used together in a pipeline. The output of one can be redirected to the input of another. Example
    2 KB (197 words) - 02:19, 25 January 2023
  • Nginx syntax (category Pages using deprecated source tags)
    header, servername $http_host # Host header value $https # "on","" if SSL used $request_method # the HTTP method (GET,POST,...) $request_uri # original
    2 KB (221 words) - 20:13, 19 June 2022
  • Python flask-restless (category Pages using deprecated source tags)
    Support SQLAlchemy query syntax within API routes # list entries in table 'users' where column 'age' > 30 curl -G \ -H 'Content-type: application/json'
    937 bytes (36 words) - 11:42, 26 July 2019
  • Mozilla deepspeech (category Pages using deprecated source tags)
    There are two variations of tensorflow available - one that uses NVIDIA gpus, and one that uses the cpu only. I haven't had success installing cuda/deepspeech-gpu
    2 KB (146 words) - 16:51, 21 September 2019
  • Pacaur (category Pages using deprecated source tags)
    A semi-automated program to facilitate installing/updating archlinux arch AUR packages. Params mirror those of pacman, and it prompts you for code review
    956 bytes (80 words) - 13:59, 13 August 2021
  • VimPlugin: deoplete (category Pages using deprecated source tags)
    Deoplete aims to serve purely as an autocompleter. It is the first asynchronous autocompleter for vim, and is much faster than VimPlugin: YouCompleteMe
    525 bytes (61 words) - 19:37, 14 February 2021
  • Ruby variables (category Pages using deprecated source tags)
    # local variables variable = "some string" # local variables lowercase variables, start [a-z_] _variable = "some other string" # global variables $variable
    2 KB (152 words) - 18:56, 28 April 2020
  • Go chart (category Pages using deprecated source tags)
    Chart is a go program that makes it easy to render diagrams both inside your console and out. go get -u github.com/marianogappa/chart # ? cd ~/go/src/githug
    1 KB (157 words) - 20:45, 28 August 2020
  • C anatomy (category Pages using deprecated source tags)
    By convention, main.c is the target to be compiled into an executable. When built/run, the contents of the function int main() is the code that actually
    2 KB (248 words) - 21:24, 16 November 2018
  • Python htpasswd (category Pages using deprecated source tags)
    user authentication. See htpasswd for notes. NOTE: Most systems that use htpasswd use the C crypt library to compare password hashes. Crypt's algorithms
    869 bytes (78 words) - 12:16, 25 April 2019
  • Blue yeti nano (category Pages using deprecated source tags)
    A USB microphone. NOTE: hold rear button to toggle enable/disable live monitoring of recording (hearing your voice). Where applicable, the output frequency
    1 KB (137 words) - 23:53, 16 July 2021
  • Viml quickfix/loclist (category Pages using deprecated source tags)
    Vim's quickfix is a global window that you can populate and use to jump between files. Vim's loclist is a window-specific window that behaves the same
    1 KB (99 words) - 19:35, 26 June 2022
  • Ruby rails: translation (category Pages using deprecated source tags)
    interpolation t('key', price: "${price}") # alters substitutions of 'price'. use a variable for regional t('key', price: "{price}$") See #l method (localize)
    2 KB (100 words) - 01:19, 10 April 2020
  • Statnot (category Pages using deprecated source tags)
    the bar, or pipe information to a particular section of the bar. I like using it because I can pipe notifications to all of my tmux statusbars (which means
    894 bytes (74 words) - 02:10, 14 May 2021
  • Git diff-so-fancy (category Pages using deprecated source tags)
    more readable. https://github.com/so-fancy/diff-so-fancy NOTE: I've stopped using this globally. It wasn't working consistently everywhere. Instead, I really
    709 bytes (78 words) - 22:30, 29 October 2022
  • Python samplerate (category Pages using deprecated source tags)
    for libsamplerate. It can use a variety of algorithms to adjust the samplerate of a wavfile expressed as a numpy array using a multiplier. It cannot convert
    621 bytes (81 words) - 21:28, 7 September 2019
  • Python qt: bitwise operations (category Pages using deprecated source tags)
    Many of Qt options are set with binary numbers, and are operated on using bitwise operators. # int to binary bin(2) #>> '0b10' (ignore '0b' prefix) # binary-str
    1 KB (160 words) - 17:44, 11 February 2020
  • Java anatomy (category Pages using deprecated source tags)
    * This is a documentation-comment (doctag) for MyOtherClass. * html tags can be used within javadoc comments. * */ public class MyOtherClass { /** * Prints
    2 KB (243 words) - 19:44, 2 November 2019
  • Pulseaudio usage (category Pages using deprecated source tags)
    speakers pacmd set-default-source ${SOURCE_NAME} # change default mics pacmd list-sink-inputs # all played audio streams pacmd list-source-outputs # all recorded
    3 KB (207 words) - 19:42, 7 August 2021
  • Xml (category Pages using deprecated source tags)
    element --> Tags may contain attributes (<tag a="a" b="b">...</tag>) Tags may also be assigned a text value (<tag "text">...</tag>) Namespace <tag xmlns="http://www
    3 KB (282 words) - 20:33, 22 August 2021
  • Java maven (category Pages using deprecated source tags)
    JAVA_HOME=/usr/lib/jvm/default # which JDK version should be used? mvn package # build jar from source java -jar target/package.jar # run compiled src Maven is
    2 KB (164 words) - 00:10, 9 November 2019
  • FreeBSD jails: networking: iface aliases rc.conf (category Pages using deprecated source tags)
    up jails with networking. It is much simpler to do this as of FreeBSD-11 using jail.conf # /etc/rc.conf # In Jail config in rc.conf, you can share a network
    1 KB (167 words) - 15:24, 3 July 2020
  • Boto3 route53 (category Pages using deprecated source tags)
    They are assigned a value by adding a tag to the healthcheck resource with the key 'Name'. see client.change_tags_for_resource. client.list_health_checks()
    2 KB (174 words) - 16:14, 13 March 2019
  • Vim helpfile syntax (category Pages using deprecated source tags) (section Generating TagFiles)
    filename. The last line should be a modeline that at the very least specifies to use ft=help " navigate to your vim plugin's rootdir :helptags doc/
    2 KB (98 words) - 16:13, 13 April 2019
  • Ctags (category Pages using deprecated source tags)
    ctags recurses through your source tree, and records classes, methods etc. Currently, the most active derivative of ctags is universal-ctags . ctags (bsd
    3 KB (235 words) - 02:26, 25 October 2021
  • Fstab (category Pages using deprecated source tags)
    NOTE: the man page is very succinct, and helpful. divided numerically into components # src # dst # filesystem # mount-opts # dump # fsck /source /dest ext4
    2 KB (238 words) - 16:41, 23 November 2019
  • Viml variables (category Pages using deprecated source tags)
    local-variable - Local to a function. s:var " script-variable - Local to a :source ed Vim script. a:var " function-argument - Function argument (only inside
    2 KB (200 words) - 17:55, 30 July 2023
  • Elite Dangerous: Star Map (category Pages using deprecated source tags)
    economy and filter by product (aluminium, beryllium). Make your selection using the ShowAll/Clear buttons or by dragging over the boxes.
    2 KB (209 words) - 00:11, 9 March 2021
  • Fallout4 Troubleshooting (category Pages using deprecated source tags)
    the cause of my problem. player.moveto player This bug came up when I was using a mod that had only partially been installed. player.moveto 0002f25 # move
    2 KB (167 words) - 03:32, 11 November 2021
  • Batch variables (category Pages using deprecated source tags)
    to echo or test your variable within that scope instead of using the syntax echo %variable% use the syntax echo !variable! @setlocal enableextensions en
    2 KB (180 words) - 16:29, 10 July 2021
  • Imagemagick (category Pages using deprecated source tags)
    cropping/resizing. pacman -S graphicsmagick gm display img.png # right click for options Using identify format you can pick out the information you'd like to obtain from
    1 KB (154 words) - 18:18, 17 July 2020
  • Python datetime (category Pages using deprecated source tags)
    your UTC offset. NOTE: You can do this yourself, but I highly recommend using python pytz instead. WARNING: You should always immediately sanitize all
    2 KB (214 words) - 19:17, 6 May 2018
  • Npm package.json (category Pages using deprecated source tags)
    k-json-file version syntax https://nodejs.dev/learn/semantic-versioning-using-npm/
    2 KB (118 words) - 18:52, 4 July 2021
  • Linux etc (category Pages using deprecated source tags)
    device such as a CDrom. User Info: A list of computers that can be contacted using the network without a domain name service. If the hostname of a different
    1 KB (159 words) - 17:00, 8 May 2021
  • Nginx ssl (category Pages using deprecated source tags)
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } If you are using a webapp that is aware of the host, you may need to specify the protocol
    2 KB (149 words) - 21:48, 21 March 2021
  • Xdg-utils (category Pages using deprecated source tags)
    mimetypes. It operates using the XDG Mime Applications system. See Also mimetypes. Open # use default program to open URI xdg-open [URI] # use default application
    2 KB (156 words) - 23:31, 20 July 2021
  • Python msilib gui (category Pages using deprecated source tags)
    The order that dialogs are presented to the user is determined by the msi InstallUISequence table. NOTE: The 'next_control' values must form a cycle. ex:
    3 KB (220 words) - 16:38, 17 December 2019
  • Python msilib errors (category Pages using deprecated source tags)
    msilib errors can be a bit cryptic, particularly when they do not offer any context. Windows Installer Errors will look like the following # +--- error-code
    1 KB (125 words) - 15:00, 24 December 2019
  • Ripgrep (category Pages using deprecated source tags)
    'email' rg -g '!*/test/*' search # exclude paths matching */test/* (-g can be used multiple times) rg -i search # case insensitive search rg -uuu search # ignore
    2 KB (138 words) - 18:16, 19 June 2022
  • Ruby rails: mailer (category Pages using deprecated source tags)
    Mailers let you use the rails to format and send emails. Mailers are special controllers inherit from ActionMailer::Base . Individual mailers generally
    2 KB (90 words) - 14:40, 8 April 2020
  • Javascript loops (category Pages using deprecated source tags)
    use break to exit a loop early. break // exit loop early continue // skip to next iteration // initializer; exit-condition; each-loop for (let i = 0; i
    2 KB (201 words) - 17:22, 18 December 2022
  • Python targeting platforms (category Pages using deprecated source tags)
    @echo off REM Calling verify with no args just checks the verify flag, REM we use this for its side effect of setting errorlevel to zero verify >nul REM Attempt
    2 KB (175 words) - 16:11, 29 May 2019
  • Arch AUR (category Pages using deprecated source tags)
    The Arch User Repository is an un-verified community managed repo of packages. It adds additional packages not available in the standard archlinux repos
    2 KB (115 words) - 21:49, 2 September 2023
  • Python qt: bindings (category Pages using deprecated source tags)
    PyQt4, PyQt5 if defined, use this binding.
    2 KB (117 words) - 03:10, 21 May 2018
  • Tt-rss config (category Pages using deprecated source tags)
    putenv('TTRSS_DB_TYPE=mysql'); // new define('TTRSS_DB_TYPE', 'mysql'); // old (still used by some plugins) Required Settings <?php putenv('TTRSS_DB_TYPE=mysql');
    2 KB (148 words) - 00:06, 13 March 2023
  • Yaml (category Pages using deprecated source tags)
    YAML is a superset of json, that layers on several additional featurs: anchors/reference enable reused data indentation based nested datastructures comments
    2 KB (159 words) - 02:35, 24 June 2022
  • Zfs troubleshooting (category Pages using deprecated source tags)
    This can be accidental, but generally it means that a device needs to be resilvered. If you have permanent errors, you can't resilver, the device remains
    2 KB (146 words) - 17:04, 4 July 2021
  • Java mockito (category Pages using deprecated source tags)
    JUNIT-5 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-junit-jupiter --> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-
    2 KB (190 words) - 21:58, 21 April 2019
  • Certbot example: wildcard certificate (category Pages using deprecated source tags)
    com/fullchain.pem The proper way to do redirection is by returning HTTP 301 (page permanently moved). Under the hood, this is what happens when AWS's route53
    2 KB (217 words) - 02:06, 1 May 2020
  • Elite Dangerous: Install (category Pages using deprecated source tags)
    Install via steam NOTE: the elite launcher does not like being unfocused/refocused. keep your mouse centered on it! WARNING: dotnet40 is broken in wine-5
    2 KB (198 words) - 02:24, 9 June 2021
  • Ngx stream ssl preread module (category Pages using deprecated source tags)
    This nginx module lets you reuse the same port to direct different types of traffic to different ports. For example, you can handle HTTP/HTTPS/SSH all
    1 KB (81 words) - 23:50, 15 July 2020
  • Okta (category Pages using deprecated source tags)
    Okta is a proprietary identity authentication service. NOTE: I was able to complete authentication, but never figured out how to access resources behind
    2 KB (215 words) - 04:11, 5 January 2021
  • Python pyaudio (category Pages using deprecated source tags)
    frames/second) channels: 2 # 2-channels (stereo) sample-width: 2 # ? pyaudio will use your system to determine default devices, but you can have a little more control
    2 KB (192 words) - 22:11, 14 September 2019
  • Java conventions (category Pages using deprecated source tags)
    // { prefix }.{ package } package com.willpittman.helloworld // (inverted url) http://helloworld.willpittman.com There are two components to a packagename
    2 KB (199 words) - 22:38, 8 November 2019
  • Coreutils chmod (category Pages using deprecated source tags)
    wheel but isn't user will) only wants read access to the files chmod can be used in 3 ways: manually defining (u)ser, (g)roup, and (o)ther permissions, one
    2 KB (201 words) - 19:22, 28 March 2021
  • Java exceptions (category Pages using deprecated source tags)
    implementation changes public QuickRefException(String message) // must be public to use outside of package { super(message); } } Throw Custom Exception void throw_exception()
    3 KB (216 words) - 15:30, 6 July 2019
  • Java classes (category Pages using deprecated source tags)
    provide it's attributes/methods. Where possible, it is generally preferred to use interfaces rather than subclassing. It is also encouraged that you program
    2 KB (253 words) - 19:45, 19 April 2019
  • Kafka install (category Pages using deprecated source tags)
    DESCRIPTION: # quick single node kafka server to play with. # # INSTRUCTIONS: # # use `docker-compose up` # # docker build \ # -t kafka-ubuntu:latest \ # . # FROM
    2 KB (270 words) - 00:40, 22 April 2020
  • Docker usage (category Pages using deprecated source tags)
    # build image (if not exist) [ ! -z $(docker images -q my_image) ] \ || docker build -f Dockerfile -t my_image . # build container docker run \ --name
    3 KB (238 words) - 16:26, 2 July 2022
  • VimPlugin: vim-gnupg (category Pages using deprecated source tags)
    will be detected and used if present New files, from commandline touch foo.gpg nvim foo.gpg # a split will appear. add email key to use (gpg --list-keys)
    2 KB (160 words) - 02:11, 29 May 2022
  • JSGF (category Pages using deprecated source tags)
    JSGF is a language that describes a (spoken) language's grammar. It was written by Sun Microsystems. #JSGF V1.0; grammar nav_commands; public <direction>
    1 KB (71 words) - 14:12, 18 December 2019
  • Gnu find (category Pages using deprecated source tags)
    Search files and directories. The man page is very good and has several examples. This page is essentially a cookbook. Also see bsd find. Unfortunately
    2 KB (127 words) - 03:09, 17 November 2021
  • Python watchdog (category Pages using deprecated source tags)
    Watchdog is a cross platform python module that monitors filesystem events (instead of repeatedly polling the hard-drive), and notifies python scripts
    2 KB (148 words) - 13:20, 15 May 2018
  • Gawk print (category Pages using deprecated source tags)
    Your basic print, like echo. Multiple items can be printed separated by a comma. They will be output with a space between them by default. $0 prints the
    2 KB (253 words) - 01:23, 19 July 2021
  • Mediawiki extensions: syntaxhighlightgeshi (category Pages using deprecated source tags)
    Extension that enables syntax highlighting using python pygments. Install php requirements First, verify the following php plugins are installed, and available
    2 KB (240 words) - 17:15, 3 July 2021
  • C pointers (category Pages using deprecated source tags)
    pointers are **NOT** arrays, despite them being treated similarly to one. Using sizeof measures the size of the pointer, not the array. // a pointer is just
    998 bytes (129 words) - 00:16, 21 April 2019
  • Python mock: assertions (category Pages using deprecated source tags)
    all pretty well documented, but here are the asserts that I find myself using most frequently. Asserts that a function was called at least once with this
    1 KB (181 words) - 02:58, 10 August 2019
  • Networking Troubleshooting (category Pages using deprecated source tags)
    request urls) use dig to see how long the DNS resolve actually took try using the ip address directly and compare results test using ping test using traceroute/tracert
    2 KB (165 words) - 03:19, 8 August 2021
  • Mediawiki extensions: mathjax (category Pages using deprecated source tags)
    betweeen <math></math> tags. MathJax will render it client-side provided that JavaScript is enabled. The current method of using mathjax. This has replaced
    2 KB (175 words) - 12:18, 10 July 2021
  • Elite Dangerous: Graphics (category Pages using deprecated source tags)
    Natively supported. Ensure all monitors are spanned across a single screen using Nvidia-surround or AMD-eyefinity. All monitors must share a display resolution
    2 KB (192 words) - 04:33, 9 March 2021
  • Mediawiki troubleshooting (category Pages using deprecated source tags)
    true; You can also log mediawiki to a file. If you take this route, consider using logrotate to keep the log size down. $wgDebugLogFile = "/var/log/mediawiki/mediawiki
    2 KB (246 words) - 19:13, 11 July 2020
  • Linux console (category Pages using deprecated source tags)
    target Your tty generally uses uses your videocard to render the console in a framebuffer. The resolution is controlled using modesets. If you are having
    3 KB (198 words) - 12:34, 17 July 2021
  • Ipv6 (category Pages using deprecated source tags)
    ability to reach IPV6 using one of google's DNS servers. See wikipedia for addresses. nc -6 -vz 2001:4860:4860::8888 53 ipv6 uses the same default ports
    2 KB (233 words) - 18:12, 8 August 2021
  • Pf debugging (category Pages using deprecated source tags)
    blocking Use sudo tcpdump -n -e -ttt -i pflog0 port 5555 to watch blocked traffic. If that does not work, check the actual interface for clues. If using vnet
    2 KB (263 words) - 19:34, 28 January 2023
  • Openssh client config (category Pages using deprecated source tags)
    secure method of passwordless SSH authentication. You can create a keypair using various algorithms, ed2559 is currently considered the most secure. ssh-keygen
    2 KB (166 words) - 15:36, 3 September 2023
  • Wine photoshop CS6 (category Pages using deprecated source tags)
    Files/Common Files C:/Program Files/Adobe # Clone Latest Wine git clone http://source.winehq.org/git/wine.git wine-git # Apply Brush Patch cd wine-git patch -p1
    2 KB (233 words) - 16:14, 9 March 2019
  • Zfs configuration (category Pages using deprecated source tags)
    long-lived zpools. # lists version of all detected pools # '-' indicates you are using feature-flags instead of a release-version zpool get version ${pool} # add
    2 KB (250 words) - 03:12, 8 November 2020
  • Dialog widgets (category Pages using deprecated source tags)
    Dialog saves it's result to stderr by default. You can change this using the --stdout parameter. VAR=$(dialog --menu 'Choose' 10 10 10 \ 0 apples \ 1 oranges
    3 KB (235 words) - 19:19, 16 October 2021
  • React events (category Pages using deprecated source tags)
    variation Say Hello </button> ); } } You can bind arguments to the event-handler using lambda expressions in the event-handler. // if the method signature accepta
    2 KB (144 words) - 02:02, 11 December 2022
  • Direnv (category Pages using deprecated source tags)
    execute. WARNING: if installing direnv with the intention of using it alongside nix, use nix to install it pacaur -S direnv # archlinux nix-env -i direnv
    3 KB (219 words) - 18:30, 25 September 2022
  • Saltstack custom execution modules (category Pages using deprecated source tags)
    states, without any imports, you can access saltstack's internal information using variables that are magically added to the scope. __salt__['cmd.execute']('ls
    2 KB (195 words) - 14:26, 30 July 2021
  • FreeBSD linuxlator (category Pages using deprecated source tags)
    /compat/* /home/js/melody/compat/ mount -t linprocfs linprocfs \ `# (didn't use, seems ok so far). Should really add to fstab` /home/js/melody/compat/linux/proc
    2 KB (196 words) - 14:35, 5 April 2019
  • Urxvt (category Pages using deprecated source tags)
    back in for change to take effect. NOTE: Tabs are irrelevant, now that I'm using tmux Allows you to change colourschemes on the fly in urxvt. cd /usr/lib/urxvt/perl
    2 KB (200 words) - 01:40, 2 July 2022
  • Python versions (category Pages using deprecated source tags)
    features to come. It is helpful, but not a silver bullet. In particular, using unicode_literals can cause issues with libraries that are not built to support
    2 KB (214 words) - 21:09, 31 July 2021
  • Wireguard trials (category Pages using deprecated source tags) (section Configure jail to use Devfs rule)
    the jails... See https://forums.freebsd.org/threads/openvpn-server-in-jail-using-a-tun-device.22143/ # /etc/rc.conf # creates 'tun0' on every boot # (place
    1 KB (172 words) - 00:49, 2 July 2020
  • Overlayfs (category Pages using deprecated source tags) (section Identifying Source Layers)
    higher layer. If a file exists in both layers, the higher layer's file is used. # mount a single lower dir with a higher dir mount -t overlay overlay \
    2 KB (196 words) - 03:38, 18 November 2021
  • Msi Environment (category Pages using deprecated source tags)
    variables are user variables by default. If you desire a system-wide variable, use the prefix * in the column Name. This precedes the prefix to designate add/remove
    3 KB (205 words) - 23:16, 17 December 2019
  • UniFi Dream Machine (category Pages using deprecated source tags)
    Dream Machine router. TODO: I really dislike needing a web registration to use my router. Replace Unifi OS with FreeBSD. - factory reset: bottom of unit
    2 KB (164 words) - 19:11, 28 May 2022
  • Coc.nvim language servers (category Pages using deprecated source tags)
    COC exposes language servers to vim, you'll need them to perform completion etc. You can have multiple language-servers running at once on the same language/file
    2 KB (136 words) - 20:17, 22 July 2022
  • Ruby foreman (category Pages using deprecated source tags)
    which process is talking process startup is configurable (say you want to use with 2x workers instead of 1x) foreman start -c ${var1}=foo,${var2}=bar #
    1 KB (71 words) - 16:46, 15 April 2021
  • Openssh install (category Pages using deprecated source tags)
    pacman -S openssh # powershell Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 # server Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0
    3 KB (272 words) - 17:21, 4 October 2020
  • Macports (category Pages using deprecated source tags)
    Macports is a community driven package manager for MacOS. Unlike brew, macports manages an entirely separate copy of executables/libraries - less problematic
    2 KB (190 words) - 13:01, 19 July 2021
  • Nodejs async (category Pages using deprecated source tags)
    Like javascript, nodejs is single-threaded. There are 2x ways things get executed in nodejs. the call stack (last in, first out) the queue (runs when call
    1 KB (153 words) - 14:55, 30 July 2021
  • Wacom (category Pages using deprecated source tags)
    xf86-input-wacom # Use kernel driver sudo packer -S wacom-udev # udev rules, /dev/* name reboot From the Wacom Tablet Properties, uncheck Use Windows Ink. Your
    2 KB (294 words) - 22:35, 8 February 2021
  • Nix install (category Pages using deprecated source tags)
    Install nix curl -L https://nixos.org/nix/install > install sh install --daemon # in new shell # (if nix permission error, reboot, try again) nix-shell
    2 KB (219 words) - 16:49, 26 December 2021
  • Python functions (category Pages using deprecated source tags)
    studio)) Keyword arguments are optional arguments. The order that they are used does not matter if you assign their value with an '=' sign. def insult_age(username
    2 KB (227 words) - 17:08, 6 May 2018
  • Csharp install (category Pages using deprecated source tags)
    of several libraries, compilers, the CLR, etc. The Dotnet framework can be used by several languages. CLR Runtime Environment that can run IL code within
    741 bytes (68 words) - 20:04, 2 November 2019
  • Python matplotlib (category Pages using deprecated source tags)
    matplotlib is a python module that facilitates creating graphs, scatterplots, and various other data visualizations. You may also be interested in python
    2 KB (173 words) - 00:13, 29 August 2020
  • No man's sky controls (category Pages using deprecated source tags)
    scanner goggles g: terrain modifier HOTAS setups are not supported natively. Use x360ce to map your HOTAS to xbox360 controller controls. NOTE: you may need
    2 KB (239 words) - 00:20, 2 April 2021
  • Lutris (category Pages using deprecated source tags)
    runners (ex: wine, steam, wine-steam, ..). To install games, from lutris: - Sources: Lutris (click user icon) - do: login - choose: community installers - search:
    2 KB (133 words) - 04:22, 13 November 2021
  • Baikal configuration (category Pages using deprecated source tags)
    upgrade) from http://{domain} or http://{domain}/admin/index.php. If pompted, use digest instead of basic for your authorization scheme NOTE: vdirsyncer dropped
    2 KB (271 words) - 15:57, 16 September 2023
  • Saltstack patching (category Pages using deprecated source tags)
    version if not a part of that version range. Determine versions of salt being used sudo salt '*' test.version sudo salt-run survey.hash '*' test.version # (more
    2 KB (229 words) - 14:32, 25 February 2020
  • Ruby gems (category Pages using deprecated source tags)
    A package manager for ruby libraries. You may also be interested in the ruby gemfile, and ruby bundler. GEM_HOME= # where gems are installed GEM_PATH=/a/b:/c/d:/e/f
    2 KB (191 words) - 19:52, 13 November 2022
  • Programming: Style (category Pages using deprecated source tags)
    Readable Code similar code-silhouettes make code easier to skim similar items should have similar silhouettes do not duplicate comments, easier to maintain/update
    3 KB (255 words) - 23:32, 26 November 2022
  • Fallout4 Configuration (category Pages using deprecated source tags)
    within the game, press Escape Settings > Display near bottom, can change HUD colour, and pipboy flashlight colour C:\Users\will\Documents\My Games\Fallout4\Fallout4
    2 KB (242 words) - 21:29, 12 October 2018
  • XDG Mime Applications (category Pages using deprecated source tags)
    Used to associate default programs to mimetypes. /etc/mime.types Associates mimetype to file extensions # /etc/mime.types # (sample) application/pdf #
    2 KB (180 words) - 01:18, 1 November 2020
  • Nginx reverse proxy (category Pages using deprecated source tags)
    http://unix:/usr/local/www/website/serv.sock; } } There are several HTTP headers you can use to assist this proxy in behaving properly. location / { proxy_set_header X-Forwarded-Host
    1 KB (204 words) - 23:22, 21 March 2021
  • Python tracemalloc (category Pages using deprecated source tags)
    tracemalloc is a memory profiling tool builtin to python-3.4+. get traceback where item was allocated where memory was allocated (by line number, which
    2 KB (204 words) - 06:02, 28 August 2020
  • Java packages (category Pages using deprecated source tags)
    system is different from both python/cpp. Modules are assigned to packages using a statement in code, which does not necessarily have anything to do with
    2 KB (198 words) - 14:04, 21 April 2019
  • Git-filter-repo (category Pages using deprecated source tags)
    difficult to merge. While everything appears good, I don't trust it. I'm using git-patch from the branch instead. pacaur -S git-filter-repo WARNING: paths
    1 KB (122 words) - 19:55, 26 November 2019
  • Ansible install (category Pages using deprecated source tags)
    expects remote machines to share a similar environment to the machine you are using to control them. Every controlled machine must have a python interpreter
    1 KB (143 words) - 21:48, 2 November 2019
  • Freebsd networking (category Pages using deprecated source tags)
    the internet) Assign multiple IP addresses to a network interface. commonly used for assigning IPs to jails. # /etc/rc.conf ifconfig_em0_alias0="192.168.1
    3 KB (222 words) - 05:25, 7 August 2021
  • Mediawiki extensions: math (category Pages using deprecated source tags)
    renders math alright on Special:MathStatus Simply write tex between math tags. Here are some examples: Some of the more common items. \texttt{my-variable}
    2 KB (163 words) - 01:02, 11 April 2022
  • Gnuplot (category Pages using deprecated source tags)
    select columns for x/y (using col2==x, col3==y) # # INPUT: # foo 1 2 # bar 2 5 # baz 3 7 plot "out.csv" using 2:3 with lines # using x:y # 3x lines, a sample
    4 KB (296 words) - 14:24, 2 January 2023
  • Java javadoc (category Pages using deprecated source tags)
    Class#method(Type id, Type, id) @see package Block/Inline Tag-Formatting JavaDoc comments use tags to communicate special information. These are rendered
    3 KB (290 words) - 20:29, 9 November 2019
  • Qemu syntax (category Pages using deprecated source tags)
    what I need it to do. https://heiko-sieger.info/running-windows-10-on-linux-using-kvm-with-vga-passthrough/ https://rafalcieslak.wordpress.com/2014/08/15/
    3 KB (268 words) - 01:15, 24 November 2019
  • Cmake windows (category Pages using deprecated source tags)
    install compiled project exit # return to powershell MinGW is GCC for windows. Using mingw you can cross compile your project from any of the following to any
    2 KB (217 words) - 18:13, 18 May 2018
  • Suckless-st (category Pages using deprecated source tags)
    does not have any dynamic configuration. To make changes, you change the source-code and then recompile it. Most options you'll be interested in (keybindings
    3 KB (290 words) - 02:02, 26 November 2022
  • Wireguard examples (category Pages using deprecated source tags) (section endpoint using DHCP)
    independent IPs. # The jail itself can have any number of ip addresses, using bridge0 as it's gateway. # # # / (a) +- epair0(192.168.20.2) --> (b) -> JAIL1(10
    2 KB (239 words) - 22:29, 3 July 2020
  • Linux Shell & Terminal (category Pages using deprecated source tags)
    change your shell using chsh. If you do not want a user to be allowed to login, you can use the special /sbin/nologin shell which is used by system users
    2 KB (233 words) - 13:07, 13 September 2020
  • Khal (category Pages using deprecated source tags)
    choose the colour it should be displayed in. Khal's configuration is parsed using python configobj, but you can also parse with builtin python configparser
    2 KB (194 words) - 17:00, 2 October 2022
  • Ms office (category Pages using deprecated source tags)
    benefit a lot from their updates so rather than using the wine version from the repo, I have decided to use the bleeding edge version from git (see above)
    2 KB (303 words) - 14:07, 28 November 2020
  • Postfix configurations: sendmail only (category Pages using deprecated source tags)
    /etc/periodic.conf # It may need to be created # Disable Unneeded Sendmail (using postfix) daily_clean_hoststat_enable="NO" daily_status_mail_rejects_enable="NO"
    2 KB (228 words) - 05:34, 19 February 2022
  • Vagrant: troubleshooting (category Pages using deprecated source tags)
    out.vdi # also remove original Guest sudo cfdisk # use cfdisk to resize disk SSH problems when using vagrant are an enormous pain because they prevent you
    2 KB (273 words) - 18:57, 13 June 2020
  • Nix functions (category Pages using deprecated source tags)
    keyword-arguments a + b + c my-function {a="A"; b="B"} "C" # invocation using set-param requires a set "ABC" Default param values my-function { a ? "A"
    3 KB (275 words) - 17:28, 28 February 2021
  • Python classes (category Pages using deprecated source tags)
    car, you might have an attribute speed. You would control that attribute using the methods accelerate() and break(). class MyClass(object): # class <name>(
    3 KB (270 words) - 19:08, 23 March 2019
  • Mediawiki maintenance (category Pages using deprecated source tags)
    connections over localhosts using an alternative hostsfile # see: man gethostbyname env HOSTALIASES=/foo/hosts \ wget --recursive \ --page-requisites \ --adjust-extension
    3 KB (214 words) - 01:07, 14 June 2022
  • Python rope (category Pages using deprecated source tags)
    performed (if var is changed to?) myproject.do(changes) # Perform changes Using ropevim, greatly simplifies it's usage. It gets variable/function names from
    2 KB (191 words) - 04:33, 31 October 2019
  • Pf (category Pages using deprecated source tags)
    unlike nftables, the last matching rule is applied (unless quick keyword is used) config # /etc/pf.conf ext_if="vtnet0" ext_ports="{ 22 80 443 }" # sudo tcpdump
    2 KB (175 words) - 17:04, 5 April 2021
  • Vim folds (category Pages using deprecated source tags)
    foldtext=GetLangFoldText() when your foldmethod is set to syntax, you are using regex values outlined within that language's syntax file to determine where
    2 KB (216 words) - 02:10, 8 February 2023
  • Zfs usage (category Pages using deprecated source tags)
    provided by zfs-stats. zfs-stats -M # summary of memory usage # simulate zpool using file dd if=/dev/zero of=/tmp/mypool bs=1M count=128 zpool create mypool /tmp/mypool
    3 KB (302 words) - 01:54, 18 November 2020
  • Fail2ban configuration (category Pages using deprecated source tags)
    they refer to a filter of the same name. You can also specify the filter using the filter key. [DEFAULT] # applied banactions read from 'action.d/nftables
    3 KB (269 words) - 16:27, 2 July 2022
  • VimPlugin: eclim (category Pages using deprecated source tags)
    eclim allows you to use vim as your editor, while using eclipse on the backend for autcompletion, refactoring, navigtion, etc. Firstly, confirm these instructions
    3 KB (242 words) - 19:33, 1 March 2020
  • OSX-KVM: Install Setup (category Pages using deprecated source tags)
    /sys/module/kvm/parameters/ignore_msrs NOTE: This is only necessary if you intend to use tap interface. (I normally don't) sudo ip tuntap add dev tap0 mode tap sudo
    2 KB (209 words) - 00:41, 25 November 2019
  • VimPlugin: vim-snipmate (category Pages using deprecated source tags)
    snippets-fileformat to use let g:snipMate { 'snippet_version': 1 } Basics: By default, triggering completion is bound to tab key. If there are multiple matches, use ctrl
    3 KB (211 words) - 03:06, 14 June 2023
  • Python magic methods (category Pages using deprecated source tags)
    how an object behaves. comparison A context-manager object allows you to use it in a with statement. When either an unhandled exception is raised, or the
    3 KB (84 words) - 16:43, 14 February 2021
  • Java methods (category Pages using deprecated source tags)
    See java modifiers. class MyClass{ public void punch_me(){}; private void punch_you(){}; protected void set_health(int health){}; } Notice that the constructor
    3 KB (305 words) - 15:40, 1 June 2019
  • Python filesystem (category Pages using deprecated source tags)
    os.path.expanduser('~/.vimrc') os.remove('/path/to/file') # deletes file, or empty dir shutil.rmtree('/path/to/directory') # recursively deletes directory
    2 KB (259 words) - 20:26, 10 April 2023
  • Ruby rspec (category Pages using deprecated source tags)
    rspec is a testing framework for ruby. It grew out of behaviour-driven-development. gem install rspec cd yourproject rspec --init # create new testproject
    2 KB (249 words) - 15:52, 11 July 2023
  • Kinesis advantage 2 (category Pages using deprecated source tags)
    Keybindings Ctrl -> Capslock # used to this Ctrl-> End # if pinky is tired Alt -> Backspace # most oft used modifier Win -> Delete # used often for WM controls
    2 KB (135 words) - 05:19, 16 December 2020
  • Pacman configuration (category Pages using deprecated source tags)
    salt zfs-linux spl-linux Customize global package build options. You can use alpm-hooks to run scripts when matching packages or files are changed. # /etc/pacman
    3 KB (188 words) - 23:51, 25 August 2023
  • Bash loops (category Pages using deprecated source tags)
    continue # skip to next iteration break # stop looping list=(a b c d) for ch in ${list[@]};do echo -n $ch done #> a b c d list=(a b c d) for i in "${!list[@]}";
    2 KB (154 words) - 22:52, 29 October 2022
  • Vscode plugin: vscodevim (category Pages using deprecated source tags)
    if you configure vscode to use neovim on the backent. set [no]hlsearch While vscode does have Outliner which approximates TagBar, there is so much information
    1 KB (164 words) - 19:28, 2 November 2019
  • Udev (category Pages using deprecated source tags)
    Replaces linux devfs beginning with linux kernel-2.6 Responsible for managing the /dev virtual filesystem, populating it with nodes representing devices
    2 KB (89 words) - 15:03, 16 May 2021
  • Latex math (category Pages using deprecated source tags)
    /begin{math} \[x^2\] /end{math}
    3 KB (6 words) - 17:41, 10 July 2021
  • Steam ui (category Pages using deprecated source tags)
    Starts NOTE: no matter what permissions are set, on linux I cannot seem to use the download dir /mnt/storage/games/steam. Uncertain if the culprit is the
    2 KB (207 words) - 17:04, 29 December 2022
  • Ruby solargraph (category Pages using deprecated source tags)
    713e to your project. # ${PROJECT}/config/initializers/${ANYTHING}.rb # source: https://gist.github.com/castwide/28b349566a223dfb439a337aea29713e # # The
    3 KB (278 words) - 18:30, 28 December 2021
  • Newsboat (category Pages using deprecated source tags)
    actively maintained fork of newsbeuter. NOTE: unfortunately, cannot open in tags # comment `foo` # commands between backticks are executed in shell You can
    3 KB (277 words) - 12:18, 23 May 2021
  • Rez (category Pages using deprecated source tags)
    It allows for variances like: building packages for various languages (using make/cmake) resolving dependencies for internal/external packages, software
    2 KB (136 words) - 13:20, 17 September 2018
  • Ruby rails: layouts (category Pages using deprecated source tags)
    html/header/body tags, sources stylesheet, view gets rendered within here. If a layout whose name matches your controller exists, it is used by default. Otherwise
    2 KB (133 words) - 01:05, 14 April 2020
  • Python setuptools: distrobutions (category Pages using deprecated source tags)
    package format description sdist source distrobutions are simply .tar.gz archives with all of the files configured in your setup() function. These are
    2 KB (114 words) - 18:11, 3 August 2020
  • Jinja2 syntax (category Pages using deprecated source tags)
    worked around by using a list or a dict, and rather than using set to set the value, use do to update/append a value. Lists/Dicts when used this way have
    3 KB (341 words) - 01:30, 14 June 2022
  • Weechat usage (category Pages using deprecated source tags)
    -re #freebsd-.* # search channels using regex /close # close buffer /close 4-50 # close buffers numbers 4-50 Every page where communications are listed is
    3 KB (305 words) - 00:22, 3 May 2020
  • Maya PySide (category Pages using deprecated source tags)
    shiboken2.wrapInstance(long(ptr), QtWidgets.QWidget) # misc widget # find using: # cmds.lsUI(type='helpLine') ptr = OpenMayaUI.MQtUtil.findControl('helpLine1')
    3 KB (314 words) - 23:51, 20 September 2018
  • Vortex mod manager (category Pages using deprecated source tags)
    mods # backup following directories: %APPDATA%\Vortex\downloads\{game} # source zipfiles (not needed for backup) %APPDATA%\Vortex\{game} # game specific
    2 KB (175 words) - 05:11, 13 November 2021
  • Bash ansi escape codes (category Pages using deprecated source tags)
    org/wiki/ANSI_escape_code#8-bit tput looks up escape codes within the termcap database. using tput ensures your code is portable across the unixes. echo '\e[1m' # bold
    2 KB (203 words) - 02:01, 19 January 2024
  • Python input/output (category Pages using deprecated source tags)
    indefinite wait time. You can check if something is available to read from stdin using the following (works on both windows and linux -- tested). import sys if
    2 KB (285 words) - 11:41, 19 June 2023
  • Make (category Pages using deprecated source tags)
    figure out just what exactly your compiler is running. You can do this. using a prefix of @ runs a shell command. all: @clear @echo "_INCL: $(_INCL)" @echo
    2 KB (181 words) - 13:34, 6 September 2021
  • Qutebrowser configuration (category Pages using deprecated source tags)
    You can test settings on-the-fly using :set. See available settings. :set content.pdfjs True Set them permanently within your config.py. (The file is read
    3 KB (278 words) - 12:40, 10 April 2023
  • Ruby state machine (category Pages using deprecated source tags)
    # can use state? vehicle.fire_{statemachine_name}_event(:park) # execute variable event implement handlers for when events change state using symbol-methods
    3 KB (291 words) - 17:51, 18 November 2020
  • OSX-KVM: High Sierra Install (category Pages using deprecated source tags)
    NOTE: I abandoned this install because I could not raise the resolution using clover. The instructions were out of date. Clover version/config looked very
    1 KB (183 words) - 07:54, 24 November 2019
  • Nginx basic auth (category Pages using deprecated source tags)
    Enables HTTP BASIC AUTH using an htpasswd file. Use an htpasswd file to determine allowed logins/credentials. http { server { location / { auth_basic "requires
    3 KB (236 words) - 00:08, 23 March 2021
  • Nix ruby (category Pages using deprecated source tags)
    (ps: with ps; [ nokogiri pry ])" ${package}/Gemfile Just a regular Gemfile source 'https://rubygems.org' gem 'graphql' gem 'pry' ${package}/default.nix #
    4 KB (236 words) - 21:32, 6 September 2021
  • Certbot (category Pages using deprecated source tags) (section general use)
    very important, and a part of your license agreement. if you are no longer using a certificate revoke it if you have reason to believe that a certificate
    2 KB (190 words) - 17:35, 27 December 2020
  • Nix datatypes (category Pages using deprecated source tags)
    null true false See https://github.com/NixOS/nixpkgs/blob/master/lib/strings.nix "hello" # a string "hello" + " world" # concatenate string # multiline
    3 KB (295 words) - 03:48, 25 March 2021
  • Python qt: environments (category Pages using deprecated source tags)
    Qt is fantastic, and can be used on just about any platform. However it's usage varies a little when it is used to write a standalone program, or to script
    2 KB (233 words) - 00:40, 26 May 2018
  • Emacs basic usage (category Pages using deprecated source tags)
    ======== Ctrl-n/p # line (prev/next) Alt-</> # buffer (start/end) (use shift) Alt/Ctrl-v # page (up/down) # ========== # horizontal # ========== Ctrl f/b # char
    3 KB (288 words) - 01:20, 5 February 2023
  • Ruby ruby-build (category Pages using deprecated source tags)
    Plugin for ruby rbenv that install/manages ruby versions to be used within a project. Ruby installs are kept in user's home directory. WARNING: Does not
    2 KB (149 words) - 19:54, 29 March 2020
  • Icalendar syntax (category Pages using deprecated source tags)
    ics files are composed of blocks consisting of nested calendars events alarms A single file can contain multiple calendars, Calendars can contain multiple
    3 KB (347 words) - 14:21, 29 October 2022
  • Znc modules (category Pages using deprecated source tags)
    ZNC modules are third party extensions that can be loaded to customize: all network connections a single network connection a specific user's network connection
    2 KB (214 words) - 02:33, 26 June 2021
  • Fallout 4: Gear organization (category Pages using deprecated source tags)
    usually around 70. Sanctuary has both an armor/weapon workstation, which can be used to rename/store armour/weapons. favourite items begin with a * prefix system
    2 KB (295 words) - 17:03, 26 January 2019
  • Ruby rails: view helpers (category Pages using deprecated source tags) (section button_tag)
    <%= form_tag(action: "post") do %> <%= select_tag("users", options_for_select(["Alex", "Courtney", "Sam"], selected: "Courtney")) %> <%= submit_tag %> <!--
    3 KB (195 words) - 18:55, 1 September 2021
  • Macos: niresh (category Pages using deprecated source tags)
    After installing niresh, you'll still need to install a bootloader. You can use the install ISO to get you off the ground. MultiBeast - Install Chimaera -
    2 KB (225 words) - 02:35, 25 November 2019
  • Ruby rails: configuration (category Pages using deprecated source tags)
    DATABASE_URL=postgresql://localhost/my_database Create core database data here, then use rake to populate database. # db/seeds.rb City.create(:name => 'Chicago') City
    3 KB (219 words) - 16:16, 11 June 2021
  • Splunk (category Pages using deprecated source tags)
    =host.domain.com # earliest/latest can be specified in searchbar # and can use relative time ranges # # DateFmt: %m/%d/%Y:%H:%M:%S # # Timezone of UTC is
    2 KB (233 words) - 15:21, 1 December 2023
  • Java snakeyaml (category Pages using deprecated source tags)
    <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>1.24</version> </dependency> load simple/homogenous data From File
    3 KB (345 words) - 21:33, 5 July 2019
  • Fail2ban usage (category Pages using deprecated source tags)
    TODO: This page is a mess. fail2ban changed some things between 0.7 and 0.8 - I ran out of weekend while rewriting. fail2ban-client reload sshd # reload
    2 KB (213 words) - 03:09, 3 May 2020
  • Dasht (category Pages using deprecated source tags)
    Documentation is presented within a :terminal pane using w3m. general usage (dasht-server) start dasht-server use custom qutebrowser userscript. :dash <search>
    3 KB (301 words) - 02:49, 28 February 2021
  • Python configuration (category Pages using deprecated source tags)
    ca/what-the-heck-is-pyproject-toml/ https://docs.python.org/release/3.10.0/using/cmdline.html#environment-variables Simply import the bulitin readline library
    3 KB (209 words) - 13:41, 9 April 2022
  • Wireguard debugging (category Pages using deprecated source tags)
    {remote-host} {wireguard-port} && echo "connection succeeded" # 1.a [fail] check source/dest firewalls (and any in between) for blocked packets sudo tcpdump udp
    3 KB (375 words) - 18:19, 3 September 2022
  • Mutt sidebar (category Pages using deprecated source tags)
    default bind index,pager <Esc>k sidebar-prev bind index,pager <Esc>j sidebar-next bind index,pager <Esc>o sidebar-open bind index,pager <Esc>u sidebar-scroll-up
    2 KB (234 words) - 20:40, 19 September 2021
  • Batch basics (category Pages using deprecated source tags)
    can disable this using @echo off @echo off %cd% is the equivalent to pwd in unix. (the current working directory). The \ character is used for paths in dos
    3 KB (320 words) - 16:15, 2 July 2022
  • Msi CustomAction (category Pages using deprecated source tags)
    external scripts during your install process. Depending on the ActionType, it's source may be embedded within the table, stored in a CAB file, or something else
    2 KB (149 words) - 20:12, 17 December 2019
  • Ruby rake (category Pages using deprecated source tags)
    like tool for ruby. project/ rakelib/ # like conf.d, read as if in rakefile tags.rake test.rake lib/tasks/ # [rails only] same as rakelib content.rake db
    3 KB (306 words) - 22:49, 14 October 2023
  • Linux Filesystem (category Pages using deprecated source tags)
    filesystem is the format used on a disk partition to record files. Where windows typically uses fat32, or ntfs, linux normally uses ext4. See unix filesystem
    2 KB (123 words) - 18:14, 15 May 2021
  • Ruby minitest (category Pages using deprecated source tags)
    setup/teardown hooks Run minitest-cli from code (note -- do differently if using rails) Minitest.run(["test/some/awesome_test.rb", "--some-cli-arg", "--some-other-arg"])
    3 KB (308 words) - 22:26, 20 October 2023
  • Mplayer (category Pages using deprecated source tags)
    media player. It is possible to control an mplayer instance from the CLI using the -slave param. check out http://www.mplayerhq.hu/DOCS/tech/slave.txt
    3 KB (274 words) - 19:12, 7 August 2021
  • SSL certificate intro (category Pages using deprecated source tags)
    certificate (the certificate has already been validated) Redirecting traffic while using SSL is possible. The original route should return a 301-Domain-has-permanently-moved
    3 KB (324 words) - 13:40, 14 March 2021
  • Vader.vim test blocks (category Pages using deprecated source tags)
    dd Then (assert line1 == b) AssertEqual 'b', getline(1) Use Given to perform several tests using the same vim-buffer contents. Given [filetype] [(comment)]:
    2 KB (221 words) - 19:02, 7 January 2023
  • Openssh daemon config (category Pages using deprecated source tags)
    wants in... ##openSSH will start automatically on the next windows boot. (using windows services)
    3 KB (346 words) - 01:50, 2 July 2022
  • Distributed Systems: Distributed Locks (category Pages using deprecated source tags)
    try to acquire locks sequentially across all servers (using unique random value for lock request). Use a shorter timeout than the key's TTL. - lock acquired
    3 KB (263 words) - 04:10, 6 September 2022
  • Fallout4 Console (category Pages using deprecated source tags)
    showracemenu is deprecated # NOTE: if your camera gets stuck, enter vats (hold Q) then exit (Tab) item codes Fast travel is performed using either player
    4 KB (276 words) - 01:40, 12 November 2021
  • Vagrant: configuration (category Pages using deprecated source tags)
    ssh/authorized_keys at creation you can obtain the configured ssh-port using vagrant port If you are using Virtualbox, you can start it with a GUI: config.vm.provider
    3 KB (328 words) - 16:23, 2 July 2022
  • Woas (category Pages using deprecated source tags)
    NOTE: I kept running into issues with browser support while using WOAS. I moved to MediaWiki years ago and it's been a much better solution. Sometimes
    2 KB (330 words) - 23:12, 8 February 2021
  • Javascript classes (category Pages using deprecated source tags)
    Used to instantiate a class. class Animal { constructor(name) { this.name = name // instance variable (or property) } speak() { console.log('quack') }
    4 KB (320 words) - 20:42, 16 September 2021
  • Postgres HA: Logical Replication (hot standby) (category Pages using deprecated source tags)
    +------------------+ +------------------+ Create postgres user that STANDBY servers will use to communicate with MASTER. CREATE ROLE replicator REPLICATION LOGIN PASSWORD
    3 KB (233 words) - 01:54, 1 December 2019
  • Graphql-ruby basics (category Pages using deprecated source tags)
    (exposed methods) are written in snake_case, but converted to camelCase when used in queries. class MySchema < GraphQL::Schema mutation(MutationRoot) # fields
    3 KB (331 words) - 16:22, 6 September 2021
  • Strategy pattern (category Pages using deprecated source tags)
    to re-use code horizontally (ex: GrandChildA1() and GrandChildB1() only) you would need to create a confusing mixin class. The Strategy Pattern uses parameters
    4 KB (266 words) - 01:14, 2 May 2020
  • Tt-rss install (category Pages using deprecated source tags)
    pkg install mysql pkg install tt-rss # /etc/rc.conf mysql_enable="YES" php_fpm_enable="YES" nginx_enable="YES" ttrssd_enable="YES" create database user
    3 KB (296 words) - 04:26, 6 August 2021
  • Sql queries (category Pages using deprecated source tags)
    selection you may: use sql joins to associate the queried table's data to other tables. (ex: find users assigned to a project) use sql aggregate functions
    3 KB (352 words) - 20:41, 9 August 2022
  • Viml buffers (category Pages using deprecated source tags)
    buffers Buffers are any text vim currently has stored in memory. You can use buffers to create your own custom windows from within vim. badd test "" Create
    3 KB (336 words) - 18:36, 20 January 2022
  • Doxygen (category Pages using deprecated source tags)
    Note that newlines are ignored, you *can* use '\n', or '<br>', but sticking everything in between'<pre>' tags will maintain your spacing and and newlines
    4 KB (351 words) - 14:48, 5 April 2019
  • Ruby rails: helpers (category Pages using deprecated source tags)
    html.erb --> Hello, <%= get_username() %> Calling helper using helpers.method Advantage of using this method is that it does not modify the namespace of
    2 KB (204 words) - 18:22, 19 April 2020
  • TagBar leverages ctags to create a table-of-contents of your current source file. requires universal-ctags (updated fork of exuberant-ctags) See Also ctags
    4 KB (370 words) - 02:34, 25 October 2021
  • Ruby rails: overview (category Pages using deprecated source tags)
    the fastest path to development. Use ls to list available methods/constants (categorized by source), and show-source -ld <method> to show the docs/method-signature
    5 KB (317 words) - 14:58, 8 August 2020
  • Java junit 5 (category Pages using deprecated source tags)
    has a standalone console runner that can be used. If you are already using a build system, I recommend using that to run your tests. By default, stdout/stderr
    3 KB (293 words) - 17:10, 4 May 2019
  • Ruby anatomy (category Pages using deprecated source tags)
    includes/extends parent hierarchy Try using ruby pry instead: ls (show methods/attrs by namespace/class) show-source -ld <method> (show docs/sourcecode)
    4 KB (388 words) - 19:52, 4 November 2023
  • Python python-xlib (category Pages using deprecated source tags)
    major_version #> 1 This is apparently the most dependable/comprehensive source of information (over xinerama, and regular xlib). from Xlib import display
    3 KB (253 words) - 09:01, 22 February 2019
  • Qutebrowser troubleshooting (category Pages using deprecated source tags)
    the ugly helvetica approximation is being used instead of Arial. You can see where this logic is coming from using fc-match. fc-match Helvetica #Helvetica-Compressed
    4 KB (423 words) - 12:22, 4 September 2022
  • Java maven plugin: junit (category Pages using deprecated source tags)
    (Option A) stdout/stderr in console (needs configuration) using CLI params mvn test -Dsurefire.useFile=false saved to configuration <plugin> <artifactId>
    3 KB (310 words) - 17:21, 4 May 2019
  • Http cookies (category Pages using deprecated source tags)
    headers from a web-server, and stored in the browser. Historically, they were used for authentication, and for session storage. only one Set-Cookie per HTTP
    3 KB (239 words) - 15:03, 18 September 2021
  • Ruby rails: sessions (category Pages using deprecated source tags)
    "base64_json_value", exp: nil, pur: "cookie.user_id" } } # value == "abcd" Message created using MessageVerifier cookies.encrypted[:encrypted_cookie] = "value" See documentation
    4 KB (282 words) - 22:33, 1 September 2021
  • Ruby rails: project (category Pages using deprecated source tags)
    It may be tempting to use a subdir, but I've had library issues when using the sub-bundle directory. I highly recommend using nix-shell manually instead
    4 KB (431 words) - 21:04, 19 September 2021
  • Qemu example archlinux (category Pages using deprecated source tags)
    You cannot use ping, and nc isn't installed!! NOTE: User-Mode networking (slow) will be started automatically as long as no -netdev flag is used when the
    2 KB (287 words) - 13:42, 9 March 2019
  • Kinesis savant elite 2 (category Pages using deprecated source tags)
    [mpedal]>[ctrl] [rpedal]>[win] Layout Usage: rest right foot on middle pedal alt used more frequently than mod, rotating foot left easier than right
    3 KB (291 words) - 15:15, 3 January 2021
  • Bash arguments (category Pages using deprecated source tags)
    -b -c --other` foo -abc -depth 2 # same as `foo -a -b -c -depth 2` # now use your param case statement case $1 in -h|--help) echo "help me obi-wan kenobi"
    4 KB (340 words) - 00:44, 10 November 2021
  • W3m (category Pages using deprecated source tags)
    Navigation keymap H PREV keymap L NEXT keymap o GOTO keymap C-D NEXT_PAGE keymap C-U PREV_PAGE # Tab Navigation keymap C-T NEW_TAB keymap C-W CLOSE_TAB keymap
    3 KB (318 words) - 17:11, 25 June 2022
  • Mediawiki extensions: cirrussearch (category Pages using deprecated source tags)
    maintenance/forceSearchIndex.php --skipParse From now on, whenever you edit a page, the index is updated automatically.
    3 KB (296 words) - 20:45, 11 July 2020
  • Ruby sshkit (category Pages using deprecated source tags)
    SSHKit is a ruby framework for executing SSH commands. It uses a HashMap of available commands/absolute-paths on the server. Generally, the available commandmap
    2 KB (238 words) - 23:21, 21 April 2021
  • Ruby red-arrow (category Pages using deprecated source tags)
    A library for serializting/deserializing and interacting with various columnar data formats (ex. parquet). # instantiation table = Arrow::Table.new( "name"
    3 KB (352 words) - 15:51, 13 April 2023
  • Weechat configuration (category Pages using deprecated source tags)
    on the cli WEECHAT_HOME=/some/path weechat # use '/some/path' as config dir weechat --dir /some/path # use '/some/path' as config dir weechat --temp-dir
    4 KB (338 words) - 02:30, 26 August 2023
  • Divinity Original Sin 2 (category Pages using deprecated source tags)
    monitors. You can also edit your graphics settings, but they do not appear to be used <!-- ~/.steam/steam/steamapps/compatdata/435150/pfx/drive_c/users/steamuser/My
    3 KB (322 words) - 00:22, 19 April 2022
View ( | ) (20 | 50 | 100 | 250 | 500)