Keep in mind that if you're not careful when selecting the settings, not only will it remove the preinstalled TikTok app but also the default photo viewer. Other than that works great.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import requests | |
from bs4 import BeautifulSoup | |
import re | |
if len(sys.argv) == 1: | |
sys.exit() | |
nip = sys.argv[1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pdf2image import convert_from_path | |
from PIL import Image, ImageOps | |
import argparse | |
import itertools | |
from os import path, system | |
import tempfile | |
parser = argparse.ArgumentParser() | |
parser.add_argument("filename") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numpy import meshgrid | |
from random import choice, randrange | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser = argparse.ArgumentParser(description='generate abstract ascii patterns') | |
parser.add_argument('width', type=int, nargs='?', default=15); | |
parser.add_argument('height', type=int, nargs='?', default=9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
JSON-server is unable to serve multiple files at once. | |
(https://stackoverflow.com/questions/36836424/cant-watch-multiple-files-with-json-server) | |
This is a quick script for making a joint db.json file. | |
Directory structure: | |
db/ | |
├─ chunks/ | |
│ ├─ example1.json |
service.ts
import { t } from 'i18next';
export const myFunction = () => t('label.myLabel');
service.spec.ts