Skip to content

Instantly share code, notes, and snippets.

View Nicba1010's full-sized avatar

Roberto Anić Banić Nicba1010

View GitHub Profile
import os
import re
import sys
from typing import List, Tuple
import nkf
from bs4 import BeautifulSoup, Tag
from googletrans import Translator
from googletrans.models import Translated
@Nicba1010
Nicba1010 / zippyshare.py
Last active May 6, 2019 11:28
Simple cli tool to upload to https://www.zippyshare.com (returned link is not direct link) Install: curl https://gist.githubusercontent.com/Nicba1010/e20866b630548619b2da4ec8ce94e6a0/raw/5e2f120079b16284241167062188289655e2883d/zippyshare.py | sudo tee /usr/local/bin/zippyshare && sudo chmod +x /usr/local/bin/zippyshare
#!/usr/bin/env python3
import sys
from os.path import basename
from bs4 import BeautifulSoup
from requests import Session
if __name__ == '__main__':
session = Session()
form = BeautifulSoup(session.get(
Using launch settings from /src/CompatBot/Properties/launchSettings.json...
2019-10-26 12:24:07.3441 INFO Upgrading BotDb database if needed...
2019-10-26 12:24:09.9219 INFO Database is ready.
2019-10-26 12:24:09.9309 INFO Upgrading ThumbnailDb database if needed...
2019-10-26 12:24:10.1140 INFO Database is ready.
2019-10-26 12:24:10.1808 DEBUG Restored stats from persistent storage
2019-10-26 12:24:10.3259 DEBUG Using Sony root CA with CN 'SCEI DNAS Root 01' for custom certificate validation
2019-10-26 12:24:10.3259 DEBUG Using Sony root CA with CN 'SCEI DNAS Root 02' for custom certificate validation
2019-10-26 12:24:10.3259 DEBUG Using Sony root CA with CN 'SCEI DNAS Root 03' for custom certificate validation
2019-10-26 12:24:10.3259 DEBUG Using Sony root CA with CN 'SCEI DNAS Root 04' for custom certificate validation
@Nicba1010
Nicba1010 / RPi-GCC-cross-compiler.md
Last active September 29, 2020 10:40 — forked from sol-prog/RPi-GCC-cross-compiler.md
How to build a cross compiler for Raspberry Pi

Sources:

http://preshing.com/20141119/how-to-build-a-gcc-cross-compiler/
https://www.raspberrypi.org/documentation/linux/kernel/building.md


https://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler%3F
https://wiki.osdev.org/GCC_Cross-Compiler
https://wiki.osdev.org/Building_GCC