Skip to content

Instantly share code, notes, and snippets.

View chi-putera's full-sized avatar

Chi chi-putera

View GitHub Profile
@chi-putera
chi-putera / vue.json
Last active March 27, 2025 14:03
Vscode Vue TS Snippet
{
"Vue TS Template": {
"prefix": "vts",
"body": [
"<template>",
" <div></div>",
"</template>\n",
"<script setup lang=\"ts\">",
"import { defineComponent } from 'vue'\n",
"interface Props {}\n",
@chi-putera
chi-putera / typescriptreact.json
Created January 20, 2022 05:16
Vscode React TS Snippet
{
"React FC + TS": {
"prefix": "rfts",
"body": [
"import React from 'react'\n",
"interface Props {",
" children: any",
" className?: string",
"}\n",
"const $1: React.FC<Props> = ({ children, className }) => (",
@chi-putera
chi-putera / menus-serial-numbering.js
Created April 25, 2018 20:26
ArrowFunxtion Challenge - Serial Numbering
let foods = [
{
'group': 'Minuman',
'items': ['Jus', 'Kopi', 'Teh',]
},
{
'group': 'Makanan',
'items': ['Gado', 'Nasi Goreng', 'Sate', 'Bakso']
},
{
@chi-putera
chi-putera / multiple_ssh_setting.md
Created March 27, 2017 07:28 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"