Skip to content

Instantly share code, notes, and snippets.

View tiagoporto's full-sized avatar
🍺
Cheers!

Tiago Porto tiagoporto

🍺
Cheers!
View GitHub Profile
{
/* Visit https://aka.ms/tsconfig to read more about this file */
"compilerOptions": {
"plugins": [],
/* Projects */
// "incremental": true, // Save .tsbuildinfo files to allow for incremental compilation of projects.
// "composite": true, // Enable constraints that allow a TypeScript project to be used with project references.
// "tsBuildInfoFile": "./.tsbuildinfo", // Specify the path to .tsbuildinfo incremental compilation file.
// "disableSourceOfProjectReferenceRedirect": true, // Disable preferring source files instead of declaration files when referencing composite projects.
/* Reset by Dani Guerrato - www.popupdesign.com.br and H5bp.com */
* {
background: transparent !important;
color: #000 !important; /* Black prints faster: h5bp.com/s */
text-shadow: none !important;
filter: none !important;
-ms-filter: none !important;
}
body {
@tiagoporto
tiagoporto / _helpers.styl
Last active January 2, 2025 12:21
Sheet cheat
// *********** GOOD PRATICES ************** //
https://gist.github.com/declandewet/7220997
// User $ to prepended variables
$color = #FFF
// User - to prepended function
-function()
# Set git editor
# [core]
# editor = "code-insiders --wait"
# Rebase first commit
git rebase -i --root
# or from a specific commit
git rebase -i HEAD~10

Tags

create

git tag v1.0.0

push

git push origin --tags
@tiagoporto
tiagoporto / _helpers.sass
Last active January 2, 2025 12:23
Sheet Cheat
// ************* VARIABLE **************** //
$color: #FFF
// ******* ESCAPE CONCAT VAR ************ //
.test
background: url(#{$path + 'file.jpg'})
// ********** COLOR FUNCTIONS *********** //
@tiagoporto
tiagoporto / selectors_css.html
Last active August 29, 2015 13:58
Advanced CSS selectors
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Advanced CSS selectors</title>
<style>
/* Siblings Selector */
/* Seleciona todos os elementos após o elemento principal. */
/* Works in IE7+ */