Skip to content

Instantly share code, notes, and snippets.

View camila314's full-sized avatar
💭
main project: pathfinder

camila camila314

💭
main project: pathfinder
View GitHub Profile
@camila314
camila314 / monokai++.json
Last active June 2, 2026 19:49
my monokai++ theme
{
"tokenColors": [
{
"settings": {
"background": "#1c1c1c",
"foreground": "#cccccc"
}
},
{
"name": "Normal",
@camila314
camila314 / iterm2.json
Last active June 2, 2026 18:11
My zsh theme
autoload -U colors && colors
PS1="%{$fg_bold[green]%}%n%{$reset_color%}@%{$fg_bold[blue]%}%m %{$fg[yellow]%}%~ %{$reset_color%}%% "
zstyle ':completion:*' special-dirs true
@camila314
camila314 / cow.cpp
Created January 12, 2026 15:14
CoW for c++20
#include <concepts>
template <std::copy_constructible T>
class cow {
std::shared_ptr<T> data;
void clone() {
data = std::make_shared<T>(*data);
}
public:
@camila314
camila314 / UploadLevelPopup.cpp
Last active May 25, 2025 19:01
Fully functional recreation of ShareLevelLayer using UIBuilder and Signals
#include <Geode/Geode.hpp>
#include <Geode/utils/base64.hpp>
#include <Geode/utils/Signals.hpp>
#include <Geode/ui/SimpleAxisLayout.hpp>
#include <UIBuilder.hpp>
using namespace geode::prelude;
class UploadLevelPopup : public CCLayerColor {
Signal<int> m_stars = 0;
@camila314
camila314 / DynamicVarNode.hpp
Created February 13, 2025 21:20
Hot-reloadable dynamic variables for Geode
#include <Geode/cocos/include/cocos2d.h>
#include <filesystem>
#include <fstream>
#include <Geode/utils/string.hpp>
#include <string>
class DynamicVarNode : public cocos2d::CCNode {
std::filesystem::path m_path;
std::filesystem::file_time_type m_last_write;
std::string m_last_code;
@camila314
camila314 / geode-cross-windows.md
Created January 17, 2025 01:23
Cross Compile Geode Mod to Windows on Mac or Linux

Setup

Step 1. install lld

brew install lld

or for linux, sudo apt-get install lld

Step 1. get xwin

cargo install xwin
@camila314
camila314 / SVGNode.cpp
Last active January 12, 2025 12:05
SVGNode implementation in Geode
// CPMAddPackage("gh:sammycage/lunasvg#master")
// target_link_libraries(${PROJECT_NAME} lunasvg)
#include <Geode/Geode.hpp>
#include <lunasvg.h>
using namespace geode::prelude;
class SvgNode : public CCNode {
CCSprite* m_rendered = nullptr;
@camila314
camila314 / index.tsx
Created June 23, 2024 01:35
NoChannelEmoji Plugin for Vencord
import definePlugin from "@utils/types";
import { Devs } from "@utils/constants";
export default definePlugin({
name: "NoChannelEmoji",
authors: [Devs.camila314],
description: "Removes all emojis from channel names",
patches: [
{
find: "webGuildTextChannel",
@camila314
camila314 / index.tsx
Last active July 16, 2025 09:33
ServerSearch Plugin for Vencord
/*
* Vencord, a Discord client mod
* Copyright (c) 2023 Vendicated, camila314, and contributors
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import definePlugin from "@utils/types";
import { Devs } from "@utils/constants";
import { findByCodeLazy } from "@webpack";
@camila314
camila314 / edgestu.js
Created September 23, 2022 17:19
Edgenuity video auto-advance and alert for prompts
// Run in the stageFrame iframe
var currentFrame = 0;
var frameInterval = setInterval(function() {
let idx = API.FrameChain.framesStatus.indexOf("incomplete");
if (idx == 0) {
currentFrame = 0;
} else if (idx > window.currentFrame) {
currentFrame = idx;
API.FrameChain.nextFrame();