This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<scheme name="Base16-Eighties-Dark" version="142" parent_scheme="Default"> | |
<option name="LINE_SPACING" value="1.1" /> | |
<option name="EDITOR_FONT_SIZE" value="12" /> | |
<option name="CONSOLE_FONT_NAME" value="Menlo" /> | |
<option name="CONSOLE_LINE_SPACING" value="1.0" /> | |
<option name="EDITOR_FONT_NAME" value="Source Code Pro" /> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="99cc99" /> | |
<option name="ANNOTATIONS_COLOR" value="515151" /> | |
<option name="CARET_COLOR" value="e8e6df" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from xml.dom import minidom | |
import os | |
txtFile = open("./team_nick_names.txt", "r") | |
nicknameLines = txtFile.readlines() | |
root = minidom.Document() | |
root.encoding = "utf-8" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { format } from "https://deno.land/[email protected]/datetime/mod.ts"; | |
const download = async (url: string, filename: string) => { | |
const data = (await fetch(url)).arrayBuffer(); | |
return Deno.writeFile(filename, new Uint8Array(await data)); | |
}; | |
const outputDir = Deno.args[0]; | |
const date = new Date(); | |
const outputFile = `${outputDir}/nyt_cover_${format(date, "yyyy-MM-dd")}.pdf`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install -y autoconf bison bison-devel \ | |
re2c libxml2 libxml2-devel openssl-devel \ | |
sqlite sqlite-devel libcurl libcurl-devel \ | |
gd gd-devel oniguruma oniguruma-devel \ | |
libpq libpq-devel postgresql \ | |
readline readline-devel libzip libzip-devel | |
asdf install php 8.3.7 | |
asdf global php 8.3.7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Create pre snapshot..." | |
timestamp=$(date +%Y%m%d%H%M%S) | |
pre_snapshot_number=$(sudo snapper -c root create --description pre-update-${timestamp} --type pre --cleanup number --print-number) | |
# Update the system | |
echo "--- Updating the system ---" | |
sudo dnf update -y |
OlderNewer