Skip to content

Instantly share code, notes, and snippets.

View Limych's full-sized avatar
💭
I may be slow to respond.

Andrey "Limych" Khrolenok Limych

💭
I may be slow to respond.
View GitHub Profile

Installing FlareSolverr on FreeBSD or FreeNAS/TrueNAS jail

FlareSolverr is a proxy server to bypass Cloudflare protection.

I found it while looking for a way to fix a problem: my Jackett installation one day started to give errors when trying to access 1337x. You got the point...

Here are the instructions in order to get FlareSolverr configured and running at boot in a FreeBSD system or in a FreeNAS/TrueNAS jail (which is my case, by the way).

This works only for version 2.1.0. For version 2.2.0, I was unable to make it work. I'm sorry.

@dale3h
dale3h / hassio_rpi3bp
Last active June 12, 2019 18:52
Hass.io Installer for Raspberry Pi 3 B+
#!/bin/bash
###########################################################
###########################################################
## ##
## THIS SCRIPT SHOULD ONLY BE RUN ON A RASPBERRY PI 3 B+ ##
## ##
###########################################################
###########################################################
@adrianoluis
adrianoluis / StringUtil.kt
Created August 10, 2017 19:33
Simple class to slugify text in Kotlin.
import java.text.Normalizer
object StringUtil {
fun slugify(word: String, replacement: String = "-") = Normalizer
.normalize(word, Normalizer.Form.NFD)
.replace("[^\\p{ASCII}]".toRegex(), "")
.replace("[^a-zA-Z0-9\\s]+".toRegex(), "").trim()
.replace("\\s+".toRegex(), replacement)
.toLowerCase()
@thomo
thomo / build-wlan-module.sh
Last active March 13, 2020 12:46
Bash script to build a Broadcom Wireless kernel module for CentOS 7 using a Docker container - see http://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom
#!/bin/sh
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
SDIR=${DIR}/src
DRIVER_SRC=`ls ${DIR}/hybrid*.tar.gz 2> /dev/null`
CONTAINER="thomo/centos7-dev:latest"
MYUID=`id -u`
MYGID=`id -g`