- Student: @sh19910711
- Mentor: @gsamokovarov
- Project URL: https://github.com/rails/web-console
- Proposal: https://git.io/vaMkL
- The Git Extension for Online Judges
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
path = require 'path' | |
yeoman = require 'yeoman-generator' | |
module.exports = class TestGenerator extends yeoman.generators.Base | |
constructor: (args, options, config) -> | |
yeoman.generators.Base.apply this, arguments | |
@on 'end', -> | |
@installDependencies skipInstall: options['skip-install'] | |
@pkg = JSON.parse @readFileAsString path.join __dirname, '../package.json' |
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
# 2013-12-21 | |
# 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
**/.*.swp |
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 <iostream> | |
using namespace std; | |
struct TestA { | |
int needed_method() { | |
cout << "test" << endl; | |
return 0; | |
} | |
}; |
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
./common/b2Settings.js | |
./common/math/b2Vec2.js | |
./common/math/b2Mat22.js | |
./common/math/b2Math.js | |
./collision/b2AABB.js | |
./collision/b2Bound.js | |
./collision/b2BoundValues.js | |
./collision/b2Pair.js | |
./collision/b2PairCallback.js | |
./collision/b2BufferedPair.js |
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
// compile: g++ -lboost_system -lboost_thread thread.cpp | |
#include <iostream> | |
#include <boost/thread.hpp> | |
#include <boost/bind.hpp> | |
void test1() { | |
for ( int i = 0; i < 10; ++ i ) | |
std::cout << "test 1" << std::endl; | |
} |
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
// compile: g++ -lboost_system client.cpp | |
#include <iostream> | |
#include <boost/asio.hpp> | |
const std::string SOCKET_NAME = "/tmp/socket"; | |
int main(){ | |
boost::asio::io_service io_service; | |
boost::asio::local::stream_protocol::socket socket(io_service); | |
boost::asio::local::stream_protocol::endpoint ep(SOCKET_NAME); |
NewerOlder