Skip to content

Instantly share code, notes, and snippets.

View sxlijin's full-sized avatar
🎯
doing things

Samuel Lijin sxlijin

🎯
doing things
View GitHub Profile
@sxlijin
sxlijin / new-existing-issues-test.json
Last active July 6, 2023 20:49
new-existing-issues-test.json
{
"$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/schemas/sarif-schema-2.1.0.json",
"runs": [
{
"results": [
{
"locations": [
{
"physicalLocation": {
"artifactLocation": {"uri": "package.json"},
@sxlijin
sxlijin / pnpm-lock.yaml
Created August 23, 2023 22:13
pnpm install jsonwebtoken@8.5.1
lockfileVersion: '6.1'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
dependencies:
jsonwebtoken:
specifier: 8.5.1
version: 8.5.1
@sxlijin
sxlijin / github-logo.svg
Last active August 28, 2023 20:33
github-logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sxlijin
sxlijin / json_to_ruby.rs
Last active April 25, 2024 06:32
draft: ruby to json
use magnus::{
class, define_class,
encoding::{CType, RbEncoding},
exception::runtime_error,
function, method,
prelude::*,
scan_args::get_kwargs,
value::Value,
IntoValue, KwArgs, RArray, RHash, RObject, RString, Ruby,
};