; ----- | |
; = Shortcuts = (Ctrl+LShift+...) | |
; Space - Pin/unpin active window | |
; | |
; = Music Controls = (Ctrl+LShift+...) | |
; Down Arrow - Lower volume | |
; Up Arrow - Raise volume | |
; Right Shift - Pause/play music | |
; Left Arrow - Previous track | |
; Right Arrow - Next Track |
gcloud auth login | |
gcloud container clusters get-credentials k8s-ws-6 --zone europe-west1-b --project k8s-ws-7 | |
gcloud auth configure-docker | |
kubectl version | |
kubectl get nodes | |
kubectl create namespace myname |
{ | |
"paddingVertical":"0px", | |
"paddingHorizontal":"0px", | |
"marginVertical":"45px", | |
"marginHorizontal":"45px", | |
"backgroundImage":null, | |
"backgroundImageSelection":null, | |
"backgroundMode":"color", | |
"backgroundColor":"rgba(255,255,255,0)", | |
"dropShadow":true, |
/** | |
* Demonstrate execution order of code in Jest/Jasmine | |
*/ | |
function resolveAfter2Seconds(message) { | |
return new Promise((resolve) => { | |
setTimeout(() => { | |
resolve(message) | |
}, Math.ceil(Math.random() * 5000)) | |
}) |
We've been able to toggle visibility of gists since 2014 (https://github.com/blog/1837-change-the-visibility-of-your-gists), but I just noticed that I can no longer make public gists private. That is, when I edit private gists I still see the "Make Public" button, but not the other way round — there's only a "Delete" button when I edit public gists; the "Make Secret" which should be next to it (as shown in the screencast in the linked blog post) is nowhere to be found. I made a screenshot and a screencast demonstrating the issue, both of which are attached. Could you please confirm this issue? Was this an intentional change, and why? Thank you for your attention.
![gist-unable-to-make-secret](https://cloud.githubusercontent.com/assets/4149852/16898407/c76db210-4c0b-11e6-9108-0450f1edebb4.gif)Components are not "helper" methods, they are the best change in Angular 1.x since I've been using it.
What is the role of
.component()
?
- Declares new HTML via a
template
ortemplateUrl
- Should be used to create Components as part of a Component architecture
/** | |
* This Google Sheets script keeps data in the specified column sorted any time | |
* the data changes. | |
* | |
* After much research, there wasn't an easy way to automatically keep a column | |
* sorted in Google Sheets, and creating a second sheet to act as a "view" to | |
* my primary one in order to achieve that was not an option. Instead, I | |
* created a script that watches for when a cell is edited and triggers | |
* an auto sort. | |
* |