1-day current streak·12-day longest streak
starsirius - Chung-Yi Chi's personal website ============================================ starsirius is Chung-Yi Chi's id on PTT (PTT Bulletin Board System, telnet://ptt.cc) as well as the permanent name of his personal website. The…
starsirius - Chung-Yi Chi's personal website
============================================
starsirius is Chung-Yi Chi's id on PTT (PTT Bulletin Board System, telnet://ptt.cc) as well as the permanent name of his personal website.
The following Quality Attributes and Tradeoffs hold:
- user latency/load > rapid development > interactive development > SEO adaptibility > rich client abilities > automated deployment
- All pages must load within 1.5 seconds
- All pages must be vetted by Heuristics and UI/UX Criteria
- All actions/operations need to be captured with Cucumber
- The production site will have a Google PageSpeed score of 90 or higher
The architecture makes guarantees of:
- security > stateless > SOLID > data integrity > scaling > streaming
- Dependency Inversion - changes in lower-levels doesn't affect higher levels
- Loosely coupled, Highly cohesive
- Data-centric; low-latency or async data marshaling
- Program to a thin, clearly defined interface... never a concrete class/implementation
- Liskov substitution principle
- Modules are open for extension, but closed for modification
- The web application and data responsiblities are strongly decoupled
- Async at a macro level
Usage and Examples
TODO
Installation for development
Install dependencies
PostgreSQL
On OSX Mountain Lion, get Homebrew and do:bash
brew install postgres
Run the script to create, start and stop the users database:
bash
cd data && sh mk_db.sh
Install virtual env, required Python packages, and star app
bash
sh mk_env.sh
Notes
We followed the steps below to build the site
- Drop in initial MVC files organized in folders
resource/ # Change the default template and static folder path, need to modify the app config.
templates/
partials/
static/
src/
star/
setup.py # For setuptools to make a package
development.ini
star/
__init__.py
server.py
views/
models/
lib/
controllers/
- Create the mk_env.sh script that will make the virtualenv, install requirements and the project. It will run the following steps:
sudo pip install virtualenv
See the official [Flask documentation](http://flask.pocoo.org/docs/installation/#virtualenv "Virtual environment") for more information of virtual environment.
2. Create a virtual environment named starenv
virtualenv starenv
3. Activate the virtualenv and install requirements
source starenv/bin/activate
pip install -r requirements.txt
4. Install the project egg as a "develop egg"
We use setuptools to make a package. Make sure the setup.py is configured correctly. See an [example](http://parijatmishra.wordpress.com/2008/10/08/python-packaging-setuptools-and-eggs/ "An example of using python setuptools").
cd src/star
python setup.py develop
- Drop in HTML5 Boilerplate templates for HTML templates
- Set up postgres database, Flask-SQLAlchemy, SQLAlchemy, and psycopg2 driver. Write SQLAlchemy model classes.
- Set up database migrate environment with alembic
Change log
TODOLicense
TODO-
eslint-plugin-no-tests ★ PINNED
No description.
JavaScript ★ 0 2y agoExplain → -
graphql-ruby ★ PINNED ⑂
Ruby implementation of GraphQL
★ 0 5y agoExplain → -
force ★ PINNED ⑂
The Artsy.net website:
CoffeeScript ★ 0 5y agoExplain → -
metaphysics ★ PINNED ⑂
Artsy's GraphQL API
JavaScript ★ 0 5y agoExplain → -
palette ★ PINNED ⑂
Artsy's design system
TypeScript ★ 0 7y agoExplain → -
allpay
AllPay API
JavaScript ★ 4 11y agoExplain → -
day-schedule-selector ⑂
A jQuery plugin to render a weekly schedule and allow selecting time slots in each day.
JavaScript ★ 1 9y agoExplain → -
jChartbeat ⑂
A simple and lightweight jQuery plugin for the Chartbeat API
JavaScript ★ 1 11y agoExplain → -
aws-lambda-image-processing
Image processing aiming to run on AWS Lambda
JavaScript ★ 1 10y agoExplain → -
money.js ⑂
money.js is a tiny (1kb) javascript currency conversion library, for web & nodeJS
HTML ★ 1 11y agoExplain → -
TenMinuters
Ten minutes a day, keeps the boringness away.
Objective-C ★ 1 14y agoExplain → -
starsirius
Chung-Yi Chi's personal website
JavaScript ★ 1 12y agoExplain → -
Connect-Four
Connect Four game using HTML/CSS/Javascript
★ 1 15y agoExplain → -
tutorspree-map
tutorspree-map
JavaScript ★ 1 14y agoExplain → -
map-marker-drop
Marker drop animation on a map
JavaScript ★ 1 13y agoExplain → -
found ⑂
Extensible route-based routing for React applications
★ 0 2y agoExplain → -
deploy_pr
No description.
Shell ★ 0 7y agoExplain → -
selenium ⑂
A browser automation framework and ecosystem.
★ 0 3y agoExplain → -
rails ⑂
Ruby on Rails
Ruby ★ 0 3y agoExplain → -
stripe-js ⑂
Loading wrapper for Stripe.js
★ 0 4y agoExplain → -
stripe-ruby-mock ⑂
A mocking library for testing stripe ruby
★ 0 4y agoExplain → -
dotfiles
My collection of dotfiles.
Vim script ★ 0 4y agoExplain → -
AvaTax-REST-V2-Ruby-SDK ⑂
Sales Tax API SDK for Ruby and AvaTax REST
Ruby ★ 0 4y agoExplain → -
exchange ⑂
Artsy Order Management
Ruby ★ 0 5y agoExplain → -
plugin-ruby ⑂
Prettier Ruby Plugin
★ 0 5y agoExplain → -
convection ⑂
Rails application for consignments
★ 0 5y agoExplain → -
cohesion ⑂
Artsy's analytics schema & helpers
★ 0 6y agoExplain → -
aprd ⑂
Artsy's Real-time Slack Notification Service (aka Artsy Public Radio)
★ 0 6y agoExplain → -
faraday_hal_middleware ⑂
Faraday Middleware for JSON HAL requests and responses
★ 0 8y agoExplain → -
oh-my-zsh ⑂
A delightful community-driven framework for managing your zsh configuration. Includes 200+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
Shell ★ 0 10y agoExplain → -
horizon ⑂
No description.
★ 0 6y agoExplain → -
aprb ⑂
Artsy public radio notifications in Slack.
Elixir ★ 0 7y agoExplain → -
orbs ⑂
CircleCI orbs used at Artsy
Shell ★ 0 7y agoExplain → -
vimrc ⑂
starsirius' vimrc
Vim script ★ 0 7y agoExplain → -
altc-2019
Artsy Learns to Code class 2019
HTML ★ 0 7y agoExplain → -
art-pulse
Display soft real-time tweets about art
Elixir ★ 0 8y agoExplain → -
serrinalin-wp
No description.
PHP ★ 0 7y agoExplain → -
renovate-config ⑂
Shared renovate configurations
JavaScript ★ 0 7y agoExplain → -
examples
No description.
HTML ★ 0 7y agoExplain → -
docker-images ⑂
Public Docker images for Artsy applications
Dockerfile ★ 0 7y agoExplain → -
README ⑂
:wave: - The documentation for being an Artsy Engineer
TypeScript ★ 0 6y agoExplain → -
workspace
No description.
Shell ★ 0 7y agoExplain → -
graphql-client ⑂
A Ruby library for declaring, composing and executing GraphQL queries
Ruby ★ 0 8y agoExplain → -
webpacker ⑂
Use Webpack to manage app-like JavaScript modules in Rails
Ruby ★ 0 8y agoExplain → -
reaction ⑂
Artsy’s React Components
TypeScript ★ 0 7y agoExplain → -
javascriptures ⑂
Demo projects for javascripture sessions
JavaScript ★ 0 8y agoExplain → -
pickee-wp ⑂
Pickee Wordpress
PHP ★ 0 3y agoExplain → -
artsy-danger ⑂
Artsy's peril settings
TypeScript ★ 0 8y agoExplain → -
hokusai ⑂
Artsy's Docker / Kubernetes CLI and Workflow
Python ★ 0 5y agoExplain → -
ambient
No description.
JavaScript ★ 0 8y agoExplain → -
scripts
No description.
Shell ★ 0 8y agoExplain → -
majinhu
No description.
Ruby ★ 0 8y agoExplain → -
oh-my-zsh-custom
My custom plugins and themes for oh-my-zsh.
Shell ★ 0 9y agoExplain → -
bearden ⑂
A simple database of organizations
Ruby ★ 0 9y agoExplain → -
artsy-eventservice ⑂
Ruby Gem for producing events in Artsy's event stream.
Ruby ★ 0 9y agoExplain → -
webmock ⑂
Library for stubbing and setting expectations on HTTP requests in Ruby.
Ruby ★ 0 9y agoExplain → -
capybara ⑂
Acceptance test framework for web applications
Ruby ★ 0 9y agoExplain → -
mural ⑂
A framework for React and GraphQL
JavaScript ★ 0 9y agoExplain → -
caddishouse.com ⑂
An interactive art exhibition.
JavaScript ★ 0 10y agoExplain → -
phoenix_guides ⑂
User guides for the Phoenix web development framework.
CSS ★ 0 10y agoExplain → -
crystals
Beautiful Demo - http://starsirius.github.io/crystals/
JavaScript ★ 0 9y agoExplain → -
react-bootstrap ⑂
Bootstrap 3 components built with React
JavaScript ★ 0 10y agoExplain → -
danger ⑂
Stop saying "you forgot to …" in code review
Ruby ★ 0 10y agoExplain → -
react-on-rails-and-testing
Demo of React on Rails and Testing
JavaScript ★ 0 10y agoExplain → -
laptop ⑂
A shell script which turns your OS X laptop into an awesome web development machine.
Shell ★ 0 10y agoExplain → -
antigravity ⑂
Mock Gravity servers and fixture data from the Gravity API.
CoffeeScript ★ 0 10y agoExplain → -
places ⑂
A tiny module to share location data between web apps at Artsy.
JavaScript ★ 0 8y agoExplain → -
jquery-taginput
A jQuery plugin for tag/token style text entry.
Ruby ★ 0 10y agoExplain → -
artsy.github.com ⑂
The Art.sy Engineering Developers Blog
CSS ★ 0 11y agoExplain → -
Remodal ⑂
Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
JavaScript ★ 0 11y agoExplain → -
swagger-ui ⑂
Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
JavaScript ★ 0 11y agoExplain → -
gris ⑂
Gris is an informal framework for building hypermedia API services using Grape, Roar and ActiveRecord
Ruby ★ 0 11y agoExplain → -
pingdom-client ⑂
Pingdom Ruby Client (Unofficial)
Ruby ★ 0 11y agoExplain → -
gemini_upload-rails ⑂
Rails gem with gemini upload assets
Ruby ★ 0 10y agoExplain → -
bootstrap-stylus ⑂
Port of Bootstrap to Stylus
CSS ★ 0 12y agoExplain → -
bourbon ⑂
A simple and lightweight mixin library for Sass.
CSS ★ 0 11y agoExplain → -
jChartbeat-gem
No description.
Ruby ★ 0 11y agoExplain → -
shielding ⑂
Rails gem with javascript utility to abort pending AJAX calls
★ 0 11y agoExplain → -
doppler ⑂
Developer website.
★ 0 12y agoExplain → -
mongoengine ⑂
A Python Object-Document-Mapper for working with MongoDB
Python ★ 0 11y agoExplain → -
nose2 ⑂
The successor to nose, based on unittest2
★ 0 12y agoExplain → -
elegant-ux
No description.
Ruby ★ 0 12y agoExplain → -
majinhu-web
Chinese Artist Jinhu Ma's Website Front End
CSS ★ 0 12y agoExplain → -
ezel-testing-examples
Examples of writing tests in Ezel with mocha, should, sinon, and benv.
JavaScript ★ 0 12y agoExplain → -
ezel ⑂
A boilerplate for Backbone projects that share code server/client and scale through modular architecture.
JavaScript ★ 0 12y agoExplain → -
majinhu-visual
Chinese Artist Jinhu Ma's Website Visual
CSS ★ 0 12y agoExplain → -
majinhu-api
Chinese Artist Jinhu Ma's Website API
Python ★ 0 12y agoExplain → -
black-ink-gallery
No description.
JavaScript ★ 0 12y agoExplain → -
perspective
A 3D presentation of artworks
JavaScript ★ 0 12y agoExplain → -
artsy-ruby-client ⑂
Artsy API Ruby Client
Ruby ★ 0 12y agoExplain → -
apple-book
No description.
CoffeeScript ★ 0 12y agoExplain → -
artsy-passport ⑂
Wires up the common auth handlers for Artsy's http://ezeljs.com based apps using http://passportjs.org.
CoffeeScript ★ 0 12y agoExplain → -
the-ordinary-01
The Ordinary #1
CSS ★ 0 12y agoExplain →
No repos match these filters.