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
nikee@nikbook ~> cat sway.log | |
00:00:00.000 [INFO] [sway/main.c:295] Sway version 1.10.1 | |
00:00:00.000 [INFO] [sway/main.c:296] wlroots version 0.18.2 | |
00:00:00.001 [INFO] [sway/main.c:81] Linux nikbook 6.14.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 20 Apr 2025 12:38:52 +0000 x86_64 GNU/Linux | |
00:00:00.001 [INFO] [sway/main.c:97] Contents of /etc/lsb-release: | |
00:00:00.001 [INFO] [sway/main.c:81] DISTRIB_ID="Arch" | |
00:00:00.001 [INFO] [sway/main.c:81] DISTRIB_RELEASE="rolling" | |
00:00:00.001 [INFO] [sway/main.c:81] DISTRIB_DESCRIPTION="Arch Linux" | |
00:00:00.001 [INFO] [sway/main.c:97] Contents of /etc/os-release: | |
00:00:00.001 [INFO] [sway/main.c:81] NAME="Arch Linux" |
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
#include <stdio.h> | |
#include <SDL2/SDL.h> | |
#include <SDL2/SDL_image.h> | |
#define WIDTH 800 | |
#define HEIGHT 600 | |
#define IMG_PATH "exit.png" | |
int main (int argc, char *argv[]) { |
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
Hei |
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
// We use class syntax to define our extension object | |
// This isn't actually necessary, but it tends to look the best | |
class extension { | |
/** | |
* Scratch will call this method *once* when the extension loads. | |
* This method's job is to tell Scratch things like the extension's ID, name, and what blocks it supports. | |
*/ | |
getInfo() { | |
return { |
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
var answer = prompt("What element to delete?"); | |
var lovedones = document.querySelector(answer); | |
lovedones.remove(); |
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
console.log("Hello!"); |