Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Saleumsack KEOBOUALAY TheBrown

🎯
Focusing
Block or report user

Report or block TheBrown

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 .gvimrc
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Font
:set guifont=Source\ Code\ Pro:h14
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Hide pointless junk at the bottom, doesn't work in .vimrc for some reason?
:set laststatus=0
:set noshowmode "don't show --INSERT--
:set noruler "don't show line numbers/column/% junk
@TheBrown
TheBrown / docker-help.md
Created Sep 18, 2018 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@TheBrown
TheBrown / state.js
Created Jun 10, 2018
state example
View state.js
import React, { Component } from 'react';
import { AppRegistry, Text, View } from 'react-native';
class Blink extends Component {
constructor(props) {
super(props);
this.state = {isShowingText: true};
// Toggle the state every second
setInterval(() => {
@TheBrown
TheBrown / index.js
Created Jun 10, 2018
props example
View index.js
import React, { Component } from 'react';
import { AppRegistry, Image } from 'react-native';
export default class Bananas extends Component {
render() {
let pic = {
uri: 'https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg'
};
return (
<Image source={pic} style={{width: 193, height: 110}}/>
@TheBrown
TheBrown / index.js
Created Jun 9, 2018
standalone tag
View index.js
const element = <img src={user.avatarUrl} />;
View myElement.js
const myElement = (
<div>
<h1>Sabaidee</h1>
<h2>hello newbie for JSX</h2>
</div>
);
@TheBrown
TheBrown / index.js
Created Jun 9, 2018
jsx in react.js
View index.js
const name = 'saleumsack';
const element = <h1>Sabaidee {name}</h1>;
ReactDom.render(
element,
document.getElementById('root')
);
View index.js
const myElement = <h1>Hello world from Laos!</h1>;
View index.js
console.log('Hello boy!!');
View home.ts
import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
import { InAppBrowser, InAppBrowserOptions} from '@ionic-native/in-app-browser';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
options : InAppBrowserOptions = {
You can’t perform that action at this time.