Skip to content

Instantly share code, notes, and snippets.

View perisicnikola37's full-sized avatar
🚀

Nikola Perišić perisicnikola37

🚀
View GitHub Profile
@perisicnikola37
perisicnikola37 / vs_code_terminal_customization
Last active January 1, 2023 12:48
Copy this to your settings.json file
"workbench.colorCustomizations": {
"terminal.foreground":"#fff",
"terminal.ansiCyan":"#0080ff",
"terminal.ansiGreen":"#1ec92f",
"terminal.ansiMagenta":"#fff",
"terminal.ansiYellow":"#03cdff",
}
@perisicnikola37
perisicnikola37 / vs_code_vue_snippets
Last active January 18, 2023 14:42
Copy this to your vue.json file
{
"Vue Component": {
"prefix": "temp",
"body": [
"<template>",
"${1}",
"</template>",
"",
"<script>",
"",
@perisicnikola37
perisicnikola37 / vs_code_js_snippets
Last active January 18, 2023 14:42
Copy this to your javascript.json file
{
"JS props": {
"prefix": "props",
"body": [
"props: {",
" ${1}",
"},",
],
"description": "Generates a JS props"
},
@perisicnikola37
perisicnikola37 / vs_code_html_snippets
Created January 1, 2023 12:50
Copy this to your html.json file
{
"Unordered List with List Items": {
"prefix": "ull",
"body": [
"<ul>",
"\t<li><a>${1}</a></li>",
"\t<li><a></a></li>",
"\t<li><a></a></li>",
"</ul>"
],
@perisicnikola37
perisicnikola37 / vs_code_php_snippets
Last active January 18, 2023 14:41
Copy this to your php.json file
{
"Generate public function": {
"prefix": "func || fun",
"body": [
" public function ${1}()",
" {",
"",
" }",
],
},
# PHP Artisan
alias pa='php artisan'
alias op='php artisan optimize && clear'
alias mig='php artisan migrate && clear'
alias migg='php artisan migrate:fresh && clear'
alias tinker='php artisan tinker'
alias list='php artisan route:list'
alias link='php artisan storage:link && clear'
alias req='php artisan make:request'
alias midd='php artisan make:middleware'
@perisicnikola37
perisicnikola37 / validation.php -> chinese
Created January 4, 2023 23:34
Laravel validation.php -> zh
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
{
"Unordered List with List Items": {
"prefix": "ull",
"body": [
"<ul>",
"\t<li><a>${1}</a></li>",
"\t<li><a></a></li>",
"\t<li><a></a></li>",
"</ul>"
],
@perisicnikola37
perisicnikola37 / vs_code_react_snippets
Last active July 30, 2023 18:28
vs_code_react_snippets
{
"JSX boilerplate": {
"prefix": "jsx",
"body": [
"import './App.css';",
"",
"function ${1:ComponentName}() {",
" return (",
" <div>",
" $2",