Skip to content

Instantly share code, notes, and snippets.

View leni1's full-sized avatar
💭
☺️ Happy 🤓

Leni leni1

💭
☺️ Happy 🤓
View GitHub Profile
@bradtraversy
bradtraversy / rethinkdb_cheat_sheet.MD
Last active January 30, 2026 06:21
RethinkDB Query Cheat Sheet

RethinkDB Cheat Sheet

Create database

r.dbCreate('mydb')

List databases

@Tamal
Tamal / git-ssh-error-fix.sh
Last active May 18, 2026 13:34
Solution for 'ssh: connect to host github.com port 22: Connection timed out' error
$ git clone git@github.com:xxxxx/xxxx.git my-awesome-proj
Cloning into 'my-awesome-proj'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
$ # This should also timeout
$ ssh -T git@github.com
ssh: connect to host github.com port 22: Connection timed out
$ # but this might work
@LayZeeDK
LayZeeDK / angular-cli-node-js-typescript-rxjs-compatiblity-matrix.csv
Last active May 11, 2026 13:07
Angular CLI, Angular, Node.js, TypeScript, and RxJS version compatibility matrix. Officially part of the Angular documentation as of 2023-04-19 https://angular.dev/reference/versions
Angular CLI version Angular version Node.js version TypeScript version RxJS version
~16.0.0 ~16.0.0 ^16.13.0 || ^18.10.0 >=4.9.5 <5.1.0 ^6.5.5 || ^7.4.0
~15.2.0 ~15.2.0 ^14.20.0 || ^16.13.0 || ^18.10.0 >=4.8.4 <5.0.0 ^6.5.5 || ^7.4.0
~15.1.0 ~15.1.0 ^14.20.0 || ^16.13.0 || ^18.10.0 >=4.8.4 <5.0.0 ^6.5.5 || ^7.4.0
~15.0.5 ~15.0.4 ^14.20.0 || ^16.13.0 || ^18.10.0 ~4.8.4 ^6.5.5 || ^7.4.0
~14.3.0 ~14.3.0 ^14.15.0 || ^16.10.0 >=4.6.4 <4.9.0 ^6.5.5 || ^7.4.0
~14.2.0 ~14.2.0 ^14.15.0 || ^16.10.0 >=4.6.4 <4.9.0 ^6.5.5 || ^7.4.0
~14.1.3 ~14.1.3 ^14.15.0 || ^16.10.0 >=4.6.4 <4.8.0 ^6.5.5 || ^7.4.0
~14.0.7 ~14.0.7 ^14.15.0 || ^16.10.0 >=4.6.4 <4.8.0 ^6.5.5 || ^7.4.0
~13.3.0 ~13.3.0 ^12.20.2 || ^14.15.0 || ^16.10.0 >=4.4.4 <4.7.0 ^6.5.5 || ^7.4.0
@iMerica
iMerica / docker-compose.yml
Last active May 28, 2021 18:36
Gitlab Docker Runners
version: '2'
services:
dind:
restart: always
privileged: true
volumes:
- /var/lib/docker
image: docker:18.06.0-ce-dind
command:
- --storage-driver=overlay2
@MauricioMoraes
MauricioMoraes / access_postgresql_with_docker.md
Last active September 29, 2025 15:14
Allow Docker Container Access to Host's Postgres Database on linux (ubuntu)

You have to do 2 things in order to allow your container to access your host's postgresql database

  1. Make your postgresql listen to an external ip address
  2. Let this client ip (your docker container) access your postgresql database with a given user

Obs: By "Host" here I mean "the server where docker is running on".

Make your postgresql listen to an external ip address

Find your postgresql.conf (in case you don't know where it is)

$ sudo find / -type f -name postgresql.conf

In the cp-readiness repo created in git and version control, create a branch called NODE. Use this branch for the exercise below.
Create a simple Node/Express web app as described in the article below https://stormpath.com/blog/build-nodejs-express-stormpath-app
@ann-mukundi
ann-mukundi / Intro to react
Last active May 28, 2021 18:36
CP-readiness: React
In the cp-readiness repo created in git and version control practice, create a branch called REACT. Use this branch for the exercise below.
Create a simple to-do list application as described in the following article https://medium.com/@aghh1504/1-simple-react-todo-list-52186b62976b
@jsheridanwells
jsheridanwells / notes_part1.md
Last active June 26, 2024 13:13
Rails ToDo API w/ RSpec TDD

Build a RESTful JSON API w/ Rails and RSpec PART ONE

From this tutorial.

Dependency Setup

Gemfile.rb:

  1. Rspec-rails to development and test groups
group :development, :test do
  gem 'rspec-rails', '~> 3.5'
@shubheksha
shubheksha / brackets-pair-colorizer.md
Last active July 8, 2025 16:12
A list of extensions/plugins that highlight matching parens/braces for various editors/IDEs.
@xahare
xahare / Docker-on-qubes.md
Last active March 5, 2026 22:39
How to run docker on Qubes-OS