Skip to content

Instantly share code, notes, and snippets.

View spmsupun's full-sized avatar
🏠
Working from home

Supun Praneeth spmsupun

🏠
Working from home
View GitHub Profile
@spmsupun
spmsupun / .eslintrc.json
Last active December 24, 2021 19:10
ESLint file for react with TypeScript and Airbnb guide
{
"extends": [
"airbnb",
"airbnb-typescript"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["jest"],
"rules":
@spmsupun
spmsupun / User.php
Last active February 22, 2020 16:13
SRP Violation
<?php
/**
* Class User
*/
class User
{
/**
* @return string
*/
@spmsupun
spmsupun / hacker-themed-error-page.markdown
Created July 5, 2018 12:25
Hacker themed error page
@spmsupun
spmsupun / git-tag-delete-local-and-remote.sh
Created February 27, 2018 15:57 — forked from mobilemind/git-tag-delete-local-and-remote.sh
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
@spmsupun
spmsupun / README-Template.md
Created February 27, 2018 10:17 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites