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
puterr: '\0' 0 | |
puterr: '\u{1}' 1 | |
puterr: '\u{2}' 2 | |
puterr: '\u{3}' 3 | |
puterr: '\u{4}' 4 | |
puterr: '\u{5}' 5 | |
puterr: '\u{6}' 6 | |
puterr: '\u{7}' 7 | |
puterr: '\u{8}' 8 | |
puterr: '\t' 9 |
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
2022-09-15T06:35:05-07:00 |
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
struct Mytype { | |
a: isize, | |
} | |
fn inc_mytype(m: Mytype) -> isize { | |
m.a + 1 | |
} | |
fn inc_isize(i: isize) -> isize { |
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
PC - 192.168.0.11 Handheld - 192.168.172.11 | |
┌──────────────────────────────────┐ ┌─────────────────────────────────┐ | |
│ Browser: crunchi.com/somegame │ │ Device: golang server │ | |
│ ┌──────────────────────────────┐ │ │ │ | |
│ │ │ │ │ ┌────────────────────────────┐ │ | |
│ │SOMEGAME! │ │ │ │ /games │ │ | |
│ │ │ │ USB(eth0) │ │ /games/new │ │ | |
│ │like doom, │ │ │ │ /games/[id]/status │ │ | |
│ │but not. ┌──────────────┐ │ ├─────────────────► │ │ │ │ |
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 <systemd/sd-daemon.h> | |
#include <time.h> | |
int main(){ | |
nanosleep(&(struct timespec){.tv_sec = 10}, NULL); | |
sd_notify(1, "READY=1"); |
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> | |
typedef enum { | |
NO_STATE, | |
INTRO, | |
CLOSE, | |
END_STATE |
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
use std::env; | |
use std::process; | |
use rand; | |
#[derive(Debug)] | |
struct Bullet { | |
x: isize, | |
y: isize, | |
vx: isize, | |
vy: isize |
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> | |
typedef struct { | |
int x; | |
int y; | |
int vx; | |
int vy; | |
} Bullet; |
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" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) | |
func main() { |
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
--- | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: > | |
Sample ECS Service | |
Parameters: | |
Tier: | |
Description: Git repository to retrieve source from |