Skip to content

Instantly share code, notes, and snippets.

@UmarZein
UmarZein / locs.json
Last active December 8, 2025 07:27
Lokasi
{
"result": [
{
"lat": -2.128180303953039,
"lon": 101.87499160052184
},
{
"lat": -1.8137909308791507,
"lon": 101.91688089978356
},
@UmarZein
UmarZein / kak_tubes1.ipynb
Created November 30, 2025 14:39
Analisis dan augmentasi data dengan SMOTEN
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
[{"lat" : -1.7232203737409058, "lon" : 100.99868774414062, "s3_keys" : "tile_z18_x204617_y132327.png"}, {"lat" : -1.7259657116647484, "lon" : 100.99868774414062, "s3_keys" : "tile_z18_x204617_y132329.png"}, {"lat" : -1.7396923417013537, "lon" : 100.997314453125, "s3_keys" : "tile_z18_x204616_y132339.png"}, {"lat" : -1.7438103112712424, "lon" : 100.997314453125, "s3_keys" : "tile_z18_x204616_y132342.png"}, {"lat" : -1.7342017016284215, "lon" : 100.99868774414062, "s3_keys" : "tile_z18_x204617_y132335.png"}, {"lat" : -1.7355743631421234, "lon" : 100.99868774414062, "s3_keys" : "tile_z18_x204617_y132336.png"}, {"lat" : -1.7355743631421234, "lon" : 101.00006103515625, "s3_keys" : "tile_z18_x204618_y132336.png"}, {"lat" : -1.7245930431979053, "lon" : 101.00692749023438, "s3_keys" : "tile_z18_x204623_y132328.png"}, {"lat" : -1.7232203737409058, "lon" : 100.997314453125, "s3_keys" : "tile_z18_x204616_y132327.png"}, {"lat" : -1.7314563756148034, "lon" : 100.997314453125, "s3_keys" : "tile_z18_x204616_y132333.png"}, {
[{"lat" : -1.7342017016284215, "lon" : 101.00830078125, "s3_keys" : ["tile_z18_x204624_y132335.png","tile_z18_x204625_y132336.png"]}, {"lat" : -1.7383196831793766, "lon" : 101.00143432617188, "s3_keys" : ["tile_z18_x204619_y132338.png"]}]
tile_z18_x204616_y132327.png
tile_z18_x204616_y132328.png
tile_z18_x204616_y132329.png
tile_z18_x204616_y132330.png
tile_z18_x204616_y132331.png
tile_z18_x204616_y132332.png
tile_z18_x204616_y132333.png
tile_z18_x204616_y132334.png
tile_z18_x204616_y132335.png
tile_z18_x204616_y132336.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@UmarZein
UmarZein / baseline.c
Created February 28, 2025 12:40
proj
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int bernoulli_sample(double p) {
return ((double) rand() / RAND_MAX) < p ? 1 : 0;
}
const double SECOND_SCALE=1000000000;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.