Skip to content

Instantly share code, notes, and snippets.

Working from home

Veck Hsiao fbukevin

Working from home
Block or report user

Report or block fbukevin

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
fbukevin /
Created Mar 11, 2019 — forked from lattner/
Job Post: TensorFlow TPU, Swift for TensorFlow, and ML Compiler Infrastructure Teams

TensorFlow TPU, Swift for TensorFlow, and ML Compiler Infrastructure Teams

Google is an “AI first” company and Google Brain is making major investments to build out infrastructure for existing accelerators such as Cloud TPUs and GPUs as well as the coming wave of “edge” accelerators for mobile, automotive, AIY, and other low-power applications. Our infrastructure is pervasively open-source, and covers all levels of the stack - from compilers and programming languages, to high-performance runtimes, to production ML model development, support for multiple ML frameworks, and includes research on large batch training and other novel applications of these accelerators.

We are looking to hire for a significant number of positions in the areas listed below, including a number of technical leadership and manage

fbukevin /
Created Jan 22, 2019 — forked from jlehikoinen/
Swift syntax highlighting for Vim
# Swift syntax highlighting for Vim
# Source:
echo "--- Installing and configuring Pathogen.."
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim
echo "execute pathogen#infect()
syntax on
View rspec_cheatsheet_controller_spec.rb
require 'rails_helper'
RSpec.describe TodosController, :type => :controller do
describe "GET #index" do
#describe "POST #create" do
#describe "GET #show" do
#describe "PATCH #update" do (or PUT #update)
#describe "DELETE #destroy" do
#describe "GET #new" do
fbukevin / Dockerfile
Created Aug 27, 2018
Use native Node.js module to create an HTTP server and package it to a Docker container
View Dockerfile
FROM node:10
WORKDIR /usr/src/app
COPY . .
CMD [ "node", "server.js" ]
View folder_level_policy.json
"Statement": [
"Sid": "AllowUserToSeeBucketListInTheConsole",
"Action": ["s3:ListAllMyBuckets", "s3:GetBucketLocation"],
"Effect": "Allow",
"Resource": ["arn:aws:s3:::*"]
View S3 Structure Demo
|__ /Adele
|__ /Bob
|__ /David
fbukevin / snap.animAlongPath.js
Created Jan 22, 2016
Snap.svg plug - Animate along path
View snap.animAlongPath.js
Snap.plugin(function (Snap, Element, Paper, glob, Fragment) {
var elproto = Element.prototype;
elproto.animateAlongPath = function (path, el, start, duration, easing) {
var callback = this;
var len = Snap.path.getTotalLength(path),
elBB = el.getBBox(),
elCenter = {
x: elBB.x + (elBB.width / 2),
y: elBB.y + (elBB.height / 2),
View TimeTool.js
var TimeTool = {
// _year: '1997',
// _month: '01',
// _date: '01',
// _hour: '00',
// _minute: '00',
// _second: '00',
getTime: ()=>{
var date = new Date();
fbukevin /
Last active Dec 28, 2016
Load general text file in Android
public String loadText(Context cxt, String file){
String text = "";
InputStream is = cxt.getAssets().open(file);
int size = is.available();
byte[] buffer = new byte[size];;
text = new String(buffer, "UTF-8");
} catch(IOException ex){
class TimeTool {
public Date stringToDate(String dateString){
Date date = null;
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
try {
date = sdf.parse(dateString);
} catch(ParseException e) {
return date;
You can’t perform that action at this time.