Skip to content

Instantly share code, notes, and snippets.

@nuthinking
nuthinking / s3_full_delete.py
Created October 21, 2023 17:50 — forked from vsx-gh/s3_full_delete.py
Remove completely S3 objects that have delete markers
#!/usr/bin/env python3
'''
Program: s3_full_delete.py
Author: https://github.com/vsx-gh
Created: 20170920
Program finds S3 objects with delete markers and deletes all versions
of those objects.
@nuthinking
nuthinking / app.js
Created May 13, 2014 14:38
Multiple file uploads with Nodejs
var http = require("http");
var url = require("url");
var multipart = require("./multipart/multipart");
var sys = require("sys");
var fs = require("fs");
var server = http.createServer(function(req, res) {
// Simple path-based request dispatcher
switch (url.parse(req.url).pathname) {
case '/':
@nuthinking
nuthinking / UIView+CustomTimingFunction.h
Created November 11, 2013 15:59
UIView Custom Timing Functions
//
// UIView+CustomTimingFunction.h
// Instants
//
// Created by Christian Giordano on 16/10/2013.
// Copyright (c) 2013 Christian Giordano. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreGraphics/CoreGraphics.h>
CGRect CGRectCopy(CGRect rect);
CGRect CGRectCopyWithX(CGRect rect, CGFloat x);
CGRect CGRectCopyWithY(CGRect rect, CGFloat y);
CGRect CGRectCopyWithWidth(CGRect rect, CGFloat width);
CGRect CGRectCopyWithHeight(CGRect rect, CGFloat height);