View Arduinode_Error.txt
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
--一回目 | |
JSON parse error : SyntaxError: Unexpected end of input | |
/home/sh4869/heimcontrol.js/node_modules/arduinode/arduinode.js:134 | |
throw e; | |
^ | |
SyntaxError: Unexpected end of input | |
at Object.parse (native) | |
at SerialPort.<anonymous> (/home/sh4869/heimcontrol.js/node_modules/arduinode/arduinode.js:118:27) |
View mikutter_turai.rb
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
# -*- coding: utf-8 -*- | |
#参考にさせていただいたプラグインです | |
# | |
#@firstspring1845のpostをすべて’おしりターボ’に変えてしまうプラグイン(https://gist.github.com/rinx/8822332) | |
#〄が含まれるツイートを検出したら即座に空リプするmikutterプラグイン(https://gist.github.com/penguin2716/4518448) | |
# | |
class Message | |
def self.appear(message) | |
if message.message.to_s =~ /つらい/ | |
message[:message] = "にゃーん" |
View RubyGemsInstallError.txt
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
ERROR: Error installing twitter: | |
ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.9.1 extconf.rb | |
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError) | |
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from extconf.rb:1:in `<main>' | |
Gem files will remain installed in /var/lib/gems/1.9.1/gems/http_parser.rb-0.6.0 for inspection. |
View tweet_gtk2.rb
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 'gtk2' | |
require 'twitter' | |
CONSUMER_KEY = YOUR_CONSUMER_KEY | |
CONSUMER_SECRET = YOUR_CONSUMER_SECRET | |
ACCESS_TOKEN = YOUR_ACCESS_TOKEN | |
ACCESS_SECRET = YOUR_ACCESS_SECRET | |
@rest_client = Twitter::REST::Client.new do |config| | |
config.consumer_key = CONSUMER_KEY |
View qtbindings_install_error.txt
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
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
/usr/bin/ruby1.9.1 extconf.rb | |
make | |
mkdir ext/build | |
mkdir bin/1.9 | |
mkdir bin/2.0 | |
mkdir bin/plugins | |
mkdir bin/plugins/accessible |
View Qt_error.txt
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
d72): `XConvertSelection' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0xfe3): `XSendEvent' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x10a9): `XSendEvent' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x114e): `XGetWindowProperty' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x126d): `XGetWindowProperty' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x12a1): `XFree' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x12ea): `XGetWindowProperty' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x1553): `XCheckTypedWindowEvent' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x15e2): `XFree' に対する定義されていない参照です | |
qmotifdnd_x11.cpp:(.text+0x1652): `XFree' に対する定義されていない参照です |
View key.rb
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
CONSUMER_KEY = YOUR_CONSUMER_KEY | |
CONSUMER_SECRET = YOUR_CONSUMER_SECRET |
View mikutter_sintyoku.rb
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
i# -*- coding: utf-8 -*- | |
Plugin.create(:mikutter_sintyoku) do | |
on_appear do |ms| | |
ms.each do |m| | |
if m.message.to_s =~ /進捗どうですか/ | |
to_name = m.user.idname | |
dialog = Gtk::Dialog.new("進捗どうですか", | |
$main_application_window, | |
Gtk::Dialog::DESTROY_WITH_PARENT, |
View Test_serial.ino
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
char ch = 'R'; //送受信の時に使う文字列。 | |
int i = 1; | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(13,OUTPUT); | |
} | |
void loop() | |
{ |
View sketch.ino
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
#include <Servo.h> | |
Servo servo;//サーボのインスタンス | |
int i = 0; | |
int val = 0; | |
void setup(){ | |
//サーボの信号線を3番ピンに接続 | |
//(PWMピン以外のピンにも接続可) |
OlderNewer