PKG_CONFIG_PATH=~/.pyenv/versions/3.6.5/lib/pkgconfig:~/.pyenv/versions/3.5.6/lib/pkgconfig: ./configure --prefix=/usr/local/pyflame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import getpass | |
import os | |
import threading | |
import time | |
from urllib.parse import urlparse | |
import zipfile | |
import numpy | |
try: | |
from PIL import Image |
Unisntalling rails command needs to uninstall railties, not only rails.
% gem uninstall railties -v 5.0.0.rc1
You have requested to uninstall the gem:
railties-5.0.0.rc1
coffee-rails-4.1.1 depends on railties (< 5.1.x, >= 4.0.0)
jquery-rails-4.1.1 depends on railties (>= 4.2.0)
My homebew is installed into /usr/local/homebrew.
Install gcc-4.8
brew install gcc48
cd /usr/local/bin
rm cc gcc c++ g++
ln -s /usr/local/bin/gcc-4.8 cc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
free | |
sudo sync | |
echo 3 | sudo tee /proc/sys/vm/drop_caches | |
free |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadPlugin "exec" | |
<Plugin "exec"> | |
Exec "haproxy:haproxy" "/usr/local/bin/haproxy-stats" "-p" "10" | |
</Plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Contents of the preconfiguration file (for squeeze) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string en_US | |
# The values can also be preseeded individually for greater flexibility. | |
#d-i debian-installer/language string en | |
#d-i debian-installer/country string NL | |
#d-i debian-installer/locale string en_GB.UTF-8 | |
# Optionally specify additional locales to be generated. |
wget http://search.cpan.org/CPAN/authors/id/I/IL/ILYAZ/modules/Math-Pari-2.01080605.tar.gz
wget http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/2.3/pari-2.3.5.tar.gz
tar -zxvf Math-Pari-2.01080605.tar.gz
tar -zxvf pari-2.3.5.tgz
cd Math-Pari-2.01080605
vim Makefile.PL
##Line 9: Change to $paridir = "../pari-2.3.5";
perl Makefile.PL
cpanm .
CentOS
wget https://raw.github.com/ksauzz/s3curl/master/s3curl.pl
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
sudo cpanm YAML HTTP::Date Digest::HMAC_SHA1 URI::Escape
cpanminus https://github.com/miyagawa/cpanminus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.io.Serializable; | |
import java.util.List; |
NewerOlder