Skip to content

Instantly share code, notes, and snippets.

View fennecdjay's full-sized avatar
🎵
Star Gwion, You'll make my day

Jérémie Astor fennecdjay

🎵
Star Gwion, You'll make my day
  • France
View GitHub Profile
This file has been truncated, but you can view the full file.
WARNING: Host distribution "void" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache...done.
Loaded 4019 entries from dependency cache.
Parsing recipes...done.
Parsing of 2827 .bb files complete (2824 cached, 3 parsed). 4022 targets, 241 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Loading cache...done.
Loaded 4019 entries from dependency cache.
#
# INCLUDE HISTORY:
{
"themes": [
"biniou",
"covid-19",
"zebulon"
],
"plugins": [
{
"name": "blur_horizontal_2",
"displayName": "Horizontal blur 2",
## Syntax highlighting for C and C++ files.
syntax c "\.([ch](pp|xx)?|C|cc|c\+\+|cu|H|hh|ii?)$"
header "-\*-.*\<C(\+\+)?((;|\s).*)?-\*-"
magic "^(C|C\+\+) (source|program)"
comment "//"
# Constants.
color brightred "\<[A-Z_][0-9A-Z_]*\>"
# Labels.
#require Sporth
#require Math
110 => const float bpm;
(60.0 / bpm) :: second => const dur t;
[0, 1, 5, 7, 8] @=> const int scale[];
fun void loop_me(const int root) {
var int stp;
var int nbars;
@fennecdjay
fennecdjay / tictactoe.c
Last active March 24, 2021 21:56
the code for tictactoe in gwion. The file ends in `.c` instead of `.gw` to get syntax highlight
#require TUI
#require Std
const global Event ev;
[[0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 4, 8], [2, 4, 6]] => const int wins[][];
class TicTacToeBoard extends TUI.User {
var int current;
"X" => var string player;
#require Std
#require Math
#require Modules
enum Pitch { C, D, E, F, G, A, B }
class MusicObject {
fun UGen update() {}
fun UGen onStart() {}
fun UGen onEnd() {}
is-replit-tag-broken-5137:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
is-replit-tag-broken-5137:1 Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist.
78a1372659115b526d5619ba68627187667ff711.585cf98b770df5047c0f.js:1 Repl.it version 1825617
replEnvironment.js:1 Uncaught (in promise) DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.
at https://repl.it/_next/static/etnlDq_CD1-cNUu91YlU8/pages/replEnvironment.js:1:279219
at c (https://repl.it/_next/static/chunks/commons.9feaa24f2d3e7e2b6c75.js:1:53289)
at Generator._invoke (https://repl.it/_next/static/chunks/commons.9feaa24f2d3e7e2b6c75.js:1:53077)
at Generator.forEach.t.<computed> [as next] (https://repl.it/_next/static/chunks/commons.9feaa24f2d3e7e2b6c75.js:1:53712)
at c (https://repl.it/_next/static/chunks/commons.9feaa24f2d3e7e2b6c75.js:1:53289)
at e (https://repl.it/_next/static/chunks/com
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fennecdjay
fennecdjay / Dockerfile
Created February 22, 2020 14:26
(draft) Dockerfile for Gwion
FROM fennecdjay/base
WORKDIR /tmp
USER root
COPY ./ gwion
RUN cd gwion && make install
WORKDIR /home/$NB_USER
USER $NB_USER
@fennecdjay
fennecdjay / Base.Dockerfile
Last active October 14, 2019 02:08
Some Dockerfiles
FROM archlinux/base:latest
USER root
RUN pacman --noconfirm -Suy
RUN pacman --noconfirm -S base-devel git
USER $NB_USER
CMD bash