Skip to content

Instantly share code, notes, and snippets.

View jybaek's full-sized avatar
:octocat:
It's so fun!

JB jybaek

:octocat:
It's so fun!
View GitHub Profile
@zzerjae
zzerjae / index.js
Last active March 9, 2021 11:51
sample code - Resizing Images with Amazon CloudFront & Lambda@Edge
'use strict';
const querystring = require('querystring');
const aws = require('aws-sdk');
const s3 = new aws.S3({
region: 'ap-northeast-2',
signatureVersion: 'v4'
});
const sharp = require('sharp');
@luiscape
luiscape / install_packages.sh
Created January 16, 2017 14:36
Install Python dependency packages from requirements.txt using conda.
#
# Original solution via StackOverflow:
# http://stackoverflow.com/questions/35802939/install-only-available-packages-using-conda-install-yes-file-requirements-t
#
#
# Install via `conda` directly.
# This will fail to install all
# dependencies. If one fails,
# all dependencies will fail to install.
@adamawolf
adamawolf / Apple_mobile_device_types.txt
Last active December 9, 2024 01:05
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S