Skip to content

Instantly share code, notes, and snippets.

View alup's full-sized avatar
🎯

Andreas Loupasakis alup

🎯
View GitHub Profile
@alup
alup / gist:b1ad24eb5e9372f22b2d4022632cd6d6
Created September 24, 2017 11:06
Nvidia GPU monitoring commands
nvidia-smi -q -g 0 -d TEMPERATURE,POWER,CLOCK,MEMORY -l
@alup
alup / percona.live.notes.md
Created May 20, 2016 10:09 — forked from eklitzke/percona.live.notes.md
percona live notes

Percona Server with XtraDB

Introduction

  • 2010 InnoDB 5.1 announced, will first ship with MySQL 5.5.
  • Historically InnoDB development lags while MySQL is trying to GA
  • lots of things fixed in InnoDB since MySQL 5.0
  • important note -- plugin version of InnoDB is not the default in 5.1
@alup
alup / note.md
Last active September 21, 2015 21:45 — forked from fyears/note.md
how to install scipy numpy matplotlib ipython in virtualenv

if you are using linux, unix, os x:

pip install -U setuptools
pip install -U pip

pip install numpy
pip install scipy
pip install matplotlib
#pip install PySide
@alup
alup / gist:2773820
Created May 23, 2012 08:13 — forked from vrinek/gist:2773707
Add encoding line to all spec files
enc = '# -*- encoding : utf-8 -*-'
`git ls-files -- spec | xargs head -1 | grep -v encoding`.
split("\n\n").
reject{|l| l !~ /\n/}.
map{|l| l.split("\n").first}.
map{|f| f[/^==> (.*) <==$/, 1]}.
each{|f|
system "echo '#{enc}' > tempfile && cat #{f} >> tempfile && mv tempfile #{f}"
}
mmmmmmm m m mm m m m
# # # #"m # # #
# #mmmm# # #m # ##
# # # # # # m""m
# # # # ## m" "m