Add this to .desktop file as command.
env QT_IM_MODULE=ibus telegram-desktop -- %u
Add this to .desktop file as command.
env QT_IM_MODULE=ibus telegram-desktop -- %u
| pip3 freeze | cut -d"=" -f1 > requirements.txt |
| // ==UserScript== | |
| // @name Dark Theme for FB's Messenger | |
| // @version 0.1 | |
| // @description Dark theme for messenger.com | |
| // @author Rafikus | |
| // @match https://www.messenger.com/* | |
| // @grant none | |
| // @namespace https://greasyfork.org/users/737196 | |
| // ==/UserScript== |
| import pandas as pd | |
| from pprint import pprint | |
| file = '/home/<user>/Downloads/excel_file.xlsx' | |
| df = pd.read_excel(file) | |
| search_keyword = 'John' | |
| def get_row(df, index): | |
| result_dict = {} | |
| for col in df: |
| import os, sys | |
| # os.system("pip3 install requests bs4 pygsheets") | |
| import traceback | |
| import requests | |
| import time | |
| from bs4 import BeautifulSoup | |
| import pygsheets | |
| from pygsheets.datarange import DataRange |
| import os, sys | |
| # os.system("pip3 install requests bs4 pygsheets") | |
| import traceback | |
| import requests | |
| import time | |
| from bs4 import BeautifulSoup | |
| import pygsheets | |
| from pygsheets.datarange import DataRange |
| @echo off | |
| :: change the path below to match your installed version | |
| SET AndroidStudioPath=C:\Program Files\Android\Android Studio\bin\studio64.exe | |
| echo Adding file entries | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\AndroidStudio" /t REG_SZ /v "" /d "Open with AndroidStudio" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\AndroidStudio" /t REG_EXPAND_SZ /v "Icon" /d "%AndroidStudioPath%,0" /f | |
| @reg add "HKEY_CLASSES_ROOT\*\shell\AndroidStudio\command" /t REG_SZ /v "" /d "%AndroidStudioPath% \"%%1\"" /f | |
| import base64 | |
| class StringFogImpl: | |
| CHARSET_NAME_UTF_8 = "UTF-8" | |
| @staticmethod | |
| def decrypt(string): | |
| return StringFogImpl().decrypt(string, StringFogImpl.CHARSET_NAME_UTF_8) |
| // working html2pdf | |
| async function download() { | |
| let srcWidth = document.body.scrollWidth; | |
| var margin = 18; // narrow margin - 1.27 cm (36); | |
| // for mobile, use 0.5 cm (14.17) | |
| // margin = 14.17; | |
| var orientation = ''; | |
| // if desktop, use landscape. if android or iphone, use portrait. use user agent to detect |
| // Create a TrustedScriptURL using trustedTypes | |
| let trustedScriptURL = trustedTypes.createPolicy('default', { | |
| createScriptURL: (url) => url | |
| }); | |
| // Create a script element | |
| let jspdf = document.createElement("script"); | |
| // Set the script's src using the TrustedScriptURL | |
| jspdf.src = trustedScriptURL.createScriptURL('https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.debug.js'); |