Skip to content

Instantly share code, notes, and snippets.

@ddonny
ddonny / call.png
Last active March 28, 2022 14:03
UMKM Idol
call.png
@ddonny
ddonny / answerfile
Created May 26, 2021 10:22 — forked from oofnikj/answerfile
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@ddonny
ddonny / install-docker-arm64.sh
Created May 26, 2021 09:40 — forked from tstellanova/install-docker-arm64.sh
Install docker CE for arm64
#!/bin/bash
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
@ddonny
ddonny / android-generate-keystores.md
Created May 5, 2021 09:27 — forked from henriquemenezes/android-generate-keystores.md
Android: Generate Release/Debug Keystores

Android: Generate Release/Debug Keystores

Generate Keystores

Debug Keystore

$ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug"
Vue, Laravel echo + socket.io + lumen (event, listener)
Steps:
  1. Install required npm packages
    socket.io-client laravel-echo
    
  2. Registering these two package to src/main.js file
    import Echo from 'laravel-echo'
    

window.io = require('socket.io-client')

# Install Android SDK CLI (Work in Progress)
## Install Java 8
```bash
sudo apt install openjdk-8-jdk-headless
```
## Android SDK
Installing the Guest Additions on a GUI-less server
Start VirtualBox.
Start the host in question.
Once the host has booted, click Devices | Insert Guest Additions CD Image.
Log in to your guest server.
Mount the CD-ROM with the command sudo mount /dev/cdrom /media/cdrom.
Change into the mounted directory with the command cd /media/cdrom.
Install the necessary dependencies with the command sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r).
Change to the root user with the command sudo su.
Install the Guest Additions package with the command ./VBoxLinuxAdditions.run.
@ddonny
ddonny / 1.html.md
Created October 20, 2019 13:02 — forked from hongyangqin/1.html.md
visual studio 2015 key vs2015密钥
@ddonny
ddonny / 00_etc-hosts.md
Created November 14, 2018 03:09 — forked from mul14/00_etc-hosts.md
/etc/hosts for Vimeo, Netflix, Reddit, and Imgur.

Unblock Vimeo, Netflix, Reddit, dan Imgur

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

Tambahkan list di bawah ke %System32%\Drivers\etc\hosts

@ddonny
ddonny / WaitForUI.js
Created November 14, 2018 03:09 — forked from iremlopsum/WaitForUI.js
InteractionManager example
import React, { PureComponent } from 'react';
import { InteractionManager } from 'react-native';
class WaitForUI extends PureComponent {
constructor(props) {
super(props);
this.state = {
interactionsComplete: false,
};
}