Skip to content

Instantly share code, notes, and snippets.

View hypefi's full-sized avatar
🐝

Boukharta hypefi

🐝
  • Morocco
View GitHub Profile
@xypnox
xypnox / HN.md
Last active January 25, 2021 23:24
HN but it is not an eyesore

HN but it is not an eyesore

Use Stylus, copy the CSS, tweak colors etc.

@DusanMadar
DusanMadar / TorPrivoxyPython.md
Last active August 28, 2024 16:08
A step-by-step guide how to use Python with Tor and Privoxy

A step-by-step guide how to use Python with Tor and Privoxy

Latest revision: 2021-12-05.

Tested on Ubuntu 18.04 Docker container. The Dockerfile is a single line FROM ubuntu:18.04. Alternatively, you can simply run docker run -it ubuntu:18.04 bash.

NOTE: stopping services didn't work for me for some reason. That's why there is kill $(pidof <service name>) after each failed service <service name> stop to kill it.

References

@ts95
ts95 / ScreenshotDetector.swift
Last active February 14, 2022 19:49
OS X detect new screenshot event with Swift
import Foundation
typealias NewFileCallback = (fileURL: NSURL) -> Void
class ScreenshotDetector: NSObject, NSMetadataQueryDelegate {
let query = NSMetadataQuery()
var newFileCallback: NewFileCallback?
@tpai
tpai / instructions.md
Last active September 22, 2022 11:20
use both Tor and Privoxy with Mac OSX

1. install

brew install tor
brew install privoxy

2. copy and modify config file