Skip to content

Instantly share code, notes, and snippets.

View folarinmartins's full-sized avatar

Martins Folarin folarinmartins

View GitHub Profile
@folarinmartins
folarinmartins / tmux-cheatsheet.markdown
Created October 29, 2021 15:19 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@folarinmartins
folarinmartins / tmux.md
Created October 28, 2021 13:24 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@folarinmartins
folarinmartins / Kotlin.kt
Created October 16, 2021 12:20
Snippets: Introduction to Kotlin
open class Person(var name:String, var age:Int){
open fun appelation():String{
return "Yo!"
}
override fun toString():String{
return "${this.appelation()} $name"
}
@folarinmartins
folarinmartins / Person.java
Last active October 16, 2021 09:07
Snippets: Curry-style Lambda Initialization
public class Person {
String name;
int age;
private Person(String name, int age) {
this.name = name;
this.age = age;
}
static PersonWaitingForName create() {
@folarinmartins
folarinmartins / PY0101EN-5.3_Requests_HTTP.ipynb
Created January 2, 2021 21:55
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@folarinmartins
folarinmartins / 3-1.2ExcecptionHandling.ipynb
Created January 2, 2021 21:54
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@folarinmartins
folarinmartins / PY0101EN-5.2_API_2.ipynb
Created January 2, 2021 21:37
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@folarinmartins
folarinmartins / PY0101EN-5.1_Intro_API.ipynb
Created January 2, 2021 21:17
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@folarinmartins
folarinmartins / PY0101EN-3-2-Loops.ipynb
Created January 2, 2021 19:06
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@folarinmartins
folarinmartins / PY0101EN-3-1-Conditions.ipynb
Created January 2, 2021 19:05
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.