Skip to content

Instantly share code, notes, and snippets.

View arissetyawan's full-sized avatar

arissan arissetyawan

View GitHub Profile
@arissetyawan
arissetyawan / QRCodeScanner.js
Created March 15, 2023 05:53 — forked from akirattii/QRCodeScanner.js
NodeJS: QRCode scanning library. Either file and webcam source scanning are available. (browser compatible)
/**
QRCode Scanner library
https://gist.github.com/akirattii/35b033000cd4479c337ae5abb09d7429
@author: akirattii <tanaka.akira.2006@gmail.com> (http://mint.pepper.jp)
@dependencies:
+ jquery
+ jsQR (https://github.com/cozmo/jsQR/)
@arissetyawan
arissetyawan / Android Read SMS
Created February 26, 2023 15:25 — forked from mcobunga/Android Read SMS
Code for reading SMS in android
//add permission Read SMS in android manifest to enable this code to work
StringBuilder smsBuilder = new StringBuilder();
final String SMS_URI_INBOX = "content://sms/inbox";
final String SMS_URI_ALL = "content://sms/";
try {
Uri uri = Uri.parse(SMS_URI_ALL);
String[] projection = new String[] { "_id", "address", "person", "body", "date", "type" };
//retrieving sms for a particular number,you can set to null so as to read all sms in inbox folder
@arissetyawan
arissetyawan / List.md
Created October 25, 2021 15:59 — forked from napsterrahul/List.md
List of open source projects made with Laravel
@arissetyawan
arissetyawan / List.md
Created October 25, 2021 15:58 — forked from msurguy/List.md
List of open source projects made with Laravel

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):

//https://habr.com/post/213515/
// This works on all devices/browsers, and uses IndexedDBShim as a final fallback
var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB,
IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction || window.msIDBTransaction,
baseName = "baseName",
storeName = "storeName";
function logerr(err){
console.log(err);
@arissetyawan
arissetyawan / statistical_tests.py
Created May 16, 2018 19:18 — forked from mblondel/statistical_tests.py
t-test and wilcoxon-test examples in Python
# Mathieu Blondel, February 2012
# License: BSD 3 clause
# Port to Python of examples in chapter 5 of
# "Introductory Statistics with R" by Peter Dalgaard
import numpy as np
from scipy.stats import ttest_1samp, wilcoxon, ttest_ind, mannwhitneyu
# daily intake of energy in kJ for 11 women