Skip to content

Instantly share code, notes, and snippets.

View shulhi's full-sized avatar
🏃‍♂️

Shulhi Sapli shulhi

🏃‍♂️
View GitHub Profile
@shulhi
shulhi / distributed-system.md
Last active December 10, 2017 20:57
Distributed System Reading List

Introduction

I often argue that the toughest thing about distributed systems is changing the way you think. The below is a collection of material I've found useful for motivating these changes.

Thought Provokers

Ramblings that make you think about the way you design. Not everything can be solved with big servers, databases and transactions.

@shulhi
shulhi / install_scipy.md
Last active August 29, 2015 13:56
Installing `scipy` on Ubuntu 13 using pip

Easiest way

$ sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose

This will install scipy together with other packages on python that run on the system. If you're using pyenv, it won't work though because it couldn't find the packages.

Other way

@shulhi
shulhi / Solr.md
Created January 28, 2014 09:04
Create multifaceted query in Solr

Multifaceted query

facet.field=level&facet.field=facility&facet.field=host&facet.field=program

facet.query=zulutime:[NOW-1DAY TO NOW]

fq=zulutime:[NOW-1DAY TO NOW]

@shulhi
shulhi / syslog-ng.md
Created November 29, 2013 02:55
How to fix syslog-ng `afsql` module error

Simply

yum install syslog-ng-libdbi

@shulhi
shulhi / hexo-theme-menu.md
Last active December 27, 2015 19:59
How to add menu to Hexo's DamnClean Theme
  1. Generate a page hexo new page 'about'

  2. In the theme's _config.yml You can add menu at the menu options like so

    menu:
      Home: /
      Archives: /archives
 About: /about