Skip to content

Instantly share code, notes, and snippets.

View prashanth1k's full-sized avatar
💭
Happy

Prashanth Krishnamurthy prashanth1k

💭
Happy
View GitHub Profile
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"alwaysShowTabs": true,
"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialCols": 120,
"initialRows": 30,
"keybindings": [
{
"command": "closeTab",
"keys": [
@prashanth1k
prashanth1k / country-codes.js
Last active May 18, 2020 16:04
Reference data (JS)
/***
* Country codes from https://www.iso.org/obp/ui/#search in Javascript-friendly format.
*
* Two formats:
* - simple JSON - useful for localisation
* - array
*
* Useful for lists, selects, etc.
*/
We couldn’t find that file to show.
@prashanth1k
prashanth1k / PayStripe.vue
Last active May 15, 2020 15:18
Quasar-Vue snippets
<!--
Created: 20201505 | Updated: 20201505
Description: (Incomplete)
Handle payments with Stripe - this dialog can be
called by the component/view displaying pricelist.
1. Create customer
2. Create payment intent with Stripe elements (uses vue-stripe-elements-plus)
@prashanth1k
prashanth1k / test.md
Created May 15, 2020 15:06
blah test

‎‎​

<h1>I am Groot</h1>
<br/>
<div>
<h2>I am Groot</h2>
</div>
var Card = (props) => {
return (
<div style={{margin:'1em'}}>
<img width='75' src={props.avatar_url}/>
<div style={{display:'inline-block', marginLeft:10}}>
<div style={{fontSize:'1.5em',fontWeight:'bold'}}> {props.name} </div>
<div> {props.company} </div>
</div>
</div>
);