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
# Elasticsearch optimization | |
vm.max_map_count=262144 | |
# Redis optimization | |
vm.overcommit_memory=1 | |
net.core.somaxconn=65535 | |
# Have a larger connection range available | |
net.ipv4.ip_local_port_range=1024 65000 |
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
parted ->> | |
>>resizepart 3 | |
902 pvdisplay | |
903 echo 1 > /sys/block/sda/device/rescan | |
904 lsblk | |
905 history | |
906 lvextend -l +100%FREE /dev/centos_s03/root | |
907 lsblk | |
908 pvresize /dev/sda3 |
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
cscript //nologo slmgr.vbs /upk >nul | |
cscript //nologo slmgr.vbs /cpky >nul | |
wmic os | findstr /I "enterprise" >nul | |
cscript //nologo slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 | |
cscript //nologo slmgr.vbs /skms kms9.MSGuides.com | |
cscript //nologo slmgr.vbs /ato |
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 | |
# NAS IP: 192.168.1.10 in this example | |
# DHCP scope reservation for macvlan: 192.168.1.210/28 (Details below) | |
## Network: 192.168.1.210/28 | |
## HostMin: 192.168.1.211 | |
## HostMax: 192.168.1.224 | |
## Hosts/Net: 14 | |
# Create a Synology macvlan0 bridge network attached to the physical eth0, and add the ip range scope (sudo) |
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
cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-bridge-office.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root-bridge-test.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-root.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-stil.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul-oob.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\client-issuance-ul.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ppd.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ul-oob.xrm-ms" | |
cscript ospp.vbs /inslic:"..\root\Licenses16\VisioProVL_KMS_Client-ul.xrm-ms" |
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
# | |
# This file is part of PIE, an instruction encoder / decoder generator: | |
# https://github.com/beehive-lab/pie | |
# | |
# Copyright 2014-2016 Amanieu d'Antras <amanieu at gmail dot com> | |
# Copyright 2015-2016 Guillermo Callaghan <guillermocallaghan at hotmail dot com> | |
# Copyright 2016-2017 Cosmin Gorgovan <cosmin at linux-geek dot org> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. |