Skip to content

Instantly share code, notes, and snippets.

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

Sandaru Fernando sandaruonline

🏠
Working from home
View GitHub Profile
@sandaruonline
sandaruonline / clone_remote_branch.md
Created May 6, 2019 22:30 — forked from ff6347/clone_remote_branch.md
clone remote branch with git
@sandaruonline
sandaruonline / README-Template.md
Created May 7, 2019 18:50 — 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

@sandaruonline
sandaruonline / Tutorial.md
Created July 2, 2019 15:26
A short discord.js tutorial with examples

Discord.js Tutorial - a short tutorial

After this tutorial you are able to code a cool bot with many commands and a level system.

Setup

Did you ever want to write your own bot but you think you are to bad for it or you don't have motivation? Stop thinking that way. Writing discord bots using discord.js is like, really, really, easy if you know some javascript basics.

In this tutorial we will use some ES6 and ES2017, which makes javascript more powerful. If you never heard of ES6/ES2017, i'll explain some stuff if i use it. Found a mistake? Just open an issue or fork and pull.

@sandaruonline
sandaruonline / markdown-text-101.md
Created September 15, 2019 18:02 — forked from matthewzring/markdown-text-101.md
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

Sweet Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__

// Discord all events!
// A quick and dirty fleshing out of the discord.js event listeners (not tested at all!)
// listed here -> https://discord.js.org/#/docs/main/stable/class/Client
// Learn from this, do not just copy it mofo!
//
// Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584
/*
koad-was-here

Discord

(Unofficial) Discord server rules suggestions list

Author's Note

I'll start off with letting you know this is a fork from someone else. However, for some bizarre reason, this is the one everyone finds, so I better get round to updating this. Credit to Cristiano#2233 for the original idea.

Also, I've had a lot of people saying the rules are to strict. If you pick all the rules here, you're right, it would be very strict. However the rules below are guidelines! They are there for you to pick the ones you desire, you can ignore ones you don't want. Hopefully they might help with rules you wouldn't have thought of otherwise.

@sandaruonline
sandaruonline / meta-tags.md
Created August 26, 2020 19:12 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@sandaruonline
sandaruonline / private_fork.md
Created July 23, 2021 01:23 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

Keybase proof

I hereby claim:

  • I am sandaruonline on github.
  • I am sandaru (https://keybase.io/sandaru) on keybase.
  • I have a public key ASDs_iWkoBPkG9SgBzPQZJokUoYLJd9_nYH18P7jAll_Nwo

To claim this, I am signing this object: