Skip to content

Instantly share code, notes, and snippets.

@rajneesh069
rajneesh069 / AvatarAlert.tsx
Created February 8, 2025 00:50
Avatar Alert
import React, { useEffect, useRef, useState } from "react";
import {
Animated,
PanResponder,
StyleSheet,
Image,
View,
Text,
TouchableOpacity,
} from "react-native";
@wild-card-ai
wild-card-ai / Wildcard CLA
Created February 8, 2025 00:49
Wildcard CLA for new contributors
### Wildcard Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Wildcard AI, Inc. or its affiliates (“Wildcard”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Wildcard in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact info@wild-card.ai.
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.
**Copyright License.** You hereby grant, and agree to grant, to Wildcard a non-exclusive, p
@rajneesh069
rajneesh069 / CallLogs.tsx
Created February 8, 2025 00:49
CallLogs Component
import React, { useEffect, useState } from "react";
import {
View,
Text,
StyleSheet,
FlatList,
TouchableOpacity,
Animated,
} from "react-native";
import { MaterialIcons } from "@expo/vector-icons";
@dantsec
dantsec / app.js
Created February 8, 2025 00:48
Simple node implementation of JWT with access and refresh token!
// Imports
const express = require('express');
const app = express();
const tokenUtil = require('./token');
// Constants
const accessSecret = 'ACCESS_SECRET_KEY';
const refreshSecret = 'REFRESH_SECRET_KEY';
const validLogin = {
username: 'admin',
@gene-ressler
gene-ressler / tree-map.ts
Created February 8, 2025 00:46
Red-black trees in Typescript (no deletion yet)
type Color = 'r' | 'b';
type NullableNode<K, V> = Node<K, V> | null;
type Node<K, V> = {
value: V;
color: Color;
kids: [NullableNode<K, V>, NullableNode<K, V>];
};
export class TreeMap<K, V> {
private root: NullableNode<K, V> = null;
import random
def number_guessing_game():
print("try my number guessing game!")
print("i'm thinking of a number between 1 and 100.")
secret_number = random.randint(1, 100)
attempts = 0
while True:
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 8, 2025 00:45
Rimworld output log published using HugsLib
Log uploaded on Friday, February 7, 2025, 7:44:53 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)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Multiplayer(rwmt.Multiplayer): 0MultiplayerAPI(av:0.5.0,fv:0.5.0), 0PrepatcherAPI(1.2.0), LiteNetLib(1.0.0), MultiplayerLoader(1.0.0), RestSharp(av:106.12.0,fv:106.12.0), System.IO.Compression(av:4.1.2,fv:4.6.24705.1), Multiplayer(0.10.5 [no FileVersionInfo]), MultiplayerCommon(1.0.0 [no FileVersionInfo])
Multiplayer Compatibility(rwmt.MultiplayerCompatibility): Multiplayer_Compat(1.1.0), Multiplayer_Compat_Referenced(0.0.0 [no FileVersionInfo])
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 8, 2025 00:44
mod v3.32.0-beta - Passed - 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\mod\mod.nupkg" checksum="13D03887A95011D541A7A893FEC6C470" />
<file path="C:\ProgramData\chocolatey\lib\mod\mod.nuspec" checksum="AA7F29BDB4FDA9D2E42FA9C15A93197F" />
<file path="C:\ProgramData\chocolatey\lib\mod\tools\chocolateyinstall.ps1" checksum="5059AC92C31BEE58DDAE6DBD81716AFD" />
<file path="C:\ProgramData\chocolatey\lib\mod\tools\mod.exe" checksum="A55F54371E8AABDA71232EA80F19C50C" />
</files>
</fileSnapshot>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 8, 2025 00:44
Rimworld output log published using HugsLib
Log uploaded on Saturday, February 8, 2025, 8:44:07 AM
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)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Vehicle Framework(SmashPhil.VehicleFramework): 0Harmony(2.3.3), SmashTools(1.0.0), UpdateLogTool(1.3.8984.43037), Vehicles(1.5.1)
Bill Doors' Framework(3HSTltd.Framework): 0BillDoorsUnifiedHaulJob(1.0.0), 0BillDoorsUnifiedHaulJob(1.0.0), BillDoorsFrameworkUtilities(1.0.0), BillDoorsLootsAndShelves(1.0.0), BillDoorsPredefinedCharacter(1.0.0), MuzzleFlashInvoker(1.0.0), UnityEngine.InputLegacyModule(0.0.0), BillDoorsFrameworkVanilla(1.0.0), BillDoorsVehicleExt(1.0.0), SmashTools(1.0.0), Vehicles(av:1.5.1,fv:1.4.1)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0)