This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| [mergetool] | |
| prompt = false | |
| keepBackup = false | |
| keepTemporaries = false | |
| [merge] | |
| tool = winmerge | |
| [mergetool "winmerge"] | |
| name = WinMerge |
| from bs4 import BeautifulSoup,SoupStrainer | |
| import urllib.request | |
| import colorama,re,queue,threading | |
| from colorama import Fore | |
| from urllib.parse import * | |
| class check_link(): | |
| def __init__(self,address): | |
| self.address=address | |
| def check(self,address): |
| #include <bits/stdc++.h> // using GCC/G++11 | |
| using namespace std; | |
| /** | |
| * Range Sum Query for Mutable Arrays using Segment Trees (LeetCode) | |
| * https://leetcode.com/problems/range-sum-query-mutable/ | |
| * | |
| * Build a tree whose nodes represent the entire range. Its two children represent the two halves | |
| * of this range. This continues down the tree with height log(n) until we reach the n individual | |
| * leaves of the tree (each representing a single element). |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| #!/bin/bash | |
| # This script uses traps to create try/catch/finally functionality in shell scripts. | |
| # | |
| # OUTPUT: | |
| # | |
| # Hello! We're reporting live from script | |
| # ./try_catch2.sh: line 23: badcommand: command not found | |
| # ./try_catch2.sh: line 23: exiting with status 127 | |
| # It's the end of the line |
| ############ If you are using DOCKER all-in-one image, create Dockerfile like: ################ | |
| ############ FROM openproject/openproject:16 ################ | |
| ############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################ | |
| ############ If you are runing a manual installation: ################ | |
| ############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
| ############ also be sure to RESTART OpenProject after replacing the file. ################ | |
| ############ If using some other set up (eg docker-compose), read the comments on ################ | |
| ############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################ |