Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Function to check if a package is installed
check_package() {
if ! dpkg -l | grep -q "$1"; then
echo "$1 is not installed. Installing..."
sudo apt update
sudo apt install -y "$1"
else
echo "$1 is already installed."
@jshobe-inetsoft
jshobe-inetsoft / inetsoft-cla.md
Created March 13, 2025 14:43
InetSoft Individual Contributor License Agreement

InetSoft Individual Contributor License Agreement

In order to clarify the intellectual property license granted with Contributions from any person or entity, InetSoft Technology Corp ("InetSoft") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of InetSoft; it does not change your rights to use your own Contributions for any other purpose.

@gmalette
gmalette / bench.rb
Created March 13, 2025 14:43
Oj vs JSON
require 'benchmark'
require 'oj'
require 'json'
require 'bigdecimal'
REPLACEMENTS = {
"<" => '\u003c'.b,
">" => '\u003e'.b,
"&" => '\u0026'.b,
}
@choco-bot
choco-bot / Install.txt
Created March 13, 2025 14:42
wincrashreport v1.25 - Passed - Package Tests Results
2025-03-13 14:41:49,775 3660 [DEBUG] - XmlConfiguration is now operational
2025-03-13 14:41:49,976 3660 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 14:41:49,976 3660 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-13 14:41:49,976 3660 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 14:41:49,993 3660 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-03-13 14:41:49,993 3660 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-03-13 14:41:50,010 3660 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-03-13 14:41:50,010 3660 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-03-13 14:41:50,024 3660 [DEBUG] - Adding new typ
@probexcinal134
probexcinal134 / Joyoshare Vidikit
Created March 13, 2025 14:42
Joyoshare Vidikit Crack
Joyoshare Vidikit Cracked
@saesilnimi401
saesilnimi401 / Daemon Tools Pro
Created March 13, 2025 14:41
Daemon Tools Pro Crack
Daemon Tools Pro Cracked
@lvanasse
lvanasse / ci-risc-v-06.log
Created March 13, 2025 14:41
[risc-v-06] CI Log for nuttx @ e0b02314e6e28b10ee84837bfe62b1e48700f85a / nuttx-apps @ 3b03636e95f6202b512d8af32629da4c0dc4af2c
fpu.c:57:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
Script started on 2025-03-13 14:16:43+00:00 [COMMAND="/home/ludovic/nuttx-release/run-job.sh risc-v-06" <not executed on terminal>]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-06
+ neofetch
.-/+oossssoo+/-.
`:+ssssssssssssssssss+:`
-+ssssssssssssssssssyyssss+-
.ossssssssssssssssssdMMMNysssso.

VPS常用命令

  • 重启NaiveProxy(caddy服务器)

systemctl reload caddy
  • 查找大于20MB的文件

find . -type f -size +20M  -print0 | xargs -0 du -h
#include <iostream>
#include <fstream>
#include <string>
#include <ctime>
#include <thread>
#include <windows.h>
// Function to get the current timestamp as a string
std::string getCurrentTimestamp() {
time_t now = time(0);
@choco-bot
choco-bot / FilesSnapshot.xml
Created March 13, 2025 14:41
moneyguru v2.10.1 - Failed - Package Tests Results
<?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\moneyguru\moneyguru.nupkg" checksum="594BA4C9FD4BB1B4F9D2A0D7BAFD0EC4" />
<file path="C:\ProgramData\chocolatey\lib\moneyguru\moneyguru.nuspec" checksum="5BAD7A70A76D7930C20CF6B570453B95" />
<file path="C:\ProgramData\chocolatey\lib\moneyguru\tools\chocolateyInstall.ps1" checksum="76885D09D47C3FA05302F7453FEEE0F0" />
<file path="C:\ProgramData\chocolatey\lib\moneyguru\tools\chocolateyUninstall.ps1" checksum="94853F81AC9F665E21A691A0BCAB7D61" />
</files>
</fileSnapshot>