Skip to content

Instantly share code, notes, and snippets.

Avatar

Ángel M Angelmmiguel

View GitHub Profile
View test-chrome-on-docker.sh
google-chrome \
--headless \
--disable-gpu \
--no-sandbox \
--enable-features=NetworkService,NetworkServiceInProcess \
--window-size=1200,860 \
--blink-settings=imagesEnabled=false \
--screenshot \
https://google.com
View keybase.md

Keybase proof

I hereby claim:

  • I am angelmmiguel on github.
  • I am angelmm (https://keybase.io/angelmm) on keybase.
  • I have a public key ASBDRTwpGRe0QmZVqHN_1gV4nI0xMhhPNTMBhG2DX0kgYQo

To claim this, I am signing this object:

@Angelmmiguel
Angelmmiguel / nginx-site.conf
Last active Aug 29, 2015
Stop SPAM Referrers on NGINX and Google Analytics
View nginx-site.conf
server {
# ...
location / {
# ...
# Stop SPAM Referrers
if ($http_referer ~* (Free-Traffic|babes|click|diamond|forsale|girl|jewelry|love|nudit|poker|porn|poweroversoftware|sex|teen|video|webcam|zippo|social-buttons|simple-share-buttons|free-share-buttons)){
return 403;
}