Skip to content

Instantly share code, notes, and snippets.


Isa Ansharullah meriororen

  • Dekape
  • Jakarta, Indonesia
Block or report user

Report or block meriororen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View shadow.yml
version: '2'
container_name: shadow_tmp
privileged: true
meriororen /
Last active Oct 2, 2019
Running huawei modem
// mmcli must be available
// if not, install using snap install modem-manager
$ mmcli -L  ;; check listed modem
$ mmcli -m x ;; x is modem id listed

// use nmcli (network manager) to setup
$ nmcli c add type gsm ifname <port> con-name <arbitrary> apn <apn url>
$ nmcli r wwan on ;; setup wwan to on
meriororen / ch375b_snippet.c
Created Sep 24, 2018
ch375b test code snippet
View ch375b_snippet.c
int do_once = 0;
typedef struct __attribute__((__packed__)) {
uint8_t bLength;
uint8_t bDescriptorType;
uint16_t bcdUSB;
uint8_t bDeviceClass;
uint8_t bDeviceSubClass;
uint8_t bDeviceProtocol;
meriororen / Dockerfile
Last active Jul 19, 2018
Dockerfile for nrfbleprinter environment
View Dockerfile
FROM ubuntu
MAINTAINER Isa Ansharullah <>
RUN apt-get update
RUN apt-get install -y python
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
RUN apt-get update
RUN apt-get install -y gcc-arm-embedded
meriororen / logo.h
Created Jun 25, 2018
View logo.h
// File generated by LCD Assistant
const unsigned char logo_bukalapak [] = {
#if 0
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
meriororen / chartobcd.c
Created Apr 25, 2018
Ubah char ke bcd dan bcd ke char
View chartobcd.c
#include <stdio.h>
#include <string.h>
char *phone = "081546496933";
char phonebcd[100];
char phonenotbcd[100];
void chartobcd(char *bcd, char *ch, int len)
int i = 0;
meriororen / tree.rkt
Created Dec 12, 2017
Having fun with tree in racket!
View tree.rkt
#lang racket
(require pict/tree-layout)
(require pict)
(struct node (val left right) #:transparent)
(define-struct/contract leaf ([x (not/c null?)]) #:transparent)
(define (make-tree xs)
(if (null? xs)
View fizzbuzz.rkt
(fizz-buzz-plus (list (cons "Stu" 3) (cons "Ple" 2) (cons "Twak" 7)) 1 90)
("Stu" "Ple")
meriororen /
Created Nov 9, 2017
Phase between two 2kHz
import warnings
import sys
import numpy as np
import scipy as sy
from numpy import genfromtxt
import matplotlib.pyplot as plt
You can’t perform that action at this time.