(In)famous developer and devout Christian, Terry Davis, has said an idiot admires complexity, a genius admires simplicity
.
When you see my code examples and my code-style in Bash, you may think I'm a bit of both.
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
//using CS; | |
//[System.Serializable] | |
//public class HeaderExampleClass | |
//{ | |
// [Header("My Fields", 3)] |
<?php | |
namespace App\Console\Commands\Horizon; | |
use Illuminate\Console\Command; | |
use Illuminate\Queue\Failed\FailedJobProviderInterface; | |
use Laravel\Horizon\Contracts\JobRepository; | |
use Laravel\Horizon\Jobs\RetryFailedJob; | |
class RetryAllFailedJobsCommand extends Command |
# Self-elevate the script if required | |
"`Self Elevating...`n" | |
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { | |
if ([int](Get-CimInstance -Class Win32_OperatingSystem | Select-Object -ExpandProperty BuildNumber) -ge 6000) { | |
$CommandLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments | |
Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CommandLine | |
Exit | |
} | |
} |
(In)famous developer and devout Christian, Terry Davis, has said an idiot admires complexity, a genius admires simplicity
.
When you see my code examples and my code-style in Bash, you may think I'm a bit of both.
import { useEffect, useState } from "react"; | |
import { Pressable, StyleSheet, Text, View } from "react-native"; | |
let timer = null; | |
const TIMEOUT = 500 | |
const debounce = (onSingle, onDouble) => { | |
if (timer) { | |
clearTimeout(timer); | |
timer = null; | |
onDouble(); |
#!/bin/bash | |
if [[ $# -ne 2 ]]; then | |
echo "Must only have two arguments, the URL and the collection" >&2 | |
exit 1 | |
fi | |
if [[ ! -d "/var/spool/openwayback/files2/${2}" ]]; then | |
mkdir "/var/spool/openwayback/files2/${2}" | |
fi |
# 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 |
const title_text = "π'πΊ ππππΊπΆ...!!"; | |
const body_text = "ππππ"; | |
const source_url = "https://github.com/sataniceypz/Izumi-v2"; | |
large_thumb = false; // use true for larger thumbnail | |
const logo = "https://i.imgur.com/4AKWozV.jpeg"; | |
var audios = ["https://i.imgur.com/tceIGIW.mp4","https://i.imgur.com/v1bYXlb.mp4","https://i.imgur.com/cGJ1Gyi.mp4","https://i.imgur.com/6HXfyVr.mp4","https://i.imgur.com/dPjoh3s.mp4","https://i.imgur.com/pbtSy0M.mp4","https://i.imgur.com/sDwfg29.mp4","https://i.imgur.com/8vhaz82.mp4"]; | |
// =================================================================================== | |
// EZRA-XD MENTION AUDIO SENDER | |
// |
// https://github.com/arhs/iban.js | |
(function (root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['exports'], factory); | |
} else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') { | |
// CommonJS | |
factory(exports); | |
} else { | |
// Browser globals |
You have 2 options, use the script descrived bellow or follow the instrutions
script in this gist if you want the source code
wget https://gist.githubusercontent.com/Vertecedoc4545/6e54487f07a1888b656b656c0cdd9764/raw/2c5e8ccb428fc331307e2f653cab88174c051310/build-ubuntu-23.sh
chmod +x build-ubuntu-23.sh
./build-ubuntu-23.sh