Skip to content

Instantly share code, notes, and snippets.

View Supercip971's full-sized avatar
📕
studying !

cyp Supercip971

📕
studying !
View GitHub Profile
@Supercip971
Supercip971 / submodule-updater.yml
Last active September 6, 2023 17:11
update all your submodule when you want with this github action !
name: update all submodules
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
@Supercip971
Supercip971 / enum-to-str.hpp
Created May 27, 2023 18:20
A quick way of transforming an Enum to string inC++
// Type your code here, or load an example.
#include <stdio.h>
#include <string>
struct Str
{
const char* base;
size_t len;
operator std::string() const