Skip to content

Instantly share code, notes, and snippets.

Adi Prasetyo brutalcrozt

Block or report user

Report or block brutalcrozt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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.