Skip to content

Instantly share code, notes, and snippets.

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

Anton Piskunov antonydevanchi

💭
I may be slow to respond.
View GitHub Profile
@rgstephens
rgstephens / adlists.list
Last active October 22, 2023 12:29
Pi-Hole /etc/pihole/adlists.list - https://firebog.net/
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt
https://hosts-file.net/grm.txt
https://reddestdream.github.io/Projects/MinimalHosts/etc/MinimalHostsBlocker/minimalhosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts
https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Spam/hosts
@nikolaymatrosov
nikolaymatrosov / index.ts
Last active November 12, 2020 20:12
Yandex Cloud Cron Snapshot
import {DiskService, SnapshotService} from "yandex-cloud/api/compute/v1";
const FOLDER_ID = process.env.FOLDER_ID;
export async function handler(event, context) {
const snapshotService = new SnapshotService();
const diskService = new DiskService();
const diskList = await diskService.list({
folderId: FOLDER_ID,
@Terbau
Terbau / authflow.py
Last active November 18, 2024 23:56
(Partially outdated) epic games authflow
import requests
# Constants. These should not be tampered with.
base = "https://www.epicgames.com"
base_public_service = "https://account-public-service-prod03.ol.epicgames.com"
launcher_token = "MzQ0NmNkNzI2OTRjNGE0NDg1ZDgxYjc3YWRiYjIxNDE6OTIwOWQ0YTVlMjVhNDU3ZmI5YjA3NDg5ZDMxM2I0MWE="
fortnite_token = "ZWM2ODRiOGM2ODdmNDc5ZmFkZWEzY2IyYWQ4M2Y1YzY6ZTFmMzFjMjExZjI4NDEzMTg2MjYyZDM3YTEzZmM4NGQ="
# Fill out.
email = ""
@kawaz
kawaz / find-iphone.sh
Created September 16, 2019 02:14
iphoneを探すのメモ
#!/bin/bash
username='apple-id@example.com'
password='apple-id-no-password'
authheader="Authorization: Basic $(echo -n "$username:$password" | base64)"
url_initClient="https://fmipmobile.icloud.com/fmipservice/device/$username/initClient"
url_playSound="https://fmipmobile.icloud.com/fmipservice/device/$username/playSound"
# initClient
curl -vXPOST "$url_initClient" -H "$authheader" > initClient.json
@antonydevanchi
antonydevanchi / setup.sh
Created August 18, 2019 20:04 — forked from gorakhargosh/setup.sh
Configures and sets up Linux and Mac OS X machines for development.
#!/bin/bash
#
# Description: Releases for this script are available at:
# https://gist.github.com/gorakhargosh/c3902d08a939995fb4af/
#
# The above URL has a bit.ly link as:
# http://bit.ly/bhojo-config
#
# The script is intended to be written and reviewed in the repository
# but released as a gist at the abovementioned URL.
@zoonderkins
zoonderkins / 2.5CHF ungleich.ch.txt
Last active January 7, 2020 12:11
Blahdns VPS benchmark
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
@ponimas
ponimas / mojave.sh
Last active July 12, 2025 13:16
disable unnecessary mojave services
# Disable / Enable Dashboard
# Settings / Mission control / Dashboard (selector) - Off
# or
# completely disable:
defaults write com.apple.dashboard mcx-disabled -boolean YES; killall Dock
# enable again:
#defaults write com.apple.dashboard mcx-disabled -boolean NO; killall Dock
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
@Amrsatrio
Amrsatrio / AccountService.java
Last active August 27, 2025 16:12
some epic/fortnite endpoints
package com.tb24.fn.network;
import com.google.gson.JsonObject;
import com.tb24.fn.model.account.*;
import retrofit2.Call;
import retrofit2.http.*;
import java.util.List;
import java.util.Map;
@andrewpetrochenkov
andrewpetrochenkov / launchd.sh
Last active October 7, 2025 22:35
macOS security
#!/usr/bin/env bash
# disable SIP first
set "$@" com.apple.AirPlayUIAgent AirPlayXPCHelper # AirPlay
set "$@" com.apple.AirPortBaseStationAgent # AirPort Wifi
set "$@" com.apple.AppleFileServer # File Sharing
set "$@" com.apple.afpfs_checkafp com.apple.afpfs_afpLoad # AppleShare
set "$@" com.apple.appleseed.seedusaged com.apple.appleseed.fbahelperd # Apple feedback
set "$@" com.apple.AOSHeartbeat # AOS - Find My Mac
@bmatcuk
bmatcuk / create-usb.sh
Created May 30, 2019 04:38
Creating a Bootable Windows USB from ISO on a Mac
# First, we need to find our device. BEFORE inserting your USB drive, run the
# following:
diskutil list
# This will output a bunch of info about all of the disk drives connected to
# your Mac. Each entry will have a header in the form "/dev/diskX", where X is
# some number starting at 0. Now, insert your USB drive and run the command
# again. You should see a new entry. Make note of the name (ie, /dev/diskX).
diskutil list