Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Coding a better future

Yunwei Xiao xiaoluoboding

💻
Coding a better future
View GitHub Profile
@xiaoluoboding
xiaoluoboding / xiaoluoboding-2020.ascii
Last active Mar 4, 2021
My GitHub Skyline ASCII 2020
View xiaoluoboding-2020.ascii
✦ █ ✧ ✦ ✧ █
█ ✦ ▄ █
✦▂ ▂✦ █▆ ✧▁ ✧ ▃ █ █▄▃
▅█▂ ▃ ☽▃▃▁▃▅▆█▂▁▅ ██ ▁ █▆▇▆▅ ▂▆▇▅▆▁▁ █▂▁ █▇███✦▁
███▁█▁█▁████████████████▅███████▅███████▁▁█████████▅█
https://skyline.github.com/xiaoluoboding/2020
View xiaoluoboding-2020.stl
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 📊 Weekly development breakdown
JavaScript 10 hrs 41 mins ████████▋░░░░░░░░░░░░ 41.5%
Vue.js 4 hrs 47 mins ███▉░░░░░░░░░░░░░░░░░ 18.6%
Markdown 4 hrs 7 mins ███▎░░░░░░░░░░░░░░░░░ 16.0%
JSON 2 hrs 10 mins █▊░░░░░░░░░░░░░░░░░░░ 8.4%
HTML 1 hr 37 mins █▎░░░░░░░░░░░░░░░░░░░ 6.3%
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
@xiaoluoboding
xiaoluoboding / rAF.js
Created Jun 7, 2017 — forked from paulirish/rAF.js
requestAnimationFrame polyfill
View rAF.js
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@xiaoluoboding
xiaoluoboding / 0_reuse_code.js
Created Jul 22, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@xiaoluoboding
xiaoluoboding / pythonFile1.py
Last active Oct 22, 2015
Python Code Snippets
View pythonFile1.py
#把一个逗号分隔的词典,转成嵌套多层的词典。如:
dotted_config = {'a.b.c': 'd'}
nest_config = convert(dotted_config) // {'a': {'b': {'c': 'd'}}}