This file contains hidden or 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
| #!/usr/bin/env bash | |
| ################## | |
| #TERM=xterm-256color | |
| #export TERM=$TERM | |
| QUAD="$HOME/.config/containers/systemd/" | |
| export QUAD="$QUAD" | |
| # NFS |
This file contains hidden or 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
| set -g terminal-overrides ',xterm*:smcup@:rmcup@' | |
| set -g window-size latest | |
| set -g aggressive-resize on | |
| set -g prefix C-a | |
| unbind C-b | |
| bind C-a send-prefix | |
| bind-key -n M-o split-window -h -c "#{pane_current_path}" | |
| bind-key -n M-e split-window -v -c "#{pane_current_path}" | |
| set -g mouse on | |
| set -g base-index 0 |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "github.com/cilium/ebpf" | |
| "github.com/cilium/ebpf/asm" | |
| "github.com/cilium/ebpf/rlimit" |
This file contains hidden or 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 | |
| IMAGE=$1 | |
| CNAME=$2 | |
| PORT=$3 | |
| function buildTraefik { | |
| cat << EOF > ~/up.sh | |
| #!/bin/bash | |
| docker image rm ${IMAGE} |
This file contains hidden or 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
| LANGUAGE=en_US.utf8 | |
| LC_ALL=en_US.utf8 | |
| LANGUAGE=en_US.UTF-8 | |
| LC_ALL=en_US.UTF-8 | |
| LC_TIME=en_US.UTF-8 | |
| LC_MONETARY=en_US.UTF-8 | |
| LC_CTYPE=en_US.UTF-8 | |
| LC_ADDRESS=en_US.UTF-8 | |
| LC_TELEPHONE=en_US.UTF-8 | |
| LC_NAME=en_US.UTF-8 |
This file contains hidden or 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
| { | |
| "emptyTable": "Nenhum registro encontrado", | |
| "info": "Mostrando de _START_ até _END_ de _TOTAL_ registros", | |
| "infoFiltered": "(Filtrados de _MAX_ registros)", | |
| "infoThousands": ".", | |
| "loadingRecords": "Carregando...", | |
| "zeroRecords": "Nenhum registro encontrado", | |
| "search": "Pesquisar", | |
| "paginate": { | |
| "next": "Próximo", |
This file contains hidden or 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
| version: '3' | |
| services: | |
| traefik: | |
| restart: unless-stopped | |
| image: traefik:v2.0.2 | |
| ports: | |
| - "80:80" | |
| - "443:443" | |
| labels: | |
| - "traefik.http.services.traefik.loadbalancer.server.port=8080" |
This file contains hidden or 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
| dart pub global activate fvm | |
| fvm install <version> 2.8.1 | |
| fvm list | |
| fvm use <version> --force |
This file contains hidden or 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
| import {AfterViewInit, Component, OnDestroy, OnInit, ViewChild} from '@angular/core'; | |
| import {ActivatedRoute, Router} from '@angular/router'; | |
| import {FuncsHelperService} from '../_core/_services/funcs-helper.service'; | |
| import {AuthenticationService} from '../_core/_services/authentication.service'; | |
| import {PostsService} from '../_core/_services/posts.service'; | |
| import {PostsModel} from '../_core/_models/posts.model'; | |
| import {ImagesModel} from '../_core/_models/images.model'; | |
| import {IonInfiniteScroll, IonSlides} from '@ionic/angular'; | |
| import {SeeLaterService} from '../_core/_services/see-later.service'; | |
| import {UsersService} from '../_core/_services/users.service'; |
This file contains hidden or 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
| sudo apt install mysql-server -y | |
| select * from mysql.user; | |
| select host, user, password from mysql.user; | |
| CREATE USER 'tiburcio'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; | |
| ALTER USER 'tiburcio'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'tiburcio'; | |
| GRANT ALL PRIVILEGES ON *.* TO 'tiburcio'@'localhost' WITH GRANT OPTION; | |
| CREATE SCHEMA IF NOT EXISTS `sistema` DEFAULT CHARACTER SET utf8mb4 ; |
NewerOlder