This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const numbers = [ | |
"+6285123", | |
"6285123", | |
"085123", | |
"85123", | |
]; | |
const lockPhoneId = (number) => { | |
let _number = number.toString().split(''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `karyawan` ( | |
`id` mediumint(8) unsigned NOT NULL auto_increment, | |
`nama` varchar(255) default NULL, | |
`alamat` varchar(255) default NULL, | |
`email` varchar(255) default NULL, | |
`hp` varchar(100) default NULL, | |
PRIMARY KEY (`id`) | |
) AUTO_INCREMENT=1; | |
INSERT INTO `karyawan` (`nama`,`alamat`,`email`,`hp`) VALUES ("Quamar Gary","399-8816 Magna. Street","[email protected]","0956-3139-1130"),("Rhea Elijah","P.O. Box 439, 575 Arcu. Avenue","[email protected]","0517-6109-6664"),("Ezra Candice","Ap #843-1600 Lobortis Ave","[email protected]","0249-3215-7097"),("Cecilia Aimee","123 Suspendisse Street","[email protected]","0637-3951-5133"),("Tatiana Kylie","P.O. Box 532, 3979 Amet, Road","[email protected]","0659-2681-9519"),("Whilemina Reuben","461-6996 Mauris Street","[email protected]","0509-3069-2778"),("Lunea Jada","978-3168 Dui. St.","[email protected]","0586-8853-9867"),("Bree Doris","3765 Eleifend, St.","sit.amet.diam@lacusv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Upload local image to telegraph using nodejs | |
* | |
* @alfianokt | |
* 20-03-2021 | |
* | |
*/ | |
const fs = require('fs'); | |
const axios = require('axios').default; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="photo">😎</div> | |
<script> | |
/** | |
* Via (Android Browser) Custom Image | |
* | |
* Change image logo in via app with telegram photo profile | |
* | |
* How to use? Open Via > Settings > Customization > Logo > HTML Code, Then paste this script (change the username var with ur username) | |
* | |
* alfianokt || 29-11-1019 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# author : alfian oktafireza | alfianokt | |
# desc : minimize masal gambar | |
import glob, os | |
from PIL import Image | |
# read all files with format .jpg | |
listImg = glob.glob("*.jpg") | |
for i in listImg: | |
# show file name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*** | |
Site : http://www.tool.eddiekidiw.com/phpobfuscator-v-02.html | |
Date : 2019-04-13 | |
Day : Saturday | |
Time : 11:06:00 | |
Ipaddress : 120.188.76.226 | |
Hostname : 120-188-76-226.resources.indosat.com | |
City : Jakarta | |
Country : ID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
ubah variabel token dengan token bot kalian | |
simpan projek di Google App Script, lalu publish Dan pilih deploy as web app | |
ubah izin akses menjadi anyone, even anonymous lalu publish dan salin url nya | |
setWebhook bot telegram dengan url dari google tadi | |
jika ada pertanyaan silahkan kontak saya via telegram @alfian_oktafireza | |
*/ |