Skip to content

Instantly share code, notes, and snippets.

View timeisflowing's full-sized avatar
🕵️‍♂️

timeisflowing

🕵️‍♂️
View GitHub Profile
@timeisflowing
timeisflowing / tweepy_migration_guide.md
Created May 27, 2023 12:03 — forked from sparack/tweepy_migration_guide.md
A guide to migrating your code in Python that uses Tweepy from the Twitter API v1.1 to the Twitter API v2

Guide to migrating your code from Twitter API v1.1 to v2 with Tweepy in Python

Tweepy is a popular library that allows developers to interact with the Twitter API in Python. Since the launch of the new Twitter API v2, Tweepy has been updated to support the new API. Many students and developers continue to use the old Twitter API v1.1 in Tweepy, because they are unware of the new API v2 or because they do not know how to migrate their code to use v2.

In this guide, I will show you how you can migrate your Tweepy code in Python that uses the old Twitter API v1.1 to use the new Twitter API v2.

In order to use the Twitter API, you first need to sign up for access. Once you have access, you need to get your keys and tokens from the developer portal to connect to the Twitter API. To learn how to get your keys and tokens based on your access levels, check out t

@timeisflowing
timeisflowing / freebsd.txt
Created March 24, 2023 12:01 — forked from alastairhm/freebsd.txt
FreeBSD install XFCE on Virtual Box
pkg update
pkg install xorg
echo 'kern.vty=vt' >> /boot/loader.conf
pkg install virtualbox-ose-additions
echo 'vboxguest_enable="YES"' >> /etc/rc.conf
echo 'vboxservice_enable="YES"' >> /etc/rc.conf
echo 'dbus_enable="YES"' >> /etc/rc.conf
service vboxguest start
service vboxservice start
service dbus start
SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/
@timeisflowing
timeisflowing / torrc
Created August 25, 2022 17:20 — forked from Alex0007/torrc
tor configuration for surfing speed
DNSPort 9053
ExcludeSingleHopRelays 0
AllowSingleHopCircuits 1
KeepalivePeriod 60
#NewCircuitPeriod 15
UseEntryGuards 1
NumEntryGuards 8
CircuitBuildTimeout 5
EnforceDistinctSubnets 0
OptimisticData 1