Skip to content

Instantly share code, notes, and snippets.

View jasonwee's full-sized avatar
🏠
Working

jasonwee jasonwee

🏠
Working
View GitHub Profile
@jasonwee
jasonwee / maybank_payee.json
Created September 25, 2023 05:46
maybank_payee.json
[
{
"payeeCode": "DZD",
"isSpecial": false,
"shortName": " BENTONG ASIA MOTOR SDN BHD",
"idx": "436565",
"error": "",
"payeeType": "",
"name": " BENTONG ASIA MOTOR SDN BHD",
"canAddToFavorite": true
@jasonwee
jasonwee / gist:a0540fa1bf1dc50023bd32b77a9a3413
Last active July 18, 2021 09:46
elasticsearch on rpi4 8gb
jason@localhost:~ $ cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
@jasonwee
jasonwee / iptables.spec
Created May 11, 2019 14:16
iptables-1.4.21 for centos 6
# Important for version updates: Fix virtual provides for base libaries
Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities
Version: 1.4.21
Release: 1%{?dist}_custom
Source: http://www.netfilter.org/projects/iptables/files/%{name}-%{version}.tar.bz2
Source1: iptables.init
Source2: iptables-config
#### assume version 1.4.21 patched all the previous version.
2018-05-18 17:38:10 [Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document to update {name=foo6.txt, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=0, localSize=0, state=null, _id=82070862688317, _revision=1, _modified=1526636290961} in io.goobox.sync.storj.db.SyncFile
2018-05-18 17:38:10 [Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document {name=foo6.txt, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1526636284000, localSize=36000, state=FOR_UPLOAD, _id=82070862688317, _revision=2, _modified=1526636290961} updated in io.goobox.sync.storj.db.SyncFile
2018-05-18 17:38:10 [Thread-1] DEBUG o.dizitart.no2.internals.DataService - Notifying UPDATE event for items [ChangedItem(document={name=foo6.txt, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1526636284000, localSize=36000, state=FOR_UPLOAD, _id=82070862688317, _revision=2, _modified=1526636290961}, changeType=UPDATE, changeTimestamp=1526636290961)] from io.goobox.sync.storj.db.SyncFil
[Thread-2] INFO io.goobox.sync.storj.CheckStateTask - Checking for changes
[Thread-1] DEBUG org.dizitart.no2.Nitrite - Unsaved changes committed successfully.
[Thread-2] INFO io.goobox.sync.storj.SleepTask - Sleeping for 1 minute
[ForkJoinPool.commonPool-worker-1] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_CREATE [/home/user/Goobox/empty]
[ForkJoinPool.commonPool-worker-1] DEBUG io.goobox.sync.storj.FileWatcher - 1525415027266 CREATE /home/user/Goobox/empty count: 1
[ForkJoinPool.commonPool-worker-1] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [/home/user/Goobox/empty]
[Timer-0] INFO io.goobox.sync.storj.FileWatcher - 3 seconds after the last file event
[Timer-0] INFO io.goobox.sync.storj.SleepTask - Sleep interrupted
[Thread-2] INFO io.goobox.sync.storj.CheckStateTask - Checking for changes
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Filter EqualsObjectFilter(field=name, value=empty) found total 0 document(s) to remove with options RemoveOptions(justOne=false) from io.goo
[Timer-0] INFO io.goobox.sync.storj.FileWatcher - 3 seconds after the last file event
[Timer-0] INFO io.goobox.sync.storj.SleepTask - Sleep interrupted
[Thread-2] INFO io.goobox.sync.storj.CheckStateTask - Checking for changes
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Filter EqualsObjectFilter(field=name, value=dir2) found total 1 document(s) to update with options UpdateOptions(upsert=false, justOnce=false) in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document to update {name=dir2, storjId=72ca588a32947ec76d19828c, storjCreatedTime=1525410905411, storjSize=1, localModifiedTime=1525410889000, localSize=4096, state=SYNCED, _id=514111966930847, _revision=3, _modified=1525410905696} in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document {name=dir2, storjId=72ca588a32947ec76d19828c, storjCreatedTime=1525410905411, storjSize=1, localModifiedTime=1525410889000, localSize=4096, state=FOR_CLOUD_DELETE, _id=51
INFO [main] 2015-11-20 12:19:47,758 SystemKeyspace.java:1269 - Detected version upgrade from 2.2.3 to 3.0.0, snapshotting system keyspace
INFO [main] 2015-11-20 12:37:40,599 StorageService.java:586 - Cassandra version: 3.0.0
INFO [main] 2015-11-20 12:37:40,600 StorageService.java:587 - Thrift API version: 20.1.0
INFO [main] 2015-11-20 12:37:40,600 StorageService.java:588 - CQL supported versions: 3.3.1 (default: 3.3.1)
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
Maven home: /usr/share/apache-maven
Java version: 1.7.0_40, vendor: Oracle Corporation
Java home: /usr/java/jdk1.7.0_40/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-358.2.1.el6.x86_64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/apache-maven/conf/settings.xml
[DEBUG] Reading user settings from /home/jason/.m2/settings.xml
[DEBUG] Using local repository at /home/jason/.m2/repository
D [Y-SqeXvOQn6rF8fxxlwObQ], reason [master [node1][N26HzsylQui8V6nDsRND2Q][inet[/192.168.3.150:9300]] marked shard as started, but shard has not been created, mark shard as failed]
[2013-12-30 06:08:10,477][WARN ][cluster.action.shard ] [node1] [test_index_1][455] received shard failed for [test_index_1][455], node[OmxpmyMDTRSJJnLNaVHrRg], [P], s[STARTED], indexUUID [Y-SqeXvOQn6rF8fxxlwObQ], reason [master [node1][N26HzsylQui8V6nDsRND2Q][inet[/192.168.3.150:9300]] marked shard as started, but shard has not been created, mark shard as failed]
[2013-12-30 06:08:10,477][WARN ][cluster.action.shard ] [node1] [test_index_1][451] received shard failed for [test_index_1][451], node[OmxpmyMDTRSJJnLNaVHrRg], [P], s[STARTED], indexUUID [Y-SqeXvOQn6rF8fxxlwObQ], reason [master [node1][N26HzsylQui8V6nDsRND2Q][inet[/192.168.3.150:9300]] marked shard as started, but shard has not been created, mark shard as failed]
[2013-12-30 06:08:10,477][WARN ][cluster.action.shard ] [node1] [test_index_1][499] received shar
Caused by: org.elasticsearch.transport.RemoteTransportException: [node1][inet[/192.168.3.150:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node4][inet[/192.168.3.94:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node1][inet[/192.168.3.150:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node4][inet[/192.168.3.94:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node1][inet[/192.168.3.150:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node4][inet[/192.168.3.94:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node1][inet[/192.168.3.150:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node4][inet[/192.168.3.94:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportException: [node1][inet[/192.168.3.150:9300]][update]
Caused by: org.elasticsearch.transport.RemoteTransportEx