This file contains 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
/* | |
Right here's the thing - for keyPress events to be run, you'll have to make use of | |
content scripts. Content scripts handle things at webpage & DOM level. You'll have | |
to do changes to your manifest: | |
*/ | |
------------------------ | |
manifest.json: | |
------------------------ | |
/* | |
Note: don't replace manifest.json, add the relevant changes else |
This file contains 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
fields @timestamp, @message, @logStream, @log | |
| filter @message not like /RequestId|Verbose|INIT_START|Importing/ | |
| sort @timestamp desc |
This file contains 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
takeown /r /d y /f * | |
icacls * /reset /t /c /q |
This file contains 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
*Common Annotations* | |
{{ range .CommonAnnotations.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}` | |
{{ end }} | |
*Common Labels* | |
{{ range .CommonLabels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}` | |
{{ end }} |
This file contains 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
###keywords | |
#pakvsind, #indvpak, #indvspak, daughters, rape, protest, politician, politics, shame, braveheart, #delhiProtests, greig, government, #DelhiRapists, cricket, Dhoni, obama, #cfc, #liverpool, #manutd, #mufc, liverpool, #vishwaroop, apple, ipad, bcci, #udrs, raw, #tamilbands, #afzalguru, #oppositefootballernames, Kejriwal, #AAP, #QuitAAP, Tharoor, Feku, Fekus, BJP, BDUTT, Gandhi, NaMo, Modi, KejriwalDharna, #UnitedWithAAP, #udrs, #tamilbands, #afzalguru, #oppositefootballernames, #indvspak, #ct, #iambesharam, football, cfc, moyes, feku, kejri, arsenal, #arsenal, afridi, IPL, IPL7, Robin, #PepsiIPL | |
###sources | |
world community grid, unfollowers.me, ask.fm, fllwrs, justunfollow, youversion |
This file contains 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
mysqldump -u <user> -p -h <host> --databases <db name> | gzip > <file> |
This file contains 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: '3.5' | |
services: | |
drone-server: | |
image: drone/drone:0.8 | |
ports: | |
- 80:8000 | |
- 9000:9000 | |
volumes: | |
- dronedata:/var/lib/drone | |
restart: always |
This file contains 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
#!/bin/bash | |
aws iam create-group --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonRoute53FullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/IAMFullAccess --group-name kops | |
aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonVPCFullAccess --group-name kops | |
aws iam create-user --user-name kops |
This file contains 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
stairs = input("Paste your input") | |
n = 0 | |
position = 0 | |
for s in stairs: | |
position += 1 | |
if s == '(': | |
n += 1 | |
elif s == ')': | |
n -= 1 | |
if n == -1: |
This file contains 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
Snippet to replace a sentence across multiple buffers in Vim. The `update` writes the changes to the file. | |
bufdo %s/depends 'mysql2_chef_gem', '\~> 1.0.1'// | update |
NewerOlder