-> Pays d'Afrique australe sans accès à la mer
Relativement plat, représente un plateau environ 1 km au dessus du niveau de la mer [3]
| ; nasm main.s -felf64 -o main.o | |
| ; gcc main.o -no-pie -lraylib -lm -o main | |
| section .rodata | |
| ; read-only data: | |
| ; title is a list of bytes (`db`), ending with a null terminator | |
| title: db "Raylib from Assembly :)", 0x0 | |
| ; SYSTEM-V calling convention: | |
| ; https://web.archive.org/web/20160801075139/http://www.x86-64.org/documentation/abi.pdf |
| # Copyright (c) 2021 Richard Smith and others | |
| # | |
| # This program and the accompanying materials are made available under the | |
| # terms of the Eclipse Public License 2.0 which is available at | |
| # http://www.eclipse.org/legal/epl-2.0. | |
| # | |
| # This Source Code may also be made available under the following Secondary | |
| # licenses when the conditions for such availability set forth in the Eclipse | |
| # Public License, v. 2.0 are satisfied: GNU General Public License, version 2 | |
| # with the GNU Classpath Exception which is |
| [plugin] | |
| prefix = plug | |
| comment = List all plugin prefixes | |
| icon = debug-run | |
| exec = exec.sh | |
| type = text |
| #include <SDL2/SDL.h> | |
| #include <stdbool.h> | |
| #include <stdint.h> | |
| #include <assert.h> | |
| #include <pthread.h> | |
| typedef struct { | |
| double real; | |
| double imag; | |
| } complex_t; |
| #!/bin/bash | |
| # Distributed with the MIT License (https://mit-license.org/) | |
| # Launches satisfactory and syncs savefiles to S3 storage on exit | |
| # Put this script anywhere you like such as ~/.local/bin/ | |
| # Make sure to make it executable with `chmod +x sync_saves.sh` | |
| # You need to create an S3 bucket named satisfactory | |
| # For exemple, you can use https://filebase.com/ |
| --- | |
| BasedOnStyle: LLVM | |
| IndentWidth: 4 | |
| TabWidth: 4 | |
| UseCRLF: false | |
| UseTab: AlignWithSpaces | |
| ColumnLimit: 120 | |
| --- | |
| Language: Cpp |
| const fs = require('fs'); | |
| const { spawn } = require('child_process'); | |
| async function sleep(time) { | |
| return new Promise(resolve => setTimeout(resolve, time)); | |
| } | |
| async function main(index_url, concurrent_downloads, output_dir) { | |
| let index = await fetch(index_url, { | |
| method: 'GET', |
-> Pays d'Afrique australe sans accès à la mer
Relativement plat, représente un plateau environ 1 km au dessus du niveau de la mer [3]
| /// Takes a symbolic type constant and returns its size | |
| /// Probably missing a few types but those were the most important | |
| size_t get_sizeof_type(GLenum type) | |
| { | |
| switch(type) | |
| { | |
| case GL_BYTE: | |
| case GL_UNSIGNED_BYTE: | |
| return sizeof(GLbyte); | |
| case GL_SHORT: |