Skip to content

Instantly share code, notes, and snippets.

@ken2190
ken2190 / bingart-api.md
Created February 27, 2025 20:54 — forked from hoangdh/bingart-api.md
Tạo hình ảnh bằng Bing Art thông qua API.

Tạo hình ảnh bằng Bing Art AI của Microsoft thông qua API

Script API

from flask import Flask, request, jsonify, render_template
from bingart import BingArt

# Replace your cookie
myCookie = ''
@ken2190
ken2190 / trial.md
Created October 10, 2023 20:38 — forked from satish-setty/trial.md
Beyond Compare 4 license for Linux

Beyond Compare 4.x

Licensed to: ASIO Allsoftinone Quantity: 1 user Serial number: 1822-9597 License type: Pro Edition for Linux

First delete away trial mode:

sudo sed -i "s/keexjEP3t4Mue23hrnuPtY4TdcsqNiJL-5174TsUdLmJSIXKfG2NGPwBL6vnRPddT7tH29qpkneX63DO9ECSPE9rzY1zhThHERg8lHM9IBFT+rVuiY823aQJuqzxCKIE1bcDqM4wgW01FH6oCBP1G4ub01xmb4BGSUG6ZrjxWHJyNLyIlGvOhoY2HAYzEtzYGwxFZn2JZ66o4RONkXjX0DF9EzsdUef3UAS+JQ+fCYReLawdjEe6tXCv88GKaaPKWxCeaUL9PejICQgRQOLGOZtZQkLgAelrOtehxz5ANOOqCaJgy2mJLQVLM5SJ9Dli909c5ybvEhVmIC0dc9dWH+/N9KmiLVlKMU7RJqnE+WXEEPI1SgglmfmLc1yVH7dqBb9ehOoKG9UE+HAE1YvH1XX2XVGeEqYUY-Tsk7YBTz0WpSpoYyPgx6Iki5KLtQ5G-aKP9eysnkuOAkrvHU8bLbGtZteGwJarev03PhfCioJL4OSqsmQGEvDbHFEbNl1qJtdwEriR+VNZts9vNNLk7UGfeNwIiqpxjk4Mn09nmSd8FhM4ifvcaIbNCRoMPGl6KU12iseSe+w+1kFsLhX+OhQM8WXcWV10cGqBzQE9OqOLUcg9n0krrR3KrohstS9smTwEx9olyLYppvC0p5i7dAx2deWvM1ZxKNs0BvcXGukR+/g" /usr/lib/beyondcompare/BCompare
@ken2190
ken2190 / coinmarketcap-python.md
Created June 10, 2023 10:21 — forked from adk7712/coinmarketcap-api.md
Using Coinmarketcap API with Python

Using Coinmarketcap API with Python

This is a Gist for anyone looking to learn everything about retrieving cryptocurrency data from Coinmarketcap.com. A handful of information is provided here - Getting started, how to get the API key, what problems I faced, the API limitations and many others...

@ken2190
ken2190 / rearct-native-app-in-wsl2.md
Created May 30, 2023 08:33 — forked from bergmannjg/rearct-native-app-in-wsl2.md
Building a react native app in WSL2
@ken2190
ken2190 / spleeter.md
Created May 15, 2023 16:21 — forked from dungsaga/spleeter.md
Voice removal AKA karaoke creator
@ken2190
ken2190 / download_tiktok_videos.user.js
Created May 6, 2023 14:31 — forked from evstraw/download_tiktok_videos.user.js
Userscript to download tiktok videos shown in the browser, for ultimate memeing purposes. :)
// ==UserScript==
// @name Download Tiktok Videos
// @namespace https://tiktok.com/
// @version 0.1
// @description Adds download links for videos, even on private accounts.
// @author Evan Straw
// @include http://*.tiktok.com/*
// @include https://*.tiktok.com/*
// @grant none
// ==/UserScript==
Video tutorial of this gist file : https://www.youtube.com/watch?v=kmT-z2lqEPQ
Used web UI commit hash id: a9eef1fbb1dcdce4f0eb0b8e0f79dcd4c96713e1
Used ControlNet commit hash id : 241c05f8c9d3c5abe637187e3c4bb46f17447029
git checkout a9eef1fbb1dcdce4f0eb0b8e0f79dcd4c96713e1
git checkout master
@ken2190
ken2190 / arbitrage.py
Created January 12, 2023 21:04 — forked from Valian/arbitrage.py
Short script for finding Binance Triangle arbitrage opportunities - requires python-binance installed
from collections import defaultdict
from operator import itemgetter
from time import time
from binance.client import Client
FEE = 0.0005
PRIMARY = ['ETH', 'USDT', 'BTC', 'BNB']
@ken2190
ken2190 / download_apk.py
Created September 25, 2022 19:08 — forked from dawand/download_apk.py
Download APK files from Google Play Store with Python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
File name: download_apk.py
Author: Dawand Sulaiman
Download APK files from Google Play Store with Python
This script scraps https://apkpure.com to get the apk download link
Make sure you have BeautifulSoup and urllib libraries
"""
@ken2190
ken2190 / squid_proxy_tutorial.md
Created September 24, 2022 22:46 — forked from jackblk/squid_proxy_tutorial.md
Tutorial on how to setup a squid proxy with authentication.

Note

This tutorial is for Ubuntu & Squid3. Use AWS, Google cloud, Digital Ocean or any services with Ubuntu to follow this tutorial.

Install squid & update

sudo apt-get update
sudo apt-get install squid3
sudo apt-get install apache2-utils