Skip to content

Instantly share code, notes, and snippets.

@yonatanh20
yonatanh20 / README.md
Last active January 8, 2025 13:14
Enabling SocketCAN on WSL2 walkthrough

#Enabling SocketCAN on WSL2 Preface: this walkthrough is a hand-holdy step by step tutorial to enable SocketCan on your WSL2 instance (Ubuntu 20.04).

To enable SocketCAN's can-utils on WSL we need to enable the CAN interface module in the WSL, to do so requires a re-building of the WSL kernel.

Requirements:

@Maharshi-Pandya
Maharshi-Pandya / contemplative-llms.txt
Last active January 8, 2025 13:13
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@lucianolacurcia
lucianolacurcia / bcuapi.md
Last active January 8, 2025 13:16
BCU API - Uruguay - Obtener cotizaciones - minidocs

Cotizaciones BCU:

Para obtener las cotizaciones del Banco Central de Uruguay a través de su API se debe llamar al enpoint:

https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsbcucotizaciones?wsdl

Utilizando el método http POST, añadiendo en el body de la solicitud, un xml con el sigiuente formato:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cot="Cotiza">
   <soapenv:Header />
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@jpgreth
jpgreth / two-part-mold-generator.scad
Created June 11, 2018 08:10
Two-part mold generating script for OpenSCAD
/*************************************************
Parametric two-part mold generator
Author: Jason Webb
Website: http://cs.unk.edu/~webb
Last update: 10/1/2012
A parametric two-part mold generator that constructs two-
part molds with registration marks based on STL files.
USAGE:
@mcroach
mcroach / storing-image-assets-in-repo.md
Last active January 8, 2025 13:09
Using an 'assets' branch to store images in your repo

Storing image assets in your repo and referencing in markdown

Create an assets branch and make the initial commit

git checkout --orphan assets
git reset --hard
cp /path/to/cat.png .
git add .
git commit -m 'Added cat picture'
git push -u origin assets
@ansarizafar
ansarizafar / visualstudio2019Key.txt
Created August 10, 2020 19:41
Visual Studio 2019 Product Key
Visual Studio 2019 Product Key
[Please Star this gist]
Follow My Account --> https://github.com/ch-kashif @ch-kashif
Lets do a code together
Join Cloud Disk repository --> https://github.com/ch-kashif/CloudDisk
@davidcdupuis
davidcdupuis / data.json
Last active January 8, 2025 13:03
Concentric circle force layout graph in D3.v4
{
"papers":[
{
"id":"adaptive-targeting",
"title":"Adaptive Targeting for Online Advertisement",
"year":"2015",
"authors":["Andrey Pepelyshev","Yuri Staroselskiy","Anatoly Zhigljavsky"],
"problematic":"Making fast decisions on whether to show a given ad to a particular user based on information extracted from big data sets containing records of previous impressions, clicks and subsequent purchases.",
"solution":"Strategies for maximizing the click-through rate and provide some results of statistical analysis of real data",
"references":["massive-datasets","web-scale-user-targ","onl-ad-industry","greedy-approx-gbm","sponsored-search","mult-dim-maj","ftrl-mirror-descent","sup-mult-dim-scale","organic-vs-spons-search"]