This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key binding | |
[ | |
{ "keys": ["alt+r"], "command": "reindent", "args": {"single_line": false}}, | |
{ "keys": ["alt+z"], "command": "duplicate_line" }, | |
{ "keys": ["alt+q"], "command": "run_macro_file", "args": {"file": "Packages/Default/Add Line.sublime-macro"} }, | |
{ "keys": ["alt+e"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["alt+w"], "command": "scroll_lines", "args": {"amount": 5.0 } }, | |
{ "keys": ["alt+s"], "command": "scroll_lines", "args": {"amount": -5.0 } }, | |
{ "keys": ["alt+`"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["alt+a"], "command": "move_to", "args": {"to": "bol", "extend": false} }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/questions/37505709/how-do-i-download-the-android-sdk-without-downloading-android-studio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>decrypter</title> | |
<link rel="stylesheet" href=""> | |
</head> | |
<body> | |
<div id="encryptResult"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<StackLayout> | |
<ScrollView v-if="!emptyOrder"> | |
<FlexboxLayout flexDirection="column" marginTop="25" marginRight="25" marginLeft="25"> | |
<GridLayout v-for="(order,index) in orderList" marginBottom="15" columns="200,50,50" rows="*,auto"> | |
<Label class="order-name" :text="order.name" row="0" col="0"/> | |
<TextField keyboardType="number" v-model:value="order.qty" row="0" col="1" hint="Qty" /> | |
<Button text="x" class="delete" ripple="true" @tap="removeOrder(index)" row="0" col="2" /> | |
</GridLayout> | |
<TextView v-model="message" :hint="hint" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const state = { | |
billing: [], | |
message: '' | |
} | |
const mutations = { | |
addingBilling: (state,item) =>{ | |
state.billing.push(item) | |
}, | |
removeBilling: (state,index) =>{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<style> | |
header { | |
background: red; | |
padding: 10px; | |
text-align: center; | |
font-size: 5vw; | |
position: fixed; | |
width: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<Page> | |
<ActionBar> | |
<GridLayout width="100%" columns="auto, *"> | |
<!-- <Label text="MENU" @tap="$refs.drawer.nativeView.showDrawer()" col="0"/> --> | |
<Label class="title" text="Attendance App" align="center" col="1"/> | |
</GridLayout> | |
</ActionBar> | |
<RadSideDrawer ref="drawer"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter_svg/flutter_svg.dart'; | |
class MainBottomBar extends StatelessWidget { | |
int index; | |
dynamic changeIndex; | |
MainBottomBar(this.index, this.changeIndex); | |
SvgPicture definePic(int i) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//main dashboard | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar(), | |
resizeToAvoidBottomPadding: false, | |
drawer: new Drawer( | |
child:SideDrawer() | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def create | |
begin | |
@merchant = Merchant.find_by!(:username => params[:username]) | |
if @merchant | |
render json: {error: 'duplicate', message: "Username anda sudah terdaftar"}, status: :unprocessable_entity | |
end | |
rescue Mongoid::Errors::DocumentNotFound | |
@merchant = Merchant.new() | |
@merchant.name = params[:name] | |
@merchant.username = params[:username] |
OlderNewer