Skip to content

Instantly share code, notes, and snippets.

View nikeedev's full-sized avatar
🐳
Coding or living my life!

nikeedev nikeedev

🐳
Coding or living my life!
View GitHub Profile
@nikeedev
nikeedev / output.txt
Created April 27, 2025 11:27
terminal output for the sway command
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"
@nikeedev
nikeedev / openicon.c
Created May 3, 2024 07:03 — forked from armornick/openicon.c
Draw an Image with SDL2
#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[]) {
@nikeedev
nikeedev / main.txt
Created January 16, 2023 06:55
TestV
Hei
@nikeedev
nikeedev / scratch.js
Last active December 21, 2022 15:41
Turbowarp extension
// 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 {
@nikeedev
nikeedev / Delete.js
Created February 17, 2022 08:32
Delete HTML/DOM elements using their name or id/class tag.
var answer = prompt("What element to delete?");
var lovedones = document.querySelector(answer);
lovedones.remove();
console.log("Hello!");