click me
click me 2
#!/usr/bin/env python3 | |
import hashlib | |
""" | |
Write a function that buckets website users into experiment treatment groups with a weighted probability. | |
For example: | |
Treatment A: 50% | |
Treatment B: 20% |
tidy_notes(){ | |
for f in $HOME/notes/*.md $HOME/notes/*.txt; do | |
test -f "$f" || continue | |
echo "$f" || grep "README" && continue | |
f_name=$(basename "$f" | sed -e 's/[^A-Za-z0-9._-]/-/g') | |
echo "$f_name" | |
if [[ ! "$f_name" =~ ^20[0-9][0-9] ]]; then | |
f_date=$(stat -c %y $f | awk '{print $1}') | |
f_time=$(stat -c %y $f | awk '{print $2}' | cut -d '.' -f1 | tr ':' '-') |
click me
click me 2
Mixed Content: The page at 'https://open.spotify.com/album/3lPIhnwknJZ1OsApgTy4V2' was loaded over HTTPS, but requested an insecure resource 'spotify:album:0HHV6rsdPW47fwxvugZY32'. This content should also be served over HTTPS. |
click me
diff --git a/merlin/example.scala b/merlin/example.scala | |
index e0f9146..887dfe8 100644 | |
--- a/merlin/example.scala | |
+++ b/merlin/example.scala | |
@@ -14,7 +14,7 @@ object Example { | |
implicit val ListingJson = jsonFormat7(Listing) | |
- def main(args: Array[String]) { | |
+ def notmain(args: Array[String]) { |
diff --git a/merlin/src/main/scala/com/etsy/merlin/Engine.scala b/merlin/src/main/scala/com/etsy/merlin/Engine.scala | |
index 39a1361..b72cf92 100644 | |
--- a/merlin/src/main/scala/com/etsy/merlin/Engine.scala | |
+++ b/merlin/src/main/scala/com/etsy/merlin/Engine.scala | |
@@ -4,7 +4,7 @@ import java.net.URL | |
import java.util.zip.GZIPOutputStream | |
import java.io.ByteArrayOutputStream | |
-import scalaj.http.{Http,HttpRequest} | |
+import scalaj.http.{Http,HttpRequest,HttpResponse} |
// https://global.americanexpress.com/offers/eligible | |
function main() { | |
bs = Array.from(document.getElementsByClassName('offer-cta')).filter(button => button.getAttribute("title") == "Add to Card"); | |
if (bs.length > 0) { | |
b = bs.shift(); | |
console.log(b.getAttribute('title')); | |
b.click(); | |
} |
M | 10 | pizza mondo | |
---|---|---|---|
A | 30 | yedo Japanese | |
A | 6 | water, sandwiches, via | |
A | 33.5 | oh!lio Italian | |
M | 6 | prodor groceries fruit | |
M | 5.75 | Waters convenience store | |
M | 6.1 | bakery sandwiches | |
M | 4.65 | Waters | |
A | 5.5 | fruits | |
A | 40 | airport German lunch |
flyerpenguin.com will not store any user information on its server or share it with third parties. |