Skip to content

Instantly share code, notes, and snippets.

@lineCode
lineCode / LICENSE
Created December 21, 2025 03:55 — forked from ImCitizen13/LICENSE
Skia Face Morph
MIT License
Copyright (c) 2025 <YOUR NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@lineCode
lineCode / !FAB-CLAIM-README.md
Created November 26, 2024 01:18 — forked from wikiti/!FAB-CLAIM-README.md
A script to automatically add all Quixel MegaScans items to your FAB account

Important

This script was built for educational purposes. Due to how FAB APIs are built to handle search pagination, all assets might not be claimable through this script. With the last script update, a total of ~600 scanned pages, with ~14k assets. Please note that, by clicking on the "Claim All" quixel button, you'll already have claimed all assets for future free usage, beyond 2024 (official response). This script simply makes sure that assets are added to a library.

Script to add all quixel megascan items to your FAB account

As quixel megascan items will stop being free after 2024. So, this script will go through all Quixel MegaScan items and add them to your account. Quixel would be working on a tool to automatically add all resources to your FAB account, but I couldn't help myself and I wrote a script to do it.

How to use

@lineCode
lineCode / README.md
Created September 20, 2024 14:35 — forked from jamiephan/README.md
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@lineCode
lineCode / README.md
Created May 13, 2024 06:32 — forked from andreasonny83/README.md
Readme template

npm version code style: prettier

Project Name

Write a project description

Prerequisites

This project requires NodeJS (version 8 or later) and NPM.

@lineCode
lineCode / ue4-json-parsing.cpp
Created July 9, 2022 15:57 — forked from gamerxl/ue4-json-parsing.cpp
How to parse a json response (e.g. a json array) in ue4 c++ context.
/**
* Include the PrivateDependencyModuleNames entries below in your project build target configuration:
* PrivateDependencyModuleNames.AddRange(new string[] { "Json", "JsonUtilities" });
*/
#include "Runtime/Online/HTTP/Public/Http.h"
#include "Serialization/JsonSerializer.h"
FHttpResponsePtr Response;
@lineCode
lineCode / typeorm-dynamic-table-name.ts
Created April 10, 2022 05:15 — forked from linhx/1. typeorm-0.3.6-dynamic-table-name.md
Working with dynamic table name with TypeOrm (test with ver 0.2.30)
import "reflect-metadata";
import {Column, Connection, createConnection, Entity, EntitySchema, PrimaryGeneratedColumn} from "typeorm";
import {ConnectionMetadataBuilder} from "typeorm/connection/ConnectionMetadataBuilder";
import {EntityMetadataValidator} from "typeorm/metadata-builder/EntityMetadataValidator";
const log = (month: string) => {
@Entity(`log_${month}`)
class Log {
@PrimaryGeneratedColumn()
@lineCode
lineCode / WebGL-WebGPU-frameworks-libraries.md
Created December 18, 2020 06:14 — forked from dmnsgn/WebGL-WebGPU-frameworks-libraries.md
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries

  • three.js: JavaScript 3D library
  • stack.gl: an open software ecosystem for WebGL, built on top of browserify and npm.
  • PixiJS: Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback
  • Pex: Pex is a javascript 3d library / engine allowing for seamless development between Plask and WebGL in the browser.
  • Babylon.js: a complete JavaScript framework for building 3D games with HTML 5 and WebGL
  • Filament: Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS and WASM/WebGL
  • ClayGL: A WebGL graphic library
@lineCode
lineCode / LazySusan.as
Created September 3, 2020 15:24 — forked from jdeagle/LazySusan.as
AS3 LazySusan/Carousel class for moving objects around a circle with pseudo 3D
package com.boyajian.ui
{
import com.greensock.TweenLite;
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;
import flash.display.Stage;
import flash.events.Event;
@lineCode
lineCode / CStringArray.swift
Created November 14, 2019 02:03 — forked from indragiek/CStringArray.swift
Helper for working with char ** in Swift
// Copyright © 2015 Indragie Karunaratne. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@lineCode
lineCode / Api.java
Created November 7, 2019 02:24 — forked from ar-android/Api.java
OkHttp With RxAndroid and RxJava
public static Observable<Response> getData() {
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.setThreadPolicy(policy);
final OkHttpClient client = new OkHttpClient();
final Request request = new Request.Builder()
.url("https://github.com/ar-android/panfic/raw/master/Panfic/gen/com/ocit/data.json")
.get()
.addHeader("cache-control", "no-cache")