Skip to content

Instantly share code, notes, and snippets.

View Aries0d0f's full-sized avatar
🐈

Aries Cs Aries0d0f

🐈
View GitHub Profile
@Aries0d0f
Aries0d0f / download.sh
Last active July 8, 2024 08:37
Download all macOS Sonoma Aerial wallpaper
#!/bin/zsh
# This script helps those who want to
# get all Aerial wallpapers on macOS Sonoma
# all at once instead of clicking on settings one by one.
# Dependencies: jq, parallel
# Install all dependencies via `brew install jq parallel`
# After `parallel` installed run `sudo parallel --citation` first to read citation notice (IMPORTANT)
@Aries0d0f
Aries0d0f / timberborn-download-mods.ps1
Last active July 2, 2023 16:01
Auto download subscribed Timerborn mods from Mod.io
# Used to simplify y/n prompts further in the script
function User-Confirm {
param ([string]$msg)
do {
$yn = Read-Host "$msg [y/n]";
if ($yn -eq 'n') {
return $false
}
elseif ($yn -ne 'y') {
Echo "Enter y fer yes or n for no"
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"foreground": "#b2bec3",
"style": "plain",
"template": "\u256d\u2500",
@Aries0d0f
Aries0d0f / debuger.closure.js
Last active March 24, 2022 09:34
AGH Debugger
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):$jscomp.arrayIterator(a)};
$jscomp.arrayFromIterator=function(a){for(var b,d=[];!(b=a.next()).done;)d.push(b.value);return d};$jscomp.arrayFromIterable=function(a){return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5|
@Aries0d0f
Aries0d0f / minecraft_util.sh
Created May 26, 2021 00:48
Minecraft Server Manager Utility
#!/bin/zsh
welcome_menu () {
clear -x;
echo "\e[1;37m[Minecraft Server Util]\e[0m";
echo "version: \e[1;37mv0.0.1\e[0m";
echo "by \e[1;4;37m@Aries0d0f\e[0m | \e[1;4;36mhttps://aries0d0f.me\e[0m";
echo "\r";
echo "Press \e[1;37m[ENTER]\e[0m to start this util";
echo "Press \e[1;37m'q'\e[0m to exit";
@Aries0d0f
Aries0d0f / Gradient-Parser.js
Last active October 27, 2020 04:04
JavaScript RGB Color Gradient Parser
const colorParserInt = rgb => {
const [_, r, g, b] = rgb.toUpperCase().match(/([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})/);
return {
r: parseInt(`0x${r}`),
g: parseInt(`0x${g}`),
b: parseInt(`0x${b}`)
};
}
const colorParserHex = (r, g, b) => {
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"your-project-name": {
...,
"architect": {
"build": {
// copy this part
{
...
"start:augury": "ng serve --configuration augury",
...
}
"angularCompilerOptions": {
"debug": true,
"enableIvy": false
}
"angularCompilerOptions": {
"debug": true,
"enableIvy": false
}