Skip to content

Instantly share code, notes, and snippets.

@7dir
7dir / index.html
Created January 11, 2024 17:32
Zdog - Celeste snowglobe
<div class="container">
<canvas class="illo"></canvas>
<p>Click &amp; drag to rotate</p>
</div>
@7dir
7dir / index.haml
Created October 13, 2021 01:24
OJjVVWd
.container.header
.container--lg
.menu
%ul.menu__list.menu__position-left
%li.menu__item
Time
%li.menu__item
Cats
%ul.menu__list.menu__position-left
%li.menu__item
@7dir
7dir / WebGL-WebGPU-frameworks-libraries.md
Created August 26, 2020 11:58 — 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
@7dir
7dir / larav1.skema
Created August 19, 2019 22:39
schema1
[{"name":"Contacts","color":"Green","position":{"x":352,"y":62},"increment":true,"timestamp":true,"softdelete":true,"column":[{"name":"name","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c23","order":0},{"name":"phone","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"guarded":false,"visible":false,"hidden":false,"colid":"c53","order":1}],"relation":[{"extramethods":"","foreignkeys":"","name":"Lead2Contact","relatedmodel":"Leads","relationtype":"hasOne","usenamespace":""}],"seeding":[]},{"name":"Leads","color":"Green","position":{"x":986,"y":91},"increment":true,"timestamp":true,"softdelete":true,"column":[{"name":"name","type":"string","length":"","defaultvalue":"","enumvalue":"","ai":false,"pk":false,"nu":false,"ui":false,"in":false,"un":false,"fillable":false,"g
@7dir
7dir / README.md
Created March 3, 2018 03:01 — forked from githubutilities/README.md
Shadowsocks proxy and ssh proxy

Shadowsocks Proxy

apt-get install python-pip
pip install shadowsocks

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
@7dir
7dir / html5polyfill
Created June 25, 2017 15:19
html5polyfill
> The No-Nonsense Guide to HTML5 Fallbacks
So here we're collecting all the shims, fallbacks, and polyfills in order to implant HTML5 functionality in browsers that don't natively support them.
The general idea is that: We, as developers, should be able to develop with the HTML5 APIs, and scripts can create the methods and objects that should exist. Developing in this future-proof way means as users upgrade, your code doesn't have to change but users will move to the better, native experience cleanly.
---
- **Looking to conditionally load these scripts (client-side), based on feature detects?**
See [**Modernizr**](http://www.modernizr.com).
@7dir
7dir / jekyll-and-liquid.md
Created June 9, 2017 19:04 — forked from magicznyleszek/jekyll-and-liquid.md
Jekyll & Liquid Cheatsheet

Jekyll & Liquid Cheatsheet

A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.

Running

Running a local server for testing purposes:

@7dir
7dir / chrome_snippet_gui_export_import_2016.js
Created February 8, 2017 18:11 — forked from soundyogi/2018_chrome_snippet_gui_import_export.js
A snippet to export and import your chrome snippets
void function(){
"use strict"
/*
* Manage and Import / Export snippets from chrome (2016)
* hacked together by: http://github.com/soundyogi
* inspired by: https://github.com/bgrins/devtools-snippets/blob/master/import-export/chrome/devtools_import_export.js
* ALPHA / SILLY SIDE PROJECT
*/
@7dir
7dir / web-servers.md
Last active February 5, 2017 20:42 — forked from willurd/web-servers.md
Big list of http static server one-liners
@7dir
7dir / bouncy-animated-loading-animation.css
Created February 1, 2017 20:08
bouncy-animated-loading-animation
.loader {
text-align: center;
}
.loader span {
display: inline-block;
vertical-align: middle;
width: 10px;
height: 10px;
margin: 50px auto;
background: black;