Skip to content

Instantly share code, notes, and snippets.

View sorbanbela's full-sized avatar
💭
Még egy hazajáró kecske se tudja, hogy mivan LOL

sorbanbela sorbanbela

💭
Még egy hazajáró kecske se tudja, hogy mivan LOL
  • 10:31 (UTC +03:00)
View GitHub Profile
@willglynn
willglynn / doc.md
Last active May 8, 2025 12:30
Cloudflare Tunnels/`cloudflared` on Mikrotik RouterOS 7

Why?

In their own words:

Cloudflare Tunnel provides you with a secure way to connect your resources to Cloudflare without a publicly routable IP address. With Tunnel, you do not send traffic to an external IP — instead, a lightweight daemon in your infrastructure (cloudflared) creates outbound-only connections to Cloudflare’s edge. Cloudflare Tunnel can connect HTTP web servers, SSH servers, remote desktops, and other protocols safely to Cloudflare. This way, your origins can serve traffic through Cloudflare without being vulnerable to attacks that bypass Cloudflare.

Beyond cyberattacks, this can be particularly useful if you're behind CGNAT, e.g. on cellular or satellite, and you want to make services on or behind your router available to the broader world.

How?

@hugo4715
hugo4715 / pom.xml
Created December 28, 2016 19:01 — forked from Pocketkid2/pom.xml
pom.xml template for Bukkit/Spigot plugins
<!-- My pom.xml's usually look like this and I don't like retyping stuff -->
<!-- If any of these are not filled out you should -->
<groupId>CHANGE ME - PACKAGE IDENTIFIER</groupId>
<artifactId>CHANGE ME - PROJECT PACKAGE IDENTIFIER</artifactId>
<version>CHANGE ME - EVERY VERSION</version>
<name>CHANGE ME - NO SPACES RECOMMENDED</name>
<description>CHANGE ME - ONE SENTENCE DESCRIPTION RECOMMENDED</description>
<properties>
@huljas
huljas / FacebookCookie.java
Created November 15, 2011 17:54
Facebook cookie authentication
package models;
import com.google.gson.Gson;
import org.apache.commons.codec.binary.Base64;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;