Skip to content

Instantly share code, notes, and snippets.

@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

@ideoforms
ideoforms / sox-cheat-sheet.sh
Last active May 9, 2024 01:19
sox cheat sheet
################################################################################
# sox cheat sheet
################################################################################
# Example commands for the sox command-line audio processing tool,
# for manipulating or batch processing audio files.
################################################################################
# Daniel Jones <dan-web@erase.net>
################################################################################
################################################################################
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active May 9, 2024 01:14
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 9, 2024 01:14
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@aperfect
aperfect / CloudKit.swift
Created April 13, 2023 08:52
CloudKit server-to-server Swift authentication example
// Swift example for Apple CloudKit server-to-server token authentication
// See: https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitWebServicesReference/SettingUpWebServices.html#//apple_ref/doc/uid/TP40015240-CH24-SW6
import Foundation
import CryptoKit
import Network
// Set up your body JSON