Skip to content

Instantly share code, notes, and snippets.

View sithuaung's full-sized avatar
🙃

Si Thu Aung sithuaung

🙃
View GitHub Profile
let mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
var messages = [
// message
{
type: 1,
content: {
text: "example message",
buttons: [ // the same with menu.
{ title: "", type: '', payload: ''}
]
}
<style>
.border-1px {
border: 1px solid #e3e3e3;
}
.screen {
display: flex;
background-color: white;
}
.device-inner-content {
align-self: flex-end
@sithuaung
sithuaung / install-php-7.sh
Created May 15, 2018 03:24 — forked from mavieth/install-php-7.sh
Upgrade from PHP 5.X.X to PHP 7 on an AWS EC2 Linux Server
#!/bin/bash
echo "==============================="
echo "Installing PHP 7"
echo "==============================="
sudo yum install php70
echo "==============================="
echo "Installing PHP 7 additional commonly used php packages"
echo "==============================="
this is a.js
let arrangeCategories = (categories, parent = null) => {
let result = {}
return categories.filter(category => category.parent === parent);
}
<template>
<div class="page-section">
<div class="container page-container">
<filters></filters>
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
<event-cover-section
:status=event.status