Skip to content

Instantly share code, notes, and snippets.

@songchongxian
songchongxian / index.html
Created March 13, 2025 11:59
mapbox-regl-3dheatmap
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<title>mapbox-regl-heatmap3d-layer</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<link href="https://cdn.jsdelivr.net/npm/@sakitam-gis/mapbox-gl@1.20.0/dist/mapbox-gl.css" rel="stylesheet" />
<style>
body { margin: 0; padding: 0; }
#map { position: absolute; top: 0; bottom: 0; width: 100%; }
/**********************************
CTIS164 - Template Source Program
-----------------------------------
NAME SURNAME : Aykhan Hashimzada
STUDENT ID : 22401061
SECTION : 1
HOMEWORK : 1
-----------------------------------
PROBLEMS : i had problems with closing of window i created addtitional function and placed in the right position in display and it worked made a color brown.
for some reason the handle disaperes when the window is closed(i know why becaus the closed window is the last in display which make it overtrow the other function so i need to create one more function for the handle.
@choco-bot
choco-bot / FilesSnapshot.xml
Created March 13, 2025 11:59
quarkus v3.19.3 - 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\quarkus\quarkus-cli-3.19.3.zip.txt" checksum="61372D95B4F4A430A7256FD948A25424" />
<file path="C:\ProgramData\chocolatey\lib\quarkus\quarkus.nupkg" checksum="C6D0F2D3B5529AC6BAB860FDB90BE5EF" />
<file path="C:\ProgramData\chocolatey\lib\quarkus\quarkus.nuspec" checksum="AD28E7BB0AD25E37118BD8DE42AA6680" />
<file path="C:\ProgramData\chocolatey\lib\quarkus\quarkus-cli-3.19.3\LICENSE" checksum="F093BB7D6815960117804BECFA7CBA8D" />
<file path="C:\ProgramData\chocolatey\lib\quarkus\quarkus-cli-3.19.3\README" checksum="DB33BA83EB1E34F950B230077172165A" />
<file path="C:\ProgramData\chocolatey\lib\quarkus\quarkus-cli-3.19.3\bin\quarkus" checksum="865F61F1C122837DFD1F0A26A45CCC33" />
<file path="C:\ProgramData\chocolatey\lib\quarkus\quarkus-cli-3.19.3\bin\quarkus.bat" checksum="
@SAKIB-BIN-EHSAN
SAKIB-BIN-EHSAN / Car.php
Created March 13, 2025 11:58
Code example spl_autoload_register function
<?php
// File: classes/Car.php
class Car {
public function drive() {
return "Driving the car!\n";
}
}
?>
@freakingrandomcrapusername
freakingrandomcrapusername / 2025-03-13 11:58:49 +0000.kml
Created March 13, 2025 11:58
Halter Road to Leo-Grabill Rd Trail
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2'>
<Placemark>
<name>Halter Road to Leo-Grabill Rd Trail</name>
<LineString>
<coordinates>
-85.03790047429423,41.21557691910442,0
-85.03813190380436,41.222773212588606,0
-85.01902644934492,41.22306122552982,0
-85.01240823739131,41.22318591441278,0
@Weydon-Ding
Weydon-Ding / bilibili-decoder.py
Created March 13, 2025 11:58
解密bilibili客户端下载的视频
import argparse
import json
import os
import platform
import re
import shlex
import subprocess
SHELL = platform.system() != 'Windows'
BUFFER_SIZE = 4096 # 4KB 缓冲区大小
using System;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
class Program
{
private static ClientWebSocket _client = new ClientWebSocket();
private static readonly Uri ServerUri = new Uri("wss://streaming.bitquery.io/graphql?token=YOURTOKEN");
@nuttxpr
nuttxpr / ci-risc-v-03.log
Created March 13, 2025 11:58
[risc-v-03] CI Log for nuttx @ e0b02314e6e28b10ee84837bfe62b1e48700f85a / nuttx-apps @ 3b03636e95f6202b512d8af32629da4c0dc4af2c
Script started on 2025-03-13 18:47:17+08:00 [COMMAND="/home/luppy/nuttx-release/run-job.sh risc-v-03 3" TERM="tmux-256color" TTY="/dev/pts/9" COLUMNS="100" LINES="10"]
Now running https://github.com/lupyuen/nuttx-release/blob/main/run-job.sh risc-v-03 3
Called by https://github.com/lupyuen/nuttx-release/blob/main/run-ci.sh
+ job=risc-v-03
+ [[ risc-v-03 == '' ]]
+ instance=3
+ set
+ grep TMUX
+ true
+ neofetch
<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2'>
<Placemark>
<name></name>
<Point>
<coordinates>-85.03787459758057,41.21558756524501,0</coordinates>
</Point>
</Placemark>
</kml>
@choco-bot
choco-bot / FilesSnapshot.xml
Created March 13, 2025 11:56
kdevelop.install v5.6.2.5319 - Failed - 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\kdevelop.install\kdevelop.install.nupkg" checksum="41005C8A80EF0886DC14C69E87C491A6" />
<file path="C:\ProgramData\chocolatey\lib\kdevelop.install\kdevelop.install.nuspec" checksum="A6F5852C0E469410E596A40DB050DEFE" />
<file path="C:\ProgramData\chocolatey\lib\kdevelop.install\tools\chocolateyinstall.ps1" checksum="72E2EE74BFAC82F98356F1F7EEEDD09F" />
<file path="C:\ProgramData\chocolatey\lib\kdevelop.install\tools\chocolateyuninstall.ps1" checksum="E433F470597E94B94C669CDBA3DD7969" />
</files>
</fileSnapshot>