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
### SCRIPT PER AUTOCOMPLETAR EL PARAULÒGIC (paraulogic.rodamots.cat) ### | |
### By: @mikicat i @raulgilabert | |
import requests | |
import webbrowser | |
from pynput.keyboard import Key, Controller | |
import time | |
import datetime | |
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
#!/bin/bash | |
for i in "$@" | |
do | |
case $i in | |
-u=*) | |
URL="${i#*=}" | |
shift |
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 __future__ import with_statement | |
import contextlib | |
try: | |
from urllib.parse import urlencode | |
except ImportError: | |
from urllib import urlencode | |
try: | |
from urllib.request import urlopen | |
except ImportError: | |
from urllib2 import urlopen |
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 | |
from tkinter import * | |
def show_muslim_year(): | |
try: | |
if e1.get() != '': | |
g = int(e1.get()) | |
h = g - 622 + (g - 622) / 32 | |
tk = Tk() | |
tk.title("Result") |