Skip to content

Instantly share code, notes, and snippets.

View sgyyz's full-sized avatar
🎯
Focusing

Yongzhi Yang sgyyz

🎯
Focusing
View GitHub Profile
@sgyyz
sgyyz / uao.md
Last active December 29, 2023 07:29
uao command - unzip your project and import to intellij automatically
  1. import project into idea command
$ curl -L "https://gist.githubusercontent.com/chrisdarroch/7018927/raw/9a6d663fd7a52aa76a943fe8a9bc6091ad06b18d/idea" -o /usr/local/bin/idea
$ chmod +x /usr/local/bin/idea
  1. unzip and open project command
$ curl -L "https://gist.githubusercontent.com/sgyyz/adfa4f05af3d81cf0e17e19cf7044c85/raw/b6b9e871d5a4f5435a09d00b0a52e3db0b90699a/uao.sh" -o /usr/local/bin/uao.sh
$ chmod +x /usr/local/bin/uao.sh
$ ln -sf /usr/local/bin/uao.sh /usr/local/bin/uao
@sgyyz
sgyyz / gulp-ng-config.md
Last active January 13, 2017 14:27
Building angularjs configuration file by gulp-ng-config

gulp-ng-config

In our angularjs app, we usually call remote API to get data to make our app live. But we will have different environment for our app when we develop it or put it online. So we will meet the requirement to build our app for different environemnts. How to deal with it when you use gulp to build your app?

Yes, gulp-ng-config can help you to do it easily.

Introduction of gulp-ng-config

You can refer https://www.npmjs.com/package/gulp-ng-config to get more details of this plugin.

Install gulp-ng-config

Under your package.json file path,

@PurpleBooth
PurpleBooth / README-Template.md
Last active April 26, 2024 01:29
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing