Skip to content

Instantly share code, notes, and snippets.

View nghenglim's full-sized avatar

Le Liam nghenglim

View GitHub Profile
@nghenglim
nghenglim / index.html
Last active July 26, 2017 14:54
Babylon.js issue
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
<title>Babylon - Getting Started</title>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/babylonjs/2.5.0/babylon.js"></script> -->
<script src="https://cdn.babylonjs.com/babylon.js"></script>
<style>
html, body {
overflow: hidden;
@nghenglim
nghenglim / gist:b5b88977283c47306d88bda32d06fc17
Created January 27, 2017 10:07
beginner approach for autoclick android game
count=0
while [ 1 ]; do
position_x=$(shuf -i 300-700 -n 1)
position_y=$(shuf -i 600-900 -n 1)
adb shell input tap $position_x $position_y
count=$((count+1))
echo $count
done
@nghenglim
nghenglim / AppDelegate.m
Created October 15, 2015 04:06
React Native async load bundled file
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h"