a. Install Docker
sudo pacman -S docker docker-machine docker-compose
b. Jalankan Service
sudo systemctl start docker
c. Tambahkan current user ke group docker agar pada saat menjalankan tidak perlu menggunakan sudo
I this is part of the first node web scraper I created with axios and cheerio. I took out all of the logic, since I only wanted to showcase how a basic setup for a nodejs web scraper would look.
const cheerio = require('cheerio'),
axios = require('axios'),
url = `<url goes here>`;
<?php | |
use GuzzleHttp; | |
$access_token = 'FIREBASE CLOUD MESSAGING SERVER KEY'; | |
$reg_id = 'DEVICE REGISTRATION ID'; | |
$message = [ | |
'notification' => [ |
'use strict'; | |
const crypto = require('crypto'); | |
const ENC_KEY = "bf3c199c2470cb477d907b1e0917c17b"; // set random encryption key | |
const IV = "5183666c72eec9e4"; // set random initialisation vector | |
// ENC_KEY and IV can be generated as crypto.randomBytes(32).toString('hex'); | |
const phrase = "who let the dogs out"; | |
var encrypt = ((val) => { |
// Demonstration video can be found at: https://youtu.be/_gJyK1-NGq8 | |
// ModifyEC2InstanceType | |
const AWS = require('aws-sdk'); | |
exports.handler = (event, context, callback) => { | |
const { instanceId, instanceRegion, instanceType } = event; | |
const ec2 = new AWS.EC2({ region: instanceRegion }); |
*.img | |
*.raw |
backend pakkey_ser_with_auth_junaid | |
email-alert mailers mta | |
email-alert level info | |
email-alert from noreply@example.com | |
email-alert to example@example.com | |
option httpchk HEAD / HTTP/1.1\r\nHost:\ www.pakkey.com\r\nAuthorization:\ Basic\ cGFrYm9hcmQ6cFlzWEtlR1R3Tm85Ng== | |
server server1 127.0.0.1:8080 check inter 5000 fastinter 2000 fall 1 observe layer7 on-error mark-down error-limit 10 | |
server server2 127.0.0.1:9000 check inter 5000 fastinter 1000 fall 1 observe layer7 on-error mark-down error-limit 10 | |
errorfile 503 /etc/haproxy/maintenance.http |
. | |
.. | |
........ | |
@ | |
* | |
*.* | |
*.*.* | |
🎠|