Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| # We need each node defined as a separate platform in order to give them different ip addresses on the private network | |
| --- | |
| driver_plugin: vagrant | |
| driver_config: | |
| require_chef_omnibus: true | |
| box: opscode-ubuntu-12.04 | |
| box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box |
| #!/usr/bin/env bash | |
| # | |
| # JBoss standalone control script | |
| # | |
| # chkconfig: - 80 20 | |
| # description: JBoss AS Standalone | |
| # processname: standalone | |
| # pidfile: /var/run/jboss-as/jboss-as-standalone.pid | |
| # config: /etc/jboss-as/jboss-as.conf |
| *Add the toolchain/test PPA* | |
| sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
| sudo apt-get update | |
| sudo apt-get install g++-4.8 | |
| sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 | |
| *If you ever want to update symlinks for a future version:* | |
| sudo rm /usr/bin/g++ | |
| sudo ln -s /usr/bin/g++-4.XXX /usr/bin/g++ |
| #!/bin/bash | |
| sudo apt-get remove phantomjs | |
| sudo unlink /usr/local/bin/phantomjs | |
| sudo unlink /usr/local/share/phantomjs | |
| sudo unlink /usr/bin/phantomjs | |
| cd /usr/local/share |
| # | |
| # Acts as a nginx HTTPS proxy server | |
| # enabling CORS only to domains matched by regex | |
| # /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
| # | |
| # Based on: | |
| # * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
| # * http://enable-cors.org/server_nginx.html | |
| # | |
| server { |
| server { | |
| listen *:80; | |
| server_name www.example.com; | |
| rewrite ^(.*) http://example.com $1 permanent; | |
| } | |
| server { | |
| listen *:80; | |
| server_name example.com; |
| ;; Set the starting position and width and height of Emacs Window | |
| (add-to-list 'default-frame-alist '(left . 0)) | |
| (add-to-list 'default-frame-alist '(top . 0)) | |
| (add-to-list 'default-frame-alist '(height . 45)) | |
| (add-to-list 'default-frame-alist '(width . 175)) | |
| ;; To get rid of Weird color escape sequences in Emacs. | |
| ;; Instruct Emacs to use emacs term-info not system term info | |
| ;; http://stackoverflow.com/questions/8918910/weird-character-zsh-in-emacs-terminal | |
| (setq system-uses-terminfo nil) |