Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Path to the SQLite database
DB_PATH="/Users/EXAMPLEUSER/Library/Caches/com.microsoft.SharePoint-mac/Cache.db"
# Sharepoint REST API docs
# https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service?tabs=csom
# Initialize an empty array to store tokens
declare -a tokens
@Amblines
Amblines / auth.js
Last active March 13, 2025 14:46
Пример кода на js
const passport = require('passport')
, LocalStrategy = require('passport-local').Strategy
;
const User = require('../models/user');
passport.serializeUser(function(user, done) {
done(null, user._id);
});
@chrplr
chrplr / gist:737564732d7daf0e4ccdebbf7c6d8d94
Created March 13, 2025 14:37
install expyriment with uv
uv venv
source .venv/bin/activate
uv pip install flit
git clone https://github.com/expyriment/expyriment.git
cd expyriment
uv run flit install
<?xml version="1.0" encoding="UTF-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0">
<info>
<title>Custom Journal Abbreviation Style</title>
<id>http://www.zotero.org/styles/custom-journal-abbr</id>
<link href="http://www.zotero.org/styles/custom-journal-abbr" rel="self"/>
<updated>2024-03-13T00:00:00+00:00</updated>
<summary>Formato de citas basado en la imagen proporcionada, sin autores.</summary>
<category citation-format="numeric"/>
<category field="medicine"/>
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created March 13, 2025 14:37
go-fmt-fail v0.0.5 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-2554630235-701135798-1881170629-1000</user>
<keys>
<key installerType="Msi" displayName="go-fmt-fail" displayVersion="0.0.5">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AF413825-9B60-4C1A-BE2D-26675C0637CE}</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[]]></InstallLocation>
<UninstallString><![CDATA[MsiExec.exe /I{AF413825-9B60-4C1A-BE2D-26675C0637CE}]]></UninstallString>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created March 13, 2025 14:37
Rimworld output log published using HugsLib
Log uploaded on Thursday, March 13, 2025, 5:37:30 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
BetterLoading(me.samboycoding.betterloading.dev)[mv:3.5.0.0]: BetterLoading(2.3.0), Tomlet(3.1.3)
More visible pause(aardvark.MoreVisiblePause): BorderOnPause(2.0.0.15)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created March 13, 2025 14:37
Rimworld output log published using HugsLib
Log uploaded on Thursday, March 13, 2025, 4:37:22 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
BetterLoading(me.samboycoding.betterloading.dev)[mv:3.5.0.0]: BetterLoading(2.3.0), Tomlet(3.1.3)
More visible pause(aardvark.MoreVisiblePause): BorderOnPause(2.0.0.15)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
@untincohewz740
untincohewz740 / Stellar Repair for Photo
Created March 13, 2025 14:37
Stellar Repair for Photo Cracked
Stellar Repair for Photo Crackeded
@icodesign
icodesign / SwiftParser.podspec
Last active March 13, 2025 14:37
SwiftSyntax
Pod::Spec.new do |s|
s.name = 'SwiftParser'
s.version = '600.0.1'
s.homepage = 'https://github.com/apple/swift-syntax'
s.summary = 'A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code'
s.description = 'Unofficial pod for the swift-syntax library'
s.license = { :type => 'Apache-2.0' }
s.authors = {
'Lance Wang' => 'hi@icodesign.me'
}