Skip to content

Instantly share code, notes, and snippets.

Michael Mangialardi michaelmang

Block or report user

Report or block michaelmang

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
@michaelmang
michaelmang / unused_imports.js
Created Aug 16, 2019
Remove Unused Imports
View unused_imports.js
export default function transformer(file, api, options) {
const j = api.jscodeshift;
const root = j(file.source);
const removeIfUnused = (importSpecifier, importDeclaration) => {
const varName = importSpecifier.value.local.name;
if (varName === "React") {
return false;
}
@michaelmang
michaelmang / Counter.scala
Last active Apr 29, 2017
Counter App Scala.js with Vue
View Counter.scala
package scalajs.vue.Counter
import org.scalajs.dom
import org.scalajs.dom._
import scala.scalajs.js
import scala.scalajs.js.Any._
import scala.scalajs.js.Dynamic.{literal, global => g}
import scala.scalajs.js.{Dynamic, JSApp}
import scala.scalajs.js.annotation.JSExport
import scalajs.vuejs.Vue
@michaelmang
michaelmang / index.html
Created Oct 5, 2016
interactive resume
View index.html
<header>
<a href="http://codepen.io/mikemang/#hireme" id="logo">
<h1 class="animated slideInLeft">michael mangialardi</h1>
</a>
<nav>
<ul class="animated slideInRight">
<li><a href="https://s3-us-west-2.amazonaws.com/s.cdpn.io/827672/mike_mangialardi_resume.pdf" download>resume</a></li>
<li><a href="http://codepen.io/mikemang/#hireme">hire</a></li>
</ul>
You can’t perform that action at this time.