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
| <RoutingRules> | |
| <RoutingRule> | |
| <Condition> | |
| <HttpErrorCodeReturnedEquals>404</HttpErrorCodeReturnedEquals> | |
| </Condition> | |
| <Redirect> | |
| <HostName>danilop.net</HostName> | |
| <ReplaceKeyWith/> | |
| </Redirect> | |
| </RoutingRule> |
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
| # Installing | |
| qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 2048 -cdrom ~/Downloads/Win10_English_x64.iso -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -drive file=~/Downloads/virtio-win-0.1.105.iso,index=1,media=cdrom | |
| # Running | |
| qemu-system-x86_64 -bios /usr/share/ovmf/ovmf_x64.bin -enable-kvm -cpu host -smp 4 -m 4096 -net nic,model=virtio -net user -drive file=~/vm/win10.hd.img.raw,format=raw,if=virtio -vga qxl -usbdevice tablet -rtc base=utc |
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
| # ---------- Status Cats Error Pages!!! via: https://http.cat/ --------- | |
| # | |
| # requires that a dns resolver be set for nginx as in: resolver 127.0.0.1; | |
| # typically uses dnsmasq for 127.0.0.1 resolver | |
| # | |
| # Usage: | |
| # place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice. | |
| # then inside the server block(s) you want cat themed error status responses do: | |
| # include snippets/http-cat-error-pages.conf | |
| # |
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
| from openpyxl import load_workbook | |
| wb = load_workbook('template.xlsx') | |
| # grab the active worksheet | |
| ws = wb.active | |
| # Data can be assigned directly to cells | |
| ws['A2'] = 'Tom' | |
| ws['B2'] = 30 |
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
| version: '3.4' | |
| x-logging: &logging | |
| logging: | |
| driver: "json-file" | |
| options: | |
| max-size: 10M | |
| max-file: 1 | |
| services: | |
| fluentd: | |
| image: $INTERNAL_REGISTRY/fluentd |
- right-click on the playing video, select Copy link
- find Wistia video ID in the copied link e.g.
wvideo=tra6gsm6rl- alternative: look for e.g.
hashedId=tra6gsm6rlin the page source
- alternative: look for e.g.
- load
http://fast.wistia.net/embed/iframe/+ video ID in your browser - look for
"type":"original"in the page source and copy the URL from the next line e.g."url":"http://embed.wistia.com/deliveries/129720d1762175bcd8e06dcab926ec76ad38ff00.bin"
- alternative: look for
"type":"hd_mp4_video"
OlderNewer