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
{ | |
"users": [ | |
{ | |
"email": "admin@admin.com", | |
"password": "$2a$10$M5BnnhfAetqcjs475.rlKOALrO//P6QI3IPjdddTQ8ZDHaXHPxZ4K", | |
"name": "admin", | |
"phone": "123123", | |
"id": 1 | |
} | |
], |
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
{ | |
"categories": [ | |
{ | |
"id": 1, | |
"name": "Java" | |
}, | |
{ | |
"id": 2, | |
"name": "Python" | |
}, |
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
# CopyRight Protested | |
# iex((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/danielschmitz/d242d3ed12e307c2421a8ae3e12c7672/raw/20f6bbdeae482f78198c2970e3985b262c88c88c/toolbox.dev')) | |
$ScriptBlock = { | |
$ErrorActionPreference = 'SilentlyContinue' | |
cls | |
Write-Host " | |
___________ __ __________ |
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
.p-0 { padding: 0px; } .p-3 { padding: 3px; } .p-5 { padding: 5px; } .p-10 { padding: 10px; } .p-15 { padding: 15px; } .p-20 { padding: 20px; } .p-25 { padding: 25px; } .p-30 { padding: 30px; } .p-35 { padding: 35px; } .p-40 { padding: 40px; } .p-45 { padding: 45px; } .p-50 { padding: 50px; } .pt-0 { padding-top: 0px; } .pt-3 { padding-top: 3px; } .pt-5 { padding-top: 5px; } .pt-10 { padding-top: 10px; } .pt-15 { padding-top: 15px; } .pt-20 { padding-top: 20px; } .pt-25 { padding-top: 25px; } .pt-30 { padding-top: 30px; } .pt-35 { padding-top: 35px; } .pt-40 { padding-top: 40px; } .pt-45 { padding-top: 45px; } .pt-50 { padding-top: 50px; } .pr-0 { padding-right: 0px; } .pr-3 { padding-right: 3px; } .pr-5 { padding-right: 5px; } .pr-10 { padding-right: 10px; } .pr-15 { padding-right: 15px; } .pr-20 { padding-right: 20px; } .pr-25 { padding-right: 25px; } .pr-30 { padding-right: 30px; } .pr-35 { padding-right: 35px; } .pr-40 { padding-right: 40px; } .pr-45 { padding-right: 45px; } .pr-50 { padding-right: 50px; |
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'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |
https://github.com/doggy8088/go-extension-pack#readme
- Go Snippets
- code skeleton
pkgm
: package main and main functionhelloweb
: sample hello world webapp
- code patterns
sort
: customsort.Sort
interface implementation
- function/method
func
:function
declaration
- code skeleton
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="card"> | |
<header class="card-header"> | |
<p class="card-header-title">Suppliers</p> | |
</header> | |
<div class="card-content"> | |
<table class="table is-striped is-fullwidth is-hoverable"> | |
<thead> | |
<tr> | |
<th>Id</th> |
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> | |
<form-box title="Hello Form Box" message="A help message" v-on:save="onSave" @clear="onClear"> | |
<b-field label="Name"> | |
<b-input v-model="name"></b-input> | |
</b-field> | |
<b-field label="Email"> | |
<b-input v-model="email"></b-input> | |
</b-field> | |
</form-box> |
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'; | |
export default function App() { | |
/** | |
* States | |
*/ | |
const [_foo, setFoo] = useState([]); | |
/** |
NewerOlder