Skip to content

Instantly share code, notes, and snippets.

View pfernandom's full-sized avatar

Pedro F Marquez pfernandom

View GitHub Profile
PassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked
1 0 3 Braund, Mr. Owen Harris male 22 1 0 A/5 21171 7.25 S
2 1 1 Cumings, Mrs. John Bradley (Florence Briggs Thayer) female 38 1 0 PC 17599 71.2833 C85 C
3 1 3 Heikkinen, Miss. Laina female 26 0 0 STON/O2. 3101282 7.925 S
4 1 1 Futrelle, Mrs. Jacques Heath (Lily May Peel) female 35 1 0 113803 53.1 C123 S
5 0 3 Allen, Mr. William Henry male 35 0 0 373450 8.05 S
6 0 3 Moran, Mr. James male 0 0 330877 8.4583 Q
7 0 1 McCarthy, Mr. Timothy J male 54 0 0 17463 51.8625 E46 S
8 0 3 Palsson, Master. Gosta Leonard male 2 3 1 349909 21.075 S
9 1 3 Johnson, Mrs. Oscar W (Elisabeth Vilhelmina Berg) female 27 0 2 347742 11.1333 S
Element Markdown Syntax Example
Heading # H1
## H2
### H3
H1
H2
H3
Bold **bold text** bold text
Italic *italicized text* italicized text
Blockquote > blockquote (Adds a quote container)
Ordered List 1. First item
2. Second item
3. Third item
1. First item
2. Second item
3. Third item
Unordered List - First item
- Second item
- Third item
- First item
- Second item
- Third item
Code `code` code
Horizon
@pfernandom
pfernandom / blog-gist-2022-7-flutter-app-state-0.dart
Created July 19, 2022 05:55
I created this gist using Octokit!
import 'package:flutter/material.dart';
class Update {
Update({required this.description});
String description;
}
class MyStatefulWidget extends StatefulWidget {
@override
@pfernandom
pfernandom / blog-gist-2022-7-component-wonder-0.js
Created July 19, 2022 05:55
I created this gist using Octokit!
class Welcome extends React.Component {
render() {
return <h1>Hello, {this.props.name}</h1>;
}
}
@pfernandom
pfernandom / blog-gist-2020-7-flutter-app-state-0.dart
Created July 19, 2022 04:17
I created this gist using Octokit!
import 'package:flutter/material.dart';
class Update {
Update({required this.description});
String description;
}
class MyStatefulWidget extends StatefulWidget {
@override
@pfernandom
pfernandom / blog-gist-2020-7-flutter-app-state-0.dart
Created July 19, 2022 04:17
I created this gist using Octokit!
import 'package:flutter/material.dart';
class Update {
Update({required this.description});
String description;
}
class MyStatefulWidget extends StatefulWidget {
@override
@pfernandom
pfernandom / blog-gist-2020-7-flutter-app-state-0.dart
Created July 19, 2022 04:16
I created this gist using Octokit!
import 'package:flutter/material.dart';
class Update {
Update({required this.description});
String description;
}
class MyStatefulWidget extends StatefulWidget {
@override
@pfernandom
pfernandom / blog-gist-2020-7-component-wonder-0.js
Created July 19, 2022 04:15
I created this gist using Octokit!
class Welcome extends React.Component {
render() {
return <h1>Hello, {this.props.name}</h1>;
}
}
@pfernandom
pfernandom / blog-gist-2019-7-array-fill-0.js
Created July 19, 2022 04:15
I created this gist using Octokit!
// Initialize a 3x4 matrix with "false" values.
const matrix = Array(3).fill(Array(4).fill(false));
// some stringify to capture the actual values at this point of the execution
console.log(JSON.stringify(matrix));
// set middle value to true
matrix[1][1] = true;
console.log(JSON.stringify(matrix));
@pfernandom
pfernandom / blog-gist-2020-7-flutter-app-state-0.dart
Created July 19, 2022 04:15
I created this gist using Octokit!
import 'package:flutter/material.dart';
class Update {
Update({required this.description});
String description;
}
class MyStatefulWidget extends StatefulWidget {
@override