Skip to content

Instantly share code, notes, and snippets.

View jacksonn455's full-sized avatar
🎓
Computer scientist

Jackson Felipe Magnabosco jacksonn455

🎓
Computer scientist
View GitHub Profile
@Tamal
Tamal / git-ssh-error-fix.sh
Last active May 23, 2024 12:39
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
@NilsBacke
NilsBacke / alert_dialog_example.dart
Created June 24, 2018 23:50
An example of an alert dialog in flutter.
// user defined function
void _showDialog() {
// flutter defined function
showDialog(
context: context,
builder: (BuildContext context) {
// return object of type Dialog
return AlertDialog(
title: new Text("Alert Dialog title"),
content: new Text("Alert Dialog body"),