Skip to content

Instantly share code, notes, and snippets.

@RupGautam
RupGautam / block_tik_tok.txt
Last active April 10, 2024 18:17
TikTok domains to DNSBL Feeds
api30.tiktokv.com
api21.tiktokv.com
webcast21.tiktokv.com
api31.tiktokv.com
api-t1.tiktokv.com
webcast1.tiktokv.com
api32.tiktokv.com
api30-h2.tiktokv.com
api21-h2.tiktokv.com
api-s1-h2.tiktokv.com
activity.musical.ly
activity.tiktok.com
ads.tiktok.com
analytics.tiktok.com
api15-h2-eagle.tiktokv.com
api15-h2.tiktokv.com
api16-core-c-alisg.tiktokv.com
api16-core-c-useast1a.musical.ly
api16-core-c-useast2a.musical.ly
api16-core-c-useast2a.tiktokv.com
@alanpeabody
alanpeabody / my_app.ex
Last active March 24, 2024 13:28
Websockets in Elixir with Cowboy and Plug
defmodule MyApp do
use Application
def start(_type, _args) do
import Supervisor.Spec, warn: false
children = [
Plug.Adapters.Cowboy.child_spec(:http, MyApp.Router, [], [
dispatch: dispatch
])