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
### test |
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 'yaml' | |
class A | |
def load_setting | |
YAML.load_file("./hoge.yaml") # hoge.yaml => setting: 1 | |
end | |
end | |
class B | |
CONST = A.new.load_setting |
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
diff --git a/lib/niconico.rb b/lib/niconico.rb | |
index da773f9..d9f8940 100644 | |
--- a/lib/niconico.rb | |
+++ b/lib/niconico.rb | |
@@ -22,6 +22,7 @@ class Niconico | |
@logined = false | |
@agent = Mechanize.new | |
+ @agent.ssl_version = "SSLv3" | |
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
debug: Appium request initiated at /wd/hub/session | |
debug: Request received with params: {"desiredCapabilities":{"browserName":"","platform":"Mac","version":"6.1","device":"iPhone Simulator","app":"safari"}} | |
info: Trying to use mobile safari, version 6.1 | |
info: Looking for built in app MobileSafari | |
info: Got app, trying to copy /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/Applications/MobileSafari.app to tmp dir |
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
diff --git a/.gitignore b/.gitignore | |
index 509eb00..99f37ae 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1 +1,2 @@ | |
js/libs/ | |
+node_modules/ | |
diff --git a/Gruntfile.js b/Gruntfile.js | |
new file mode 100644 | |
index 0000000..ab4b14e |
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
#[allow(non_camel_case_types)] | |
struct __; | |
impl __ { | |
pub fn hello() { | |
println!("hello"); | |
} | |
} | |
fn main() { |
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
--- Type 'make test' to test library | |
--- Built internal test runner | |
running 0 tests | |
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured | |
src/test.rs:18:23: 18:45 error: borrowed value does not live long enough | |
src/test.rs:18 let initial_vec = __::Vect::new(vec_int).initial(2u); | |
^~~~~~~~~~~~~~~~~~~~~~ |
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
# にこまき | |
- EERR | |
- 大島智 | |
- たみふる | |
- D否 | |
# のぞえり | |
- murata | |
- 鈴宮きりは | |
- 高乃朔 |
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
use std::hash::Hash; | |
use std::collections::HashMap; | |
pub struct Hashing<K: Eq + Hash, V: Eq + Hash> { | |
x: HashMap<K, V> | |
} | |
impl<'a, K: Eq + Hash + Clone, V: Eq + Hash + Clone> Hashing<K, V> { | |
pub fn new(h: HashMap<K, V>) -> Hashing<K, V> { | |
Hashing { x: h } |
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
fn hoge() -> ||:'static -> bool { | |
let a = || { true }; | |
return a; | |
} | |
fn main() { | |
let a = hoge(); | |
a(); | |
} |
OlderNewer