Skip to content

Instantly share code, notes, and snippets.

Syaiful syaiful9507

Block or report user

Report or block syaiful9507

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@syaiful9507
syaiful9507 / PB.txt
Last active Jul 8, 2018
full remove phpmyadmin
View PB.txt
sudo dpkg -P phpmyadmin
sudo rm -f /etc/apache2/conf.d/phpmyadmin.conf
sudo service apache2 restart
source https://stackoverflow.com/questions/5050296/completely-removing-phpmyadmin
@syaiful9507
syaiful9507 / logs.cs
Created Jul 8, 2018
Video call problem
View logs.cs
root@vps457803:~# pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/root/.pm2/pm2.log last 15 lines:
PM2 | [2018-07-08T05:18:43.434Z] PM2 log: Time : Sun Jul 08 2018 05:18:43 GMT-0400 (EDT)
PM2 | [2018-07-08T05:18:43.435Z] PM2 log: PM2 version : 3.0.0
PM2 | [2018-07-08T05:18:43.435Z] PM2 log: Node.js version : 6.14.3
PM2 | [2018-07-08T05:18:43.435Z] PM2 log: Current arch : x64
PM2 | [2018-07-08T05:18:43.435Z] PM2 log: PM2 home : /root/.pm2
PM2 | [2018-07-08T05:18:43.435Z] PM2 log: PM2 PID file : /root/.pm2/pm2.pid
PM2 | [2018-07-08T05:18:43.435Z] PM2 log: RPC socket file : /root/.pm2/rpc.sock
@syaiful9507
syaiful9507 / k2r84y.cs
Created Jul 8, 2018
Error on logs for appname "Salammessenger"
View k2r84y.cs
root@vps457803:~# pm2 start /var/www/html/api/node_app/app.js -n "SalamMessenger"
[PM2] Applying action restartProcessId on app [SalamMessenger](ids: 1)
[PM2] [SalamMessenger](1) ✓
[PM2] Process successfully started
┌────────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────┬───────────┬──────┬──────────┐
App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├────────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────┼───────────┼──────┼──────────┤
SalamMessenger1 │ fork │ 15959 │ online │ 15 │ 0s │ 0% │ 3.5 MB │ root │ disabled │
WhatsClone0 │ fork │ 10499 │ online │ 0 │ 96m │ 0% │ 35.4 MB │ root │ disabled │
└────────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────┴───────────┴──────┴──────────┘
@syaiful9507
syaiful9507 / imacros.cs
Created Oct 11, 2018
Auto follow and unfollow
View imacros.cs
VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
wait seconds=20
View Polimorfism java
see image description https://github.com/syaiful9507/Images/blob/master/IMG_20181125_113107.jpg
Employee Andre = new Manager();
Employee Edi = new Programmer();
andre.Bekerja();
@Apabila methode dipanggil oleh object andre maka yang terpanggil metode tersebut adalah methode Overriding di class Manager .
@hal yang sama terjadi pada object edi . lihat gambar.
View Different of Abstract class, Interface.log
Penjelasan :
Apakah Abstract Class --->
Abstract Class adalah class yang mempunyai setidaknya satu Abstract Method.
Apakah Abstract Method --->
Abstract Method adalah method yang tidak memiliki body hanya deklarasi method.
Contoh Abtract class dan Abstract Method :
public abstract class Parent { ---> ini class abstract
@syaiful9507
syaiful9507 / Prefix_HLR_bogor.log
Last active Nov 28, 2018
Daftar Prefix HLR untuk bogor
View Prefix_HLR_bogor.log
0815461 Bogor Mentari / Matrix INDOSAT
081563 Bogor Mentari / Matrix INDOSAT
081663 Bogor Mentari / Matrix INDOSAT
0816640 Bogor Mentari / Matrix INDOSAT
0816641 Bogor Mentari / Matrix INDOSAT
You can’t perform that action at this time.