Skip to content

Instantly share code, notes, and snippets.


Adi Prasetyo brutalcrozt

View GitHub Profile
View stuck on old device
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.os.Handler.dispatchMessage(
at android.os.Looper.loop(
brutalcrozt /
Created Mar 29, 2020
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'.

brutalcrozt /
Last active Sep 17, 2016
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.

brutalcrozt / gruntfile.js
Created Mar 9, 2016
run grunt from different directory for building submodule
View gruntfile.js
module.exports = function(grunt) {
'use strict';
var parent_module = '../../node_modules/';
grunt.loadTasks(parent_module + 'grunt-contrib-watch/tasks');
pkg: grunt.file.readJSON('../../package.json'),
concat: {

Formly Cheatsheet



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

Property name Type Default Description
You can’t perform that action at this time.