Skip to content

Instantly share code, notes, and snippets.

View GabrielGMarques's full-sized avatar

Gabriel Marques GabrielGMarques

View GitHub Profile
{"topic":"System Design","subtopics":{"1. Fundamentals & Principles":{"description":"Covers the foundational concepts and guiding principles that underpin all system design decisions, setting the stage for building robust and efficient systems. It defines the 'what' and 'why' before diving into the 'how'.","sub_subtopics":["Requirements Gathering & Analysis: Understanding user needs, functional, and non-functional system constraints 📝","Trade-offs in Design: Balancing competing concerns like cost, performance, complexity, and development time ⚖️","CAP Theorem: Understanding consistency, availability, and partition tolerance in distributed systems and their unavoidable trade-offs 🌐","ACID vs. BASE Properties: Database transaction models, defining atomicity, consistency, isolation, durability versus basic availability, soft state, eventual consistency 📚"]},"2. Scalability & Performance":{"description":"Focuses on designing systems that can handle increasing user loads and data volumes efficiently, while maintai
This file has been truncated, but you can view the full file.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt" lang="pt"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>24edef3c-2d8c-4e30-b3f1-15e0ad709455</title><style type="text/css"> * {margin:0; padding:0; text-indent:0; }
.s1 { color: #231F20; font-family:"Arial Narrow", sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 9.5pt; }
.s2 { color: #231F20; font-family:"Arial Black", sans-serif; font-style: normal; font-weight: normal; text-decoration: none; font-size: 25pt; }
h2 { color: #231F20; font-family:Arial, sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 25pt; }
.h4, h4 { color: #231F20; font-family:Arial, sans-serif; font-style: normal; font-weight: bold; text-decoration: none; font-size: 15pt; }
.s3 { color: #231F20; font-family:Arial, sans-serif; font-style: normal; font
[
{
"Latitude": -23523427,
"Longitude": -46384430,
"Endereco": "R. Dois",
"Numero": 6,
"Bairro": "Jardim Miriam",
"Cidade": "São Paulo",
"Uf": "SP"
},
import android.widget.RelativeLayout;
import android.view.ViewGroup;
public class Exemple{
public void setRelativeLayoutParms(){
RelativeLayout.LayoutParams p = new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT,
ViewGroup.LayoutParams.WRAP_CONTENT);
p.addRule(RelativeLayout.BELOW, R.id.below_id);
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<h:outputStylesheet library="css" name="style.css" />
package model.service;
import java.io.IOException;
import java.net.URLEncoder;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Latest compiled and minified CSS -->
package application.controllers;
import application.Main;
import javafx.fxml.FXML;
public class package application.controllers;
import application.Main;
import javafx.fxml.FXML;
package application.controllers;
import application.Main;
import javafx.fxml.FXML;
public class ControllerPag1 {
@FXML
public void initialize() {
}
package application;
import java.io.IOException;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;