Skip to content

Instantly share code, notes, and snippets.

@lyqflnh
lyqflnh / imageGenerator.sh
Last active March 12, 2017 03:18
倍图生成器
#!/bin/sh
#--------------------------
# 倍图生成器
#
# version:1.1
# create buy MQ on 17/03/01
#--------------------------
# ⚠️steal idea from 技术渔场: http://www.tallmantech.com/13/
@lyqflnh
lyqflnh / ios - ssh - password.txt
Last active May 14, 2024 12:48
ways to change password of the root or mobile account of ur jailbreak ios device
#if u have the root password which default is "alpine"
1.login as root, using command "ssh root@ip address"
2.type ur password: alpine
3.type command "passwd" to change ur root password
4.when it is done, type command "passwd mobile" to change the mobile passwd
#if u forget ur root passwd
1.open the file named "master.password" at /private/etc on ur jailbreak ios device
2.find the string like this:
root:xxxxxxxxxxxxx:0:0::0:0:System Administrator:/var/root:/bin/sh
@lyqflnh
lyqflnh / creatPodfile.sh
Last active January 1, 2017 14:25
automatically creat a podfile in your project directory, using project name according to the file: XXX.xcodeproj
#!/bin/bash
#-----
#根据项目名称(XXX.xcodeproj)创建podfile
#create a podfile by using the project name
#
#version:1.2
#create buy MQ on 17/01/01
#-----