I hereby claim:
- I am snicol on github.
- I am snicol (https://keybase.io/snicol) on keybase.
- I have a public key ASBYSfviWjMQ-M-VH9PPtaDrhLOm5usGuvBVXCdeclnkyQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"runtime" | |
"fmt" | |
) | |
type SystemStat struct { | |
Alloc uint64 | |
TotalAlloc uint64 |
package main | |
import ( | |
"github.com/hajimehoshi/oto" | |
"log" | |
"math" | |
"strings" | |
) | |
const defaultNumChannels = 2 |
sudo mv /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf.bak; | |
sudo yum remove -y php70w*; | |
sudo yum install -y php71w php71w-fpm php71w-opcache php71w-devel php71w-cli php71w-pdo php71w-pear php71w-mcrypt php71w-xml php71w-gd php71w-mbstring php71w-bcmath php71w-mysqlnd php71w-soap php71w-process php71w-pecl-redis php71w-pecl-imagick; | |
sudo rm -rf /etc/php-fpm.d/www.conf; | |
sudo mv /etc/php-fpm.d/www.conf.bak /etc/php-fpm.d/www.conf; | |
sudo service nginx restart && sudo service php-fpm restart; | |
echo "DONE MATEY!"; |
5 golang.org/x/crypto/ssh.(*Client).handleChannelOpens(, ) | |
5 golang.org/x/crypto/ssh.(*Client).handleGlobalRequests(, ) | |
5 golang.org/x/crypto/ssh.(*forwardList).handleChannels(, ) | |
7 golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop() | |
7 golang.org/x/crypto/ssh.(*handshakeTransport).readPacket(, , , , , ) |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_CLEAN="" | |
PROMPT='%{$fg[cyan]%}[%m/%n]%{$fg[red]%}|%{$fg[green]%}[%2~]%{$reset_color%}%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} ' |
gem uninstall smeagol gollum sinatra rack | |
gem uninstall sinatra =v=1.3.3 # just to make sure | |
gem install sinatra -v=1.1.3 --no-ri --no-rdoc | |
gem install rack -v=1.2.4 --no-ri --no-rdoc | |
gem install smeagol --no-ri --no-rdoc |
class Shape(): | |
def __init__(self, sides, size): | |
self.sides = sides | |
self.size = size | |
def render(self): | |
if self.sides == 0: | |
circle(self.size) | |
else: | |
self.render_polygon() |