Skip to content

Instantly share code, notes, and snippets.

View vladkorotnev's full-sized avatar
💭
What's happening?

Akasaka Ryuunosuke vladkorotnev

💭
What's happening?
View GitHub Profile
@vladkorotnev
vladkorotnev / vpgp2.user.js
Last active May 30, 2017 17:33
Semi-Unofficial port of vPGP2 to Firefox. ALPHA VERSION
// ==UserScript==
// @name libakasakacore vPGP bundle
// @namespace libakasakacore
// @description by popular demand, ported to FFox by Genjitsu Gadget Lab team
// @include *://vk.com/*
// @version 1
// @grant GM_addStyle
// ==/UserScript==
function addJS_Node (text, s_URL, funcToRun, runOnLoad) {
@vladkorotnev
vladkorotnev / Alerts.strings
Last active November 16, 2016 03:31
TypeStatus Plus 1.1 日本語
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Title. -->
<key>ALERTS</key>
<string>通知</string>
<!-- Header for alert type selection. -->
<key>ALERT_TYPE</key>
@vladkorotnev
vladkorotnev / Credits.md
Last active November 16, 2016 03:22
TermHere 1.2 日本語翻訳

Acknowledgements:

Terminal toolbar icon is licensed under the SIL Open Font License, version 1.1.

このアプリは有用である場合には、開発者に小さな寄付を送ることを検討してください Donate

@vladkorotnev
vladkorotnev / mkgif.sh
Created June 10, 2016 17:19
Quick video to GIF converter
#!/bin/bash
me=`basename "$0"`
## i.e. mkgif Untitled.mov 640x360 20 2d.gif -vf "hflip,vflip"
usage="Usage: $me INFILE WxH FPS OUTFILE ffmpeg_opts.."
if [ -z "$1" ]
then
echo "No input file supplied."
@vladkorotnev
vladkorotnev / reply.js
Created December 20, 2013 13:36
Simple bot for VK scriptlet. Reverses the message and replies with it after 1 second.
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 December 27, 2015 10:58
DeFocused Miku-1 — a theme for vk.com
/* Inject this as a Userstyle for VK.com domain! */
/*
____ _____ _
| _ \ ___ | ___|___ ___ _ _ ___ ___ __| |
| | | | / _ \| |_ / _ \ / __|| | | |/ __| / _ \ / _` |
| |_| || __/| _|| (_) || (__ | |_| |\__ \| __/| (_| |
Option Explicit On
Module Yuki
''''''''''''''
' Typing sim '
' TODO: Make '
' skip space '
' on line '
' start '
''''''''''''''
Sub TextType(ByVal TextToType As String)
@vladkorotnev
vladkorotnev / vk-dephotify.js
Last active December 22, 2015 10:48
VK -- удаление много фото из верхней панельки
// Код букмарклета: (да, оно требует 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) { // если мы не на своем профиле
@vladkorotnev
vladkorotnev / connect_this_mac.sh
Created August 14, 2013 09:42
Shared Code Snippets for Xcode across multiple Macintoshes
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"
mv ~/Library/Developer/Xcode/UserData/CodeSnippets/* stash
rm -rf ~/Library/Developer/Xcode/UserData/CodeSnippets
ln -s "$DIR/stash" ~/Library/Developer/Xcode/UserData/CodeSnippets
echo This Macintosh should now be successfully sharing the snippets with other connected Macs
@vladkorotnev
vladkorotnev / gist:5919300
Last active December 19, 2015 07:29 — forked from kirb/gist:5918953

Translations needed before I can release TypeStatus 1.1

Russian (ro.lproj)

"Check out #TypeStatus by HASHBANG Productions!" = "Зацените #TypeStatus от HASHBANG Productions!";
"Hide Text After Delay" = "Скрывать текст после задержки;
"Overlay Animation" = "Анимация оверлея";
"Overlay Display Duration" = "Длительность анимации оверлея";
"Test Read" = "Тест прочтения";

"Test Typing" = "Тест набора";