Skip to content

Instantly share code, notes, and snippets.

View nguyenvanhoangnhan's full-sized avatar
☁️
Buying a Stairway to Heaven

Nguyễn Văn Hoàng Nhân nguyenvanhoangnhan

☁️
Buying a Stairway to Heaven
View GitHub Profile
@jetfir3
jetfir3 / tmpdevmodify.sh
Last active May 21, 2025 19:15
Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
#!/usr/bin/env bash
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
showHelp () {
echo -e \
"Usage: ./tmpdevmodify.sh [option]\n
Options:
-c, --clearcache Clear Spotify app cache
-d, --debug Add Debug Tools to user dropdown menu
@hibiyasleep
hibiyasleep / GodDrinksJava.java
Last active May 17, 2025 20:52
world.execute(me);
package goddrinksjava;
/**
* The program GodDrinksJava implements an application that
* creates an empty simulated world with no meaning or purpose.
*
* @author momocashew
* @lyrics hibiyasleep
*/
@parmentf
parmentf / GitCommitEmoji.md
Last active June 6, 2025 16:10
Git Commit message Emoji
@gchudnov
gchudnov / cpp_utf8_utf16.cpp
Created November 6, 2014 19:33
C++ string conversion UTF8 <-> UTF16
#include <string>
#include <locale>
#include <codecvt>
//UTF-8 to UTF-16
std::string source;
//...
std::wstring_convert<std::codecvt_utf8_utf16<char16_t>,char16_t> convert;
std::u16string dest = convert.from_bytes(source);