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' |
- The Git Extension for Online Judges
- Student: @sh19910711
- Mentor: @gsamokovarov
- Project URL: https://github.com/rails/web-console
- Proposal: https://git.io/vaMkL
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); |
OlderNewer