on linux PC:
lsblk
sudo fdisk /dev/sd**X**
clear partitions on the drive (o)
on linux PC:
lsblk
sudo fdisk /dev/sd**X**
clear partitions on the drive (o)
Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts) on a web page to be requested from another domain outside the domain from which the first resource was served. This is set on the server-side and there is nothing you can do from the client-side to change that setting, that is up to the server/API. There are some ways to get around it tho.
Sources : MDN - HTTP Access Control | Wiki - CORS
CORS is set server-side by supplying each request with additional headers which allow requests to be requested outside of the own domain, for example to your localhost. This is primarily set by the header:
Access-Control-Allow-Origin| { | |
| // Evaluate file in the open SublimeREPL. | |
| // Depends on you creating the Packages/User/EvalInREPL.sublime-macro file. | |
| { "keys": ["super+r"], "command": "run_macro_file", "args": { "file": "Packages/User/EvalInREPL.sublime-macro" }, | |
| "context": [ | |
| { "key": "selector", "operator": "equal", "operand": "source.elm" } | |
| ] | |
| }, | |
| // Reindent selection on tab |
| # config file | |
| # vim ~/.config/fish/config.fish | |
| # reload the config | |
| # source ~/.config/fish/config.fish | |
| # set the workspace path | |
| set -x GOPATH /users/my-username/go | |
| # add the go bin path to be able to execute our programs |
This list has moved to a GitHub repo for easier tracking: https://github.com/coreos/awesome-kubernetes-extensions
Please comment below if you are using Kubernetes Third-Party Resources and I will add you to the list.
Known Users:
| #List traversal | |
| range(start, stop, hop) | |
| range(n) # [0,1,...,n-1] | |
| range(1,n) # [1,...,n-1] | |
| range(1,n,2) # [1,3,5,...,n-1] if n is even, or [1,3,5,...,n-2] if n is odd | |
| range(n,-1,-1) # [n,n-1,n-2,...,0] | |
| range(len(arr)) # Provides indices of an array arr | |
| range(len(arr)-1,-1,-1) # Provides indices of arr backwards | |
| # List slicing |
| vi /etc/environment | |
| add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |
| package com.mapr.kafka.serializer.json; | |
| import com.fasterxml.jackson.databind.JsonNode; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import org.apache.kafka.clients.producer.KafkaProducer; | |
| import org.apache.kafka.clients.producer.ProducerConfig; | |
| import org.apache.kafka.clients.producer.ProducerRecord; | |
| import org.apache.kafka.connect.json.JsonSerializer; | |
| import java.util.Properties; |
| // Try at : https://graphql-explorer.githubapp.com/ | |
| { | |
| search(query: "language:JavaScript stars:>10000", type: REPOSITORY, first: 10) { | |
| repositoryCount | |
| edges { | |
| node { | |
| ... on Repository { | |
| name | |
| descriptionHTML | |
| stargazers { |