- Spring Lisp Game Jam 2019: Darkness Looming, racket-engine
- Lisp: Racket
- Middleware: SDL2
- Арт: Flare RPG
- Редактор карт: Tiled
- Псевдо-DSL: heroine.ss
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
| /* compilation: gcc -o client client.c -lssl -lcrypto */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <openssl/bio.h> /* BasicInput/Output streams */ | |
| #include <openssl/err.h> /* errors */ | |
| #include <openssl/ssl.h> /* core library */ | |
| #define BuffSize 1024 |
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
| diff --git a/plugins/obs-filters/compressor-filter.c b/plugins/obs-filters/compressor-filter.c | |
| index 1808bd7..7bd617c 100644 | |
| --- a/plugins/obs-filters/compressor-filter.c | |
| +++ b/plugins/obs-filters/compressor-filter.c | |
| @@ -49,7 +49,7 @@ | |
| #define MIN_OUTPUT_GAIN_DB -32.0 | |
| #define MAX_OUTPUT_GAIN_DB 32.0 | |
| #define MIN_ATK_RLS_MS 1 | |
| -#define MAX_RLS_MS 1000 | |
| +#define MAX_RLS_MS 20000 |
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
| #!/bin/sh | |
| set -ex | |
| ROSWELL_RELEASE_VERSION=21.01.14.108 | |
| ROSWELL_TARBALL_PATH=$HOME/roswell.tar.gz | |
| ROSWELL_DIR=$HOME/.roswell | |
| ROSWELL_REPO=${ROSWELL_REPO:-https://github.com/roswell/roswell} | |
| ROSWELL_BRANCH=${ROSWELL_BRANCH:-release} | |
| ROSWELL_INSTALL_DIR=${ROSWELL_INSTALL_DIR:-/usr/local} | |
| ROSWELL_PLATFORMHTML_BASE=${ROSWELL_PLATFORMHTML_BASE:-https://github.com/roswell/sbcl_bin/releases/download/files/sbcl-bin_uri.tsv} |
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
| Computer Information: | |
| Manufacturer: Unknown | |
| Model: Unknown | |
| Form Factor: Desktop | |
| No Touch Input Detected | |
| Processor Information: | |
| CPU Vendor: AuthenticAMD | |
| CPU Brand: AMD Ryzen 5 3600X 6-Core Processor | |
| CPU Family: 0x17 |
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
| #lang racket/base | |
| (require | |
| (prefix-in sdl2: sdl2/pretty) | |
| ffi/unsafe) | |
| (define (main) | |
| (define quit #f) | |
| (define event-ptr | |
| (cast (malloc (ctype-sizeof sdl2:_event)) _pointer sdl2:_event*)) |
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
| /etc | |
| /etc/env.d | |
| /etc/env.d/10llvm-9990 | |
| /usr | |
| /usr/lib | |
| /usr/lib/debug | |
| /usr/lib/debug/usr | |
| /usr/lib/debug/usr/lib | |
| /usr/lib/debug/usr/lib/llvm | |
| /usr/lib/debug/usr/lib/llvm/9 |
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
| /etc | |
| /etc/env.d | |
| /etc/env.d/10llvm-9991 | |
| /usr | |
| /usr/lib | |
| /usr/lib/debug | |
| /usr/lib/debug/usr | |
| /usr/lib/debug/usr/lib | |
| /usr/lib/debug/usr/lib/llvm | |
| /usr/lib/debug/usr/lib/llvm/8 |
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
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| class Context(): | |
| def __enter__(self): | |
| print('__enter__') | |
| def __exit__(self, *args): | |
| print('__exit__') |
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 matplotlib.pyplot as plt | |
| %matplotlib inline | |
| import numpy as np | |
| %pylab inline | |
| pylab.rcParams['figure.figsize'] = (6, 10) | |
| x = np.linspace() #ваши цифры в скобках | |
| y = # ваш код для функции | |
| plt.plot(x, y); |