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
{ | |
"development": { | |
"hosts": [ | |
"127.0.0.1:9160" | |
], | |
"keyspace":"dev_events" | |
} | |
} |
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
- install pythonz | |
- sudo pythonz install 3.4.1 | |
- pythonz locate 3.4.1 | |
- cd /Applications/Blender.app/Contents/Resources/2.75/ | |
- virtualenv -p PATH_TO_PYTHON3 python | |
- bin/pip install python-osc | |
- then, the copy folder to blender python |
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
## start here: | |
- https://github.com/notro/rpi-source/wiki | |
## then here: | |
https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=99688 | |
and |
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
In file included from test.c:2: | |
./cimgui.h:26:12: error: unknown type name 'ImGuiIO' | |
CIMGUI_API ImGuiIO* igGetIO(); | |
^ | |
./cimgui.h:27:12: error: unknown type name 'ImGuiStyle' | |
CIMGUI_API ImGuiStyle* igGetStyle(); | |
^ | |
./cimgui.h:28:12: error: unknown type name 'ImDrawData' | |
CIMGUI_API ImDrawData* igGetDrawData(); | |
^ |
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
module Concerns | |
module KindBehavior | |
extend ActiveSupport::Concern | |
included do |base| | |
#base.extend( Concerns::KindBehavior::ModelClassMethods ) | |
# usage |
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
defmodule UploaderHandler do | |
use Application | |
# See http://elixir-lang.org/docs/stable/elixir/Application.html | |
# for more information on OTP Applications | |
def start(_type, _args) do | |
# import Supervisor.Spec | |
IO.puts "iniciando" | |
children = [ |
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
require 'rubygems' | |
require 'json' | |
require 'em-hiredis' | |
require 'faye/websocket' | |
require 'rack' | |
Faye::EventSource.class_eval do | |
attr_accessor :connected_at | |
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
Aren't gists great! |
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
/** | |
* You can use inline styles or classNames inside your callbacks | |
*/ | |
import React, {Component} from 'react' | |
import redraft from 'redraft' | |
var Prism = require('prismjs'); | |
//Prism.highlightAll(); |
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
<%= turbo_frame_tag "conversation-list-#{@app.key}" do %> | |
<%= render partial: 'conversation', collection: @conversations, locals: {app: @app} %> | |
<% end %> |