Skip to content

Instantly share code, notes, and snippets.

View jackyzonewen's full-sized avatar
👽
🖥 🏋🏼‍♀️ 🚴🏿‍♂️ 一天撸一斤代码

挡不住的君文 jackyzonewen

👽
🖥 🏋🏼‍♀️ 🚴🏿‍♂️ 一天撸一斤代码
  • 星网锐捷
  • 福州
View GitHub Profile
@jackyzonewen
jackyzonewen / appcrush.py
Created April 9, 2016 14:32 — forked from jk2K/appcrush.py
appcrush.rb的python版本
# coding=utf-8
import os
import sys
import glob
pngcrush = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush"
destination = os.path.join(os.environ['HOME'], 'Desktop')
for ipa in sys.argv:
@jackyzonewen
jackyzonewen / turbo-qiniu.sh
Created March 19, 2016 03:29 — forked from trawor/turbo-qiniu.sh
本脚本解决部分地区七牛上传速度慢的问题
#!/bin/bash
#
# 通过对比 ping 响应时间,找到本机最快的上传ip
# Travis@fir.im
#
function refresh_host()
{
IP="$1"
UPLOAD_HOST="upload.qiniu.com"

Sass/Less Comparison

In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.

For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.

Variables

public class FragmentObserver extends Observable {
@Override
public void notifyObservers() {
setChanged(); // Set the changed flag to true, otherwise observers won't be notified.
super.notifyObservers();
}
}