Skip to content

Instantly share code, notes, and snippets.

View jcs090218's full-sized avatar
๐Ÿ
I make tools!

Jen-Chieh Shen jcs090218

๐Ÿ
I make tools!
View GitHub Profile
@jcs090218
jcs090218 / update_submodules.yml
Created January 23, 2024 04:40
update_submodules.yml
name: Update Submodules
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@jcs090218
jcs090218 / SkinnedMeshObjectPreviewExample.cs
Created April 20, 2021 06:51 — forked from radiatoryang/SkinnedMeshObjectPreviewExample.cs
An example of a custom ObjectPreview rendering out a SkinnedMesh for Unity Editor C#... I used it for facial expressions and blendshape editing, you might want to use it for something else. I hereby place it under MIT License. Full write-up here: http://www.blog.radiator.debacle.us/2016/06/working-with-custom-objectpreviews-and.html
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
[CustomPreview(typeof(YourCustomScriptableObject))] // THIS IS VERY IMPORTANT, this is so the editor knows what this is supposed to be previewing at all
public class SkinnedMeshObjectPreviewExample : ObjectPreview {
PreviewRenderUtility m_PreviewUtility;
@jcs090218
jcs090218 / README-badges.md
Created January 4, 2021 16:27 — forked from tterb/README-badges.md
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

module.exports =
/******/ (() => { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ 351:
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
@jcs090218
jcs090218 / GitHub_Emojis_Cheatsheet.md
Last active August 29, 2020 12:45
Complete list of GitHub markdown emoji markup from GitHub API.
๐Ÿ‘ :+1: ๐Ÿ‘Ž :-1: ๐Ÿ’ฏ :100:
๐Ÿ”ข :1234: ๐Ÿฅ‡ :1st_place_medal: ๐Ÿฅˆ :2nd_place_medal:
๐Ÿฅ‰ :3rd_place_medal: ๐ŸŽฑ :8ball: ๐Ÿ…ฐ๏ธ :a:
๐Ÿ†Ž :ab: ๐Ÿงฎ :abacus: ๐Ÿ”ค :abc:
๐Ÿ”ก :abcd: ๐Ÿ‰‘ :accept: ๐Ÿฉน :adhesive_bandage:
๐Ÿง‘ :adult: ๐Ÿšก :aerial_tramway: ๐Ÿ‡ฆ๐Ÿ‡ซ :afghanistan:
โœˆ๏ธ :airplane: ๐Ÿ‡ฆ๐Ÿ‡ฝ :aland_islands: โฐ :alarm_clock:
๐Ÿ‡ฆ๐Ÿ‡ฑ :albania: โš—๏ธ :alembic: ๐Ÿ‡ฉ๐Ÿ‡ฟ :algeria:
๐Ÿ‘ฝ :alien: ๐Ÿš‘ :ambulance: ๐Ÿ‡ฆ๐Ÿ‡ธ :american_samoa:
@jcs090218
jcs090218 / note.el
Created October 24, 2019 10:08
Text wrap like html
(defun define-it--wrap-string (str len)
"Wrap the STR under the LEN."
(let ((res-str "") (min 0) (new-len len) (added-nl-count 0))
(while (and (< min new-len)
(< new-len (length str)))
(let* ((line (substring str min new-len))
(spc-lst (split-string line " "))
(last-elm (nth (1- (length spc-lst)) spc-lst)))
(setq res-str
@jcs090218
jcs090218 / gist:6871f00c831c3dc1d4f3cd9136a4371e
Created September 17, 2019 07:28 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@jcs090218
jcs090218 / license-badges.md
Created November 25, 2018 14:38 — forked from lukas-h/license-badges.md
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • Badges are made with Shields.io.
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance. ย 
  • ๐Ÿ‡ซ๐Ÿ‡ท Cette liste en franรงais
  • Github has a new autodetection of the LICENSE file, which shows up the license at the repo overview