This will take a while to do.
-
Make a new clone of your repo.
git clone <repo> <repo>-bak cd <repo>-bak -
Make a backup of all branches locally in case you fuck up something.
| /* | |
| Used for a bigger team where not everyone is on Slack. A random user from the list is chosen and notified about a PR. | |
| If the user is already set as a reviewer it's discarded from the random pool. | |
| The lambda is the most simple configuration for requests with 128MB of RAM provisioned. | |
| https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/ | |
| https://api.slack.com/messaging/webhooks | |
| */ | |
| const https = require('https'); |
| #!/usr/bin/env node | |
| const { performance } = require('perf_hooks') | |
| const fs = require('fs') | |
| const path = require('path') | |
| const log = console.log | |
| const warn = console.warn | |
| const err = console.error | |
| const perf_start = performance.now() | |
| // funcs |
| [user] | |
| name = <name> | |
| email = <user>@<domain> | |
| [merge] | |
| tool = kdiff3 | |
| [mergetool "kdiff3"] | |
| path = C:/Program Files/KDiff3/kdiff3.exe | |
| trustExitCode = false | |
| [diff] | |
| guitool = kdiff3 |
| Useless-Piece-of-ht:~ zamber$ cd Documents/GitHub/dotfiles/ | |
| Useless-Piece-of-ht:dotfiles zamber$ ls | |
| README.md dotbot gitignore install.conf.yaml zsh | |
| SSH.md gitconfig install tmux.conf zshrc | |
| Useless-Piece-of-ht:dotfiles zamber$ cat README.md | |
| # dotfiles | |
| ## Optional SSH key magic | |
| `~.ssh/config` |
| /* | |
| based on https://stackoverflow.com/a/40183067/1225741 | |
| tested with angular 4.0.3 | |
| in your *.component.html: | |
| <span #mycomponentvarthingy [appContenteditableModel]="mycomponentvarthingy" | |
| (appContenteditableModelChange)="myValueChangeEventHandler($event)"></span> | |
| // to trigger editing just set contenteditable to true on the target element ie. | |
| @ViewChild('mycomponentvarthingy') mycomponentvarthingy: ElementRef; |
| #!/usr/bin/env python2.7 | |
| ''' | |
| Based on: | |
| http://www.pyimagesearch.com/2015/09/07/blur-detection-with-opencv/ | |
| opencv is available for python2.7 on Ubuntu only (in default repos) | |
| hence pip2 and above hashbang | |
| # Installation |
| # save it as /etc/profile.d/ssh-telegram.sh | |
| # use sed to parse JSON from ipinfo.io | |
| # you can get your user_id by writing to @get_id_bot | |
| USERID="<target_user_id>" | |
| KEY="<bot_private_key>" | |
| TIMEOUT="10" | |
| URL="https://api.telegram.org/bot$KEY/sendMessage" | |
| DATE_EXEC="$(date "+%d %b %Y %H:%M")" | |
| TMPFILE='/tmp/ipinfo-$DATE_EXEC.txt' | |
| if [ -n "$SSH_CLIENT" ] && [ -z "$TMUX" ]; then |
| Chrome [appId=120] [hosts=www.google.com] | |
| Google Play services [appId=124] [hosts=android.clients.google.com] | |
| Instagram [appId=66] [hosts=graph.facebook.com] | |
| Icy Drifter [appId=114] [hosts=config.uca.cloud.unity3d.com] | |
| Google Play Store [appId=54] [hosts=android.clients.google.com] | |
| Google Play services [appId=124] [hosts=www.googleapis.com] | |
| e-podróżnik.pl [appId=21] [hosts=www.e-podroznik.pl] | |
| Google+ [appId=104] [hosts=www.googleapis.com] | |
| Messenger [appId=160] [hosts=edge-mqtt.facebook.com] | |
| Fit [appId=115] [hosts=www.googleapis.com] |
I hereby claim:
To claim this, I am signing this object: