Skip to content

Instantly share code, notes, and snippets.

View ziluo's full-sized avatar
🎯
Focusing

Ziluo ziluo

🎯
Focusing
  • 蚂蚁集团
  • 杭州
View GitHub Profile
date created 2026-01-19
date modified 2026-03-31

不写代码的程序员

AI 编程实战分享 2026.03.31

云谦

@fokusferit
fokusferit / enzyme_render_diffs.md
Last active April 21, 2026 08:05
Difference between Shallow, Mount and render of Enzyme

Shallow

Real unit test (isolation, no children render)

Simple shallow

Calls:

  • constructor
  • render
@sofish
sofish / urlparser.js
Last active March 31, 2026 11:22
URL Parser
var parser = function(url) {
var a = document.createElement('a');
a.href = url;
var search = function(search) {
if(!search) return {};
var ret = {};
search = search.slice(1).split('&');
for(var i = 0, arr; i < search.length; i++) {
@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active April 24, 2026 19:00
A badass list of frontend development resources I collected over time.
@chicagoworks
chicagoworks / jQuery.stringify.js
Created December 24, 2010 19:05
jQuery.stringify() utility
/**
* converted stringify() to jQuery plugin.
* serializes a simple object to a JSON formatted string.
* Note: stringify() is different from jQuery.serialize() which URLEncodes form elements
* UPDATES:
* Added a fix to skip over Object.prototype members added by the prototype.js library
* USAGE:
* jQuery.ajax({