jenkins_url
+ /api/json?tree=jobs[name,color]
jenkins_url
+ /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
# Change this path to your config directory | |
CONFIG_DIR="/config" | |
cd /tmp | |
# Clone the latest code from GitHub | |
git clone --depth 1 https://github.com/tensorflow/models.git tensorflow-models | |
# download protobuf 3.4 | |
curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip |
========================================================================================== |
resources :brands do | |
resources :products | |
end | |
resources :categories do | |
resources :products | |
end |
%iframe#sidekiq_iframe{ src:"/admin/sidekiq" } | |
#include <SPI.h> | |
#include <Ethernet.h> | |
#include <Servo.h> | |
Servo guageServo; | |
byte mac[] = { | |
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; | |
IPAddress ip(192,168,1,177); | |
int port = 3000; |
require 'socket' | |
maximum_load = 8.0 | |
puts "Starting" | |
server = TCPServer.new(3000) | |
puts "Listening" | |
loop do | |
client = server.accept | |
puts "Accepted client" | |
while true |
module Moped | |
module Instrumentation | |
def self.instrument(klass) | |
klass.class_eval do | |
def logging(operations) | |
instrument_start = (logger = Moped.logger) && logger.debug? && Time.new | |
yield | |
ensure | |
instrument_end = 1000 * (Time.new.to_f - instrument_start.to_f) |
#include <Servo.h> | |
#include <Bounce.h> | |
Servo silnik; | |
byte LED_R = 9; | |
byte LED_G = 11; | |
byte LED_B = 10; | |
byte SILNIK_PIN = 2; | |
byte RESET_BUTTON_PIN = 4; |
# create rvmrc file | |
create_file ".rvmrc", "rvm use ruby-1.9.3-head@#{app_name} --create" | |
gem 'mysql2', group: :orm | |
gem "carrierwave", group: :orm | |
gem "devise", group: :authorization | |
gem "cancan", group: :authorization | |
gem "yettings", group: :other |