Skip to content

Instantly share code, notes, and snippets.

View lovisgod's full-sized avatar
💭
Busy building Payble

OLOSUNDE AYOOLUWA lovisgod

💭
Busy building Payble
View GitHub Profile
@lovisgod
lovisgod / docker-help.md
Created August 3, 2019 14:06 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@lovisgod
lovisgod / add.js
Created January 6, 2020 11:08 — forked from OlegLustenko/add.js
Adding big numbers JavaScript (from codewars.com)
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
@lovisgod
lovisgod / MainActivity.java
Created July 14, 2020 17:21 — forked from granoeste/MainActivity.java
[Android] Button background change for state. (selector)
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 {
@lovisgod
lovisgod / GitConfigHttpProxy.md
Created June 29, 2021 09:03 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@lovisgod
lovisgod / APDUList.txt
Created November 20, 2023 12:33 — forked from hemantvallabh/APDUList.txt
APDU list
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 |
+------------+------------------------+------------------------+----------------------+--------------------------------+