Skip to content

Instantly share code, notes, and snippets.

View akkez's full-sized avatar
💭
Floppin'

Mikhail akkez

💭
Floppin'
View GitHub Profile
@akkez
akkez / emoji.py
Created November 22, 2019 17:21
🐍 Python emoji regexp / python emoji detection
import re
# updated at: 2019-11-22
_EMOJI_REGEXP = r"\U0001f469\u200d\u2764\ufe0f\u200d\U0001f48b\u200d\U0001f468|\U0001f468\u200d\u2764\ufe0f\u200d\U0001f48b\u200d\U0001f468|\U0001f469\u200d\u2764\ufe0f\u200d\U0001f48b\u200d\U0001f469|\U0001f9d1\U0001f3fb\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fc\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fc\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fd\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fd\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fd\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fd|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fd|\U0001f9d1\U0001f3fe\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fe|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fb|\U0001f9d1\U0001f3ff\u200d\U0001f91d\u200d\U0001f9d1\U0001f3fc|\U0001f9d1\U0001f3ff\u200d\U000
<?php
/*
ВСЕ ТОПЧЕГ, ГРУППА VANS | SITE http://vkfix.ml | Слил Martin
*/
$access_token = ''; //
// ДО ДР
@akkez
akkez / tdcurses.txt
Created February 3, 2017 09:06
tdcurses
n@/root/tdcurses/td/td/telegram/DeviceTokenManager.cpp
/root/tdcurses/td-curses.hpp
/root/tdcurses/td/tdactor/td/actor/Condition.h
/root/tdcurses/td/tdactor/td/actor/impl/Actor.h
/root/tdcurses/td/tdactor/td/actor/impl/ActorInfo.h
/root/tdcurses/td/tdactor/td/actor/impl/ConcurrentScheduler.h
@/root/tdcurses/td/tdactor/td/actor/impl/Event.h
/root/tdcurses/td/tdactor/td/actor/impl/Scheduler.h
/root/tdcurses/td/tdactor/td/actor/MultiPromise.cpp
/root/tdcurses/td/tdactor/td/actor/MultiPromise.h
var gid = ")))))";
var pid = -gid;
var photos = API.photos.get({
"owner_id": pid,
album_id: "wall",
rev: 0,
count: 24
});
var a = API.audio.get({"count":15});
var i = 0;
var x = [];
while (true) {
x.push(a.items[i].artist + " - " + a.items[i].title);
i = i + 1;
if (i > a.items.length) {
return x;
}
}
// заходим на страницу с историей операций и вставляем скрипт в консоль
var content = "Время;Провайдер;Счет;Комментарий;+/-;Сумма;Комиссия\n";
$(".reports .reportsLine").each(function (k, a) {
var row = [];
var date = $(a).find(".DateWithTransaction");
row.push(date.find(".date").text().trim() + " " + date.find(".time").text().trim());
var comment = $(a).find(".ProvWithComment");
@akkez
akkez / fuzz.txt
Created March 27, 2016 21:58
Fuzz
/!.gitignore
/!.htaccess
/!.htpasswd
/%3f/
/%ff/
/.7z
/.access
/.addressbook
/.adm
/.admin
@akkez
akkez / tornado-bot.py
Last active August 29, 2015 14:23
Telegram bot example
curl https://api.telegram.org/bot<creds>/setWebhook?url=https://domain.me:8443/
importPackage(Packages.org.bukkit);
importPackage(Packages.com.sk89q.worldedit);
importPackage(Packages.com.sk89q.worldedit.blocks);
var w = player.getWorld();
var sel = context.getSession().getSelection(w);
var beg = sel.getMinimumPoint();
var x = beg.getBlockX();
var y = beg.getBlockY();
# -*- coding: utf-8 -*-
import string
import time
import re
import random
import vk_api
import requests