A simple demo of using Nginx as a reverse proxy to add basic authentication.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bloat=() | |
bloat+=("com.tcl.partnercustomizer") | |
bloat+=("com.tcl.smartalexa") # Alexa integration for tv controls | |
bloat+=("com.tcl.gallery") # Gallery app | |
bloat+=("com.tcl.notereminder") # Notes and reminders app | |
bloat+=("com.google.android.videos") # Google Play Movies and TV (Doesn't get rid of homescreen recommendations) | |
bloat+=("com.google.android.play.games") # Google Play Games |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ABOUT | |
* | |
* This is a Twitter NO-API/Dependency-Free follower sniffer and auto-blocker. | |
* | |
* This function performs automatic bulk blocking with NO-API | |
* and NO-external-dependencies to run. You must run this snippet | |
* directly on your Console, it will sniff your followers list | |
* search for previous given keywords, if found on username or description, | |
* the user will be automatically blocked. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const options = { year: "numeric", month: "long", day: "numeric" }; | |
const date = new Date(2020, 11, 31) // 2020-12-31T03:00:00.000Z | |
console.log(date.toLocaleDateString("pt-br", options)) | |
// 31 de dezembro de 2020 | |
console.log(date.toLocaleDateString("pt-br", { ...options, month: 'numeric'})) | |
// 31/12/2020 | |
const regex = /^([0-9]{4})[-](0[1-9]|1[0-2])[-](0[0-9]|1[0-9]|2[0-9]|3[0-1])/gm | |
const dateRx = new Date(2020, 11, 31) // 2020-12-31T03:00:00.000Z |
tips to evolve as a developer
developers get stuck, paralized
https://www.oreilly.com/library/view/apprenticeship-patterns/9780596806842/ch04.html
Make It Stick https://www.amazon.com.br/Make-Stick-Science-Successful-Learning/dp/0674729013
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "aws" { | |
version = "~> 2.0" | |
region = "eu-west-2" | |
} | |
# Providing a reference to our default VPC | |
resource "aws_default_vpc" "default_vpc" { | |
} | |
# Providing a reference to our default subnets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema-preview", | |
// "$schema": "https://raw.githubusercontent.com/microsoft/terminal/main/doc/cascadia/profiles.schema.json", // canary | |
// "$schema": "https://aka.ms/terminal-profiles-schema-preview", // preview | |
// "$schema": "https://aka.ms/terminal-profiles-schema", // stable | |
"actions": | |
[ | |
{ | |
"command": |
NewerOlder