$ docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function add (a, b) { | |
let res = '', c = 0 | |
a = a.split('') | |
b = b.split('') | |
while (a.length || b.length || c) { | |
c += ~~a.pop() + ~~b.pop() | |
res = c % 10 + res | |
c = c > 9 | |
} | |
return res |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.sellectorsample; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.view.View.OnClickListener; | |
import android.widget.Button; | |
import android.widget.TextView; | |
public class MainActivity extends Activity implements OnClickListener { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cheef's Grand APDU List Smartcard Selected Information APDU list | |
Reference: http://web.archive.org/web/20090630004017/http://cheef.ru/docs/HowTo/APDU.info | |
#------------+------------------------+------------------------+----------------------+--------------------------------+ | |
|ClaIns P1 P2|Lc Send Data |Le Recv Data | Specification | Description | | |
+------------+------------------------+------------------------+----------------------+--------------------------------+ | |
| 04 | ISO 7816-9 6.3 | DEACTIVATE FILE | | |
| A0 04 00 00 00 | 3GPP TS 11.11 | INVALIDATE | | |
| A0 04 00 00 00 | SAGEM SCT U34 6.15 | INVALIDATE | | |
+------------+------------------------+------------------------+----------------------+--------------------------------+ |