type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
# This hosts file is brought to you by Dan Pollock and can be found at | |
# http://someonewhocares.org/hosts/ | |
# You are free to copy and distribute this file for non-commercial uses, | |
# as long the original URL and attribution is included. | |
#<localhost> | |
127.0.0.1 localhost | |
127.0.0.1 localhost.localdomain | |
255.255.255.255 broadcasthost | |
::1 localhost |
# Work around on | |
# ConvertFrom-Json : Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property. | |
$json = New-Object -TypeName System.Web.Script.Serialization.JavaScriptSerializer | |
$json.MaxJsonLength = 104857600 #100mb as bytes, default is 2mb | |
$filedata = [System.IO.File]::ReadAllText($JSONDataFile) #Using default encoding | |
$data = $json.DeserializeObject($filedata, [System.Object]) | |
$filedata = $null | |
$json = $null |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
function Save-KBFile { | |
<# | |
.SYNOPSIS | |
Downloads patches from Microsoft | |
.DESCRIPTION | |
Downloads patches from Microsoft | |
.PARAMETER Name | |
The KB name or number. For example, KB4057119 or 4057119. |
const homes = [...new Set( | |
[...document.querySelectorAll('a[href]')] | |
.map(x => x.href) | |
.filter(u => u.includes('_zpid')) | |
)] | |
.map(id => { | |
const addr = id.split('/')[4].replace(/-/g, ' ') | |
const short = addr.split(' ').slice(0, -3).join(' ') | |
return { addr, zillow: id, | |
streeteasy: `https://streeteasy.com/search?search=${short}`, |
#!/bin/bash | |
# | |
# This script is for Pop!_OS 20.04LTS to download and install XRDP+XORGXRDP via source. | |
# | |
# based on the following scripts: | |
# https://github.com/microsoft/linux-vm-tools/tree/master/ubuntu/18.04 | |
# https://github.com/microsoft/linux-vm-tools/pull/106 | |
# https://gist.github.com/phillipsj/a4b6e4a1070b4320ed19e061fe2dd83d | |
# https://gist.github.com/kaitwalla/9fbcef47c5ff2b58cd353ba3744be4e5 |
#!/usr/bin/env bash | |
# | |
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes) | |
# | |
# This script is a hack! Use it at your own risk!! | |
# Using this script to enable Docker is NOT SUPPORTED by ix-systems! | |
# You CANNOT use SCALE Apps while using this script! | |
# | |
# 1 Create a dedicated Docker zvol on one of your zpools: zfs create -V 100G data/_docker |
Wordle is a web browser game that you can play at this link. You get 6 chances to guess a single 5 letter word and there is only 1 word per day.
This gist contains the contents of the dictionary Wordle uses as of January 27th, 2022. Wordle actually uses two dictionaries:
La
words that can be guessed and which can be the word of the dayTa
words that can be guessed but are never selected as the word of the day<#PSScriptInfo | |
.VERSION 1.0.1 | |
.GUID d8d8b0bc-d1dd-4138-9166-dab64a38e8f6 | |
.AUTHOR Robert Bleattler | |
.COMPANYNAME Coast Technologies LLC |