Skip to content

Instantly share code, notes, and snippets.


Justin Chen interjc

Block or report user

Report or block interjc

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
interjc / remove.vue
Created Aug 23, 2016
Use Vue Modal Component
View remove.vue
import Vue from 'vue';
import Ajax from '../utils/ajax';
import Modal from './modal.vue';
let httpRes = {};
export default {
props: {
View vuePicker.vue
import Pikaday from 'pikaday';
const today = new Date(),
i18n = {
previousMonth: '上月',
nextMonth: '下月',
months: [
interjc /
Created Apr 18, 2017 — forked from spalladino/
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
interjc / ajax.js
Last active Apr 26, 2017
Axios packaging
View ajax.js
* import Vuejs
import Vue from 'vue'
* import axios
* Usage of Axios
You can’t perform that action at this time.