[go: nahoru, domu]

Skip to content

Instantly share code, notes, and snippets.

[
{
"animeEng": "Steins;Gate 0",
"animeRomaji": "Steins;Gate 0",
"songName": "GATE OF STEINER",
"artist": "Eri Sasaki",
"type": "Ending 6",
"correctCount": 20,
"startTime": 183,
"songDuration": 245.940979,
@JefersonS
JefersonS / cloneGenerator.js
Last active June 29, 2024 02:08
Generator products API clone
// ... other imports + db pool connection
const cloneAPIProducts = async () => {
const client = await pool.connect();
const job = await findOrStartJob(client); // either finds a job with status started or creates a new one
const jobStatus = {
jobId: job.id,
status: job.status,
processedStores: job.processed_stores, // array of objects with store_id total_processed_products or []
totalInsertedProducts: job.total_inserted_products,
@choco-bot
choco-bot / FilesSnapshot.xml
Created June 29, 2024 02:06
freecad v37928.2024.6.28-dev - Passed - Package Tests Results
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\freecad\freecad.nupkg" checksum="D89F5A26DE8DD7D7CA310D8F131CD18D" />
<file path="C:\ProgramData\chocolatey\lib\freecad\freecad.nuspec" checksum="08FED2AC255C1745E99EC1C7640D5D35" />
<file path="C:\ProgramData\chocolatey\lib\freecad\FreeCAD_weekly-builds-37928-conda-Windows-x86_64-py311.7z.txt" checksum="83A9C31C4DAD0928EF5E9F7F03393DC7" />
<file path="C:\ProgramData\chocolatey\lib\freecad\tools\chocolateyInstall.ps1" checksum="79BAFF0A6885FCE287FF2D9CD21416E2" />
<file path="C:\ProgramData\chocolatey\lib\freecad\tools\chocolateyUninstall.ps1" checksum="957490E1035CB888984A38335A9E769C" />
<file path="C:\ProgramData\chocolatey\lib\freecad\tools\helper.ps1" checksum="3A764D248C2F330FC546975A3C50DF06" />
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 29, 2024 02:06
Rimworld output log published using HugsLib
Log uploaded on Friday, June 28, 2024, 10:05:59 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4)
Cherry Picker(Owlchemist.CherryPicker.tmpfix): 0Harmony(2.3.3), CherryPicker(av:1.0.62,fv:1.0.62)
/* TOUPPERCASE*/
function aMayusculas(texto1, texto2) {
t = texto1
tt = texto2
return t.toUpperCase + tt.toUpperCase
}
function aMinusculasPrimero(texto1, texto2) {
return texto1.toLowerCase() + texto2;
}
x86_64-linux tests.nixos-functions.nixos-test
aarch64-linux nixos-install-tools
x86_64-linux nixos-install-tools
[
{
"name": "Charybdis 4x6",
"author": "https://github.com/zzkt/charybdis"
},
[
{
"x": 3.5,
"a": 5
},
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
1 湿地公园 RF002 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
2 水边围 N12 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
3 石岗 RF003 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
4 大美督 RF004 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
5 大埔墟 RF005 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
6 北潭涌 RF006 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
7 滘西洲 RF007 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
8 西贡 N15 0 mm 2024-06-29T09:45:00+08:00 2024-06-29
@tamamushi-iro
tamamushi-iro / vpn-generateClientFile.sh
Created June 29, 2024 02:00
An extended bash script to generate openvpn's .ovpn client files that has configurable expiry days as well as clean up of all identifiable client's secret files. https://www.digitalocean.com/community/tutorials/how-to-set-up-and-configure-an-openvpn-server-on-ubuntu-22-04#step-11-creating-the-client-configuration-infrastructure
#!/bin/bash
# First argument: Client identifier
# Second argument: Issued cert expiration time in days
if [ $# -ne 2 ]; then
echo "Usage: ${0} {client-id} {expiration-time-in-days}"
exit
fi