Skip to content

Instantly share code, notes, and snippets.

Edouard edouard-claude

Block or report user

Report or block edouard-claude

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@edouard-claude
edouard-claude / sheetsToArray
Last active Apr 17, 2019
example for Medium post
View sheetsToArray
const sheetsToArray = (data) => {
let i, j, ilen, jlen
let dataSafe = []
let columnNames = []
if (undefined !== data && data.length){
for(let key in data[0]){
if(/^gsx/.test(key)){
columnNames.push(key.replace("gsx$",""));
}
}
View generate-iOS-app-icons.sh
mkdir -p generated
sips -Z 29 --out generated/iPhoneSettings-29x29.png sourceIcon.png
sips -Z 58 --out generated/iPhoneSettings-29x29@2x.png sourceIcon.png
sips -Z 80 --out generated/iPhoneSpotlight-40x40@2x.png sourceIcon.png
sips -Z 120 --out generated/iPhoneApp-60x60@2x.png sourceIcon.png
sips -Z 29 --out generated/iPadSettings-29x29.png sourceIcon.png
sips -Z 58 --out generated/iPadSettings-29x29@2x.png sourceIcon.png
sips -Z 40 --out generated/iPadSpotlight-40x40.png sourceIcon.png
You can’t perform that action at this time.