I hereby claim:
- I am 321hendrik on github.
- I am hendrikelsner (https://keybase.io/hendrikelsner) on keybase.
- I have a public key ASBXkG_XId5elz_iaIEhe31a5KIauosfD_RglE2pUrIUjQo
To claim this, I am signing this object:
| curl -sS https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/virtualbox.gpg | |
| echo "deb https://download.virtualbox.org/virtualbox/debian bookworm contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list | |
| sudo apt update && sudo apt install virtualbox-7.0 -y |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # _Usage_ | |
| # - modify the NEW_GIT_HOST, OLD_GIT_HOST variables below | |
| # - make the script executable with `chmod u+x change_git_remote.sh` | |
| # - run it from your project dir or give the path as first parameter | |
| # configure host changes | |
| NEW_GIT_HOST="new.git.host.com" | |
| OLD_GIT_HOST="old.git.host.com" |
| #!/bin/bash | |
| # | |
| # NPM Packer | |
| # - copy script to project folder | |
| # - npm install | |
| # - ./packer.sh | |
| # | |
| # -> creates a PROJECT_NAME.zip | |
| # |
| open `find ~/Library/Developer/CoreSimulator/Devices -type d -depth 7 -print0 | xargs -0 stat -f "%m %N" | grep Containers | sort -rn | head -1 | cut -f2- -d" "` |
| function logObjWithoutBase64 () { | |
| function rmb64(o) { | |
| if (typeof(o) == 'object') { | |
| for (var k in o) { | |
| o[k] = rmb64(o[k]); | |
| } | |
| } else if (typeof(o) == 'string' && o.length > 100) { | |
| return 'BASE64'; | |
| } | |
| return o; |
| var ellipsizeLabel = Ti.UI.createLabel({ | |
| height: 20, | |
| wordWrap: false, | |
| horizontalWrap: false, | |
| ellipsize: Ti.UI.TEXT_ELLIPSIZE_TRUNCATE_END, | |
| textAlign: 'center', | |
| width: 50, | |
| text: 'extralongtestnamefortesting' | |
| }); | |
| self.add(ellipsizeLabel); |
| var timers = {}; | |
| Ti.App.time = function(key) { | |
| console.error('timer started:', key); | |
| if (timers[key]) { | |
| Ti.App.timeEnd(key); | |
| } | |
| timers[key] = new Date().getTime(); | |
| }; | |
| Ti.App.timeEnd = function(key) { | |
| if (!timers[key]) { |