Context | Action | Shortcut |
---|---|---|
System | Adjust brightness | Shift + Learn + turn Horizontal |
System | Settings menu | Shift + Select |
System | Undo | Back |
System | Redo | Shift + Back |
System | Tempo change | turn Tempo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
[The MIT License](http://opensource.org/licenses/MIT) | |
Copyright © 2025 busa-projects | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
recommened you do this from within tmux since the steamcmd
utility creates its own repl
taken from here
$ sudo useradd -m steam
$ sudo apt update && sudo apt-get install lib32gcc1 -y
$ sudo su - steam
$ mkdir ~/Steam && cd ~/Steam
$ curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f, err := os.OpenFile("/tmp/cosmos.log", os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644) | |
if err != nil { | |
panic(err) | |
} | |
defer f.Close() | |
fmt.Fprintln(f, "============") | |
fmt.Fprintln(f, "debug var: ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/shopspring/decimal" | |
) | |
type account struct { | |
balance decimal.Decimal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django import forms | |
from django.forms.models import modelformset_factory | |
from .models import Setting | |
class SettingForm(forms.ModelForm): | |
name = forms.CharField() | |
value = forms.CharField() |
https://coreos.com/os/docs/latest/cluster-architectures.html#easy-development/testing-cluster
- Bring up one node with sing-etcd-services-cloud-config.yaml
- Change
initial-cluster: etcdserver=http://172.17.8.20:2380
to sing-etcd-services's IP in sing-etcd-worker-cloud-config.yaml - Bring up three or more nodes with sing-etcd-worker-cloud-config.yaml
I have used this with:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: thin | |
# Required-Start: $local_fs $remote_fs | |
# Required-Stop: $local_fs $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: S 0 1 6 | |
# Short-Description: thin initscript | |
# Description: thin | |
### END INIT INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define a valid Slackware Linux Version. | |
# NOTE: If you want to use Slackware Linux Current,set VERSION to 'current' (VERSION=current). | |
VERSION=13.37 | |
# Choose the faster one from the sites below and un-comment it. | |
SOURCE="rsync://rsync.slackware.at/slackware/slackware-$VERSION" | |
#SOURCE="rsync://ftp.ntua.gr/pub/linux/slackware/slackware-$VERSION" | |
#SOURCE="rsync://ftp.slackware.com/slackware/slackware-$VERSION" |
NewerOlder