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 run = () => { | |
const families = [ | |
['aaron'], | |
['sean'], | |
['drew', 'michelle'], | |
['jessica', 'eric'], | |
]; | |
const flattened = []; | |
families.forEach((fam) => { | |
fam.forEach((name) => { |
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
#!/bin/sh | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then |
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
#!/bin/bash | |
find /Users/ssteimer/dev/workspaces -type f -name "pom.xml" | while read line; | |
do | |
echo found file at $line | |
len=${#line} | |
pomLen=$((len-8)) | |
pomDir=${line:0:pomLen} | |
cd $pomDir | |
mvn clean |
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
@Component(configurationFactory = true, | |
policy = ConfigurationPolicy.REQUIRE, metatype = true, immediate = true) | |
@Service() | |
public class MyFactoryConfigServiceClass { | |
//define config properties here as usual | |
@Property(name = "some.prop.name", label = "My Property", value = "") | |
private String myProperty | |
/** |
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
#delete all the remote tags with the pattern your looking for, ie. DEV- | |
git tag | grep <pattern> | xargs -n 1 -i% git push origin :refs/tags/% | |
#delete all your local tags | |
git tag | xargs -n 1 -i% git tag -d % | |
#fetch the remote tags which still remain | |
git fetch |