curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s
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
| SENTRY_SECRET_KEY=longsecrethere | |
| DOCKERPREFIX=eric | |
| cat <<-EOF > requirements.txt | |
| sentry-slack==0.5.0 | |
| EOF | |
| cat <<-EOF > Dockerfile | |
| FROM sentry:8.5-onbuild | |
| EOF |
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
| version: '2' | |
| volumes: | |
| sentry_data: {} | |
| services: | |
| sentry_redis: | |
| image: redis:latest | |
| sentry_postgres: |
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
| #!/usr/bin/env bash | |
| # Update library | |
| curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Scan", "id": "mybash"}' -H 'content-type: application/json;' http://localhost:8080/jsonrpc | |
| # Clean library | |
| curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Clean", "id": "mybash"}' -H 'content-type: application/json;' http://localhost:8080/jsonrpc | |
| # Export library to separate files: | |
| curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.Export", "params": { "options": { "overwrite": false, "actorthumbs": false, "images": true } }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc |
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
| # First Machine | |
| cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
| mkdir ~/Dropbox/Sublime | |
| mv User ~/Dropbox/Sublime/ | |
| ln -s ~/Dropbox/Sublime/User | |
| # Other Machines | |
| cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
| rm -r User | |
| ln -s ~/Dropbox/Sublime/User |
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
| # Use if the aufs/diff directory gets too big: | |
| docker rmi $(docker images -aq --filter dangling=true) |
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
| /* | |
| GPC Online Library | |
| COD Black Ops 3(BO3) Script | |
| ============================================================================= | |
| Device: Titan One | |
| Author: Terry (aka UK_Wildcats_Fans) | |
| Game: Call of Duty Black Ops 3 (BO3) | |
| System: PlayStation 4 (PS4) | |
| Controller: DualShock 4 (DS4) |
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
| # Filter for all lines not containing the string ',KG,' | |
| ^((?!,KG,).)*$ |
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
| Get-Mailbox -resultsize unlimited | where { $_.ExchangeUserAccountControl -match 'AccountDisabled'} | disable-mailbox |
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
| from django import template | |
| register = template.Library() | |
| @register.filter() | |
| def bool_me(value): | |
| ''' | |
| Renders Boolean as a nice FontAwesome Icon. | |
| :param value: | |
| :return: |