Skip to content

Instantly share code, notes, and snippets.

View ChanMenglin's full-sized avatar

陈孟林 ChanMenglin

  • 中国湖北
  • 15:37 (UTC +08:00)
View GitHub Profile
@ChanMenglin
ChanMenglin / LinkedList.cs
Last active August 6, 2021 06:54
C# LinkedList
using System;
using System.Runtime.dll;
namespace DataStructures_Algorithms
{
class LinkedList<T> where T : class
{
public LinkedListNode<T> head { get; set; }
public LinkedListNode<T> tail { get; set; }
@ChanMenglin
ChanMenglin / bash-colors.md
Created April 16, 2020 06:56 — forked from iamnewton/bash-colors.md
The entire table of ANSI color codes.

Regular Colors

Value Color
\e[0;30m Black
\e[0;31m Red
\e[0;32m Green
\e[0;33m Yellow
\e[0;34m Blue
\e[0;35m Purple
@ChanMenglin
ChanMenglin / css-selectors.md
Created March 5, 2019 02:23 — forked from magicznyleszek/css-selectors.md
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Element selectors

Element -- selects all h2 elements on the page

h2 {
    foo: bar;
@ChanMenglin
ChanMenglin / css-grid-periodic-table.markdown
Created November 27, 2018 02:16
CSS Grid: Periodic Table

CSS Grid: Periodic Table

My very first CSS Grid Experiment!

So I can't actually group them together in a cluster like an actual periodic table or it wouldn't make sense or would look too forced 😔

One of my fondest memories of 2018 is when I found the resolve to deactivate Facebook, only to have my team lead tell me I'm in charge of Facebook ads a week later. No escape from Zuckerberg!

A Pen by Menglin Chen on CodePen.

@ChanMenglin
ChanMenglin / index.html
Created November 27, 2018 02:10
Who's that Pokémon?
<div id="app">
<div
:class="{'poke-classic': classic}"
class="container"
>
<transition name="animate-section">
<section
v-if="!isPlaying && !isDone"
class="poke-section"
>
@ChanMenglin
ChanMenglin / border-playground.markdown
Created November 20, 2018 01:35
Border playground
@ChanMenglin
ChanMenglin / blockquote-styles.markdown
Created November 20, 2018 01:33
Blockquote Styles
@ChanMenglin
ChanMenglin / codevember-6-dark-web.markdown
Created November 13, 2018 01:43
Codevember 6 :: (Dark) Web
@ChanMenglin
ChanMenglin / index.html
Created November 13, 2018 01:42
LAYERSCAPE
<script id="custom-vertex" type="x-shader/x-vertex">
//
// GLSL textureless classic 3D noise "cnoise",
// with an RSL-style periodic variant "pnoise".
// Author: Stefan Gustavson (stefan.gustavson@liu.se)
// Version: 2011-10-11
//
// Many thanks to Ian McEwan of Ashima Arts for the
// ideas for permutation and gradient selection.
//
@ChanMenglin
ChanMenglin / index.pug
Created November 13, 2018 01:41
More cascading text effects w/ Scrolling + ScrollOut 👊😎
.page
.text__container Scroll for cascading text effects!
.text__container
.slots(data-splitting='').
slots
.text__container
.roulette(data-splitting='').
roulette