Skip to content

Instantly share code, notes, and snippets.

View gilv's full-sized avatar

Gil Vernik gilv

View GitHub Profile
@gilv
gilv / gist:7e70ba055f24bcc472b6
Created May 5, 2015 08:06
Swift stopper middleware
# Copyright IBM Corp. 2015, 2015 All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@gilv
gilv / Apache Spark integration with SoftLayer Object Store
Created April 21, 2015 08:21
Documentation on the integration between Apache Spark and SoftLayer object store.
-------------------------------------------------------------------------
Copyright IBM Corp. 2015, 2015 All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@gilv
gilv / migration_from_file_system
Created July 31, 2014 06:52
migration_from_file_system
'''
Created on Dec 16, 2013
@author: Gil Vernik
'''
from swiftclient import client as c
import os
import tempfile
import random