- CoPilot X
- Copilot Chat: https://github.com/features/preview/copilot-x
- Copilot Voice: https://githubnext.com/projects/copilot-voice/
- Copilot Docs: https://githubnext.com/projects/copilot-for-docs/
- Copilot for PRs: https://githubnext.com/projects/copilot-for-pull-requests/
- Copilot CLI: https://githubnext.com/projects/copilot-cli/
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
package main | |
import ( | |
"fmt" | |
"github.com/miekg/dns" | |
"log" | |
"net/http" | |
) | |
const rootdnsv4 = "198.41.0.4" |
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
! | |
" | |
# | |
$ | |
% | |
& | |
' | |
( | |
) | |
* |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Sparks of Copilot X</title> | |
<meta charset="utf-8"> | |
<meta name="author" content="Sebastian Macke"> | |
<meta name="description" content="GPT-4 Coding Experiments"> | |
<link href=" https://cdn.jsdelivr.net/npm/ace-builds@1.16.0/css/ace.min.css " rel="stylesheet"> | |
<style> |
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
package main | |
import ( | |
"flag" | |
"fmt" | |
"net/http" | |
"time" | |
) | |
var defaultSleepTimeMs *int |
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
/* | |
Ported shader Protean Clouds | |
https://www.shadertoy.com/view/3l23Rh | |
to WGSL | |
*/ | |
// Protean clouds by nimitz (twitter: @stormoid) | |
// https://www.shadertoy.com/view/3l23Rh | |
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License | |
// Contact the author for other licensing options |
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 with | |
// 'gcc -O2 main.c -o contextperf.c' -lpthread | |
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <pthread.h> | |
#include <sched.h> | |
#include <unistd.h> |
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
/* | |
The HTTP/3 protocol is on the rise and brings huge improvements in terms of speed and security. | |
One of them is, that the so called "Server Name Identification" or SNI is mandatory and is sent | |
in the first packet by the client. | |
https://en.wikipedia.org/wiki/Server_Name_Indication | |
Parsing and retrieving the SNI should be easy, right? | |
Well, here is a complete code example to retrieve the SNI and other information from the | |
initial QUIC packet. The first packet is encrypted and protected. But the encryption keys |
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
package main | |
import "C" | |
import ( | |
"fmt" | |
"github.com/giorgisio/goav/avcodec" | |
"github.com/giorgisio/goav/avutil" | |
"github.com/giorgisio/goav/swscale" | |
"strconv" | |
"strings" |
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
/* | |
* This code is a headerless implementation of the WASI interface in C and prints "Hello World!. | |
* You only need clang and the llvm linker. | |
* | |
* compile with | |
* clang -Os -nostdlib --target=wasm32 -Wl,--allow-undefined hello.c -o hello.wasm | |
* | |
* run with | |
* https://runno.dev/wasi | |
* Just upload hello.wasm |
NewerOlder