Skip to content

Instantly share code, notes, and snippets.

@Snehil-Shah
Snehil-Shah / clustering_videos.ipynb
Created May 9, 2024 06:12
Strategic sampling and clustering of videos using RESNET embeddings of frames visualized using t-SNE
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active May 9, 2024 06:12
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@dcode
dcode / GitHub Flavored Asciidoc (GFA).adoc
Last active May 9, 2024 06:11
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active May 9, 2024 06:08
Files for PlayStation BIOS Files NA-EU-JP
@Klerith
Klerith / flutter-instalaciones.md
Last active May 9, 2024 06:08
Instalaciones del curso de Flutter - Móvil de cero a experto
@bgulla
bgulla / rke2_kubevip.md
Last active May 9, 2024 06:07
RKE2 api-server HA with Kube-VIP

On-Prem RKE2 api-server HA with Kube-VIP

               ,        ,  _______________________________
   ,-----------|'------'|  |                             |
  /.           '-'    |-'  |_____________________________|
 |/|             |    |    
   |   .________.'----'    _______________________________
   |  ||        |  ||      |                             |
   \__|'        \__|'      |_____________________________|
@teamgroove
teamgroove / js.js
Created October 27, 2015 13:57
yiq formula to define black or white text for maximum contrast automatically
var textColor = function (bgColor) {
var r = bgColor.r * 255,
g = bgColor.g * 255,
b = bgColor.b * 255;
var yiq = (r * 299 + g * 587 + b * 114) / 1000;
return (yiq >= 128) ? 'black' : 'white';
}
@Akhil-Suresh
Akhil-Suresh / postman_installation.md
Last active May 9, 2024 06:04
Installing Postman on Ubuntu/Debian

Installing Postman

Step 1

If any version of postman is installed we need to remove it

sudo rm -rf /opt/Postman

Step 2

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active May 9, 2024 06:12
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This no longer works in browser!

Note

This no longer works if you're alone in vc! Somebody else has to join you!

How to use this script:

  1. Accept the quest under User Settings -> Gift Inventory
@jboner
jboner / latency.txt
Last active May 9, 2024 06:01
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD