I hereby claim:
- I am aoktox on github.
- I am agusprasetiyo (https://keybase.io/agusprasetiyo) on keybase.
- I have a public key ASBaZbWeyg-TTuKxfcKj9GIgkQkT46AS-9PLewd5C3xWaAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$script = <<SCRIPT | |
echo "Installing python..." | |
apt-get update | |
apt-get install -y python-minimal | |
SCRIPT | |
SPECIALS = { | |
"master" => { :ip => "192.168.99.100", :ram => 1024 }, | |
"hiddensecondary" => { :ip => "192.168.99.101", :ram => 512 } | |
} |
#!/bin/bash | |
PACKAGES=( | |
"apr" | |
"gettext" | |
"libffi" | |
"openssl" | |
"apr-util" | |
"glib" | |
"libiconv" | |
"optipng" |
function sendToSlack_(url,payload) { | |
var options = { | |
"method" : "post", | |
"contentType" : "application/json", | |
"payload" : JSON.stringify(payload) | |
}; | |
return UrlFetchApp.fetch(url, options) | |
} | |
function getJadwalSholat() { |
#include <cv.h> | |
#include <highgui.h> | |
using namespace cv; | |
using namespace std; | |
int main( int argc, char** argv ) | |
{ | |
Mat image; | |
image = imread("/home/agus/Desktop/FKN04K0HWTBIEL2.MEDIUM.jpg", CV_LOAD_IMAGE_COLOR); |
server { | |
listen 80; | |
server_name example.com; | |
location / { | |
proxy_pass http://APP_PRIVATE_IP_ADDRESS:8080; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection 'upgrade'; |
<?php | |
/** | |
* Plugin Name: Insert Products | |
* Plugin URI: | |
* Description: | |
* Version: 1.04 | |
* Author: Agus Prasetiyo | |
* Author URI: | |
* License: GPL2 | |
* Created On: |
$post_data['email'] = 'email@it.student.pens.ac.id'; | |
$post_data['password'] = 'password'; | |
//ubah array jadi data untuk posting (key1=value1) | |
foreach ( $post_data as $key => $value) { | |
$post_items[] = $key . '=' . $value; | |
} | |
//buat final string pake implode() | |
$post_string = implode ('&', $post_items); |
<?php | |
namespace App\Exceptions; | |
use Exception; | |
use Illuminate\Database\Eloquent\ModelNotFoundException; | |
use Symfony\Component\HttpKernel\Exception\HttpException; | |
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | |
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |