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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: counter | |
| spec: | |
| containers: | |
| - name: count | |
| image: busybox | |
| args: [/bin/sh, -c, | |
| 'i=0; while true; do echo "$i: $(date)"; i=$((i+1)); sleep 1; done'] |
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
| pulseaudio --kill | |
| ## removing config | |
| rm --recursive ~/.config/pulse/* | |
| rm --recursive ~/.pulse* | |
| pulseaudio --kill | |
| killall pulseaudio | |
| ## that beefy forced reload of alsa |
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
| /** | |
| * @return {boolean} true whether inside a node application or not. | |
| **/ | |
| function isNode () { | |
| try { | |
| return "object" === typeof process && Object.prototype.toString.call(process) === "[object process]"; | |
| } catch(e) {} | |
| return false; | |
| } |
OlderNewer