Content :
/* | |
DIN Letter template | |
Save this file in your project. Use it like this | |
in your project file: | |
#import "template.typ": * | |
#show: letter.with( | |
sender: [ |
use reqwest::header::{HeaderMap, HeaderName, USER_AGENT, HeaderValue, CONTENT_TYPE}; | |
use serde::{Deserialize, Serialize}; | |
// use serde_json::json; | |
#[derive(Serialize, Deserialize, Debug)] | |
struct APIResponse { | |
http_via: String, | |
http_x_forwarded_for: String, | |
client_ip: String, |
#!/usr/bin/env sh | |
:: default : yabai -m config active_window_opacity 1; yabai -m config normal_window_opacity 1; | |
# Focus | |
shift + alt - home : yabai -m window --focus north | |
shift + alt - j : yabai -m window --focus north | |
shift + alt - end : yabai -m window --focus south | |
shift + alt - k : yabai -m window --focus south | |
shift + alt - delete : yabai -m window --focus west |
You can use ssacli
(smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli
replaces older hpssacli
, but shares the same syntax and adds support for newer servers and controllers.
The latest beta (3.5) includes separate color settings for light & dark mode. Toggling dark mode automatically switches colors.
Vist iTerm2 homepage or use brew install iterm2-beta
to download the beta. Thanks @stefanwascoding.
- Add
switch_automatic.py
to~/Library/ApplicationSupport/iTerm2/Scripts/AutoLaunch
with:
# source: https://forum.proxmox.com/threads/removing-deleting-a-created-cluster.18887/ | |
#/bin/sh | |
# stop service | |
systemctl stop pvestatd.service | |
systemctl stop pvedaemon.service | |
systemctl stop pve-cluster.service | |
systemctl stop corosync | |
systemctl stop pve-cluster | |
# edit through sqlite, check, delete, verify |
# Reference: http://blog.gurudelleccelsopicco.org/2009/09/online-lun-expansion-and-partition-resizing-without-reboot-under-linux/ | |
echo 1 > /sys/block/[DEVICE]/device/rescan | |
# DETECT IF NEW DISKS ARE ATTACHED TO THE HOST | |
# Reference: http://www.cyberciti.biz/tips/vmware-add-a-new-hard-disk-without-rebooting-guest.html | |
ls /sys/class/scsi_host |
import sys | |
from twisted.internet import defer, endpoints, protocol, reactor, task | |
from twisted.python import log | |
from twisted.words.protocols import irc | |
class MyFirstIRCProtocol(irc.IRCClient): | |
nickname = 'MyFirstIrcBot' |