Skip to content

Instantly share code, notes, and snippets.


Shengzhi.Chen chenshengzhi

  • Xiamen, Fujian, China
View GitHub Profile
OrionUnix / Sublime Text 3.2.2 Build 3211 key licence
Last active Jan 26, 2021
Sublime Text 3.2.2 Build 3211 key licence
View Sublime Text 3.2.2 Build 3211 key licence
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
dannote / final-cut-pro-trial-reset.swift
Last active Jan 24, 2021
Final Cut Pro X trial reset
View final-cut-pro-trial-reset.swift
import Foundation
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath)
let data = try! NSData(contentsOf: path) as Data
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary
for (key, value) in mutableDictionary {
anonymous /
Created Jul 16, 2016
# Compile-Freetype-For-iOS
# Original Script
# Revised by: l'L'l
# New Features Include: auto download latest version, fixed toolchain locations, other various tweeks
# The MIT License (MIT)
# Copyright (c) 2016 l'L'l
evantoli /
Last active Jan 26, 2021
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

Ashton-W / Breakpoints_v2.xcbkptlist
Last active Nov 24, 2020
My User Breakpoints_v2.xcbkptlist
View Breakpoints_v2.xcbkptlist
<?xml version="1.0" encoding="UTF-8"?>
type = "2"
version = "2.0">
<!-- All Exceptions -->
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
jspahrsummers / GHRunLoopWatchdog.h
Created Jan 28, 2015
A class for logging excessive blocking on the main thread
View GHRunLoopWatchdog.h
/// Observes a run loop to detect any stalling or blocking that occurs.
/// This class is thread-safe.
@interface GHRunLoopWatchdog : NSObject
/// Initializes the receiver to watch the specified run loop, using a default
/// stalling threshold.
- (id)initWithRunLoop:(CFRunLoopRef)runLoop;
/// Initializes the receiver to detect when the specified run loop blocks for
View git 设置和取消代理
git config --global https.proxy
git config --global https.proxy
git config --global --unset http.proxy
git config --global --unset https.proxy
npm config delete proxy
fbeeper / easyiosapps
Created Sep 15, 2014
Finally! Here's the easy access to your iOS8 simulator apps you've been looking for :)
View easyiosapps
# Using the information available in the new iOS8 simulator for each
# device/runtime (device.plist), this script creates a readable folder structure
# (no UDIDs, just simple device/runtime names). Inside that structure it creates
# soft links to your apps in development.
# You can run this script every time you install an app to your simulator, or
# you can simply call it to access this folder making sure it will always be
# updated :)
View NSNUll+ InternalNullExtention.m
#define NSNullObjects @[@"",@0,@{},@[]]
@interface NSNull (InternalNullExtention)
@implementation NSNull (InternalNullExtention)
View MHGSwipeNavigationController.h
// MHGSwipeNavigationController.h
// SwipeNavigationController
// Created by 缪和光 on 28/12/2013.
// Copyright (c) 2013 Hokuang. All rights reserved.
#import <UIKit/UIKit.h>