View fork_printing.cpp
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 <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
int main() | |
{ | |
// stdout имеет буффер, где накапливается вывод | |
// буффер освобождается при встрече с символом '\n', fflush(stdout) | |
// или его переполнении. Размер буффера определён макросом BUFSIZ (обычно 8192; implementation defined) | |
View VisualMathSync.java
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
import io.socket.client.Socket; | |
import io.socket.client.IO; | |
import io.socket.emitter.Emitter; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.net.URISyntaxException; | |
import com.google.gson.*; | |
// sync_v1/ongoing_lectures/set_slide:${activeLectureId} -- slide |
View gist:bc3614581f771245398d4a50bd0d0359
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
import io.socket.client.Socket; | |
import io.socket.client.IO; | |
import io.socket.emitter.Emitter; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.net.URISyntaxException; | |
import com.google.gson.*; | |
// sync_v1/ongoing_lectures/set_slide:${activeLectureId} -- slide |
View analysis.cpp
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 "stdafx.h" | |
#include "analysis.h" | |
#include "enums.h" | |
#include <sstream> | |
#include <stack> | |
#include <vector> | |
#include <cmath> | |
#include <string.h> | |
//Конструкторы |