Skip to content

Instantly share code, notes, and snippets.

View Aldhanekaa's full-sized avatar
🎏
Make Indonesia great again!

Aldhanekai Aldhanekaa

🎏
Make Indonesia great again!
View GitHub Profile
@Aldhanekaa
Aldhanekaa / aapl.csv
Created December 26, 2022 13:30 — forked from LemoNode/aapl.csv
Line chart with zoom
Date Open High Low Close Volume Adj Close
2008-10-14 116.26 116.40 103.14 104.08 70749800 104.08
2008-10-13 104.55 110.53 101.02 110.26 54967000 110.26
2008-10-10 85.70 100.00 85.00 96.80 79260700 96.80
2008-10-09 93.35 95.80 86.60 88.74 57763700 88.74
2008-10-08 85.91 96.33 85.68 89.79 78847900 89.79
2008-10-07 100.48 101.50 88.95 89.16 67099000 89.16
2008-10-06 91.96 98.78 87.54 98.14 75264900 98.14
2008-10-03 104.00 106.50 94.65 97.07 81942800 97.07
2008-10-02 108.01 108.79 100.00 100.10 57477300 100.10
@Aldhanekaa
Aldhanekaa / aes-256-cbc-test.js
Created August 11, 2022 11:39 — forked from sansob/aes-256-cbc-test.js
AES 256 CBC encryption between Golang and Node JS
// Node v6.9.0
//
// TEST FILE (cut down for simplicity)
// To ensure Golang encrypted string can be decrypted in NodeJS.
//
let crypto;
try {
crypto = require('crypto');
/*************************************************************
This is a simple demo of sending and receiving some data.
Be sure to check out other examples!
*************************************************************/
// Template ID, Device Name and Auth Token are provided by the Blynk.Cloud
// See the Device Info tab, or Template settings
#define BLYNK_TEMPLATE_ID "TMPLqOz1wHAH"
#define BLYNK_DEVICE_NAME "Quickstart Template"
https://doc-00-60-docs.googleusercontent.com/docs/securesc/ldiku9srui5dednphakjs6uc2dd4ot8h/ia9fve2le8f0g4ojaipomma4i2of0hcu/1653883575000/09636717579648708470/04605576668011652273/192gWPvMsV0oX61lZqXL1PKSwrO7NW_e0?e=download&ax=ACxEAsaAIhnV1wZktOmKpISc7oO8dU7GI7C0iwz057GzbqeReW-mAA1rjE3di4k0PaYCZD6
@Aldhanekaa
Aldhanekaa / ModuleNotFoundError: No module named 'pip._internal'.py
Last active May 18, 2022 07:54
ModuleNotFoundError: No module named 'pip._internal'
```
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
```
```
python3 get-pip.py --force-reinstall
``
// library exception;
typedef VoidFunction = void Function();
class ExceptionOnMessage {
final String message;
const ExceptionOnMessage(this.message);
}
@Aldhanekaa
Aldhanekaa / solver.dart
Created May 1, 2022 07:06
exponential vs relational growth overtime solver
import 'dart:math';
void main() {
double expoIntial = 2;
double expoB = 3;
double relaInitial = 5 ;
double relaB = 11;
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 1024;
# multi_accept on;
}
568 python3 train_ssd.py --dataset-type=voc --data=data/ftc-objects --model-dir=models/ftc-objects --batch-size=1 --workers=1 --epochs=1
569 python3 onnx_export.py --model-dir=models/ftc-objects/
570 detectnet --model=models/ftc-objects/ssd-mobilenet.onnx --labels=models/ftc-object/labels.txt --input-blob= input_0 --output-bbox=boxes /dev/video0
const conn = mysql.createConnection({
// for mac , disable it if you are on windows .
socketPath: '/Applications/MAMP/tmp/mysql/mysql.sock', //path to mysql sock in MAMP
host: process.env.sql_host,
user: process.env.sql_user,
password: process.env.sql_password,
database: process.env.sql_db,
});