Skip to content

Instantly share code, notes, and snippets.

View ydhnwb's full-sized avatar
🎯
Focusing

Prieyuda Akadita S. 和风 ydhnwb

🎯
Focusing
View GitHub Profile
@ydhnwb
ydhnwb / pci-table.md
Created February 13, 2023 14:17 — forked from cuteribs-1/pci-table.md
PCI Vendor Data Table
Vendor Id Vendor Name
0x0033 Paradyne Corp.
0x003D master
0x0070 Hauppauge Computer Works Inc.
0x0100 USBPDO-8
0x0123 General Dynamics
0x0315 SK - Electronics Co., Ltd.
0x0402 Acer aspire one
0x046D Logitech Inc.
sudo apt update && sudo apt upgrade -y
sudo apt install grub-efi grub2-common grub-customizer
sudo grub-install (make sure no error founds)
sudo cp /boot/grub/x86_64-efi/grub.efi /boot/efi/EFI/pop/grubx64.efi
the open Grub Customizer
File > Change Env > OUTPUT_FILE set to /boot/efi/EFI/pop/grub.cfg
save changes and reboot
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Example 1</name>
<gx:CascadingStyle kml:id="__managed_style_214709768E1D45E139B0">
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
@ydhnwb
ydhnwb / example_geojson_1.json
Last active September 23, 2021 02:31
Perbandingan antara kml dan geojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Example Jakarta Project</name>
<gx:CascadingStyle kml:id="__managed_style_28A4B6D6481D003DE63C">
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Selatan Jakarta</name>
<gx:CascadingStyle kml:id="__managed_style_2CF6C6F6561CEF9D7E8E">
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Jakarta</name>
<gx:CascadingStyle kml:id="__managed_style_228960E1661CEF68137B">
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
@ydhnwb
ydhnwb / example.kml
Last active September 6, 2021 07:27
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Jakarta</name>
<gx:CascadingStyle kml:id="__managed_style_228960E1661CEF68137B">
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&amp;id=2000&amp;scale=4</href>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>DKI Jakarta.kml</name>
<StyleMap id="stylemap_jakarta">
<Pair>
<key>normal</key>
<styleUrl>#style_jakarta1</styleUrl>
</Pair>
<Pair>
package main
import (
"time"
)
//https://pkg.go.dev/time#pkg-constants
func main() {
date1 := "01-Aug-2021"