Skip to content

Instantly share code, notes, and snippets.

Avatar
🐒

Django Lee djangoIee

🐒
View GitHub Profile
@djangoIee
djangoIee / MySQL_5-7_macOS.md
Created Jun 19, 2019 — forked from operatino/MySQL_5-7_macOS.md
Install MySQL 5.7 on macOS using Homebrew
View MySQL_5-7_macOS.md

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
@djangoIee
djangoIee / find_offsets.sh
Created Jan 29, 2018 — forked from uroboro/find_offsets.sh
v0rtex offset finder script
View find_offsets.sh
#!//bin/sh
export PATH=bin:$PATH
self=$0
function print_help() {
echo "$self [IPSW path]"
echo "$self [device model] [ios build]"
echo
View unwxapkg.py
#!/usr/bin/env python2
# lrdcq
# usage python2 unwxapkg.py filename
import sys, os
import struct
class WxapkgFile(object):
nameLen = 0
View wx_t1t_hack.js
var CryptoJS = require('crypto-js')
var request = require('request-promise')
/*
* npm install crypto-js request-promise
* node wx_t1t_hack.js
*/
// export function testEncription(msg, fullKey) {
// var fullKey = fullKey.slice(0, 16)
@djangoIee
djangoIee / iOS 视频技术
Created Dec 18, 2017 — forked from lxj5891/iOS 视频技术
iOS 视频采集/编码/传输/解码/播放 方案调研
View iOS 视频技术
视频采集方案:
通过iOS提供的视频API 可以取得 视频文件(mov) 或者 视频流
压缩编码方案:
方案一:不编码 传送视频文件(mov)
方案二:把视频转为jpeg 进行传输
方案三:压缩为网络编码 H.264 传输
传输方案:
socket传输
HTTP传输 文件
RTMP 传输
You can’t perform that action at this time.