Skip to content

Instantly share code, notes, and snippets.

View cenkbircanoglu's full-sized avatar
🏠
Working from home

Cenk Bircanoğlu cenkbircanoglu

🏠
Working from home
  • Adevinta
  • Paris
View GitHub Profile
# -*- coding: utf-8 -*-
import logging
import os
from os.path import abspath, dirname, join
from os import environ
from fabric.api import env, task
from fabric.operations import local
from fabric.operations import sudo
from fabric.utils import puts
create table deps_saved_ddl
(
deps_id serial primary key,
deps_view_schema varchar(255),
deps_view_name varchar(255),
deps_ddl_to_run text
);
create or replace function deps_save_and_drop_dependencies(p_view_schema varchar, p_view_name varchar) returns void as
$$
@cenkbircanoglu
cenkbircanoglu / gist:6cb964d57d72754ee5183b6f598bc11c
Created May 5, 2016 20:12 — forked from debasishg/gist:8172796
A collection of links for streaming algorithms and data structures
  1. General Background and Overview
@cenkbircanoglu
cenkbircanoglu / gist:ad03b342e411c4f58257f3fcbff83a9e
Created December 15, 2016 09:05 — forked from jonkaya/gist:10239129
CentosPythonEnvironmentSetup.sh
#!/bin/bash
# Source: http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
# Install stuff #
#################
# Install development tools and some misc. necessary packages
yum -y groupinstall "Development tools"
yum -y install wget # gen'l reqs
@cenkbircanoglu
cenkbircanoglu / Makefile
Created December 23, 2019 10:41 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)
@cenkbircanoglu
cenkbircanoglu / extract_ILSVRC.sh
Created October 19, 2023 16:31 — forked from BIGBALLON/extract_ILSVRC.sh
script for ImageNet data extract.
#!/bin/bash
#
# script to extract ImageNet dataset
# ILSVRC2012_img_train.tar (about 138 GB)
# ILSVRC2012_img_val.tar (about 6.3 GB)
# make sure ILSVRC2012_img_train.tar & ILSVRC2012_img_val.tar in your current directory
#
# https://github.com/facebook/fb.resnet.torch/blob/master/INSTALL.md
#
# train/