Skip to content

Instantly share code, notes, and snippets.

View tmdroid's full-sized avatar

Daniel Bejan tmdroid

View GitHub Profile
@tmdroid
tmdroid / pihole_domains.txt
Created February 26, 2023 19:33
Custom PiHole list
0.0.0.0 adtago.s3.amazonaws.com
0.0.0.0 analyticsengine.s3.amazonaws.com
0.0.0.0 analytics.s3.amazonaws.com
0.0.0.0 advice-ads.s3.amazonaws.com
0.0.0.0 advertising-api-eu.amazon.com
0.0.0.0 stats.g.doubleclick.net
0.0.0.0 ad.doubleclick.net
0.0.0.0 static.doubleclick.net
0.0.0.0 m.doubleclick.net
0.0.0.0 mediavisor.doubleclick.net
@tmdroid
tmdroid / KeyPinStore.java
Created June 23, 2019 13:30 — forked from ibnux/KeyPinStore.java
SSL Pinning Android using CloudFLare SSL
package your.package;
import android.content.Context;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManagerFactory;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.security.KeyManagementException;
@tmdroid
tmdroid / main.c
Created June 12, 2017 19:22
Crisztinel
#include <stdio.h>
int frec[10], st[10];
int k, n;
int verif() {
int i, j;
for(i = 0; i < k - 1; i++) {
for(j = i + 1; j < k; j++) {
if(st[i] == st[j]) return 0;