Skip to content

Instantly share code, notes, and snippets.

View guzishiwo's full-sized avatar
😄

JZ. guzishiwo

😄
View GitHub Profile
@guzishiwo
guzishiwo / shaker.js
Created January 5, 2018 09:26
shake html
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=3)}([function(e,t,n){var r=n(4)(n(2),n(5),null,null);e.exports=r.exports},function(e,t){e.exports=Vue},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"shaker"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=n.n(r),s=n(0),u=n.n(s);o.a.component("shaker",u.a)},function(e,t){e.exports=function(e,t,n,r){var o,s=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(o=e,s=e.default);var c="function"==typeof s?s.options:s;if(t&&(c.render=t.render,c
@guzishiwo
guzishiwo / mysql 命令
Last active December 11, 2016 09:06
mysql 命令
MYSQL
-----------
Run this on the command line. Not in mysql console.
eg. $alberta_makeever: mysql -u root -p user_development << sample.sql
mysql5 -u root -p
enter password:kwame1
mysql> exit;
Order.includes(:order_products).where("order_products.product_id = 16227").references(:order_products)