Skip to content

Instantly share code, notes, and snippets.

View MihailPreis's full-sized avatar
:octocat:
Say no more

Mihail Preis MihailPreis

:octocat:
Say no more
View GitHub Profile
@chanramen
chanramen / turbo_gif_downloader.py
Created July 3, 2021 08:02
Turbo gif downloader
"""Script for downloading gif images from vk.com group gif бумеры 2004
Actually, you can download any gifs from any group, you just need to insert ID.
Requirements are:
* python 3.9+ (should work on python 3.6+, but haven't checked)
* aiohttp, asyncio-pool packages
ATTENTION: to poeceed, you have to acquire your own service token and insert it in TOKEN variable
"""
anonymous
anonymous / DocsMiner.MD
Created February 1, 2018 17:35

Эта инструкция собрана по крупицам анонов и призвана помочь всем тем, кто не знает как скачивать личные документы из вк. Часто возникает один вопрос:

Можно ли скачивать личные документы конкретного пользователя вк?

Да, можно и нужно. Читай подробнее инструкцию и поймешь как это сделать.

Поиск документов

  1. Заходим на vk.com/docs
// https://github.com/avito-tech
//
// Sampler is like a baby of Debouncer and Throttler.
//
// Unlike Debouncer, sampler executes action immediately (if there are no actions before, for time > delay)
// Unlike Throttler it guarantees that last action in sequence will be executed (see last error in example)
/// CAUTION: This class isn't thread-safe
public final class Sampler {
// MARK: - Public properite
@swillits
swillits / Keycodes.swift
Last active October 22, 2024 15:30
Swift Keyboard Keycodes
struct Keycode {
// Layout-independent Keys
// eg.These key codes are always the same key on all layouts.
static let returnKey : UInt16 = 0x24
static let enter : UInt16 = 0x4C
static let tab : UInt16 = 0x30
static let space : UInt16 = 0x31
static let delete : UInt16 = 0x33
static let escape : UInt16 = 0x35
# -*- coding: utf-8 -*-
def transliterate(string):
capital_letters = {u'А': u'A',
u'Б': u'B',
u'В': u'V',
u'Г': u'G',
u'Д': u'D',
u'Е': u'E',
@kixxauth
kixxauth / long-polling.html
Created April 11, 2011 01:21
A Node.js http long polling server for HTTP streaming.
<!DOCTYPE html>
<html>
<style type="text/css">
body {
font-size: 18px;
background: #000;
color: #fff;
}
#container {
width: 600px;