Skip to content

Instantly share code, notes, and snippets.

Viktor Oreshkin stek29

Block or report user

Report or block stek29

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
from enum import Enum
class CellState(Enum):
non_visited, block, visited, last_cell = range(4)
def __repr__(self):
class Done(Exception):
from __future__ import print_function
if 3/2 == 1:
input = raw_input
range = xrange
pretty_print = True
N = int(input())
stek29 / GDHf-1.cpp
Last active Mar 1, 2017
null created by stek291 -
View GDHf-1.cpp
#include <iostream>
#include <string>
using namespace std;
int main(void) {
cout <<
"#include <iostream>\n"\
"#include <string>\n"\
"using namespace std;\n"\
"template < size_t N > struct Q { \n"\
# for json
import json
from collections import OrderedDict
# for tl
import re
import struct
import binascii
__all__ = [
stek29 /
Last active May 2, 2017
SpeakToGo toys

remote-control.js and node-server.js

  • npm install websocket, node node-server.js
  • Open your-pc-ip:8980 on mobile phone (lock portrait orientation on it).
  • Paste remote-control.js to Console
  • Tilt to look around, tap to click in center


I'm feeling lucky just picks location from 55 hardcoded ones. But with this it would pick random coords, and open them, when you say I'm feeling so lucky.

View vk_no_cyrillic.php
if (!isset($_REQUEST)) {
class ConfigSomeGroup {
public function shouldDelete($object) {
/* delete cyrillic text */
$comment_text = $object->text;
stek29 / Google Earth
Last active Feb 27, 2018
Google Earth View wallpapers
View Google Earth

Downloads all wallpapers from and annotates them with nice and clean link (like

imageIds.json were taken from imageIds.js from Google Chrome Extension takes path to imageIds.json as first argument and downloads all images in it annotates $1

also see for example

stek29 / pip-alpha.js
Created May 4, 2017
Frida Script to tweak PIP window alpha level on macOS
View pip-alpha.js
'use strict';
const getExport = function (module, name) {
const addr = Module.findExportByName(module, name);
if (!addr) throw ("Can't find export " + name);
else return addr;
const getCGFunction = function (name, returnType, argTypes) {
return (new NativeFunction(getExport('CoreGraphics', name), returnType, argTypes));
// Very simple program to print all windows
// Obviously needs `-framework CoreGraphics -framework Foundation`
#import "CoreGraphics/CoreGraphics.h"
#import "Foundation/Foundation.h"
int main(void) {
NSArray *arr = [(NSArray *) CGWindowListCopyWindowInfo(kCGWindowListOptionAll, kCGNullWindowID) copy];
NSLog(@"%@", arr);
return 0;
stek29 /
Last active Dec 30, 2019
UntetherHomeDepot offsets


I was tired of waiting so I've just crawled kernelcaches for all avaliable devices and made one big offsets.json containing all offsets. However, they are untested. They *should* work, but refer to table below if you're afraid of bootloops.


Some offsets are wrong/missing on
You can’t perform that action at this time.