Skip to content

Instantly share code, notes, and snippets.

View youknowjack's full-sized avatar

Jack Humphrey youknowjack

View GitHub Profile
@youknowjack
youknowjack / git-blob-ids.sh
Last active November 27, 2023 17:23
A bash script to list blobs (hash id and path) in a git repo
#!/bin/bash
#
# git-blob-ids: List blobs (hash id and path) in a git repo
#
# Usage: git-blob-ids [-s] [-r REF] [-p PATH]
#
# -r REF an optional reference to a commit (hash or symbolic like HEAD), default: HEAD
# -p PATH an option path to a subtree in repo, default is blank for root tree
# -s shortens blob hash ids to 6 characters
#
{
"tests" : {
"bgcolortst" : {
"version" : 1,
"description" : "background color test",
"constants" : {
},
"rule" : null,
"salt" : "bgcolortst",
"buckets" : [ {
diff --git a/proctor-codegen/src/main/java/com/indeed/proctor/consumer/gen/FreeMarkerCodeGenerator.java b/proctor-codegen/src/main/java/com/indeed/proctor/consumer/gen/FreeMarkerCodeGenerator.java
index 418fd66..fff7c34 100644
--- a/proctor-codegen/src/main/java/com/indeed/proctor/consumer/gen/FreeMarkerCodeGenerator.java
+++ b/proctor-codegen/src/main/java/com/indeed/proctor/consumer/gen/FreeMarkerCodeGenerator.java
@@ -69,7 +69,7 @@ public abstract class FreeMarkerCodeGenerator {
}
public static String packageToPath(final String packageName) {
- return packageName.replaceAll("\\.", File.separator);
+ return packageName.replaceAll("\\.", "/");
{
"allocations": [
{
"ranges": [
{
"length": 0.1,
"bucketValue": 0
},
{
"length": 0.1,
{
"buckets": [
{
"name": "control",
"value": 0,
"description": "current button treatment (A)",
"payload": {
"stringValue": "#dddddd"
}
},
{
"allocations" : [
{
"rule" : "'US' == country && 'en' == userLanguage",
"ranges": [
{
"length": 0.5,
"bucketValue": 0
},
{
hello world
This file has been truncated, but you can view the full file.
uid=18d3jpfoc1d5i7qf&q=Creative+Solutions+Services+%2480%2C000&l=Somerville%2C+NJtotCnt=227&MSieq=g2cvAdxKtBDyJMo9iPah&BETUI=20796&wuqiz=IerTqv537HFwBh6JbjbB&eKWCV=qzAgisRsdhB2IRycQ4WX&qm2Oc=33183&MOcBc=7z0Js8GPSzV305qdO9jB&73FMU=0cDZ8yGaZV4eCUJBwsK5&tAbhc=h2EeDzQpWnFfs9XVp3u2&nz9uG=67062&iqf9F=dVPp8QtsCAYNKoH2VA0p&xRvT0=CvWXNoIDDEWIDJBJekab&vHGeA=19813&iD9po=8610&1PLaY=120954&XhIwP=108298&Nqq59=105693&zs067=85742&esDnq=JHULAI9Wog0JbPkN6XQe&h01Kl=26841&TusbS=35879&MfeRr=109587&ncO1M=49925&vv6xK=93681&Ee2KO=XYEBNrw8Oey4nZN6Eguk&9anT0=njQrpJpIJgzA0coCNQDS&qjJR5=4OiAm9wanyc94dATwPeR&rI0XQ=93499&GkzuS=QXXK6U4vf7wbMTrSX1mv&iwemg=53404&PDHUo=IRbfZBvcpJOsphSlag55&id1Wf=70084&bcqVv=NN4xfBmfdVoybM70jwCy&NJFLd=69093&35xFi=oYvyYjpAmoeXzN9Iw2DC&VeGB2=DPBmcLu7HWP0AUUoK3im&7rvE2=X0JOuI0HvifFdr1INC1i&Teskd=ak7uhemo78i8fZFDBXfP&d890g=7095&MmlUR=63419&DSiTb=119884&EMXae=2656&pxGe7=dUiM8VRESpSePgoSIsJC&j8IHl=zsRsf0hcULuYXOl34ZwE&
This file has been truncated, but you can view the full file.
uid=18d3jpfoc1d5i7qf&q=Creative+Solutions+Services+%2480%2C000&l=Somerville%2C+NJtotCnt=227&MSieq=g2cvAdxKtBDyJMo9iPah&BETUI=20796&wuqiz=IerTqv537HFwBh6JbjbB&eKWCV=qzAgisRsdhB2IRycQ4WX&qm2Oc=33183&MOcBc=7z0Js8GPSzV305qdO9jB&73FMU=0cDZ8yGaZV4eCUJBwsK5&tAbhc=h2EeDzQpWnFfs9XVp3u2&nz9uG=67062&iqf9F=dVPp8QtsCAYNKoH2VA0p&xRvT0=CvWXNoIDDEWIDJBJekab&vHGeA=19813&iD9po=8610&1PLaY=120954&XhIwP=108298&Nqq59=105693&zs067=85742&esDnq=JHULAI9Wog0JbPkN6XQe&h01Kl=26841&TusbS=35879&MfeRr=109587&ncO1M=49925&vv6xK=93681&Ee2KO=XYEBNrw8Oey4nZN6Eguk&9anT0=njQrpJpIJgzA0coCNQDS&qjJR5=4OiAm9wanyc94dATwPeR&rI0XQ=93499&GkzuS=QXXK6U4vf7wbMTrSX1mv&iwemg=53404&PDHUo=IRbfZBvcpJOsphSlag55&id1Wf=70084&bcqVv=NN4xfBmfdVoybM70jwCy&NJFLd=69093&35xFi=oYvyYjpAmoeXzN9Iw2DC&VeGB2=DPBmcLu7HWP0AUUoK3im&7rvE2=X0JOuI0HvifFdr1INC1i&Teskd=ak7uhemo78i8fZFDBXfP&d890g=7095&MmlUR=63419&DSiTb=119884&EMXae=2656&pxGe7=dUiM8VRESpSePgoSIsJC&j8IHl=zsRsf0hcULuYXOl34ZwE&
This file has been truncated, but you can view the full file.
uid=18d3k5ljj19ui7tg&q=Louisiana+state+dept+health&l=LouisianatotCnt=3&4yWWI=18467&7xRju=66yRkWEmdN4ZdFvX3NO1&jQVSx=3192&nNtS9=C1PeIQZz07dilItwy40h&gTeGu=22846&Qgn4q=wnWcp5rlyYD7OUtR0BQO&u5KGX=YgUBY9ehrmvXRE4a79ta&q7XkW=35613&vw3pa=32757&Il2kt=23791&Yrp6n=18340&DaBUo=x3cF4OjTdmYbXx9F7VyK&WunaV=qUqoJKOiOKiMoGZ9ATtK&733un=66794&AQtNH=33833&sdz4A=56470&5C8ig=yXJtt3CSpZDELamOZFvd&yq71Q=LPB47wElBjMQHJjGuIGB&BDgTj=okeRmEqG1yU0Kdk4uqKD&huoeF=43577&Q12Pm=hKDgHHhKQ6CqI0WWN1Ul&VcOlX=100300&grpIf=39579&