In Arch Linux
mkinitcpio -p linux
shows
Possibly missing firmware for module: aic94xx
Possibly missing firmware for module: wd719x
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| # Basic commands | |
| :Git [args] # does what you'd expect | |
| all of your `~/.gitconfig` aliases are available. | |
| :Git! [args] # same as before, dumping output to a tmp file | |
| Moving inside a repo. |
| 00 05 01 * * /home/alea12/letsencrypt/letsencrypt-auto certonly --webroot -w /var/www/html -d example.net --renew-by-default && nginx -t && nginx -s reload |
| Vue.component('select2', { | |
| props: ['options', 'value'], | |
| template: ` | |
| <div> | |
| <select multiple ref='select'> | |
| <slot></slot> | |
| </select> | |
| </div> | |
| `, | |
| mounted: function () { |
https://gist.github.com/ljharb/58faf1cfcb4e6808f74aae4ef7944cff
While attempting to explain JavaScript's reduce method on arrays, conceptually, I came up with the following - hopefully it's helpful; happy to tweak it if anyone has suggestions.
JavaScript Arrays have lots of built in methods on their prototype. Some of them mutate - ie, they change the underlying array in-place. Luckily, most of them do not - they instead return an entirely distinct array. Since arrays are conceptually a contiguous list of items, it helps code clarity and maintainability a lot to be able to operate on them in a "functional" way. (I'll also insist on referring to an array as a "list" - although in some languages, List is a native data type, in JS and this post, I'm referring to the concept. Everywhere I use the word "list" you can assume I'm talking about a JS Array) This means, to perform a single operation on the list as a whole ("atomically"), and to return a new list - thus making it mu
| #!/bin/bash | |
| # | |
| # This script can be used to undelete objects from an S3 bucket. | |
| # When run, it will print out a list of AWS commands to undelete files, which you | |
| # can then pipe into Bash. | |
| # | |
| # e.g.: s3-undelete.sh <options> > files.txt; cat files.txt | bash | |
| # | |
| # You will need the AWS CLI tool from https://aws.amazon.com/cli/ in order to run this script. | |
| # |
The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.