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
command: > | |
certbot certonly | |
--keep-until-expiring --expand --manual | |
--preferred-challenges dns | |
--server https://acme-v02.api.letsencrypt.org/directory | |
--agree-tos --email ${CERTBOT_EMAIL} | |
-d ${FQDN} |
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
sudo snap install curl | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
#install vscode | |
sudo snap install --classic code |
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
Location API | |
Cities, Town, PRovinces, | |
Address in Philippines | |
https://psgc.gitlab.io/api/ |
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
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)" |
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": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": [ | |
"*" | |
] | |
}, |
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
/*** | |
Run this script when error is encountered setting up SQL Mail | |
**/ | |
ALTER SERVICE MASTER KEY FORCE REGENERATE | |
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
> To Check Run | |
DBCC CHECKDB ([DATABASENAME] ) WITH NO_INFOMSGS, ALL_ERRORMSGS, DATA_PURITY | |
> To Fix | |
ALTER DATABASE promis | |
SET SINGLE_USER | |
WITH ROLLBACK IMMEDIATE; | |
GO |
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
//Open GoogleSheet and Script | |
function list_all_files_inside_one_folder_without_subfolders(){ | |
var sh = SpreadsheetApp.getActiveSheet(); | |
var folder = DriveApp.getFolderById('1uF19N4LJzyt7sc_vz7h0Gs1B0k7VqdWP'); // I change the folder ID here | |
var list = []; | |
list.push(['Name','ID','Size']); | |
var files = folder.getFiles(); | |
while (files.hasNext()){ | |
file = files.next(); |
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
https://work-work.work/blog/2018/12/07/samba-windows-7.html | |
Or if you don't want to change your client settings, edit /etc/samba/smb.conf and add to the [global]section | |
lanman auth = no | |
ntlm auth = yes | |
restart samba and Windows 7 talks to your Ubuntu 18.04 server. |
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
Goto http://github.com |
NewerOlder