Skip to content

Instantly share code, notes, and snippets.

View iamjoel's full-sized avatar
🎯
Focusing

Joel iamjoel

🎯
Focusing
View GitHub Profile
@jlia0
jlia0 / agent loop
Last active March 17, 2026 17:27
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@ximan
ximan / gist:59dd7efd05aae5ddbdaa
Created October 10, 2014 09:51
设计师需要了解的前端知识

设计师需要了解的前端知识

一个好的服装设计师需要了解他使用的布料、人体结构、布料剪裁等技术。而一个优秀的网页设计师,同样要了解设计出来的网页效果,浏览器是否可以全部实现、部分(降级)实现、无法实现等。

网页永远都是在浏览器里显示,只是载体(设备)不同,有时是电脑,有时是手机、平板等。浏览器有很多种,电脑、手机、平板也有很多种,各自都有细微不同,所以才造成兼容性问题,也是前端最头痛的问题。如果设计师能了解大部份差异,那么在设计界面的初期,就能预测到各个浏览器和设备的显示效果,和前端人员的配合也会更加愉快。

浏览器分为现代浏览器(Google Chrome、火狐Firefox、Safari、IE10+、360极速等),IE浏览器(IE7-IE9)和IE6浏览器。其中IE6是最多问题的,因为他的生产日期是2001年,而现代浏览器不断的更新,是支持度最高的。手机、平板里面都是现代浏览器,所以兼容性稍微比电脑乐观一点,但也有他自己的问题。

###一些常见的兼容性

@michaelcox
michaelcox / SpecRunner.js
Last active October 12, 2024 17:11
Browser Unit Testing with Backbone Mocha Chai and RequireJS
require.config({
baseUrl: '/backbone-tests/',
paths: {
'jquery' : '/app/libs/jquery',
'underscore' : '/app/libs/underscore',
'backbone' : '/app/libs/backbone',
'mocha' : 'libs/mocha',
'chai' : 'libs/chai',
'chai-jquery' : 'libs/chai-jquery',
'models' : '/app/models'