Skip to content

Instantly share code, notes, and snippets.

View Michal-Mikolas's full-sized avatar

Michal Mikoláš Michal-Mikolas

View GitHub Profile
@Michal-Mikolas
Michal-Mikolas / bookmarklets.js
Last active April 9, 2024 10:38
My Bookmarklets
// https://katanya.co.uk/labs/bookmarklet-generator
fetch('https://api.github.com/gists/77dabbdbf39f57fe6816dc9e00866bb9?rand=' + Math.ceil(Math.random()*9999))
.then(response => response.json())
.then(data => {
var scriptContent = data.files['bookmarklets.js'].content;
scriptContent = scriptContent.replaceAll('{{ID}}', '');
scriptContent = scriptContent.replaceAll('{{SECURITY_KEY}}', '');
const scriptFn = new Function(scriptContent);
scriptFn();
<style>
#nav-manufacturers { display: none; }
#cat-manufacturers { display: none; }
#header .header-top-wrapper .site-name { margin-top: -10px; margin-bottom: -15px; }
@media (min-width: 480px) {
#header .site-name a img {
max-height: 85px;
}
}
import os, sys
from imapbackup3 import IMAPBackup
from datetime import datetime
with IMAPBackup(
host = sys.argv[3] if (3 in sys.argv) else 'imap.forpsi.com',
user = sys.argv[1],
password = sys.argv[2],
port = 993,
usessl = True,
class JobsFileCache():
def __init__(self, file_path):
self.file_path = file_path
class Jobs():
def __init__(self, cache):
self.cache = cache
self.jobs = {}
We couldn’t find that file to show.
RewriteEngine On
RewriteBase /
# presmerovani na variantu s www
RewriteCond %{HTTP_HOST} ^([^\.]*)\.([^\.]*)$
RewriteRule (.*) http://www.%1.%2/$1 [L,QSA,R=301]
# cele domeny (aliasy)
RewriteCond %{REQUEST_URI} !^/domains/
#RewriteCond %{HTTP_HOST} ^([^\.]*)\.([^\.]*\.[^\.]*)$

DSS - ne, dlouhodobe zaporne zisky IAG - ne, dlouhodobe nulove zisky TDS - ne, stagnujici prijmy, zvysujici se dluh

CANG (https://www.cangoonline.com)

  • Čína,
  • rostouci zisky,
  • maly dluh,
  • od r. 2018 na Yahoo Finance
  • dle oceneni z prezentace kvalitni a obrovska firma
# Determiners
all, another, any, both, every, few, former, half, least, many, own
# Adjectives
able, alone, available, bad, beautiful, big, black, certain, clear, common, complete, current, different, difficult, direct, due, each, early, easy, economic, either, else, fast, final, financial, fine, firm, fit, foreign, free, full, general, good, great, happy, hard, high, human, important, individual, international, kind, large, late, likely, little, local, long, low, main, major, military, national, necessary, new, nice, official, old, open, other, particular, patient, personal, political, poor, popular, possible, present, private, public, ready, real, recent, red, right, round, same, serious, several, short, significant, similar, simple, single, small, social, some, sorry, special, specific, standard, strong, such, sure, that, this, total, true, various, white, whole, wide, wrong, young
# Nouns
ability, accord, account, act, action, activity, addition, address, advantage, age, agreement, aim, air, amount, ana
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@Michal-Mikolas
Michal-Mikolas / Selenium-IDE_Include-with-cleaner
Last active December 11, 2015 23:29
Selenium IDE - Include command with auto-clean feature
/**
* Jerry Qian(qqqiansjtucs@hotmail.com)
* include extension for Selenium-IDE edition
* refer to includeCommand_2.1.3 for Selenium-Core edition
* @version 1.1
*
*/
function IDEIncludeCommand() {}
IDEIncludeCommand.LOG_PREFIX = "IDEIncludeCommand: ";