Skip to content

Instantly share code, notes, and snippets.

Avatar
🧩
wfh

Mikhail akkez

🧩
wfh
  • Russia, Saint Petersburg
View GitHub Profile
@akkez
akkez / emoji.py
Created Nov 22, 2019
🐍 Python emoji regexp / python emoji detection
View emoji.py
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
View умный статус.php
<?php
/*
ВСЕ ТОПЧЕГ, ГРУППА VANS | SITE http://vkfix.ml | Слил Martin
*/
$access_token = ''; //
// ДО ДР
View tdcurses.txt
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
View execute-album-photo-delete.js
var gid = ")))))";
var pid = -gid;
var photos = API.photos.get({
"owner_id": pid,
album_id: "wall",
rev: 0,
count: 24
});
View execute-audio-export.js
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;
}
}
View qiwi-csv-report.js
// заходим на страницу с историей операций и вставляем скрипт в консоль
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");
View fuzz.txt
/!.gitignore
/!.htaccess
/!.htpasswd
/%3f/
/%ff/
/.7z
/.access
/.addressbook
/.adm
/.admin
@akkez
akkez / tornado-bot.py
Last active Aug 29, 2015
Telegram bot example
View tornado-bot.py
curl https://api.telegram.org/bot<creds>/setWebhook?url=https://domain.me:8443/
View blockinfo_block.js
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();
View askfm.im-troller.py
# -*- coding: utf-8 -*-
import string
import time
import re
import random
import vk_api
import requests
You can’t perform that action at this time.