Skip to content

Instantly share code, notes, and snippets.

@vidhav
vidhav / hurtigkurs-i-cloud-native-formater.ipynb
Created September 1, 2026 06:53
Hurtigkurs i Cloud Native Formater
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@naveenshukla
naveenshukla / bestimetobuysell.java
Created September 1, 2026 06:53
Blind 75: Best time to buy and sell stocks
// It's a two pointers approach
// left and right pointer, where left is buy and right is sell
// if profitable (right - left > 0), update the right pointer
// if not profitable (right - left < 0) update the left till the right, and update the right pointer by one
class Solution {
public int maxProfit(int[] prices) {
int maxP = 0;
int l = 0, r = 1;
while (r < prices.length) {
-- Ekran Arayüzü Oluşturma
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Status = Instance.new("TextLabel")
local IncreaseBtn = Instance.new("TextButton")
local DecreaseBtn = Instance.new("TextButton")
local ResetBtn = Instance.new("TextButton")
ScreenGui.Parent = game.CoreGui
@qlijarvis
qlijarvis / pr_only_checker_log_detailed.md
Created September 1, 2026 06:51
PR #995 checker-log-analyzer detailed analysis
@qlijarvis
qlijarvis / pr_only_validate_patch_detailed.md
Created September 1, 2026 06:51
PR #995 validate-patch detailed analysis
@pecantugalone
pecantugalone / Tomodachi Life
Last active September 1, 2026 06:51
Download Tomodachi Life: Living the Dream Switch XCI/NSP {ROM + v1.0.4 Update}
Tomodachi Life: Living the Dream — Full Overview
Tomodachi Life: Living the Dream is a life-simulation game for **Nintendo Switch 2** and a sequel to the Nintendo 3DS game *Tomodachi Life*. You create or import characters, place them on an island, and watch their everyday lives unfold.
✨💥✅👉 Copy & Paste New Tab to Download ---> https://o5ewap.s.gy/SqEFfX
@forkyau
forkyau / hourly_rainfall_data-2026-09-01|14-30.csv
Created September 1, 2026 06:51
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
1 湿地公园 RF002 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
2 水边围 N12 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
3 石岗 RF003 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
4 大美督 RF004 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
5 大埔墟 RF005 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
6 北潭涌 RF006 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
7 滘西洲 RF007 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
8 西贡 N15 0 mm 2026-09-01T14:30:00+08:00 2026-09-01
program GradeCalculator;
uses crt;
var
numSubjects, i: integer;
grade, total, average: real;
letterGrade: char;
function GetLetterGrade(avg: real): char;
begin
@evgenii-prusov
evgenii-prusov / latency.txt
Created September 1, 2026 06:48 — forked from jboner/latency.txt
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
@jiaolulin
jiaolulin / 谷雨男士七夕内容效率诊断-客户版.html
Created September 1, 2026 06:48
谷雨男士七夕内容效率诊断-客户版
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>谷雨男士凌云套·七夕内容效率诊断V11</title>
<script>(function(){var module=undefined,exports=undefined;
/*