Documentation list: https://communities.intel.com/community/makers/edison/documentation/content Edison Guide: https://communities.intel.com/docs/DOC-23158 Mini Breakout Guide: https://communities.intel.com/docs/DOC-23252 Mini Breakout Schematic: https://communities.intel.com/docs/DOC-23323 Mini Breakout BoM: https://communities.intel.com/docs/DOC-23322 Arduino Breakout Guide: https://communities.intel.com/docs/DOC-23161 Arduino Breakout Schematic: https://communities.intel.com/docs/DOC-23309 Arduino Breakout BoM: https://communities.intel.com/docs/DOC-23308 BSP Guide (yocto build environment): https://communities.intel.com/docs/DOC-23159
This file contains 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
// title : Motor softmount for quadcopter | |
// author : Oleg Bovykin | |
// license : MIT License | |
// revision : 0.0.1 | |
// tags : Flex, 3d print, quadcopters, vibration, blackblox | |
// file : motor_vibration_dump.jscad | |
function getParameterDefinitions() { | |
return [ | |
{ |
This file contains 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
# app/services/pochta/box.rb | |
module Pochta | |
class Box | |
include ActiveModel::Model | |
include ActiveModel::Validations | |
attr_accessor :human, :version, :type | |
def initialize opts = {} | |
@version = 1 |
This file contains 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
require 'open-uri' | |
require 'json' | |
require 'net/smtp' | |
class BlacklistChecker | |
API_KEY = ENV['BLACKLIST_API_KEY'] || '5b81c659e0bc66638db97663b972eb49' | |
attr_accessor :domain | |
def initialize(domain) | |
@domain = domain |
This file contains 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
#!/bin/bash | |
if [ ! -f ~/runonce ] | |
then | |
sudo locale-gen ru_RU.UTF-8 | |
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo yum update | |
sudo yum install ansible -y | |
touch ~/runonce | |
fi |
This file contains 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
iex(1)> TimelineHandler.handle("foo", "bar") | |
** (UndefinedFunctionError) undefined function: :cowboy_http_req.reply/4 (module :cowboy_http_req is not available) | |
:cowboy_http_req.reply(200, [{"content-type", "application/javascript"}], "Pusher.JSONP.receive(1, null, {});", "foo") | |
(puxir) lib/timeline_handler.ex:9: TimelineHandler.handle/2 |
I and my collegue looking for two teammates for RailsRumble 2014 contest.
We are planning to rewrite from scratch our lib redditor - it adds super content editor to any rails model. Content can be build from any number of any blocks: texts (1, 2 and 3 columns), images, sliders, videos, cut-separators and pairs of text + image (video, text or anything else). We are adding default css and js to work out of the box. Its really easy and fun to use redditor for content management - and we want to make it event better!
This file contains 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
= super_form_for @book do |f| | |
= f.input :title | |
= f.input :body |
This file contains 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 ProductsContrller < AcpplicationController | |
def index | |
@products = Product.order('category_id ASC') | |
end | |
end |
This file contains 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
upstream erlypusher { | |
server localhost:8080; | |
} | |
server { | |
listen 80 default_server; | |
location / { | |
proxy_pass http://erlypusher; | |
proxy_http_version 1.1; |