brew install gnupg
sudo apt-get install gnupg
#!/bin/sh | |
test -f /etc/sysctl.conf && \ | |
(sudo sed -i 's/fs.inotify.max_user_watches=[[:digit:]]*//g' /etc/sysctl.conf && \ | |
sudo sed -i '/^$/d' /etc/sysctl.conf && \ | |
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p) || true |
#!/usr/bin/python3 | |
import os | |
import sys | |
from configparser import ConfigParser | |
config = ConfigParser() | |
config.read(os.path.abspath(sys.argv[1])) | |
def get_value(path, value): |
function helloWorld() { | |
console.log('hello world'); | |
} |
provider "aws" { | |
region = "us-west-2" | |
shared_credentials_file = "~/.aws/credentials" | |
} | |
resource "aws_iam_user" "user" { | |
name = "some-new-aws-user" | |
} | |
resource "aws_iam_user_policy_attachment" "test-attach" { |
alert() |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"/> | |
<title>Document</title> | |
</head> | |
<body> | |
<a onclick="loginGithub()" href="#">Login w/ GitHub</a> | |
</body> | |
<script> |
var h2Tags = document.getElementsByTagName('h2'); | |
var h2Inner = []; | |
for (var i = 0; i < h2Tags.length; i++) { | |
var h2Tag = h2Tags[i]; | |
if (h2Tag.getElementsByTagName('a').length > 0) { | |
h2Inner.push(h2Tag.getElementsByTagName('a')[0].innerHTML); | |
} else { | |
h2Inner.push(h2Tag.innerHTML); | |
} |
/** | |
* Awards Configuration | |
* (app.config.awards) | |
* | |
* @notice: If two awards have different deltaTime rules in a single action, | |
* the first one to reset the lastTime will reset the | |
* lastTime for both of them | |
* | |
* @notice: channelCount gets counted even if deltaTime fails | |
* |