Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Alex Siman siman

🏠
Working from home
Block or report user

Report or block siman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@siman
siman / image-proxy.conf
Created Sep 24, 2018 — forked from tmaiaroto/image-proxy.conf
Nginx Image Filter Resize Proxy Service
View image-proxy.conf
# Feel free to change this path of course (and keys_zone value as well, but also change the usage of it below).
proxy_cache_path /var/www/cache/resized levels=1:2 keys_zone=resizedimages:10m max_size=1G;
# Gzip was on in another conf file of mine...You may need to uncomment the next line.
#gzip on;
gzip_disable msie6;
gzip_static on;
gzip_comp_level 4;
gzip_proxied any;
# Again, be careful that you aren't overwriting some other setting from another config's http {} section.
@siman
siman / index.js
Created Feb 10, 2018 — forked from abrkn/index.js
kraken-minimal-trader
View index.js
#!/usr/bin/env node
const assert = require('assert');
const { delay } = require('bluebird');
const BigNumber = require('bignumber.js');
const kraken = require('./kraken');
const {
fetchMyOpenOrders,
fetchOrderBook,
placeOrder,
@siman
siman / install-scala-2.11.7-sbt-0.13.9-on-ubuntu.sh
Last active Nov 17, 2015 — forked from osipov/gist:c2a34884a647c29765ed
Install Scala 2.11.7 and SBT 0.13.9 using apt-get on Ubuntu 14.04 or any Debian derivative using apt-get
View install-scala-2.11.7-sbt-0.13.9-on-ubuntu.sh
sudo apt-get remove scala-library scala
sudo wget www.scala-lang.org/files/archive/scala-2.11.7.deb
sudo dpkg -i scala-2.11.7.deb
sudo apt-get update
sudo apt-get install scala
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt
You can’t perform that action at this time.