Skip to content

Instantly share code, notes, and snippets.

View freyandhy's full-sized avatar

Friandy D. Noviandha freyandhy

View GitHub Profile
@freyandhy
freyandhy / .git...HEAD
Created July 5, 2025 16:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
ref: refs/heads/main
@freyandhy
freyandhy / .git...HEAD
Created July 5, 2025 16:57
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.20+commit.a1b79de6.js&optimize=false&runs=200&gist=
ref: refs/heads/main
@freyandhy
freyandhy / data-box-provinsi.json
Created April 12, 2023 02:55
Data di box peta Provinsi
{
total: 28,
data: [
{ name: 'PDIP', value: 10 },
{ name: 'Golkar', value: 8 },
{ name: 'PKB', value: 7 },
{ name: 'Gerindra', value: 4 },
{ name: 'PKS', value: 2 },
{ name: 'Demokrat', value: 1 },
{ name: 'Nasdem', value: 1 },
@freyandhy
freyandhy / dapil.json
Created April 12, 2023 02:40
Indonesia per Dapil
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@freyandhy
freyandhy / province-lat-long.json
Created April 12, 2023 02:31
Provinsi Latitude Longitude
[
{
"id": "11",
"name": "Aceh",
"alt_name": "ACEH",
"latitude": 4.684086348992826,
"longitude": 96.71137522456142,
"number": 12
},
{
@freyandhy
freyandhy / indonesia.json
Created April 12, 2023 02:25
Indonesia per province geoJSON
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@freyandhy
freyandhy / books.json
Created August 9, 2021 08:22
Json Example
[
{
"id": 1,
"isbn": "B-001",
"title": "Javascript Programming",
"publisher": "Publisher 1",
"writer": "Writer 1"
},
{
"id": 2,
@freyandhy
freyandhy / contoh.sql
Created February 7, 2021 11:47
Ini contoh sql
-- Ini query untuk bla bla bla
SELECT * FROM articles;
-- Ini query untuk bla bla bla
SELECT * FROM articles ORDER BY id ASC;
@freyandhy
freyandhy / ganjil-genap.js
Created October 9, 2020 01:48
Ini adalah script untuk nge-cek bilangan ganjil & genap
// deklrasi variabel & inputan
let number = prompt("masukkan angka ?");
// cek, jika bukan number && number >= 0 (tidak minus)
if (!isNaN(number) && number >= 0) {
// cek, jika number di modulus 2 == 0
if (number % 2 === 0) {
console.log("Genap"); // maka genap
} else {
console.log("Ganjil"); // maka ganjil
@freyandhy
freyandhy / FE-Material.md
Last active September 25, 2024 04:19
Referensi Materi - FE Class

Binar Academy

FE Material Class

Ini adalah daftar materi tentang Frontend untuk menunjang belajar kalian.

Pastikan kalian pelajari terlebih dahulu sebelum masuk kelas, agar mempermudah aktifitas belajar kita.

Selamat belajar!