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
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use Net::Twitter::Lite; | |
| use Encode; | |
| my $consumer_key = 'こんしゅーまーきー' | |
| my $consumer_secret = 'こんしゅーまーしーくれっと'; | |
| my $access_token = 'あくせすとーくん'; |
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
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use LWP::UserAgent; | |
| my $ua = LWP::UserAgent->new; | |
| my $req = HTTP::Request->new(GET=>'もってきたいURL'); | |
| my $res = $ua->request($req); | |
| print $res->content; |
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
| $| = 1; |
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
| !/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use Text::MeCab; | |
| use Algorithm::MarkovChain; | |
| use List::Util qw(shuffle); | |
| use Net::Twitter::Lite; | |
| use Encode; | |
| use utf8; |
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
| #include <iostream> | |
| #include <string> | |
| #include <regex> | |
| using namespace std; | |
| long long int getIntValueFromDateString(string calendar_date); | |
| int main() | |
| { |
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
| #!/usr/bin/swift | |
| /** | |
| $ swift -v | |
| Apple Swift version 1.2 (swiftlang-602.0.53.1 clang-602.0.53) | |
| コメントアウトしたりしてどの関数が実行されるか見てみる | |
| A,B,C -> A |
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
| CompileSwift normal x86_64 /Users/yuya_hirayama/Development/segvtest/segvtest/ViewController.swift | |
| cd /Users/yuya_hirayama/Development/segvtest | |
| /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/yuya_hirayama/Development/segvtest/segvtest/ViewController.swift /Users/yuya_hirayama/Development/segvtest/segvtest/AppDelegate.swift -target x86_64-apple-ios9.2 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -I /Users/yuya_hirayama/Library/Developer/Xcode/DerivedData/segvtest-aiyrkviftxbdcjbqjbasauofhusv/Build/Products/Debug-iphonesimulator -F /Users/yuya_hirayama/Library/Developer/Xcode/DerivedData/segvtest-aiyrkviftxbdcjbqjbasauofhusv/Build/Products/Debug-iphonesimulator -enable-testing -g -module-cache-path /Users/yuya_hirayama/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/yuya_hirayama/Library |
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
| while l=gets | |
| puts l | |
| 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
| while l=gets | |
| puts l | |
| 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
| while line = gets | |
| puts line | |
| end |
OlderNewer