Skip to content

Instantly share code, notes, and snippets.

View patricksavalle's full-sized avatar

Patrick Savalle patricksavalle

View GitHub Profile
@patricksavalle
patricksavalle / facebook-dns-hosts-file
Last active August 9, 2022 11:13
The DNS entries you need to put in your hosts file to block Facebook surveillance
0.0.0.0 apps.facebook.com
0.0.0.0 connect.facebook.net
0.0.0.0 facebook.com
0.0.0.0 fbcdn.com
0.0.0.0 fbsbx.com
0.0.0.0 fbcdn.net
0.0.0.0 graph.facebook.com
0.0.0.0 login.facebook.com
0.0.0.0 s-static.ak.facebook.com
0.0.0.0 static.ak.connect.facebook.com

Keybase proof

I hereby claim:

  • I am patricksavalle on github.
  • I am patricksavalle (https://keybase.io/patricksavalle) on keybase.
  • I have a public key ASCRl7KRct5um521DjMR5929n14JjIM5L6zD6UbBy0q-2go

To claim this, I am signing this object:

<?php
if ( !defined( 'BASEPATH' ) )
exit( 'No direct script access allowed' );
/**
*
* Project Name : MOBBR-kernel
*
* @package Util
* @author Patrick Savalle
<?php
if ( !defined( 'BASEPATH' ) )
exit( 'No direct script access allowed' );
/**
* Mobbr.com
*
* Social nanopayment system
*
@patricksavalle
patricksavalle / gist:2c1ce64a71e776416eb6
Last active August 29, 2015 14:24
FAIL, double id-element
<html>
<head>
<meta charset="utf-8">
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"participants":
[
{"id":"https://mobbr.com/#/person/Patrick", "id":"https://mobbr.com/#/person/Alexander"}
@patricksavalle
patricksavalle / mobbr-test-script-26.html
Last active August 29, 2015 14:24
FAIL, double title-element
<html>
<head>
<meta charset="utf-8">
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"title" : "Some title 1",
"title" : "Some title 2",
"participants":
@patricksavalle
patricksavalle / mobbr-test-script-25.html
Last active August 29, 2015 14:24
Too many keywords, no FAIL, just limit.
<html>
<head>
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"type":"payment",
"language":"EN",
"title":"Mobbr demo page",
"description":"Some descriptive text",
<html>
<head>
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"type":"payment",
"language":"EN",
"title":"Mobbr demo page",
"description":"Some descriptive text",
<html>
<head>
<meta charset="utf-8">
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"participants":
[
{"id":"https://mobbr.com/#/person/Patrick", "unknown" : "element"}
<html>
<head>
<meta charset="utf-8">
<!-- the Mobbr payment script, example, generate this dynamically based on contribution/participation -->
<meta name="participation" content='
{
"unknown" : "element",
"participants":
[