Skip to content

Instantly share code, notes, and snippets.

@juniorkrvl
juniorkrvl / 0 - Grind 75 - Week 1.md
Last active September 27, 2022 15:27
Grind 75 - Week 1
@juniorkrvl
juniorkrvl / docker-compose-samba.yml
Created January 15, 2022 22:22 — forked from atanasyanew/docker-compose-samba.yml
Raspberry Pi docker compose Samba NAS
version: '3.4'
services:
samba:
image: dperson/samba:armhf
container_name: samba
environment:
TZ: Europe/Sofia
USERID: 1000
GROUPID: 1000

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@juniorkrvl
juniorkrvl / README.md
Created February 10, 2017 02:04 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

For more about AWS and AWS Certifications you can follow me @leonardofed


@juniorkrvl
juniorkrvl / launch.json
Last active June 17, 2016 16:45
Python Lauch and Tasks JSON files
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"program": "${file}",
"args": [""],
@juniorkrvl
juniorkrvl / UnitOfWork.cs
Last active June 16, 2016 17:34
Generic unif of work class based on DbConnection class
using BTFIT.AutoTraining.Repository.Dapper.Base;
using StackExchange.Profiling;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;