- Disconnect modem first
- Download and Install Driver USB Prolific for PL2303 Mac OS X
- Reboot Mac
- Install Homebrew
- Type below command :
const ALPHAPET = '234567abcdefghijklmnopqrstuvwxyz' | |
function encode (i) { | |
let s = '' | |
while (i) { | |
const c = i % 32 | |
i = Math.floor(i / 32) | |
s = ALPHAPET.charAt(c) + s | |
} | |
return s |
/** | |
* Wraps a function with caching functionality. | |
* Allows for caching of expensive functions like paginated API calls that rarely change. | |
* | |
* @param fn - The function to cache results from | |
* @param options - Optional configuration for the cache behavior | |
* @param options.maxAge - Maximum age of cached data in milliseconds | |
* @returns A function that returns the result of the function, either from cache or fresh execution | |
* | |
* @example |
javascript:(function(){try{navigator.clipboard.readText().then(function(t){if(t){var e=window.open("","_blank","width=800,height=600");e.document.open(),e.document.write(t),e.document.close()}else alert("Clipboard is empty. Please copy some text to the clipboard first.")}).catch(function(t){console.error("Failed to read clipboard contents: ",t),alert("An error occurred while trying to access the clipboard. Please ensure your browser allows clipboard access.")})}catch(t){console.error("An error occurred:",t),alert("An error occurred while trying to open the new window with the clipboard content.")}})();//bookmarklet_title: HTML Preview from Clipboard |
"""Async and await example using subprocesses | |
Note: | |
Requires Python 3.6. | |
""" | |
import sys | |
import time | |
import platform | |
import asyncio |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2020 Adi Setiawan <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
<!DOCTYPE html> | |
<html> | |
<body> | |
<!-- 1. The <iframe> (and video player) will replace this <div> tag. --> | |
<div id="player"></div> | |
<div>Current Time: <span id="time"></span></div> | |
<script> | |
// 2. This code loads the IFrame Player API code asynchronously. | |
var tag = document.createElement('script'); |
Ketika ada kesempatan, pergilah bersama teman teman lama. Berkumpul - kumpul, bukan sekadar makan, minum dan bersenang, senang tetapi ingat, Waktu hidup kita semakin singkat. Maka dari itu, bangunkanlah Persaudaraan
Mungkin lain waktu kita Tidak akan bertemu lagi.
Mungkin lain waktu kita sudah semakin Susah untuk berjalan.
Umur itu Seperti es batu, Dipakai atau tidak akan tetap mencair dan berakhir.
<?php | |
// example code | |
$records = array(['satu' => 'satu', 'dua' => 'satu'], | |
['satu' => 'dua', 'dua' => 'dua'], | |
['satu' => 'tiga', 'dua' => 'tiga'], | |
['satu' => 'empat', 'dua' => 'empat'], | |
['satu' => 'lima', 'dua' => 'lima'], | |
['satu' => 'enam', 'dua' => 'enam'], | |
['satu' => 'tujuh', 'dua' => 'tujuh'], |