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 PropTypes from 'prop-types'; | |
import { | |
StyleSheet,View,TextInput,StatusBar,TouchableOpacity,Image,Alert,AsyncStorage | |
} from 'react-native' | |
import { Container, Header, Title, | |
Content, Footer, FooterTab, Button, Left, Right, Body, | |
Icon, Text,Item ,Input} from 'native-base'; | |
import Api from '../services/Api'; |
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 Reactotron, { | |
trackGlobalErrors, | |
openInEditor, | |
overlay, | |
asyncStorage, | |
networking | |
} from 'reactotron-react-native' | |
Reactotron | |
.configure({ |
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
store/index.js | |
const GET_DATA = 'GET_DATA' | |
const API_ERROR = 'API_ERROR' | |
const API_URL = 'http://hatajieblog.dev/api/v1/' | |
export const state = () => ({ | |
posts: [] | |
}) | |
export const actions = { |
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
public function scopeListMonth($query,$param) | |
{ | |
return $query->leftJoin("kecamatans","kecamatans.id","=","ktps.kecamatan_id") | |
->select(DB::raw("distinct (DATE_FORMAT(date_submission,'%M-%Y')) as date, | |
case status when 0 then 'Belum Jadi' else 'Sudah Jadi' end as status,name")) | |
->where("ktps.kecamatan_id","=",$param)->distinct()->paginate(10); | |
/* | |
manual query |
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
<form action="https://belajarmengajar.com/contact" method="post"> | |
<input class="c-input type-3" type="text" required="" name="model[name]" value="" placeholder="Nama lengkap"> | |
<div class="empty-space marg-lg-b20"></div> | |
<input class="c-input type-3" type="email" required="" name="model[email]" value="" placeholder="Email"> | |
<div class="empty-space marg-lg-b20"></div> | |
<input class="c-input type-3" type="text" required="" name="model[subject]" value="" placeholder="Topik"> |
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
<form method="post" action="https://belajarmengajar.com/dashboard/album/add" id="allcp-form" enctype="multipart/form-data"> | |
<input type="hidden" name="action" value="add"> | |
<div class="form-horizontal"> | |
<div class="row"> | |
<div class="col-sm-6 form-group"> | |
<label class="col-md-3 control-label"> | |
Album untuk <em class="required">*</em> | |
</label> |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using TelegramBotSharp; | |
using TelegramBotSharp.Types; | |
using MySql.Data.MySqlClient; |
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
set ANSI_NULLS ON | |
set QUOTED_IDENTIFIER ON | |
GO | |
-- ============================================= | |
-- Author: NULL | |
-- Create date: | |
-- Description: | |
-- ============================================= | |
ALTER PROCEDURE [dbo].[Report_OCA] | |
-- Add the parameters for the stored procedure here |
NewerOlder