Skip to content

Instantly share code, notes, and snippets.

View mfs's full-sized avatar

Mike Sampson mfs

View GitHub Profile
@mfs
mfs / samsung TV URLs
Created October 23, 2021 07:07
List of URLs my Samsung TV tried to connect to in the first 1 minute of turning on.
configprd.samsungcloudsolution.net
gpm.samsungqbe.com
lcprd1.samsungcloudsolution.net
log-ingestion-ap2.samsungacr.com
osb-apps.samsungqbe.com
osb.samsungqbe.com
otnprd11.samsungcloudsolution.net
otnprd8.samsungcloudsolution.net
otn.samsungcloudcdn.com
prderrordumphsm.samsungcloudsolution.com
bl_info = {
"name": "Cycle Select Mode",
"blender": (2, 80, 0),
"category": "Mesh",
}
import bpy
Only in task-2.5.1-old/doc/rc: holidays.por-PRT.rc
Only in task-2.5.1-old/src: cal
Only in task-2.5.1-old/src: calendar
diff --unified --recursive --text task-2.5.1-old/src/columns/Column.cpp task-2.5.1-new/src/columns/Column.cpp
--- task-2.5.1-old/src/columns/Column.cpp 2016-02-25 09:18:11.000000000 +1100
+++ task-2.5.1-new/src/columns/Column.cpp 2019-03-30 16:46:37.663301906 +1100
@@ -261,7 +261,7 @@
if (context.color () &&
context.config.getBoolean ("fontunderline"))
{
# /etc/X11/xorg.conf.d/50-logitech.conf
Section "InputClass"
Identifier "vmmouse"
MatchIsPointer "on"
MatchTag "vmmouse"
Driver "vmmouse"
EndSection
Section "InputClass"
# User-defined name for this profile/input class
Identifier "Logitech M570"
This was my first time installing Fedora Server 25. I was upgrading a system in
place that was Debian 8. Everything worked out ok in the end though I did have
quite a few issues and at times felt I was fighting the installer. These are
some rough notes.
My initial plan was to upgrade the existing setup that consisted of two 2TB
disks consisting of two RAID1 partitions each. sd{a,b}1 was an ext2 boot
partition. sd{a,b}2 was LVM consisting of / and swap lvs plus some existing file
systems for VMs. Partition table type was GPT. Plan was to make a new lv for the
Fedora root fs and reformat the boot partition. Here I hit the first couple of
@mfs
mfs / haproxy
Created November 8, 2016 04:25
listen http-in
bind *:80
server server1 127.0.0.1:8000 maxconn 32
@mfs
mfs / sshd_config
Last active November 6, 2016 04:47
# secure modern sshd config
# https://wiki.mozilla.org/Security/Guidelines/OpenSSH
# https://github.com/arthepsy/ssh-audit
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_rsa_key
/* See LICENSE file for copyright and license details. */
/*
* appearance
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char font[] = "Inconsolata:size=11:antialias=true:autohint=true";
static int borderpx = 2;
proto (tcp udp) saddr <CHROMECAST_IP> sport 32768:61000 dport 32768:61000 ACCEPT;
@mfs
mfs / b2_completion.sh
Created November 21, 2015 11:18
Initial Bash completion for BackBlaze's b2 CLI
# Initial b2 Bash completion for b2 by Mike Sampson mike@sambodata.com
_b2()
{
compopt +o default
local cmd cur prev opts base
COMPREPLY=()
cmd="${COMP_WORDS[1]}"
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"