A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$
if your browser aliases it:
~ 108 byte version
# Change YOUR_TOKEN to your prerender token | |
# Change example.com (server_name) to your website url | |
# Change /path/to/your/root to the correct value | |
server { | |
listen 80; | |
server_name example.com; | |
root /path/to/your/root; | |
index index.html; |
###移动技术
根据mobileTech项目整理而成,原文地址。
####webapp实践的总结
redhat 旗下站点,提供多种语言的免费云空间。
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
function getCommonParent(el1,el2){ | |
var parents1 = []; | |
var el = el1; | |
while(el) { | |
parents1.unshift(el); | |
el = el.parentNode; | |
} | |
var parents2 = []; |
import sublime, sublime_plugin, os, re | |
class FileNameComplete(sublime_plugin.EventListener): | |
def on_query_completions(self, view, prefix, locations): | |
completions = [] | |
sel = view.sel()[0].a | |
if "string" in view.syntax_name(sel): | |
pass |