This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const images = require.context('../images') | |
const state = { | |
images: images.keys().map(function(name) { | |
return({ | |
name: name, | |
path: images(name,true) | |
}) | |
}) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import glob, os, sys | |
from collections import Counter | |
# It is necessary to pass a directory in which we want to look for a ruby version. | |
if len(sys.argv) < 2: | |
sys.exit("usage: %s dir \n\n dir : Direcotry to look up for ruby version" % sys.argv[0]) | |
# Validate the specified directory. | |
path_argument = sys.argv[1] |
OlderNewer