Skip to content

Instantly share code, notes, and snippets.

@huksley
huksley / kiosk-install.sh
Last active May 9, 2024 01:41
Raspberry PI OS Lite configure kiosk - shows multiple web pages as chrome tabs and rotates between them
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install --no-install-recommends -y xserver-xorg xinit x11-xserver-utils
sudo apt-get install -y chromium-browser matchbox-window-manager xautomation unclutter xdotool
sudo tee /boot/kiosk.sh <<EOF
#!/bin/sh
xset -dpms # disable DPMS (Energy Star) features.
xset s off # disable screen saver
xset s noblank # don't blank the video device
@sglkc
sglkc / README.md
Last active May 9, 2024 01:40
Spotify lyrics for FREE accounts FOR FREE!

Spotify free lyrics

Earlier this month (May 2024), Spotify has disabled full lyrics for free accounts, and that's sad, because I want to enjoy free things :(

This script is for Spotify Web Player and is not thoroughly tested! Please report any bugs in the comment section ✨

Warning

NOT EVERY SONG IS LISTED! Don't expect "unpopular" or local songs to work.

@fzls
fzls / README.md
Last active May 9, 2024 01:39
解决 青龙面板中存放的cookie数目过多(如超过45)时,会报 Argument list too long 而无法正常执行部分脚本的问题

本方案首先是自用,然后才是顺带分享给大家,所以我爱咋写咋写,请勿过多指责。没有强迫任何人使用。

如介意示例方案中的日志中的署名,请不要原封不动的使用本脚本。

更新日志

2021.11.24

  1. 仅支持互助的活动脚本中打印相关提示

目录

@jwhitlock
jwhitlock / 2022-06-mypy-demo.md
Last active May 9, 2024 01:37
Converting fx-private-relay to use mypy

Converting fx-private-relay to use mypy

Notes for an interactive class or video

Overview

  • Intro to private relay if video
  • Starting with tag v3.5.14
    • Python 3.9 - I'm using 3.9.11
  • Django 3.2.13 - LTS version, extended support until April 2024.
@meeas
meeas / DebianSid_on_LUKS-BTRFS_with_systemd-boot.md
Last active May 9, 2024 01:31
For installing Debian Sid with LUKS2 encrypted BTRFS filesystem with Systemd-boot and rEFInd bootloaders plus an option for dualboot to Windows

For directly installing Debian Sid not supported by the Debian installer, namely:

  • Single LUKS2 encrypted partition which contains the full installation
  • Single BTRFS filesystem (integrated home partition)
  • Encrypted swapfile in BTRFS subvolume (supports laptop suspend but not hibernate)
  • Uses systemd-boot bootloader (instead of Grub2, also optional rEFInd instructions)
  • Minimal Gnome install (plus instructions for any other DE you wish)
  • Proper user groups for common security tools like sudo-less Wireshark, etc...
  • Optional removal of crypto keys from RAM during laptop suspend
  • Optional configurations for laptops (including fingerprint readers)
@wmydz1
wmydz1 / HR发给应聘者常用邮件模板.md
Last active May 9, 2024 01:31
HR发给应聘者常用邮件模板

HR发给应聘者常用邮件模板
人才关系管理,具体到招聘工作中,就是应聘者关系管理。据调查,90%以上的求职者,对应聘的公司了解程度并不深。因此,与HR的沟通过程将被做为推断企业整体管理 水平的重要依据。在招聘工作过程中,与应聘者保持规范、高效、人性化的沟通,可以大大提高企业的雇主品牌影响力,在人才的争夺中获得无形的优势。

一、收到简历后的回复 XXXX先生\女士, 您好!感谢您投递xx公司的XX职位。您的简历我们已经收到,我们会在7个工作日内处理您的简历。 附:公司简介 xx公司人力资源部

说明:在应聘者投递简历后,很多招聘工作较为成熟的企业会马上给应聘者发送一封邮件,以表明公司收到了应聘者的求职申请。这一封邮件是HR与应聘者的第一次接触,很多公司会采用自动化的软件来实现这一功能,它所体现的是企业对每一位应聘者的重视以及招聘工作的专业化程度。

@joparara
joparara / Response.php
Created November 17, 2023 23:35 — forked from jeffochoa/Response.php
Laravel HTTP status code
<?php
// This can be found in the Symfony\Component\HttpFoundation\Response class
const HTTP_CONTINUE = 100;
const HTTP_SWITCHING_PROTOCOLS = 101;
const HTTP_PROCESSING = 102; // RFC2518
const HTTP_OK = 200;
const HTTP_CREATED = 201;
const HTTP_ACCEPTED = 202;
@dhh
dhh / linux-setup.sh
Last active May 9, 2024 01:24
linux-setup.sh
# CLI
sudo apt update -y
sudo apt install -y \
git curl \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \
rbenv apache2-utils
@lornajane
lornajane / mac.md
Last active May 9, 2024 01:22
Keyboard Only OS X

Keyboard-only Mac Cheatsheet

Hi, I'm Lorna and I don't use a mouse. I have had RSI issues since a bad workstation setup at work in 2006. I've tried a number of extra hardware modifications but what works best for me is to use the keyboard and only the keyboard, so I'm in a good position and never reaching for anything else (except my coffee cup!). I rather unwisely took a job which required me to use a mac (I've been a linux user until now and also had the ability to choose my tools carefully) so here is my cheatsheet of the apps, tricks and keyboard shortcuts I'm using, mostly for my own reference. Since keyboard-only use is also great for productivity, you may also find some of these ideas useful, in which case at least something good has come of this :)

Apps List

There's more detail on a few of these apps but here is a quick overview of the tools I've installed and found helpful

Tool Link Comments
@leocomelli
leocomelli / git.md
Last active May 9, 2024 01:22
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda