Skip to content

Instantly share code, notes, and snippets.

View gabrieloshiro's full-sized avatar
🏠
Working from home

Gabriel Oshiro gabrieloshiro

🏠
Working from home
View GitHub Profile
# Run TF
docker run -p 8888:8888 -p 6006:6006 tensorflow/tensorflow
# Get the link for running Jupyter
docker exec $(docker ps -q) jupyter notebook list
@gabrieloshiro
gabrieloshiro / bitrise_git_config.sh
Last active July 12, 2016 18:11
Config for bitrise git user
#!/bin/sh
git config --global user.email "devtest@samsaodev.com"
git config --global user.name "Sam Sao"
git config --global push.default simple
mkdir -p ~/.ssh
echo '' > ~/.ssh/config
echo 'Host *'
echo ' StrictHostKeyChecking no' >> ~/.ssh/config
# https://developer.android.com/training/wearables/apps/bt-debugging.html
Host: disconnected
Target: connected
adb forward tcp:4444 localabstract:/adb-hub
adb connect 127.0.0.1:4444
Host: connected
Target: disconnected
@gabrieloshiro
gabrieloshiro / Test.md
Created April 7, 2015 03:41
Github Markdown

This is an

tag

This is an

tag

This is an

tag

This is an tag
<!DOCTYPE html>
<html>
<head>
<title>Testing JS and JQ </title>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<script src="jquery.js"></script>
# Find all executable files from this point on
find . -perm +0111 -type f
# create symbolic link
ln -s source dest
// Constant
byte[] b = {10, 20, 30};
@gabrieloshiro
gabrieloshiro / LearningFile.java
Last active December 23, 2015 11:19
Everything you need to know about java.io.File
import java.io.*;
import java.util.Arrays;
import java.util.Date;
public class LearningJavaIOFile {
/**
* Java File is an abstraction for a file pathname. It is NOT the file itself.
* It is just a reference to a file that may or may not exist.
*/
// Include this if you want to use toString method to print the array
import java.util.Arrays;
public class LearningArray {
public static void main(String[] args) {
// Creating a reference to an Array of integers
int[] iArray;
// This is a comment
/*
This is a
multiline
comment
*/
/**
* If they start with two stars,