Skip to content

Instantly share code, notes, and snippets.

💭
What's happening?

Akasaka Ryuunosuke vladkorotnev

💭
What's happening?
Block or report user

Report or block vladkorotnev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vladkorotnev
vladkorotnev / meidochan.py
Created Jan 17, 2015
does what it seems. for VK
View meidochan.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# v 0.1.3
#
# __ ___ _ __ __
# / |/ /___ (_)___/ /___ ____ / / ___ _ ___
# / /|_/ // -_)/ // _ // _ \/ __// _ \/ _ `// _ \
# /_/ /_/ \__//_/ \_,_/ \___/\__//_//_/\_,_//_//_/
#
@vladkorotnev
vladkorotnev / WorkOff.sh
Created Jan 14, 2015
Annoyed by "A new version of iWork is available, please install our crap new OS then visit App Store to update?" Tell iWork to buzz off by this script.
View WorkOff.sh
#!/bin/bash
# Work Off!
# Disable annoying "Install a new update to iWork but first install our crap update to your OS" etc in iWork
# by akasaka, 2014
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
@vladkorotnev
vladkorotnev / terminal.css
Created Jan 9, 2015
Terminal style for VK Chatbox
View terminal.css
@font-face {
font-family: 'keyrus';
src: url('http://vladkorotnev.me/keyrus.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
#rb_box_fc_peer[YOUR_PSV_NUMERIC_ID] .fc_tab, #rb_box_fc_peer[YOUR_PSV_NUMERIC_ID] .fc_msgs_out,
#rb_box_fc_peer[YOUR_PSV_NUMERIC_ID] .fc_msgs,
#rb_box_fc_peer[YOUR_PSV_NUMERIC_ID] .fc_msgs_unread {
background: #000 !important;
}
@vladkorotnev
vladkorotnev / inbound.py
Last active Aug 29, 2015
Receives VK messages and drops attachments into a folder
View inbound.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
#return
# Dependencies
import vk_api, datetime
from vk_api import upload
import pdb
import json, urllib, random, uuid, os
from BeautifulSoup import BeautifulStoneSoup
@vladkorotnev
vladkorotnev / ufanetcam.js
Last active Aug 29, 2015
Grab camera stream list from Ufanet Maps
View ufanetcam.js
// Grab Ufanet Camera Streams
// By Akasaka Ryuunosuke
// 2014/03/01
var cameras = ''; var k = '';
for(var key in layouts) { if(key.substr(0,4) == 'cctv') k=key; }
for(var i in layouts[k]._layers) {
var cam = layouts[k]._layers[i];
var url = "http://"+cam.server+"/"+cam.number+"/index.m3u8?token=maps&autoPlay=true";
@vladkorotnev
vladkorotnev / reply.js
Created Dec 20, 2013
Simple bot for VK scriptlet. Reverses the message and replies with it after 1 second.
View reply.js
IM.addMsgOrig=IM.addMsg;
// copy addMsg
IM.sendSys = function (msg, sendPeer) {
peer = sendPeer;
var peerTab = cur.tabs[peer];
var msg_id = --peerTab.sent,
params = {act: 'a_send', to: peer, hash: peerTab.hash, msg: msg, title: "", ts: cur.ts},
@vladkorotnev
vladkorotnev / defocused_miku1.css
Last active Dec 27, 2015
DeFocused Miku-1 — a theme for vk.com
View defocused_miku1.css
/* Inject this as a Userstyle for VK.com domain! */
/*
____ _____ _
| _ \ ___ | ___|___ ___ _ _ ___ ___ __| |
| | | | / _ \| |_ / _ \ / __|| | | |/ __| / _ \ / _` |
| |_| || __/| _|| (_) || (__ | |_| |\__ \| __/| (_| |
View Yuki.vb
Option Explicit On
Module Yuki
''''''''''''''
' Typing sim '
' TODO: Make '
' skip space '
' on line '
' start '
''''''''''''''
Sub TextType(ByVal TextToType As String)
@vladkorotnev
vladkorotnev / payment.php
Created Oct 14, 2013
Имитация платежной системы с редиректом на один урл в случае отмены и на другой в случае оплаты
View payment.php
<html>
<head>
<title> Какая-то платежная система </title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
</head>
<body style="background-image: url(http://bradjasper.com/subtle-patterns-bookmarklet/patterns/satinweave.png); background-size: auto; background-repeat: repeat repeat;">
<small > Данная страница является вымыслом и вообще используется только для проверки ПО</small>
<?
$names = array(
@vladkorotnev
vladkorotnev / vk-dephotify.js
Last active Dec 22, 2015
VK -- удаление много фото из верхней панельки
View vk-dephotify.js
// Код букмарклета: (да, оно требует jquery, да, мы настолько обленились :D)
// javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://code.jquery.com/jquery-1.10.1.min.js';document.body.appendChild(document.createElement('script')).src='https://gist.github.com/vladkorotnev/6460898/raw';})();
var iteration = 0; // ограничение на количество фото
var limitation= 0; // итерация текущая
var fb = undefined; // тут будет фастбокс
// фн САС -- основная функция обработки фотогратативов, с нее все и началось
var sas = function() {
if(window.location.href != $('#myprofile')[0].href) { // если мы не на своем профиле
You can’t perform that action at this time.