Skip to content

Instantly share code, notes, and snippets.

@xybydy
xybydy / tweet_removal.py
Last active January 7, 2018 18:34
Tweet removal script which bypasses 3200 API limit.
#/usr/bin/python3
"""
Workaround to delete all tweets.
This method bypasses 3200 tweets API limit.
Don't forget to add access tokens.
"""
@xybydy
xybydy / .gitignore
Last active July 3, 2017 20:57
puhu
*.log
@xybydy
xybydy / data.txt
Last active December 21, 2017 20:08
Node_Name,X_Coordination,Y_Coordination,Quantity
A1,100,166,40
A2,162,158,50
A3,198,173,10
A4,130,47,30
Customer,121,114,90
@xybydy
xybydy / m3u8.py
Created August 26, 2017 16:05
To convert simple iptv m3u8 files to livestreamspro xml files with f4mtester support
import codecs
import re
channels = dict()
tags = dict()
name = re.compile('tvg-name="(.+?)"')
thumbnail = re.compile('tvg-logo="(http.+?)"')
url = re.compile('url=(.+)')

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable

Disable Device Enrollment Program (DEP) notification on macOS Catalina.md

With full reinstall (recommended)

   a. Boot into recovery using command-R during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS

   b. Initial installation will run for approximately 1 hour, and reboot once

   c. It will then show a remaining time of about 10-15 minutes

Disable Device Enrollment Notification on MacOS Catalina

Restart the Mac in Recovery Mode by holding Command-R during restart

Open Terminal in the recovery screen and type:

csrutil disable

Restart Computer Normally

@xybydy
xybydy / list.md
Created June 17, 2021 10:41 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@xybydy
xybydy / README.md
Created December 12, 2021 09:09 — forked from mb-0/README.md
Gogs on DDWRT / ASUS RT-AC88U (armv7)

This ended up to be an intermediate guide that requires you to understand linux, the differences between embedded and server (or desktop) systems, some of how router firmwares work. This can surely consume up to a few hours of your day.

It is important that you understand your architecture. The AC88U Router I used in this example is an armv7l.

uname -m
armv7l

Unless you use an armv7, this guide may not be 100% applicable to you, so expect changes for amd64, armv5, armv6.

@xybydy
xybydy / whitelist
Last active June 10, 2024 19:46
AdGuardHome whitelist
@@||clients4.google.com
@@||clients2.google.com
@@||s.youtube.com
@@||video-stats.l.google.com
@@||bit.ly
@@||t.ly
@@||ow.ly
@@||t.co
@@||tinyurl.com
@@||pan.baidu.com