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
Show hidden characters
| { | |
| "compilerOptions": { | |
| "target": "ES6", | |
| "module": "commonjs" | |
| } | |
| } |
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
| System.out.println("$EXPR_COPY$ = " + $EXPR$); |
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 <vector> | |
| #include <cstdlib> | |
| #include <typeinfo> | |
| using namespace std; | |
| int main() | |
| { | |
| string str; |
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 <vector> | |
| #include <cstdlib> | |
| #include <typeinfo> | |
| #include <sstream> | |
| using namespace std; | |
| vector<string> split(const string &s, char delim) { | |
| vector<string> elems; |
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
| vector<string> split(const string &str, char delim){ | |
| vector<string> res; | |
| size_t current = 0, found; | |
| while((found = str.find_first_of(delim, current)) != string::npos){ | |
| res.push_back(string(str, current, found - current)); | |
| current = found + 1; | |
| } | |
| res.push_back(string(str, current, str.size() - current)); | |
| return res; | |
| } |
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
| npm ERR! Linux 3.13.0-71-generic | |
| npm ERR! argv "/home/vagrant/.nodebrew/node/v4.2.3/bin/node" "/home/vagrant/.nodebrew/current/bin/npm" "install" "jade@1.11.0" | |
| npm ERR! node v4.2.3 | |
| npm ERR! npm v3.5.3 | |
| npm ERR! path ../acorn/bin/acorn | |
| npm ERR! code EPROTO | |
| npm ERR! errno -71 | |
| npm ERR! syscall symlink | |
| npm ERR! EPROTO: protocol error, symlink '../acorn/bin/acorn' -> '/home/vagrant/workspace/node-js-http-3015/node_modules/.bin/acorn' |
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
| javascript:(function(){$('.modal-window-inner').css('width', '100%');$('.modal-window-content').css('width', '100%');$('#modal-inner-iframe').css('width', '100%');$('#modal-inner-iframe').attr('src', $('#modal-inner-iframe').attr('src'));})(); |
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
| import javafx.application.Application | |
| import javafx.event.{ActionEvent, EventHandler} | |
| import javafx.scene.Scene | |
| import javafx.scene.control.Button | |
| import javafx.scene.layout.StackPane | |
| import javafx.stage.Stage | |
| object Main extends App { | |
| Application.launch(classOf[Main], args: _*) | |
| } |
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
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| public class Main { | |
| public static void main(String[] args) { | |
| BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); | |
| String input = null; | |
| try { |
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 <vector> | |
| #include <sstream> | |
| using namespace std; | |
| vector<string> split(const string &s, char delim) { | |
| vector<string> elems; | |
| stringstream ss(s); | |
| string item; |