Skip to content

Instantly share code, notes, and snippets.

import discord
from discord.ext import commands
import json
import aiohttp
import os
import logging
from datetime import datetime
# Set up logging
logging.basicConfig(
@Drglazizzo
Drglazizzo / TASK 1
Created February 11, 2025 19:34
CLI program
// Task 1
void main() {
// Predefined list of marks entered by me
List<double> marks = [88, 98, 58, 40, 75];
// Calculate total and average
double total = marks.reduce((a, b) => a + b);
double average = total / marks.length;
@choco-bot
choco-bot / FilesSnapshot.xml
Created February 11, 2025 19:34
Vivaldi v7.1.3570.48 - 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\Vivaldi\README.md" checksum="6C2A64504F85A9CB603549B7B177A317" />
<file path="C:\ProgramData\chocolatey\lib\Vivaldi\update.ps1" checksum="24A13D5D9D34F65A28F507F85AB5EAB8" />
<file path="C:\ProgramData\chocolatey\lib\Vivaldi\vivaldi.nupkg" checksum="4591292A0ADBF61EDE11BF9D898EEA20" />
<file path="C:\ProgramData\chocolatey\lib\Vivaldi\vivaldi.nuspec" checksum="B0C5E3C422BBAB8911A2129908235419" />
</files>
</fileSnapshot>
public static Vector3 ExpDecay(Vector3 a, Vector3 b, float decay, float dt)
{
return b + (a - b) * Mathf.Exp(-decay * dt);
}
@ahuramazdao
ahuramazdao / feed.xml
Created February 11, 2025 19:34
RSS Kanał Lovable blog
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>lovable.dev</title>
<link>https://lovable.dev/blog</link>
<description>RSS feed generated for lovable.dev</description>
<language>en-us</language>
<lastBuildDate>Tue, 11 Feb 2025 19:23:25 GMT</lastBuildDate>
<item>
@trysten
trysten / youtube.list
Created February 11, 2025 19:33
block youtube shorts with uBlock origin
www.youtube.com##ytd-reel-shelf-renderer
www.youtube.com##.ytd-rich-section-renderer.style-scope
www.youtube.com##ytd-guide-entry-renderer:has(a[title="Shorts"])
www.youtube.com##yt-chip-cloud-chip-renderer:has(yt-formatted-string[title="Shorts"])
/mvnw text eol=lf
*.cmd text eol=crlf
@marmanik
marmanik / CreateGeneralExportFileJob.php
Created February 11, 2025 19:32 — forked from brytey2k/CreateGeneralExportFileJob.php
A simple Laravel job that can help you export data through CSV from a database with millions of rows.
<?php
namespace App\Jobs;
use App\Models\GeneralExport;
use Storage;
class CreateGeneralExportFileJob implements ShouldQueue
{
@aqwedcade8
aqwedcade8 / gist:b558cf5be98f019aea8dfca0e9f7f5c0
Created February 11, 2025 19:32
Ashampoo PDF Pro Full [Latest Version] Download Free 2025
Ashampoo PDF Pro is an impressive application that can be used to view, edit and protect PDF files. It has many features that will enhance the way you process PDF files. You can create documents of suitable size that can be read on any device, and use encryption to protect your property when needed.Ashampoo PDF Pro Full has an easy-to-use user interface, and its layout is simple and clear, whether it is a professional or novice, users can easily use it. After opening the PDF file in this application, it will enable you to set the viewing mode that suits you best. It has a manual tool that may be helpful when browsing documents.
Download Link
https://sulkurl.com/lxm
@beporter
beporter / gravatar.sh
Last active February 11, 2025 19:53
Quick bash script to generate a gravatar.com URL for a provided email address. Drop in your PATH and `chmod u+x`.
#!/usr/bin/env bash
# Generate the correct Gravatar URL for the provided email address.
# When the -o option is provided, `open` the URL in your default browser.
usage() { >&2 echo "Usage: ${0##*/} [-o] <email>"; exit 1; }
GRAVATAR_BASE_URL="https://gravatar.com/avatar/"
GRAVATAR_OPTIONS="d=wavatar"
# Parse command line arguments.