Skip to content

Instantly share code, notes, and snippets.


Manuel Mujica m-mujica

View GitHub Profile
View who-imported.html
<script src="node_modules/steal/steal.js"></script>
var oldNormalize = System.normalize;
System.normalize = function(name, parentName){
return oldNormalize.apply(this, arguments).then(function(name){
if(name === "my/module") {
console.log(name, "is imported by", parentName);
return name;
View best_before.rb
require 'date'
def is_valid_date? year, month, day
return false if year < 2000 || year > 2999
Date::valid_date?(year, month, day)
class Date
def is_valid_date_for_millenium? millenium