Skip to content

Instantly share code, notes, and snippets.

View ArtSabintsev's full-sized avatar
😎
Having fun!

Arthur Ariel Sabintsev ArtSabintsev

😎
Having fun!
View GitHub Profile
@ArtSabintsev
ArtSabintsev / delete_all_tweets.py
Created August 8, 2016 17:25 — forked from vik-y/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
# -*- coding: utf-8 -*-
"""
This script is forked originally from Dave Jeffery. The original implementation
was very slow and deleted around 2 tweets per second. Making it multithreaded I
am able to delete 30-50 tweets per second.
@author: vik-y
----------------------------------------------------------------------------
This script will delete all of the tweets in the specified account.
import java.text.DecimalFormat;
import java.util.Scanner;
public class PayAmmount {
public static void main(String[] args) {
double payRate
double hours;
Scanner keyScanner = new Scanner(System.in);
@ArtSabintsev
ArtSabintsev / Create iOS Icons.jsx
Last active December 24, 2015 22:19 — forked from twonjosh/Create iOS Icons.jsx
Create iOS App icons for iOS 4, 5, 6, 7, & 8
// Photoshop Script to Create iPhone Icons from iTunesArtwork
//
// WARNING!!! In the rare case that there are name collisions, this script will
// overwrite (delete perminently) files in the same folder in which the selected
// iTunesArtwork file is located. Therefore, to be safe, before running the
// script, it's best to make sure the selected iTuensArtwork file is the only
// file in its containing folder.
//
// Copyright (c) 2010 Matt Di Pasquale
// Added tweaks Copyright (c) 2012 by Josh Jones http://www.appsbynight.com
@implementation UIImage (WRExtensions)
#pragma mark -
#pragma mark Scale and crop image
- (UIImage*)imageByScalingAndCroppingForSize:(CGSize)targetSize
{
UIImage *sourceImage = self;
UIImage *newImage = nil;
CGSize imageSize = sourceImage.size;
layout category tags
post
resource
html
css
javascript
resources
links

##specs