Skip to content

Instantly share code, notes, and snippets.

View degrammer's full-sized avatar

Ruben Restrepo degrammer

  • Fuse Finance
  • Medellin
  • 19:48 (UTC -05:00)
  • X @degrammer
View GitHub Profile
module.exports = (url) => {
console.log(url.replace(/ /g, '').replace(/\n│/g,''));
};

Keybase proof

I hereby claim:

  • I am degrammer on github.
  • I am degrammer (https://keybase.io/degrammer) on keybase.
  • I have a public key whose fingerprint is B1EB ABFB 5CA4 4832 C34A A63C BB7B 8267 9AB6 BD7A

To claim this, I am signing this object:

var webpack = require('webpack');
var path = require('path');
module.exports = {
entry: {
app:'./app/src/app.js',
vendor: ['angular','angular-animate','angular-aria','angular-material']
},
output: {
filename: 'app/build/bundle.js'
@degrammer
degrammer / Index.html
Created November 19, 2015 04:21
Communication between components This bin will demostrate how to communicate a controller with a directive function after doing some action from the external DOM of the directive // source https://jsbin.com/cikomoq
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="This bin will demostrate how to communicate a controller with a directive function after doing some action from the external DOM of the directive">
<link rel="stylesheet" href="https://material.angularjs.org/latest/angular-material.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.min.js"></script>
<meta charset="utf-8">
<title>Communication between components</title>
<style id="jsbin-css">
body {
@degrammer
degrammer / local-server
Created April 18, 2015 03:43
Create a local express web server, serve static files inside a folder named public, open a browser in the application port
var express = require('express');
var path = require('path');
var express = require('express');
var openPage = require('open');
var packageConfig = require('./package.json');
var server = null;
(function(){
console.log("**** Starting express server ******");