Skip to content

Instantly share code, notes, and snippets.

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

Sajal Kayan sajal

💭
What's happening?
View GitHub Profile
@garrettgoehner
garrettgoehner / s3up.py
Created July 27, 2011 17:25 — forked from mtigas/0001.markdown
Command-line s3 uploader that uses the MultiPart (chunked) S3 upload functionality to parallelize and speed up large file uploads.
#!/usr/bin/env python
# coding=utf-8
#
# s3up.py
# 2010-2011, Mike Tigas
# https://mike.tig.as/
#
# Usage:
# s3up filename
# Uploads the given file to the DEFAULT_BUCKET (see below)
@jedi4ever
jedi4ever / building nodejs with fpm
Created April 14, 2011 14:43
build .deb for nodejs with fpm
rm node-v0.4.5.tar.gz
rm -rf node-v0.4.5
apt-get -y install wget
wget http://nodejs.org/dist/node-v0.4.5.tar.gz
tar -xzvf node-v0.4.5.tar.gz
cd node-v0.4.5
./configure --prefix=/usr
rm -rf /tmp/node-v0.4.5.$$
mkdir /tmp/node-v0.4.5.$$
make install DESTDIR=/tmp/node-v0.4.5.$$
@mtigas
mtigas / 0001.markdown
Last active February 15, 2018 17:04
Command-line s3 uploader that uses the MultiPart (chunked) S3 upload functionality to parallelize and speed up large file uploads.