Skip to content

Instantly share code, notes, and snippets.

[
{
"name": "Cambodia",
"topLevelDomain": [
".kh"
],
"alpha2Code": "KH",
"alpha3Code": "KHM",
"callingCodes": [
"855"
#!/usr/bin/env sh
_() {
YEAR="2018"
echo "GitHub Username: "
read -r USERNAME
echo "GitHub Access token: "
read -r ACCESS_TOKEN
# Validate inputs
#!/usr/bin/env sh
_() {
YEAR="2019"
echo "GitHub Username: "
read -r USERNAME
echo "GitHub Access token: "
read -r ACCESS_TOKEN
# Validate inputs
@pphatdev
pphatdev / google-map.js
Last active January 3, 2025 03:40
Google Map realtime tracking markers using laravel-mix example
import { Loader } from '@googlemaps/js-api-loader';
import Echo from 'laravel-echo';
import Pusher from 'pusher-js';
import axios from 'axios';
window.axios = axios
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
window.Pusher = Pusher
// Pusher.logToConsole = true;
  1. First, create a configuration file named san.cnf:
[req]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn
x509_extensions = v3_req

[dn]

An guide how to activate Windows 11 Pro for free

Why?

Because you will get some more features like an Bitlocker and host your device as an External Desktop which can be accessed through the internet

Am i also able to switch from any other edition to Pro?

The answer is yes! You can switch from almost any edition to Pro completely for free!

Note for users with unactivated Pro edition

People which already have Pro, but not activated, can skip to this step.

Getting started

What you first need to do is open CMD (Command Prompt) as Administrator using this keyboard key:

Init APIs with response:

  • List Trading Products by categories (most order)
{
    "status": 200,
    "total": 3,
    "result": [
        {
@pphatdev
pphatdev / countries.json
Last active June 4, 2023 08:41
Name and code of countries
[
{"name": "Afghanistan", "code": "AF"},
{"name": "Åland Islands", "code": "AX"},
{"name": "Albania", "code": "AL"},
{"name": "Algeria", "code": "DZ"},
{"name": "American Samoa", "code": "AS"},
{"name": "AndorrA", "code": "AD"},
{"name": "Angola", "code": "AO"},
{"name": "Anguilla", "code": "AI"},
{"name": "Antarctica", "code": "AQ"},
@pphatdev
pphatdev / index.html
Last active June 1, 2023 03:59
Sophat
<div class="layout has-sidebar fixed-sidebar fixed-header">
<aside id="sidebar" class="sidebar break-point-sm has-bg-image">
<a id="btn-collapse" class="sidebar-collapser"><i class="ri-arrow-left-s-line"></i></a>
<div class="image-wrapper">
<img src="assets/images/sidebar-bg.jpg" alt="sidebar background" />
</div>
<div class="sidebar-layout">
<div class="sidebar-header">
<div class="pro-sidebar-logo">
<div class="container-logo">