Skip to content

Instantly share code, notes, and snippets.

View arifikhsan's full-sized avatar
🏡
Cool and Focusing

Arif Ikhsanudin arifikhsan

🏡
Cool and Focusing
View GitHub Profile
@arifikhsan
arifikhsan / application.properties
Created March 8, 2022 12:45
spring boot config properties postgresql
spring.datasource.url=jdbc:postgresql://localhost:5432/database_name
spring.datasource.username=udin
spring.datasource.password=udin
spring.jpa.hibernate.ddl-auto=create
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql=true
server.error.include-message=always
import React, { useEffect, useState } from 'react';
import Button from '@material-ui/core/Button';
import Dialog from '@material-ui/core/Dialog';
import DialogActions from '@material-ui/core/DialogActions';
import DialogContent from '@material-ui/core/DialogContent';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogTitle from '@material-ui/core/DialogTitle';
import Verify from './user/Verify';
function MessageVerifyDialog({ messageData, onClose, onSuccess }) {
import React, { useState } from "react";
import Typography from "@material-ui/core/Typography";
import Button from "@material-ui/core/Button";
import Container from "@material-ui/core/Container";
import Grid from "@material-ui/core/Grid";
import Paper from "@material-ui/core/Paper";
import { makeStyles } from "@material-ui/core/styles";
import Avatar from "@material-ui/core/Avatar";
import EditIcon from "@material-ui/icons/Edit";
import IconButton from "@material-ui/core/IconButton";
@arifikhsan
arifikhsan / dart.json
Last active June 13, 2020 10:01
my vscode settings
{
// Place your snippets for dart here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@arifikhsan
arifikhsan / main.yml
Last active May 17, 2020 17:01
flutter github actions build, artifact
name: Build, artifact
on: push
jobs:
build:
name: Build on macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
@arifikhsan
arifikhsan / main.yml
Created May 12, 2020 13:20
flutter github workflow build, test, artifact
name: Build, test, artifact
on: push
jobs:
build:
name: Build on macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
@arifikhsan
arifikhsan / dart.json
Last active March 22, 2023 09:54
snippet from resocoder
{
"Part statement": {
"prefix": "pts",
"body": [
"part '${TM_FILENAME_BASE}.g.dart';",
],
"description": "Creates a filled-in part statement"
},
"Part 'Freezed' statement": {
"prefix": "ptf",
@import './tailwind.css'
@tailwind base;
@tailwind components;
@tailwind utilities;
import Vue from 'vue'
import App from './App.vue'
import '@/assets/stylesheets/main.css'
Vue.config.productionTip = false
new Vue({
render: h => h(App),
}).$mount('#app')