Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block targi

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
targi /
Created Mar 15, 2017 — forked from spencerogden/
Script for use with Pythonista to allow Github Gists for script storage and retrieval. Copy script in full into a new script in Pythonista called "gitcheck". Run the script and it will create 4 scripts starting with "Gist". These can be added to the action menu. See comments for more details.
# Source:
# All-purpose gist tool for Pythonista.
# When run directly, this script sets up four other scripts that call various
# functions within this file. Each of these sub-scripts are meant for use as
# action menu items. They are:
# Set Gist - Set the gist id that the current file should be
# associated with.
targi /
Last active Mar 5, 2017 – a quick-and-dirty Pythonista 3 snake game
# Snake
# a quick and dirty Pythonista 3 game
# Oleg Frantsuzov, 2017
# consider this code public domain
from scene import *
from random import randrange
View slack2html.php
// slack2html
// by @levelsio
targi / pointer
Created Mar 16, 2014
Пример работы с указателем на что угодно (Turbo Pascal).
View pointer
program PointerTest;
IntPtr = ^integer;
src, dst : integer;
intp : IntPtr;
p : Pointer;
src := 42;
dst := 0;
targi / TransmissionClient
Created Mar 15, 2014
An Open In handler for Pythonista that uploads the file which name was passed to the configured server via SFTP, then runs the configured command on that server (e.g., transmission add).
View TransmissionClient
import console
import paramiko
import keychain
import traceback
from os.path import basename
# TransmissionClient
# An Open In handler that uploads the file which name was passed
You can’t perform that action at this time.