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
#include <iostream> | |
#include <vector> | |
#include <cmath> | |
int main() | |
{ | |
int n = 0; | |
std::cout << "Determine um valor limite para saber os numeros primos entre 2 e este numero: "; | |
std::cin >> n; | |
int max_check = std::sqrt(n); |
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
version: '3' | |
services: | |
postgres: | |
image: postgres:alpine | |
restart: unless-stopped | |
ports: | |
- 5432:5432 | |
environment: | |
- POSTGRES_PASSWORD=secret | |
- POSTGRES_USER=postgres |
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
# # # # # # # # # # # # # # # # # # # # # # # # # | |
# *YOU'LL NEED THE FOLLOWING FOLDER STRUCTURE* # | |
# ./ # | |
# ├── docker-compose.yml # | |
# └── emby-data/ # | |
# ├── config/ # | |
# ├── tvshows/ # | |
# ├── movies/ # | |
# └── transcoding/ # | |
# # # # # # # # # # # # # # # # # # # # # # # # # |
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
version: '3' | |
services: | |
netdata: | |
image: netdata/netdata | |
hostname: example.com # set to fqdn of host | |
ports: | |
- 19999:19999 | |
cap_add: | |
- SYS_PTRACE | |
security_opt: |
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
# # # # # # # # # # # # # # # # # # # # # # # # # | |
# *YOU'LL NEED THE FOLLOWING FOLDER STRUCTURE* # | |
# ./ # | |
# ├── docker-compose.yml # | |
# └── zabbix/ # | |
# └── alertscripts/ # | |
# # # # # # # # # # # # # # # # # # # # # # # # # | |
version: '3.1' | |
services: |
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
# # # # # # # # # # # # # # # # # # # # # # # # # | |
# !!!*FOLDER STRUCTURE*!!! # | |
# ./ # | |
# ├── docker-compose.yml # | |
# ├── phabricator-config/ # | |
# ├── phabricator-repo/ # | |
# └── db-data/ # | |
# !!!*COMMANDS*!!! # | |
# $ docker-compose up -d # | |
# $ docker-compose exec phabricator /bin/bash # |
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
$layout=Read-Host -Prompt "Which layout? (D for DVORAK, Q for QWERTY)" | |
if ($layout -eq "D") | |
{ | |
$1 = Get-WinUserLanguageList | |
$1[0].InputMethodTips[0]="0409:00010409" | |
Set-WinUserLanguageList -LanguageList $1 -Force | |
Write-Host "Setting to DVORAK" | |
} | |
elseif ($layout -eq "Q") |
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
version: '3' | |
services: | |
mediawiki: | |
image: mediawiki | |
restart: unless-stopped | |
ports: | |
- 80:80 | |
networks: | |
- wikinet |
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 | |
# ██░ ██ ▒█████ ██▀███ █ ██ ██████ | |
# ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒ | |
# ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄ | |
# ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒ | |
# ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒ | |
# ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░ | |
# ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░ | |
# ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░ |
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/sh | |
########################### | |
# Time Zone Selection # | |
# Dependencies: # | |
# - dialog # | |
# Folder Structure: # | |
# ├── TZ # | |
# │ ├── America # | |
# │ ├── Europe # |
OlderNewer