Skip to content

Instantly share code, notes, and snippets.

View kapillamba4's full-sized avatar

Kapil Lamba kapillamba4

View GitHub Profile
@kapillamba4
kapillamba4 / mariadb_basics.md
Created January 12, 2018 21:16 — forked from Garbee/mariadb_basics.md
MariaDB basics

Create Database

CREATE DATABASE {table name};

Create User

CREATE USER '{user name}'@'localhost' IDENTIFIED BY '{pass}';
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef long double LD;
#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
#define sortAndUnique(a) sort((a).begin(), a.end()), (a).erase(unique((a).begin(), (a).end()),(a).end())
double tick() {
static clock_t oldticks;
clock_t newticks = clock();
@kapillamba4
kapillamba4 / pacman.md
Created November 15, 2017 07:57
ArchLinux Pacman Cheatsheet

Update package list

sudo pacman -Syy

Update and upgrade all

sudo pacman -Syu

Install specific package

sudo pacman -S pkgname

Find available packages

@kapillamba4
kapillamba4 / gist:ccc322c0fcd93eb6c4a55e014cbe79c8
Created October 10, 2017 10:03 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: