This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
* { margin: 0; padding: 0; } | |
ul, ol, dl { list-style: none; } | |
h1, h2, h3, h4, h5, h6 { font-weight: normal; } | |
body { font: 14px/1.6 tahoma, arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; } | |
a { text-decoration: none; color: #000; } | |
imgi { border: none; } |
// sign up | |
account.signUp('joe@example.com', 'secret'); | |
// sign in | |
account.signIn('joe@example.com', 'secret'); | |
// sign in via oauth | |
account.signInWith('twitter'); | |
// sign out |
function StartTagToken(){ | |
} | |
function EndTagToken(){ | |
} | |
function Attribute(){ | |
} | |
==========
A useful tools or tips list for mobile web application developing
这个项目收集移动端开发所需要的一些资源与小技巧
一些非常重要的工具类网站
(function( describe ){ | |
"use strict"; | |
/** | |
* Demonstration of how to properly use Jasmine testing with AngularJS promise-based services. | |
* | |
* NOTE: based on the origina version from Jim Lavin's | |
* http://codingsmackdown.tv/blog/2012/12/28/mocking-promises-in-unit-tests/ | |
* | |
* FIXED: Igor Minar fixed this on 8/22/2013. Check with v1.2.x master branch of AngularJS |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
#!/bin/bash | |
# | |
# Open the specified file on GitHub. It will use the master branch by default: | |
# | |
# repo -f app/controllers/application_controller.rb | |
# | |
# Specify a different branch: | |
# | |
# repo -b another-branch -f app/controllers/application_controller.rb |
# Chinese (China) translations for Devise(3.5.2) | |
# by Kenrick-Zhou (https://github.com/Kenrick-Zhou) | |
# https://gist.github.com/Kenrick-Zhou/7909822 | |
zh-CN: | |
devise: | |
confirmations: | |
confirmed: "您的帐号已经确认,您现在已登录。" | |
send_instructions: "几分钟后,您将收到确认帐号的电子邮件。" | |
send_paranoid_instructions: "如果您的邮箱存在于我们的数据库中,您将收到一封确认账号的邮件。" |
var app = angular.module('MyApp'); | |
app.controller('ContactController', ['$scope', function($scope) { | |
$scope.contacts = ["juntao", "abruzzi"]; | |
$scope.submit = function() { | |
$scope.$parent.toggleContactsPanel(); | |
}; | |
}]); |