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
package main | |
import ( | |
"log" | |
"mauappa-go/config" | |
"mauappa-go/controller" | |
"mauappa-go/repository/firestore" | |
"mauappa-go/service" | |
"net/http" | |
"os" |
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
package main | |
import ( | |
"bytes" | |
"log" | |
"net/http" | |
"time" | |
"github.com/gorilla/websocket" | |
) |
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
<ion-header> | |
<ion-toolbar> | |
<ion-title>Details</ion-title> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<ion-card> | |
<ion-card-header> | |
<ion-card-title>{{product.prod_name}}</ion-card-title> |
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 React, { useEffect, useState } from "react"; | |
function CustomersWithGender({ gender }) { | |
const [customers, setCustomers] = useState([]); | |
useEffect( | |
async () => { | |
const res = await fetch(`https://upoint.store.back.au/api/customers?gender=${gender}`); | |
const json = await res.json(); | |
setCustomers(json.results); |
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 {ThemeContext, themes} from './theme-context'; | |
import ThemedButton from './themed-button'; | |
import ThemeTogglerButton from './theme-toggler-button'; | |
// An intermediate component that uses the ThemedButton | |
function Toolbar(props) { | |
return ( | |
<ThemedButton onClick={props.changeTheme}> | |
Change Theme | |
</ThemedButton> |
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 React, { Component } from 'react'; | |
// import { bindActionCreators } from 'redux'; | |
import { connect } from 'react-redux'; | |
import { withRouter } from 'react-router-dom'; | |
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd'; | |
import classnames from 'classnames'; | |
import { | |
Page, Card | |
} from '@shopify/polaris'; |
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 'dart:io'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
import 'package:flutter_bloc/flutter_bloc.dart'; | |
import 'package:image_picker/image_picker.dart'; | |
import 'package:lumbungrempah_common/bloc/commodity/commodity.dart'; | |
import 'package:lumbungrempah_common/model/commodity.dart'; | |
import 'package:lumbungrempah_flutter/api/commodity_service_api_impl.dart'; | |
import 'package:lumbungrempah_flutter/api/storage_service_api_impl.dart'; |
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 * as React from 'react'; | |
import { reaction } from 'mobx'; | |
import { observer, inject } from 'mobx-react'; | |
import * as usb from 'usb-detection' | |
import * as moment from 'moment' | |
import { | |
Table, Pagination, Header, Icon, Form, | |
Container, Modal, Button, Input, | |
} from 'semantic-ui-react'; |
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 * as React from 'react' | |
import * as NotificationSystem from 'react-notification-system' | |
import { Message } from 'semantic-ui-react' | |
import { AsyncError } from '../../models/async.models' | |
import { I18N } from '../../i18n'; | |
export interface NotificationConfig { | |
position?: 'tr' | 'tl' | 'tc' | 'br' | 'bl' | 'bc' | |
delay?: number |
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> | |
<div :class="topContainerClasses"> | |
<div | |
v-click-outside="clickedOutside" | |
:tabindex="dropdownOptions && dropdownOptions.tabindex ? dropdownOptions.tabindex : 0" | |
:class="['vti__dropdown', { open: open }]" | |
@keydown="keyboardNav" | |
@click="toggleDropdown" | |
@keydown.esc="reset" | |
> |
NewerOlder