Skip to content

Instantly share code, notes, and snippets.


Anna Domashych foxanna

View GitHub Profile
nanopc / gist:7b693607e673c4bcafed701b5d3f54ab
Last active May 12, 2019
SVG-VectorDrawable as Maps Marker icon on Android
View gist:7b693607e673c4bcafed701b5d3f54ab
BitmapDescriptor markerIcon = vectorToBitmap(R.drawable.vectordrawableicon,
mMap.addMarker(new MarkerOptions()
private BitmapDescriptor vectorToBitmap(@DrawableRes int id, @ColorInt int color) {
adamawolf / Apple_mobile_device_types.txt
Last active Jun 21, 2021
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
View Apple_mobile_device_types.txt
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