Skip to content

Instantly share code, notes, and snippets.

Bao Nguyen baoanhng

Block or report user

Report or block baoanhng

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 keybase.md

Keybase proof

I hereby claim:

  • I am baoanhng on github.
  • I am embersglow (https://keybase.io/embersglow) on keybase.
  • I have a public key ASDP1qeTaOJl1dK4tjlT_D4jQHdRcxOCmKQd3CfQjIbLHAo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am baona95 on github.
  • I am embersglow (https://keybase.io/embersglow) on keybase.
  • I have a public key ASAqM2ADH_WmGLrkQBFeXhDGw851yegPAdmNUaNk1xj32Qo

To claim this, I am signing this object:

@baoanhng
baoanhng / Component.js
Created Jan 27, 2018 — forked from bulby97/Component.js
React Native - Fixed header/footer disappearing on scroll
View Component.js
import React, { PropTypes, Component } from 'react'
import {
Animated,
ScrollView,
Text,
View,
} from 'react-native'
import EStyleSheet from 'react-native-extended-stylesheet'
const styles = EStyleSheet.create({
View gist:04ddacb5ea4c174d679b62e5d0478e87
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://ln.hako.re/thao-luan/*
// @grant GM_addStyle
// ==/UserScript==
View subStrCount.java
public static int subStrCount(String string, String substr) {
int count = 0;
int lastIndex = 0;
while ( (lastIndex = string.indexOf(substr, lastIndex) + 1) > 0 ) {
count++;
}
return count;
}
You can’t perform that action at this time.