Skip to content

Instantly share code, notes, and snippets.

View sukrosono's full-sized avatar
🎯
Focusing pushing my shogi rank

Adi Prasetyo sukrosono

🎯
Focusing pushing my shogi rank
View GitHub Profile
@sukrosono
sukrosono / angular-formly-cheatsheet.md
Created January 11, 2016 14:57
Cheatsheet for angular-formly

Formly Cheatsheet

Services

formlyConfig

Usage .factory(function(formlyConfig){formlyConfig.<property name>...})

Property name Type Default Description
@sukrosono
sukrosono / gruntfile.js
Created March 9, 2016 18:21
run grunt from different directory for building submodule
module.exports = function(grunt) {
'use strict';
var parent_module = '../../node_modules/';
grunt.loadTasks(parent_module + 'grunt-contrib-watch/tasks');
grunt.loadTasks(parent_module+'grunt-contrib-concat/tasks');
grunt.loadTasks(parent_module+'grunt-contrib-uglify/tasks');
grunt.initConfig({
pkg: grunt.file.readJSON('../../package.json'),
concat: {
@sukrosono
sukrosono / defined_problem.md
Last active September 17, 2016 18:34
Problem when trying to test a page
  1. I have to edit web page to used Open Graph Protocol, So our senate website can be optimized when sharing in social media.

  2. I need to test it, and it in DOM structures. And it should be automated, inspired by Vojta Jina. It really tedious manually test the page, change 2 line code then save then reload browser.

  3. I won't change the html to include the test framework, it will be a nightmare if i forgot to remove it.

@sukrosono
sukrosono / netbeans-exit-error.md
Created March 29, 2020 00:22
Dec 11 2018, by any mean, netbeans10

can run properly again by deleting .netbeans and .cache/netbeans isntead of reinstall

but leaving this error from sh &&& SAX error: [1:10] null / null / org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 10; cvc-elt.1: Cannot find the declaration of element 'web-app'.

@sukrosono
sukrosono / stuck on old device
Created April 6, 2020 09:13
log from android 5
04-06 16:05:27.425 4924-4924/com.example.tas_pam E/art: Throwing OutOfMemoryError "Failed to allocate a 207360012 byte allocation with 12852714 free bytes and 109MB until OOM"
04-06 16:05:27.434 4924-4924/com.example.tas_pam E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.tas_pam, PID: 4924
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tas_pam/com.example.tas_pam.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class androidx.drawerlayout.widget.DrawerLayout
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2462)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2524)
at android.app.ActivityThread.access$800(ActivityThread.java:167)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1419)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
@sukrosono
sukrosono / .gistup
Created May 4, 2020 16:08
final score of PAM
gistup
gistup
@sukrosono
sukrosono / error.log
Created March 17, 2021 11:41
mysql 8 error
2021-03-17T11:40:16.815253Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2021-03-17T11:40:17.176156Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2021-03-17T11:40:17.176555Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001287 - 'validate password plugin' is deprecated and will be removed in a future release. Please use validate_password component instead
2021-03-17T11:40:17.710771Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2021-03-17T11:40:17.711309Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2021-03-17T11:40:17.720690Z 0 [ERROR] [MY-000067] [Server] unknown variable 'innodb_file_format=Barracuda'.
2021-03-17T11:40:17.721854Z 0 [ERROR]
@sukrosono
sukrosono / march-21
Last active March 17, 2021 12:58
apt list march-21
default-mysql-client-core/focal,focal 1.0.5ubuntu2 all
default-mysql-client/focal,focal 1.0.5ubuntu2 all
default-mysql-server-core/focal,focal 1.0.5ubuntu2 all
default-mysql-server/focal,focal 1.0.5ubuntu2 all
golang-github-go-sql-driver-mysql-dev/focal,focal 1.4.1-1 all
golang-github-ziutek-mymysql-dev/focal,focal 1.5.4+git20170206.23.0582bcf-2 all
kamailio-mysql-modules/focal 5.3.2-1build3 amd64
kexi-mysql-driver/focal 1:3.2.0-2build1 amd64
libclass-dbi-mysql-perl/focal,focal 1.00-4 all
libcrypt-mysql-perl/focal 0.04-6build5 amd64