Skip to content

Instantly share code, notes, and snippets.

View AkiaCode's full-sized avatar
❤️
Thanks to @mozukun43

AkiaCode

❤️
Thanks to @mozukun43
View GitHub Profile
@NatoBoram
NatoBoram / Public IPFS Gateway.md
Last active August 27, 2025 12:34
The complete guide to hosting a public IPFS gateway

Hosting a public IPFS gateway

This guide assumes that you've used ssh before. If not, then you must read How to Set Up SSH Keys.

I'm also going to assume you've used ipfs before. If not, then take some time to discover IPFS with IPFS Desktop, IPFS Companion and go-ipfs!

Get a host

A public IPFS gateway can be hosted at home or on the cloud.

@cfreshman
cfreshman / wordle-answers-alphabetical.txt
Last active October 25, 2025 16:14
Original Wordle answers from source code in alphabetical order. And if you write a solver, here's a leaderboard! https://freshman.dev/wordle/leaderboard Additional allowed guesses: https://gist.github.com/cfreshman/cdcdf777450c5b5301e439061d29694c
aback
abase
abate
abbey
abbot
abhor
abide
abled
abode
abort

Languages, Compilers, Debuggers, and Development Infrastructure Engineering Internships at Apple

Apple's Languages, Compilers, Debuggers and Development Infrastructure teams are now looking for interns for 2022!

We are looking for students who are motivated to get hands on experience working on these exciting technologies. We have interesting problems to solve at every level, from low-level assembly to high-level Swift code. No prior language, compiler or debugger experience is required and candidates without such experience are encouraged to apply. Candidates should be comfortable writing code in C++.

These are paid internships. While most internships last 3 months, starting in May or June, the starting dates and the internship length are flexible. Internships are restricted to students. Students must be enrolled in school in the quarter/semester immediately following the internship. We are looking for candidates of all education levels, from Bachelor’s to Ph.D. Applicants from outside the U.S.A. are w

@nandorojo
nandorojo / README.md
Last active February 17, 2025 08:31
Expo + Next.js Query Param state

Expo + Next.js Query Params State 🦦

A typical use-case on web for maintaining React State is your URL's query parameters. It lets users refresh pages & share links without losing their spot in your app.

URL-as-state is especially useful on Next.js, since next/router will re-render your page with shallow navigation.

This gist lets you leverage the power of URL-as-state, while providing a fallback to React state for usage in React Native apps.

It's essentially a replacement for useState.

@AkiaCode
AkiaCode / rust-lib-error.md
Last active March 28, 2021 14:51
Rust lib 오류 해결 방법

만약 amethyst를 사용하려다가 '"lib.exe" did not execute successfully (status code exit code: 1181).' 이런 오류를 보면 toolchain을 stable-i686-pc-windows-msvc로 바꾸시고(rustup default stable-i686-pc-windows-msvc) 그리고 만약 rust 64bit로 설치하셨으면 지우시고 rust 32bit(+VS BUILD TOOLS 설치)로 설치하세요.

@AkiaCode
AkiaCode / init.sh
Created February 20, 2021 05:00
Create Project (Golang)
go mod init github.com/{github-username}/{project-name}
go get -u github.com/gin-gonic/gin
go mod vendor
@ClickerMonkey
ClickerMonkey / types.ts
Last active September 16, 2025 22:30
Typescript Helper Types
// when T is any|unknown, Y is returned, otherwise N
type IsAnyUnknown<T, Y, N> = unknown extends T ? Y : N;
// when T is never, Y is returned, otherwise N
type IsNever<T, Y = true, N = false> = [T] extends [never] ? Y : N;
// when T is a tuple, Y is returned, otherwise N
// valid tuples = [string], [string, boolean],
// invalid tuples = [], string[], (string | number)[]
@gokoro
gokoro / logger.js
Created August 12, 2020 14:26
Default logging setting for winston package
const winston = require('winston')
const config = require('../config')
const logger = winston.createLogger({
level: config.logLevel,
format: winston.format.combine(
winston.format.errors({ stack: true }),
winston.format.splat(),
winston.format.ms(),
@luncliff
luncliff / cmake-tutorial.md
Last active October 24, 2025 08:11
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
@fnky
fnky / ANSI.md
Last active October 26, 2025 00:19
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27