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
| import requests, json | |
| # Look for TODO's | |
| YOUR_TREE_ID='<TODO: put your tree UUID from /WebClient/Main/GetTree request>' | |
| YOUR_PPS_HOST='TODO.put.your.host.com' | |
| BASE_URL = 'https://' + YOUR_PPS_HOST | |
| GET_PASS='/WebClient/Main/CopyPasswordPopup?credentialId={}' | |
| GET_GROUP='/WebClient/CredentialListGrid/Select?CredentialGroupId={}' |
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
| acr0.samsungcloudsolution.com | |
| ad.samsungadhub.com | |
| auth.samsungosp.com | |
| az43064.vo.msecnd.net | |
| cdn.samsungcloudsolution.com | |
| Coordinator-Production-28516768.us-east-1.elb.amazonaws.com | |
| d179kwmlpc4o47.cloudfront.net | |
| d1oxlq5h9kq8q5.cloudfront.net | |
| d2tnx644ijgq6i.cloudfront.net | |
| d3mjsomixevyw7.cloudfront.net |
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
| $('img[src="https://cdn.consentmanager.mgr.consensu.org/delivery/btns/btns0/yes.svg"]').click() |
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
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| (function() { | |
| const element = document.querySelector('#test-layout-styles'); | |
| if (element) { | |
| document.head.removeChild(element); | |
| } else { | |
| const style = document.createElement('style'); | |
| style.id = 'test-layout-styles'; | |
| style.innerHTML = ` |
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
| alias kmsdecode='f(){aws kms decrypt --ciphertext-blob fileb://<(echo $1 | base64 --decode) --output text --query Plaintext }; f' |
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
| find ~/gits -type d \( -name "node_modules" -o -name "bower_modules" -o -name "target" -o -name ".git" -o -name ".idea" \) -exec touch "{}/.metadata_never_index" \; | |
| # https://apple.stackexchange.com/questions/247019/prevent-spotlight-from-indexing-folders-with-a-certain-name |
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
| Import-Module ActiveDirectory #[Install Remote Server Administration Tools](https://stackoverflow.com/questions/19182497) | |
| $groups = @( | |
| "Administrators", | |
| "XX-ProductOwners", | |
| "XX-Developers" | |
| ) | |
| $members = @{} | |
| Function CheckGroups ($user = "Someuser") { |
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
| ps -A | grep [D]isplayLink | awk '{print $1}' | xargs sudo kill -9 |
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-Package | Where Id -like "YourCompany*" | Sort-Object -Property Id -Unique | foreach { Update-Package $_.Id } |
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
| MYIP=`ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1' | head -n 1` | |
| echo $MYIP |
NewerOlder