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
// Library code, licensed under MIT | |
(() => { | |
"use strict"; | |
const Event = class { | |
constructor(script, target) { | |
this.script = script; | |
this.target = target; | |
this._cancel = false; |
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
/* ΤΡΟΠΟΠΟΙΗΜΕΝΗ ΕΚΔΟΣΗ ΤΟΥ invoice2pdf.js ΜΕ ΥΠΟΣΤΗΡΙΞΗ ΓΙΑ QRCODE */ | |
var data2print = {}; | |
var coloredPrint = true; | |
var _g_h_lastTableY = 0; | |
var _g_h_RptFooter = 0; | |
var _g_LastPrintedRow = 0; | |
var _g_TotalBodyHeightPrintedPerPage = 0; |
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
// ==UserScript== | |
// @name Timologio description enchancement | |
// @namespace https://gist.github.com/marios8543/6252eb477aaba0a75de2a4da1426960c | |
// @version 0.1 | |
// @description Ορισμός περιγραφής προιόντος απευθείας στο τιμολόγιο / Παράκαμψη λίστας αγαθών. | |
// @author marios8543 | |
// @match https://mydata.aade.gr/timologio/invoice/NewInvoiceByCustomerList* | |
// @grant none | |
// ==/UserScript== |
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
#Antenna.gr Downloader - marios8543 | github.com/marios8543 | |
#MIT License | |
from aiohttp import ClientSession | |
from aiofiles import open as aopen | |
from asyncio import get_event_loop, Semaphore, sleep, Event | |
from os import getenv, path, mkdir | |
from sys import argv | |
from logging import info, error, debug, warn |
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 feedparser import parse | |
from aiohttp import ClientSession | |
from discord.ext.commands import Bot | |
from os import getenv | |
from tinydb import TinyDB, Query | |
from os.path import join | |
from asyncio import sleep,get_event_loop | |
from traceback import print_exc | |
client = Bot('ab!') |
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 feedparser | |
import aiohttp | |
import discord | |
from discord.ext.commands import Bot | |
from os import getenv | |
from tinydb import TinyDB, Query | |
from os.path import join | |
import logging | |
from asyncio import sleep,ensure_future |
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 Discord.discord import Client | |
from thermal_printer import ThermalPrinter | |
from machine import UART | |
from uio import BytesIO | |
import btree | |
uart = UART(2,19200) | |
uart.init(19200, bits=8, parity=None, stop=1) | |
printer = ThermalPrinter(uart,auto_warm_up=False) | |
db = btree.open(BytesIO()) |
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 Discord.uwebsockets import client | |
from machine import Timer | |
from ujson import loads,dumps | |
from urequests import post | |
import uzlib | |
import sys | |
ZLIB_SUFFIX = "ÿÿ" | |
class Client: |
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
#!/usr/bin/python3 | |
INTERVAL = 300 | |
DOMAINS = [ | |
{ | |
"domain":"", | |
"password":"", | |
"host":"@" | |
} | |
] |
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
#!/usr/bin/python3.7 | |
from appJar import gui | |
from subprocess import run,PIPE | |
from os.path import join | |
from os import remove | |
from mutagen import File,flac | |
app = gui(title="Lazy WebM") | |
res = {"1920x1080":"1920:1080","1280x720":"1280:720","720x480":"720:480","640x480":"640:480","640x360":"640:360","480x360":"480:360"} |
NewerOlder