Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1B
- Decimal:
27
// GLFW and OpenGL example with very verbose comments and links to documentation for learning | |
// By Soren Saket | |
// semi-colons ; are not requied in odin | |
// | |
// Every Odin script belongs to a package | |
// Define the package with the package [packageName] statement | |
// The main package name is reserved for the program entry point package | |
// You cannot have two different packages in the same directory |
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]); | |
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default; | |
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes); | |
var user = UserStore.getCurrentUser(); | |
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({ | |
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [], | |
}); | |
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN(); | |
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done"; |
Vue.config.optionMergeStrategies.render = (parentVal, childVal) => { | |
if (parentVal) { | |
const mergedParentVal = function render (...args) { | |
args.push([ childVal.apply(this, args) ]) | |
return parentVal.apply(this, args) | |
} | |
return mergedParentVal | |
} |
This guide will walk you through the steps required to grow a partition in Linux. You will have to reboot through this guide.
Often, you will want to grow the partition table because you made your virtual hard disk too small, and you tried to extend it in your hypervisor, only to find out that your partition is still the same size as it was before.
function calcChecker1 (firstNineDigits) { | |
let sum = null | |
for (let j = 0; j < 9; ++j) { | |
sum += firstNineDigits.toString().charAt(j) * (10 - j) | |
} | |
const lastSumChecker1 = sum % 11 | |
const checker1 = (lastSumChecker1 < 2) ? 0 : 11 - lastSumChecker1 |
Make your Arch fonts beautiful easily! This is what I do when I install Arch Linux to improve the fonts.
You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):
Install some fonts, for example:
sudo pacman -S ttf-dejavu ttf-liberation noto-fonts
OSX Apps | |
- Total Spaces, for keeping X11 in different space and faster switching | |
- MenuAndDockless for hidding topbar menu | |
X11 - Macports | |
- sudo port install xorg-server | |
- sudo port install xinit | |
- sudo port install terminus-font dejavu-fonts bitstream-fonts | |
Suckless - suckless.org |