esxcli network firewall ruleset set -e true -r httpClient
vim-cmd /hostsvc/maintenance_mode_enter
# esxi 6
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20200604001-standard
# esxi 7.u2
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-7.0U2a-17867351-standard
vim-cmd /hostsvc/maintenance_mode_exit
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
// | |
// pilha.c | |
// | |
// Created by Nilson Lopes on 01/07/14. | |
// Copyright (c) 2014 Nilson Lopes. All rights reserved. | |
// | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define TRUE 1 | |
#define FALSE 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
#EXTM3U | |
#EXTINF:0,Rádio Cidade | |
http://radios.vpn.sapo.pt/CV/radio1.mp3 | |
#EXTINF:0,Rádio Morabeza | |
http://radios.vpn.sapo.pt/CV/radio3.mp3 | |
#EXTINF:0,PraiaFm | |
http://radios.vpn.sapo.pt/CV/radio4.mp3 |
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
Router > enable | |
Router# configure terminal | |
Router(config)# hostname R1 | |
Router(config)# username admin secret cisco | |
Router(config)# enable secret cisco | |
R1(config)# ip domain-name localhost.local | |
R1(config)# crypto key generate rsa | |
R1(config)# ip ssh version 2 | |
R1(config)# line vty 0 4 | |
R1(config-line)# transport input ssh |
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
On the router (R1) connected to NAT device: | |
R1(config)#access-list 10 permit any | |
R1(config)#ip nat inside source list 10 interface FastEthernet 1/0 overload | |
R1(config)#interface FastEthernet1/0 | |
R1(config-if)#description "Connected to NAT" | |
R1(config-if)#ip nat outside | |
R1(config)#interface FastEthernet0/0 | |
R1(config-if)#description "Connected to LAN" | |
R1(config-if)#ip nat inside | |
R1(config)#interface FastEthernet0/1 |
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 requests | |
from bs4 import BeautifulSoup | |
# We've now imported the two packages that will do the heavy lifting | |
# for us, reqeusts and BeautifulSoup | |
# Let's put the URL of the page we want to scrape in a variable | |
# so that our code down below can be a little cleaner | |
url_to_scrape = 'http://apps2.polkcountyiowa.gov/inmatesontheweb/' |
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
#_preseed_V1 | |
## <owner> <question name> <question type> <value> | |
## Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/language string en | |
d-i debian-installer/country string US | |
d-i debian-installer/locale string en_US.UTF-8 | |
## Clock and Timezone | |
d-i clock-setup/utc boolean true |
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 freeipmi-tools \ | |
ipmitool \ | |
smartmontools \ | |
lm-sensors \ | |
tree \ | |
hddtemp \ | |
wmctrl \ | |
lsscsi | |
sudo inxi --memory \ |
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 python3 | |
import json | |
import warnings | |
from collections import namedtuple | |
import requests | |
import os | |
warnings.filterwarnings("ignore") | |
URL = { |
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
insmod tga | |
insmod png | |
insmod gfxterm | |
insmod lspci | |
insmod vbe | |
insmod ntfs | |
insmod chain | |
insmod biosdisk | |
insmod font | |
#GRUB_HIDDEN_TIMEOUT=10 #0 par defaut |
OlderNewer