Skip to content

Instantly share code, notes, and snippets.

View rawaludin's full-sized avatar
:octocat:
Fix stuff

Rahmat Awaludin rawaludin

:octocat:
Fix stuff
View GitHub Profile
root@advertisement-5cd48d87bf-2vwv5:/srv# php artisan la:charge-customer
{"message":"Start Process charge to customer","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:39:18.681680","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
{"message":"----------------------------------------","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:39:19.036077","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
{"message":"Start Process ChargeToCustomerCommand - id = 418242 & identifier = 23845341957910416 & created_at = 2020-07-21 23:16:31 & channel = fb","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:39:19.036451","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
{"message":"Updated process status to Queued","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:39:19.036513","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
{"message":"---------------------
root@advertisement-5cd48d87bf-2vwv5:/srv# php artisan la:activate-campaigns
{"message":"Start process to activate campaign","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:33:38.642669","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
Found 166 records. dispatching 166 jobs...
{"message":"Start process ActivateCampaignCommand - id = 399678 & identifier = 23844925257200435 & created_at = 2020-07-13 14:17:39 & channel = fb","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:33:39.020272","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
{"message":"Start process ActivateCampaignCommand - id = 399731 & identifier = 23845443143600020 & created_at = 2020-07-13 14:33:09 & channel = fb","context":[],"level":200,"channel":"prod","datetime":{"date":"2020-07-22 16:33:39.036137","timezone_type":3,"timezone":"UTC"},"extra":[],"severity":"INFO"}
{"message":"Start process ActivateCampaignCommand - id = 408715 & identifier = 23844944195370
curl -X GET \
'https://qa-kong.command-api.kw.com/v1/listings?polygon=[[[-82.088882780912,35.4615990413813],[-82.0868315289839,35.4627294469989],[-82.0863043645414,35.4645431429949],[-82.085580778421,35.4646616350985],[-82.0852460841366,35.4659366683831],[-82.0829073228468,35.4668263912313],[-82.0834711264984,35.4676720041664],[-82.0849380697069,35.468376444181],[-82.0861869349261,35.468489114483],[-82.0877007158452,35.469573572807],[-82.0869335056785,35.4703572506953],[-82.0848743659711,35.4702913030177],[-82.0830318046298,35.4695799713921],[-82.0806951911381,35.4677507359756],[-82.080118839943,35.4712161605389],[-82.0846728013844,35.472304032115],[-82.0849087786505,35.472658709883],[-82.0844272735224,35.4729973380826],[-82.0842694348087,35.4741532524952],[-82.0831120589324,35.4755097714092],[-82.0822812921103,35.4759181396732],[-82.0819656654143,35.4791529306898],[-82.0803640704722,35.4806530377621],[-82.0805606668797,35.4808998153297],[-82.0814260570575,35.4808748678297],[-82.0818942166581,35.48150287130
@rawaludin
rawaludin / stack.md
Last active September 21, 2019 02:10

Dependency Stack

The following table is a list of the major dependencies we use along with their purpose and links to supplemental documentation.

Dependency Purpose Docs
NextJS Official Docs
Another Name Parser Break up a concatenated name into pieces Official Docs
CASL Restricting access to features based on permissions Official Docs
curl -X POST \
https://kong.poc-dev-us-east1.kw.com/intelligence/search-fields \
-H 'Authorization: Bearer JhF2z2XvsvqaIL70cqLjEV15_G4' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"domain": "sonny-test",
"properties": [
{
"name": "name",
curl -X POST \
https://kong.poc-dev-us-east1.kw.com/search \
-H 'Accept: application/json' \
-H 'Authorization: Bearer E0L17SSxMSNfnak5xuL_JZ1aBuU' \
-H 'Content-Type: application/json' \
-d '{
"data": {
"type": "domain",
"id": "patience-test",
"attributes": [
@rawaludin
rawaludin / svim.vim
Last active October 12, 2018 01:24
Safari Svim config
map "ctrl+u" scrollPageUp
map "ctrl+d" scrollPageDown
map "ctrl+o" goBack
map "ctrl+i" goForward
@rawaludin
rawaludin / profile.log
Created September 12, 2018 22:42
Ale slow on neovim auto completion php language server
This file has been truncated, but you can view the full file.
SCRIPT /Users/rahmatawaludin/dotfiles/.config/nvim/plugged/fzf.vim/autoload/fzf/vim.vim
Sourced 1 time
Total time: 0.003230
Self time: 0.003210
count total (s) self (s)
" Copyright (c) 2017 Junegunn Choi
"
" MIT License
#
# User configuration sourced by interactive shells
#
# Change default zim location
export ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim
# Start zim
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.20796331763267517</real>