Skip to content

Instantly share code, notes, and snippets.

View netcell's full-sized avatar

Nguyễn Tuấn Anh netcell

View GitHub Profile
@netcell
netcell / ionic2_build_and_upload
Created November 24, 2016 09:54
ionic2_build_and_upload
npm install -g ionic cordova karma-cli;
npm install;
ionic login --email <email> --password <password>;
ionic io init;
npm run ionic:build;
ionic upload;
@netcell
netcell / fullcalendar_with_ionic2.md
Last active November 1, 2017 16:14
Fullcalendar.io with ionic 2 from forum

Hello Victor,

I just started using this plugin today so I'm not an expert but here is what I did to make it work.

  1. npm install angular2-fullcalendar --save
  2. Create a new component: ionic g component full-calendar
  3. In full-calendar.html I inserted:
<angular2-fullcalendar [options]="calendarOptions"></angular2-fullcalendar>
@netcell
netcell / guide.md
Last active March 22, 2017 07:59
Update firmware for Galaxy tab 3
  1. Mở app Cài đặt (ở homescreen hoặc trong danh sách app)

  2. Trong màn hình app Cài đặt, cuộn xuống cuối cột bên trái và chọn Giới thiệu về điện thoại.

2

  1. Chọn Cập nhật phầm mềm ở cột bên phải. Trong màn hình Cập nhật phầm mềm, chọn Cập nhật.

3

@netcell
netcell / run.js
Created January 11, 2018 10:34
Insert Table of Content at the top of Dropbox Paper
(() => {
clear()
const childTo = (children, parents) => {
children.forEach(datum => {
let parent = parents.filter(parent => parent.idx < datum.idx).pop();
parent.children.push(datum);
})
}
@netcell
netcell / Dockerfile
Last active January 18, 2021 04:19
Wordpress Development with Docker
FROM chriszarate/wordpress
RUN \
apt-get update && \
apt-get install unzip wget mysql-client -y && \
rm -rf /var/lib/apt/lists/*
COPY ./uploads.ini /usr/local/etc/php/conf.d/uploads.ini
COPY docker-entrypoint.sh /usr/local/bin/