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
using System.Threading; | |
public class Program | |
{ | |
public static System.Collections.Concurrent.ConcurrentQueue<Job> jobQueue = new(); | |
public static Task Main(string[] args) | |
{ | |
var thread = new Thread(new System.Threading.ThreadStart(RunAsync)); | |
thread.Name = "RunAsyncThread"; |
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
using System; | |
namespace TestCSharp2017 | |
{ | |
class Program | |
{ | |
// test.proto | |
/* | |
syntax = "proto3"; |
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "p4checkout", | |
"type": "shell", | |
"command": "p4 edit ${file}", | |
"problemMatcher": [] |
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 <stdio.h> | |
#include <tchar.h> | |
#include <atomic> | |
#include <chrono> | |
#include <experimental/filesystem> | |
#include <fstream> | |
#include <iostream> | |
#include <thread> | |
#include <vector> |
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
package main | |
import "fmt" | |
import "net/http" | |
import "io/ioutil" | |
func main() { | |
client := &http.Client{} | |
req, err := http.NewRequest("GET", "http://apis.skplanetx.com/melon/charts/todaytopsongs?count=100&page=1&version=1", nil) |
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 os | |
import subprocess | |
import sys | |
import thread | |
import time | |
class TimeoutCheckLauncher: | |
def __init__(self, filename, timeout_seconds, timeout_func, process_output_func): | |
self.filename = filename | |
self.timeout_seconds = timeout_seconds |