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
brutalcrozt / defined_problem.md
Last active Sep 17, 2016
Problem when trying to test a page
View defined_problem.md
  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
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');
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: {
View angular-formly-cheatsheet.md

Formly Cheatsheet

Services

formlyConfig

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

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