This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-09-11
Channels
- # alda (9)
- # beginners (28)
- # boot (94)
- # cider (21)
- # clojure (179)
- # clojure-android (4)
- # clojure-boston (2)
- # clojure-brasil (1)
- # clojure-denmark (1)
- # clojure-dev (194)
- # clojure-italy (1)
- # clojure-russia (8)
- # clojure-uk (1)
- # clojurescript (269)
- # clojurex (22)
- # clojutre (2)
- # cursive (4)
- # datomic (3)
- # devops (1)
- # events (7)
- # jobs (6)
- # ldnclj (30)
- # luminus (3)
- # off-topic (8)
- # reagent (3)
TIL: Don't name your images with "adv.png" or anything starting with "adv" or many ad blocker will just block the images. Is there a list of how to name things properly so they don't get blocked?
@rauh Not directly, but you can infer it from the easylist blocklists
if you want to be totally robust you can even automate it by downloading the common block lists (which often contain regexes) and matching your filenames against it before compiling/deploying the assets
@joelkuiper: Oh wow, that easylist is long. Probably not worth the time/effort for me however.
well you probably don’t want to do it manually
but you can just download it and loop over the regexes and throw a warning or something if one of your files matches
you can also do something more clever with them I think (like Aho-Corasick or a Deterministic finite automaton/Finite State Transducer) , but a loop should be fine for your purpose