Skip to content

Instantly share code, notes, and snippets.

View tripitakit's full-sized avatar

Patrick De Marta tripitakit

View GitHub Profile
@tripitakit
tripitakit / barcodes.csv
Created February 7, 2023 14:57 — forked from audy/barcodes.csv
Demultiplex Ion Torrent Reads
1 CTAAGGTAA
2 TAAGGAGAA
3 AAGAGGATT
4 TACCAAGAT
5 CAGAAGGAA
6 CTGCAAGTT
7 TTCGTGATT
8 TTCCGATAA
9 TGAGCGGAA
10 CTGACCGAA
@tripitakit
tripitakit / barcodes.csv
Created February 7, 2023 14:57 — forked from audy/barcodes.csv
Demultiplex Ion Torrent Reads
2 TAAGGAGAA
3 AAGAGGATT
4 TACCAAGAT
5 CAGAAGGAA
6 CTGCAAGTT
7 TTCGTGATT
8 TTCCGATAA
9 TGAGCGGAA
10 CTGACCGAA
@tripitakit
tripitakit / P12toPEM.txt
Created September 5, 2018 11:10 — forked from shahdhiren/P12toPEM.txt
Convert P12 file for Push Notification to PEM format
Development Phase:
Step 1: Create Certificate .pem from Certificate .p12
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Step 2: Create Key .pem from Key .p12
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12
Step 3: Optional (If you want to remove pass phrase asked in second step)
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem
cachedImageView = function(basedir, uri, obj, attr, cacheage) {
/**
Appcelerator Titanium ImageView /w cache
This function attempts to cache a remote image and then returns it again
when it's requested.
The file is stored in a directory "basedir," this is to try and help
you keep files unique. It's not special or magical, but not dirty either.