Skip to content

Instantly share code, notes, and snippets.

View develax's full-sized avatar
💭
∑☯

Joe develax

💭
∑☯
View GitHub Profile

Angular (VSCode)

Create new Angular project: ng new AppName

Run the project: ng serve --open (or F5 in VSCode)

Install styles npm install -D tailwindcss

@develax
develax / VSCode_TypeScript_setup.md
Last active May 5, 2024 12:47
VSCode + TypeScript setup

VSCode + TypeScript setup

Set TS version for VSCode intellisence

VS Code command palette: > TypeScript: Select TypeScript version

@develax
develax / 3D-Engine-from-scratch.MD
Last active June 27, 2020 22:02
3D Engine from scratch
@develax
develax / BlenderHotkeys.MD
Last active March 5, 2020 21:41
Blender Hotkeys Cheat Sheet

Blender Hotkyes

UI

COMMAND DESCRIPTION
T Tools Panel (Transform)

Focus / View

@develax
develax / GIT
Last active August 14, 2020 10:45
Lazy man's guide: multiple GitHub HTTPS accounts on Windows
https://dev.to/configcat/lazy-man-s-guide-multiple-github-https-accounts-on-windows-2mad
@develax
develax / SerializeToByArray.cs
Created October 2, 2019 18:28
Serialize To By Array
using UnityEngine;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
namespace Utils
{
//Extension class to provide serialize / deserialize methods to object.
//src: http://stackoverflow.com/questions/1446547/how-to-convert-an-object-to-a-byte-array-in-c-sharp
//NOTE: You need add [Serializable] attribute in your class to enable serialization
@develax
develax / kinematics.html
Created July 8, 2019 09:31
Forward and inverse kinematics, rendering on HTML5 canvas.Thanks https://www.youtube.com/user/codingmath for the science and neighbor Franck for the rich discussions. Playful demo: https://rawgit.com/patkap/cc1a2c3ce3ef97c5a059a35af9e0cd59/raw/f23eb041f37633fbe22e3c82993e7a255bb32a08/kinematics.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no">
<title>Guidage</title>
<style type="text/css">
body {
display: flex;
min-height: 100%;

Unity 3D: how to create Texture2D from Sprite2D

private Texture2D GetSpriteTexture(Sprite sprite)
{
    int x = Mathf.FloorToInt(sprite.rect.x);
    int y = Mathf.FloorToInt(sprite.rect.y);
    int w = Mathf.FloorToInt(sprite.rect.width);
 int h = Mathf.FloorToInt(sprite.rect.height);
@develax
develax / ASP.NET-Core+Vue.MD
Created April 20, 2019 09:59
ASP.NET Core + VueJS setup steps

ASP.NET Core + VueJS setup

Scaffolding a project with .NET CLI

  1. Install SPA templates:
> dotnet new --install Microsoft.AspNetCore.SpaTemplates::*

you will see