ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
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
| public interface ICommand { | |
| public void execute(); | |
| } |
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
| public class Rover { | |
| public void handleCommand(RoverCommand command) { | |
| switch(command) { | |
| case R: | |
| //Do stuff to rotate right | |
| break; | |
| case L: | |
| // Do stuff to rotate left | |
| break; |
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
| public class Coordinates { | |
| // An object that represent a x and y coordinate. | |
| // It is immutable, to reflect that a position cannot | |
| // be modified, only a new one can be obtained using | |
| // one as reference. Additionally it exposes behavior | |
| // to check if another coordinate is outside or within | |
| // bounds from 0,0 to current coordinate. | |
| public Coordinates(final int xCoordinate, |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
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
| Vagrant::Config.run do |config| | |
| # All Vagrant configuration is done here. The most common configuration | |
| # options are documented and commented below. For a complete reference, | |
| # please see the online documentation at vagrantup.com. | |
| # Every Vagrant virtual environment requires a box to build off of. | |
| config.vm.box = "ci" | |
| # Assign this VM to a host-only network IP, allowing you to access it | |
| # via the IP. Host-only networks can talk to the host machine as well as |
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
| #!/usr/bin/env ruby | |
| #^syntax detection | |
| site 'http://community.opscode.com/api/v1' | |
| cookbook 'apt' | |
| cookbook 'apache2' | |
| cookbook 'jenkins' |
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
| Vagrant::Config.run do |config| | |
| # All Vagrant configuration is done here. The most common configuration | |
| # options are documented and commented below. For a complete reference, | |
| # please see the online documentation at vagrantup.com. | |
| # Every Vagrant virtual environment requires a box to build off of. | |
| config.vm.box = "ci" | |
| # Assign this VM to a host-only network IP, allowing you to access it | |
| # via the IP. Host-only networks can talk to the host machine as well as |
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
| class API < Grape::API | |
| format :json | |
| error_format :json | |
| version 'v1', :using => :header, :vendor => "App" | |
| rescue_from Mongoid::Errors::DocumentNotFound do |error| | |
| rack_response({"error" => {"message" => "We didn't find what we were looking for"}}.to_json, 404) | |
| end |
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
| class ContactInfo | |
| include Mongoid::Document | |
| field :address_line, :type => String | |
| field :city, :type => String | |
| field :country, :type => String | |
| field :zipcode, :type => String | |
| field :state, :type => String | |
| embeds_many :phone_numbers |