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
@lattner
lattner / TeamJobPost.md
Last active Jul 3, 2019
TensorFlow Modeling in Swift and Compilers for Machine Learning
View TeamJobPost.md

TensorFlow Modeling in Swift and Compilers for Machine Learning

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 number of positions in the areas listed below. We love working with people who combine a passion for learning and growth with product

@jk195417
jk195417 / 使用 EB 部署 Rails app 至 AWS.md
Created Mar 16, 2017
EC2 + RDS,然後使用 Elastic Beanstalk 部署 Rails 應用程式
View 使用 EB 部署 Rails app 至 AWS.md

部署 Rails app 至 Amazon web services

EC2 + RDS + EB,使用 Elastic Beanstalk 部署應用程式

版本訊息

  • 作業系統 macOS Sierra 10.12.3
  • Ruby 2.3
  • Rails 5.0.1
  • MySQL 5.7.16

開始使用 Amazon web services

@sobstel
sobstel / nokogiri_install
Created Jan 3, 2017
nokogiri -> ERROR: cannot discover where libxml2 is located on your system
View nokogiri_install
# `ERROR: Error installing nokogiri:
# ERROR: Failed to build gem native extension.
#
# current directory: /usr/local/var/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/nokogiri-1.7.0/ext/nokogiri
# /usr/local/var/rbenv/versions/2.3.1/bin/ruby -r ./siteconf20170103-68488-r71c9j.rb extconf.rb --with-xml=/usr/local/Cellar/libxml2/ --use-system-libraries
# checking if the C compiler accepts ... yes
# checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
# Building nokogiri using system libraries.
# ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed.
# *** extconf.rb failed ***
@paladini
paladini / aws-ec2-redis-cli.md
Last active Nov 11, 2019 — forked from todgru/aws-ec2-redis-cli.md
AWS redis-cli without redis server on AWS EC2
View aws-ec2-redis-cli.md

Setup redis-cli without the whole Redis Server on AWS EC2

This fast tutorial will teach you how to install redis-clion AWS EC2 without having to install the whole Redis Server. Firstly, SSH into your EC2 instance and run the following command:

$ sudo yum install gcc

This may return an "already installed" message, but that's OK. After that, just run:

$ wget http://download.redis.io/redis-stable.tar.gz && tar xvzf redis-stable.tar.gz && cd redis-stable && make && sudo cp src/redis-cli /usr/local/bin/ && sudo chmod 755 /usr/local/bin/redis-cli

@LeCoupa
LeCoupa / redis_cheatsheet.bash
Last active Nov 8, 2019
Redis Cheatsheet - Basic Commands You Must Know --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
View redis_cheatsheet.bash
# Redis Cheatsheet
# All the commands you need to know
redis-server /path/redis.conf # start redis with the related configuration file
redis-cli # opens a redis prompt
# Strings.
@rauchg
rauchg / README.md
Last active Oct 2, 2019
require-from-twitter
View README.md
@jlehikoinen
jlehikoinen / setup.sh
Last active Aug 29, 2019
Swift syntax highlighting for Vim
View setup.sh
# Swift syntax highlighting for Vim
# Source: http://wingsquare.com/blog/swift-script-syntax-highlighting-and-indentation-for-vim-text-editor/
echo "--- Installing and configuring Pathogen.."
mkdir -p ~/.vim/autoload ~/.vim/bundle
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
echo "execute pathogen#infect()
syntax on
@sebmarkbage
sebmarkbage / react-terminology.md
Last active Nov 3, 2019
React (Virtual) DOM Terminology
View react-terminology.md
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
@jwo
jwo / mysql.database.yml
Last active Oct 31, 2019
Sample config/database.yml from Rails. Postgres, MySQL, and SQLite
View mysql.database.yml
#
# Install the MYSQL driver
# gem install mysql2
#
# Ensure the MySQL gem is defined in your Gemfile
# gem 'mysql2'
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
You can’t perform that action at this time.