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
<# | |
.Synopsis | |
Sends Telegram text message via Bot API | |
.DESCRIPTION | |
Uses Telegram Bot API to send text message to specified Telegram chat. Several options can be specified to adjust message parameters. | |
.EXAMPLE | |
$bot = "#########:xxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxx" | |
$chat = "-#########" | |
Send-TelegramTextMessage -BotToken $bot -ChatID $chat -Message "Hello" | |
.EXAMPLE |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<title>getUserMedia() example</title> | |
<script type="text/javascript"> | |
function enableMedia() { | |
var video = document.getElementById("captureVideo"); |
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 ( | |
"bufio" | |
"fmt" | |
"os" | |
"os/exec" | |
"os/signal" | |
"strconv" | |
"strings" |
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
// DNS Over HTTPS server in Golang. | |
// 2018.5.29. | |
package main | |
import ( | |
"bytes" | |
"crypto/tls" | |
"flag" | |
"io/ioutil" |
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 <Windows.h> | |
#include <stdlib.h> | |
void SetConsoleSize(HANDLE hCon, short width, short height) | |
{ | |
COORD c; | |
c.X = width; | |
c.Y = height; | |
SMALL_RECT r; |
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
// 모 채널에서 뉴스에 내보냈던 바로 그 이름궁합. | |
// 2015. 4. 27. | |
use std::env; | |
use std::borrow::Borrow; | |
/// 초성 | |
#[allow(dead_code)] | |
static CHO : [char;19] = [ | |
'ㄱ', 'ㄲ', 'ㄴ', 'ㄷ', 'ㄸ', |
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
goto https://github.com/Regentag/malbolge-interpreter |
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
// HQ9+ Interpreter | |
// | |
// Jan. 30. 2017. | |
// yeongtaek.ham {at} gmail.com | |
// | |
use std::env; | |
use std::fs::File; | |
use std::io::Read; | |
use std::string::String; |