$ uname -r
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/sh | |
| # Flush out the list before we begin. | |
| ipfw -q -f flush | |
| # Set rules command prefix | |
| cmd="ipfw -q add" | |
| pif="vtnet0" # interface name of NIC attached to Internet | |
| $cmd 00005 allow all from any to any via vtnet0 |
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
| setopt prompt_subst | |
| autoload -U add-zsh-hook | |
| function() { | |
| local namespace separator modified_time_fmt | |
| # Specify the separator between context and namespace | |
| zstyle -s ':zsh-kubectl-prompt:' separator separator | |
| if [[ -z "$separator" ]]; then | |
| zstyle ':zsh-kubectl-prompt:' separator '/' |
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
| <domain type='kvm'> | |
| <name>win11-real</name> | |
| <uuid>45768371-b871-4937-b7c2-60ed835011de</uuid> | |
| <metadata> | |
| <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
| <libosinfo:os id="http://microsoft.com/win/10"/> | |
| </libosinfo:libosinfo> | |
| </metadata> | |
| <memory unit='KiB'>33554432</memory> | |
| <currentMemory unit='KiB'>33554432</currentMemory> |
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 | |
| archiveLocation=/backups | |
| archiveTempPath=/backups/tmp_backup | |
| archiveName=$(date '+%d-%m-%Y_%H:%M'); | |
| archiveFullName=$archiveName.tar.gz | |
| archivePath=$archiveLocation/$archiveFullName | |
| deleteLocalArchive=false | |
| backupPath=/var/www | |
| backupToRemoteServer=false |
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
| ####### installation of self-signed certificate into CentOS7 (RHEL) ####### | |
| mkdir -p /etc/pki/ca-trust/source/anchors | |
| cp /path/to/self_signed_cert.crt /etc/pki/ca-trust/source/anchors/self_signed_cert.crt | |
| chmod +x /etc/pki/ca-trust/source/anchors/self_signed_cert.crt | |
| sudo update-ca-trust | |
| ####### installation of self-signed certificate into Ubuntu (Debian) ####### | |
| mkdir -p /usr/local/share/ca-certificates/ | |
| cp /path/to/self_signed_cert.crt /usr/local/share/ca-certificates/self_signed_cert.crt | |
| chmod +x /usr/local/share/ca-certificates/self_signed_cert.crt |
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 | |
| # ---------------------------------- | |
| # DEFINED - Global variables | |
| # ---------------------------------- | |
| # defined temporary folder | |
| DBBACKUP="dbbackup" | |
| # database configure |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <locale.h> | |
| int main ( ){ | |
| int i, j, linha, coluna, contador; | |
| char matriz[3][3]; | |
| setlocale(LC_ALL,""); /*Acentuação*/ | |
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
| .screen-custom { | |
| } | |
| .text-custom { | |
| position: relative; | |
| } | |
| .text-custom span:not(:empty) { | |
| background-color: rgba(67, 50, 42, 0.7); | |
| display: grid; |
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
| # as zimbra user | |
| $ zmprov -l gaa |grep -v admin-domain.com >/tmp/accounts.zmp | |
| $ zmprov -l gad |grep -v admin-domain.com >/tmp/domains.zmp |