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

@jackyzonewen
jackyzonewen / config
Last active October 18, 2019 09:54
A SVN config file to solve conflicts for XCode project file,such as xcuserdata,Please Copy follow and write into a file named "config",then copy this file into the path " ~/.subversion/ "
### This file configures various client-side behaviors.
###
### The commented-out examples below are intended to demonstrate
### how to use this file.
### Section for authentication and authorization customizations.
[auth]
### Set password stores used by Subversion. They should be
### delimited by spaces or commas. The order of values determines
### the order in which password stores are used.
# Xcode
############
.DS_Store
build/*
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
public class FragmentObserver extends Observable {
@Override
public void notifyObservers() {
setChanged(); // Set the changed flag to true, otherwise observers won't be notified.
super.notifyObservers();
}
}