phusion.github.io
Baseimage-docker: A minimal Ubuntu base image modified for Docker-friendliness
http://phusion.github.io/baseimage-docker
Without you knowing it. Learn the right way to build your Dockerfile. What are you talking about? Get the solution: baseimage-docker. What are you talking about? Get the solution: baseimage-docker. So you're building a Docker image. What might be wrong with it? You learned about Docker. It's awesome and you're excited. You go and create a Dockerfile:. FROM ubuntu:16.04 RUN apt-get install all my dependencies ADD my app files /my app CMD ["/my app/start.sh"]. Cool, it seems to work. Pretty easy, right?
tech.actindi.net
Passenger みたいに touch で Unicorn をリスタート
http://tech.actindi.net/3615001798
Passenger みたいに touch で Unicorn をリスタート. 実は以前 Uricorn を使っていました(さらにその前は Passenger です)。 さくらから AWS にのりかえた際に Passenger にしました。 いこーよは NFS サーバを動かしており、全 Rails サーバは NFS マウントして最新のコードを共有しています。 オートスケールで Rails サーバが起動、停止するなか、 どの Rails サーバがいま動いているかを気にすることなく、デプロイは NFS サーバに対してだけおこないます。 Passenger なら全 Rails サーバの再起動は NFS サーバで touch tmp/restart.txt するだけです。 しかし Unicorn では USR2 シグナルを各 Rails サーバでなげる必要があります。 Server, worker #. The following is highly recomended for Rails "preload app true". Old pid = "#{server.config[:pid]}. Delive...
uhoreg.ca
Hubert Chathi
http://www.uhoreg.ca/index/programming
March 23, 2016. Improved versions of left-pad. Shorter version (removed unneeded variable, and change to for loop: 9 lines of code instead of 11):. Module.exports = leftpad; function leftpad (str, len, ch) { str = String(str); if (! 0) ch = ' '; for (len -= str.length; len 0; len- ) { str = ch str; } return str; }. Faster version (only perform O(log n) concatenations, where n is the number of characters needed to pad to the right length):. Module.exports = String.prototype.repeat? As with the original le...
wada811.blogspot.com
DevAchieve: 7月 2014 プログラミングで世界を開拓して未来を実現するブログ
http://wada811.blogspot.com/2014_07_01_archive.html
Redmine の通知メールを Gmail で送信する設定. 動かした Redmine の通知メールを設定しました。 Production: email delivery: delivery method: :smtp smtp settings: enable starttls auto: true address: "smtp.gmail.com" port: 587 domain: "smtp.gmail.com" authentication: :plain user name: "mail for redmine@gmail.com" password: "gmail password" rmagick font path: /usr/share/fonts/ipa-pgothic/ipagp.ttf. メールの設定 — Redmine Guide 日本語訳. 動作は管理者アカウントで[管理 設定 通知メール]の右下の「テストメールを送信」で確認できます。 Redmine の通知専用の Gmail アカウントを作成するのが良いと思います。 ImageMagickと日本語フォントはガントチャート...
lucianosousa.net
O Guia Definitivo do deploy Rails App no Amazon EC2 em 15 passos
http://lucianosousa.net/2015/01/30/guia-definitivo-rails-amazon.html
O Guia Definitivo do deploy Rails App no Amazon EC2 em 15 passos. Este guia serve não só como um lembrete próprio de como instanciar um servidor mas também como uma forma de ajudar as pessoas a instanciarem suas próprias aplicações Rails em uma VPS. A distribuição Linux utilizada aqui é a Amazon Linux AMI, baseada no centOS, ou seja, a maioria ou todos os passos aqui podem ser replicados também para essa distribuição. Partindo do pressuposto que você já temos acesso SSH:. Passo 1) Atualizar Servidor.
blog.variomedia.de
Das Variomedia-Blog » Features
https://blog.variomedia.de/category/features
Archive for the ‘Features’ Category. Laquo; Older Entries. Neues Sieve-Plugin im Webmail (serverbasierte Filterregeln für E-Mails). Montag, Juli 11th, 2016. Ab sofort steht in unserem Webmail ein neues Sieve-Plugin für die serverbasierte Filterung und Sortierung von eingehenden E-Mails zur Verfügung. Das neue Sieve-Plugin im Webmail. Body – Raw – weitere Optionen – trifft auf den regulären Ausdruck zu – filename=“. .zip“. SSD-Webserver für alle Pro.Hosting-Pakete. Donnerstag, Mai 26th, 2016. Nutzen wir a...
blog.variomedia.de
Das Variomedia-Blog » Technik
https://blog.variomedia.de/category/technik
Archive for the ‘Technik’ Category. Laquo; Older Entries. PHP 55 End of Life. Freitag, Juli 22nd, 2016. Mit der gestern (21.07.) veröffentlichten PHP-Version 5.5.38 wird die Unterstützung des Versionszweiges 5.5 von den PHP-Entwicklern. Eingestellt, es wird keine. Sie können die auf Ihrem Webserver standardmäßig genutzte PHP-Version mittels SSH über den Shell-Befehl. Und rufen diese Datei dann über Ihren Web-Browser auf (z.B. www.domain.de/info.php). Störung eines Mailservers am 14./15.07.2016. In der Na...
wiki.mydevil.net
Django – MyDevil.net wiki
https://wiki.mydevil.net/Django
Status usług / nowości. To otwarty, napisany w Pythonie. Framework przeznaczony do tworzenia aplikacji WWW. Na serwerach MyDevil.net. Możliwe jest uruchamianie stron opartych o ten framework dzięki zastosowaniu technologii Phusion Passenger. Django 1.7 i nowsze. Django do wersji 1.6 włącznie. Do uruchomienia strony napisanej w Django. Należy pierw zadbać o prawidłową konfigurację środowiska oraz domeny. Przed przystąpieniem do dalszych kroków należy upewnić się, że:. Została dodana strona WWW. Który jest...
SOCIAL ENGAGEMENT