Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Ángel M Angelmmiguel

🏠
Working from home
Block or report user

Report or block Angelmmiguel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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;
}
You can’t perform that action at this time.