Skip to content

Instantly share code, notes, and snippets.

View bKNN's full-sized avatar
:atom:
<3

Pierrick bKNN

:atom:
<3
View GitHub Profile
@bKNN
bKNN / fast-tinder-like.js
Last active November 12, 2018 11:18
GROWTHHCKNG - Automation for https://tinder.com/app/matches
// Copy paste this script on your console
var disabled = false;
var r = confirm('Start the Autolike on this page?');
var min_time_to_decide = 300;
var max_additional_time_to_decide = 1000;
var time_to_decide = function() {
additional_time_to_decide = Math.floor(Math.random() * max_additional_time_to_decide);
return min_time_to_decide + additional_time_to_decide;
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
RewriteCond% {HTTP_HOST} *! ^ Www * .example.com [NC] RewriteRule (. *) Http://www.example.org/$1 [L, R = 301]
@bKNN
bKNN / seo_multilang.xml
Created November 12, 2018 10:56
SEO - SEO multilang in XML Sitemap
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://example.com/</loc>
<xhtml:link
rel="alternate"
hreflang="en-CA"
href="https://example.com/en-ca/"
/>
@bKNN
bKNN / seo_multilang_http_header
Created November 12, 2018 10:55
SEO - SEO multilang in HTTP header
HTTP/1.1 200 OK
Content-Type: application/pdf
Link: <https://example.com/interesting-whitepaper.pdf>; rel="alternate";hreflang="x-default",
<https://example.com/interesting-whitepaper.pdf>; rel="alternate";hreflang="en",
<https://example.com/interesting-whitepaper-spanish.pdf>; rel="alternate";hreflang="es"
@bKNN
bKNN / seo_multilang.html
Created November 12, 2018 10:54
SEO - SEO multilang in HTML
<link rel="canonical" href="https://www.example.com/es/" />
<link rel="alternate" hreflang="es" href="https://www.example.com/es/" />
<link rel="alternate" hreflang="en-gb" href="https://www.example.com/uk/" />
<link rel="alternate" hreflang="fr" href="https://www.example.com/fr/" />
<link rel="alternate" hreflang="x-default" href="https://www.example.com/es/" />
@bKNN
bKNN / google-mobile-friendly-test.js
Created November 12, 2018 10:43
BOOKMARKLET - Google Mobile Friendly Test
javascript:(function(w){var Y=w.open("https://search.google.com/test/mobile-friendly?url="+document.location.href);Y.focus()})(window);
@bKNN
bKNN / google-trends-domain-name-check.js
Created November 12, 2018 10:43
BOOKMARKLET - Google Trends Domain Name Check
@bKNN
bKNN / google-transparency-report.js
Created November 12, 2018 10:42
BOOKMARKLET - Google Transparency Report
javascript:(function(w){var Y=w.open("https://transparencyreport.google.com/safe-browsing/search?url="+location.hostname.replace('www.',''));Y.focus()})(window);
@bKNN
bKNN / google-web-light-check.js
Created November 12, 2018 10:42
BOOKMARKLET - Google Web Light Check
javascript:(function(w){var Y=w.open("https://googleweblight.com/i?u="+document.location.href);Y.focus()})(window);