Skip to content

Instantly share code, notes, and snippets.

View molinto's full-sized avatar
🎯
Focusing

Sharry Stowell molinto

🎯
Focusing
  • Molinto
  • United Kingdom
View GitHub Profile
@80xer
80xer / sinon-practices.js
Created July 10, 2017 09:24
sinon practices
'use strict';
import sinon from 'sinon';
import chai from 'chai';
const assert = chai.assert;
const Database = {
save: (user, cb) => {
cb();
},
@kevinyan815
kevinyan815 / .gitlab-ci.yml
Last active January 20, 2020 10:55
A full configured gitlab ci config demo
stages:
- build
- test
- deploy
before_script:
- mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > /root/.ssh/id_rsa
- chmod -R 600 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts #make sure remote servers's ssh host keys are verified
@mrk-han
mrk-han / emulator-install-using-avdmanager.md
Last active November 26, 2025 12:38
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

TL;DR

For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):

  1. List All System Images Available for Download: sdkmanager --list | grep system-images

  2. Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"