Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2D Game</title>
<style>
body {
margin: 0;
overflow: hidden;
@MaximumADHD
MaximumADHD / SelectionGet.lua
Created April 13, 2023 20:36
Autocompletes _# with game.Selection:Get()[#] in Roblox Studio's command bar.
--!strict
local ScriptEditorService = game:GetService("ScriptEditorService")
local ALIAS = "game.Selection:Get()[%s]"
type AutocompleteItem = {
label: string,
kind: Enum.CompletionItemKind?,
tags: {Enum.CompletionItemTag}?,
detail: string?,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2D Game</title>
<style>
body {
margin: 0;
overflow: hidden;
@razhangwei
razhangwei / keys.txt
Created November 26, 2022 16:27
#WiiU ROM/WUD keys #Gaming
66fccb31d608686ab237b2a987e24fe2 # 007 Legends [EUR, WUD]
c47ab82d4aa06b2e87f717370a6961be # 007 Legends [USA, WUD]
9b4266ff9279cd58d03cdb16bf77fed4 # Adventure Time: Explore the Dungeon Because I DON'T KNOW! [EUR, WUD]
fa005119b635f34afeab081fd394f787 # Adventure Time: Explore the Dungeon Because I DON'T KNOW! [USA, WUD]
b18cb36e3ddde626b5bba1dc33810f6e # Adventure Time Finn and Jake Investigations [EUR, WUD]
20e82ef763265e8f67dcca2fb2400935 # Adventure Time Finn and Jake Investigations [USA, WUD]
2aa9774322e92b25704b67cdc905e6e9 # Angry Birds Star Wars [EUR, WUD]
58cb15e60f95130419fe191053b3dc26 # Angry Birds Star Wars [USA, WUD]
29858aa7f788de0f391ce445f6541efd # Angry Birds Trilogy [EUR, WUD]
7ea4c6cb6c8ba6d35df143e412a80145 # Angry Birds Trilogy [USA, WUD]
@azagniotov
azagniotov / beautiful.rest.api.docs.in.markdown.md
Last active May 6, 2024 01:05
Example to create beautiful REST API docs in Markdown, inspired by Swagger API docs.
@edokeh
edokeh / index.js
Last active May 6, 2024 01:02
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \
@akhan4u
akhan4u / learning_linux.md
Last active May 6, 2024 01:02
Useful websites for Learning Linux
  1. Guided Self learning (https://linuxjourney.com)
  2. Best one liners for linux command line (https://www.commandlinefu.com/commands/browse)
  3. Find files in linux from command line (https://linuxize.com/post/how-to-find-files-in-linux-using-the-command-line)
  4. Improve your typing speed on the command line with this awesome tool! (https://github.com/balzss/cli-typer)
  5. An interactive cheatsheet tool for the command-line (https://github.com/denisidoro/navi)
  6. Customize your shell environment to next level (https://github.com/alebcay/awesome-shell)
  7. I find it useful to learn new things with the self learning courses offered by github (https://lab.github.com)
  8. A static analysis tool for shell scripts (https://github.com/koalaman/shellcheck)
  9. A good collection of bash snippets if you are starting to learn about shell scripts in linux (https://github.com/alexanderepstein/Bash-Snippets)
  10. Linux workshop 10 days (https://linuxessentials.netlify.app)
@sholloway
sholloway / SOQL Queries.sql
Last active May 6, 2024 00:58
Useful SOQL queries for exploring a Salesforce org.
--------------------------------------------------------------------
-- Queries related to distribution of metadata.
-- Find the number of users per profile.
SELECT count(id), Profile.name
FROM User
WHERE User.IsActive = true
GROUP BY Profile.name
-- Find the distribution of Apex classes per namespace.
select count(id), NameSpacePrefix
@ajmassi
ajmassi / LXCBindMount.md
Last active May 6, 2024 00:56
Create a bind mount from a Proxmox host on an unprivileged lxc container

Proxmox Assign Bind Mount To Unprivileged Container

In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.

Bind Mount dataset to LXC

Add the following line to /etc/pve/lxc/<CT_ID>.conf

mp0:/mount/point/on/host,mp=/mount/point/on/lxc

Create group on host

In the default Proxmox configuration, unpriviliged container subgids will have the prefix "10" followed by the expected 4-digit gid.