Skip to content

Instantly share code, notes, and snippets.

View lukluk's full-sized avatar
🍔
I may be slow to respond.

Lukluk lukluk

🍔
I may be slow to respond.
View GitHub Profile
@lukluk
lukluk / mahanesia API receipe
Created May 16, 2016 15:30
scraper-engine | mahanesia API receipe
exports.scraper = {
url: function() {
console.log('url','https://mahanesia.com/store/'+this.req.query.category)
return 'https://mahanesia.com/store/'+this.req.query.category
},
onInit: function(req, next) {
var self = this
this.requestDOM('https://mahanesia.com', function(err, $) {
var token = $('input[name=_token]').attr('value')
console.log('token', token)
@lukluk
lukluk / bca_balance.js
Last active June 9, 2016 13:23
bca_balance
String.prototype.replaceAll = function(find, replace) {
var str = this;
return str.replace(new RegExp(find.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1"), 'g'), replace)
}
exports.scraper = {
secure: true,
params: {},
onInit: function(req,res, next) {
var now = (new Date())
if(req.body.user && req.body.password){
@lukluk
lukluk / bca.js
Created June 9, 2016 13:22
bca.js
String.prototype.replaceAll = function(find, replace) {
var str = this;
return str.replace(new RegExp(find.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1"), 'g'), replace)
}
exports.scraper = {
secure: true,
params: {},
onInit: function(req,res, next) {
var now = (new Date())
if(req.body.user && req.body.password){
http://e325db59.ngrok.io
http://55b94689.ngrok.io/
@lukluk
lukluk / md
Created November 21, 2016 03:42
WA API documentation.md
# WA API
```
GET /list
--- get contacts
--- RESPONSE
["jhon","+191734562","+628821985723"]
GET /chat?user=CONTACT
--- get chat history
--- RESPONSE
[
@lukluk
lukluk / conect-vpn-cli.sh
Last active October 24, 2018 04:33
Mojave SUCK
#!/bin/bash
vpn_name=$1
vpn_password=$(ga-cmd)
echo "$vpn_name,$vpn_password"
/usr/bin/osascript <<EOF
tell application "System Preferences"
reveal pane "Network"
activate
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");
.doku-payment {
color: #333333;
font-family: "Roboto", sans-serif;
}
.doku-payment .step-container {
background: #ffffff;
border-radius: 4px;
@lukluk
lukluk / README.md
Created May 6, 2019 05:23
Lukluk UserManual

Luk’s User Manual

My Style:

I’m not a morning person, unless I need to be in the office in the morning, then I’ll come around 11.

I’m embracing the notion that my best work is not me doing my best work. My best work is supporting others to do their best work.

Listen more then talk