Skip to content

Instantly share code, notes, and snippets.

View devhops's full-sized avatar

Sarah Evans devhops

View GitHub Profile
@devhops
devhops / s3-sub-folder-deny.json
Created March 24, 2022 17:34
Allow access to one subfolder in a bucket, but not to list all buckets or the contents of the root folder
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAccess",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:ListBucketMultipartUploads",
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObjectAcl",
"s3:GetObject",
Hello there
### Keybase proof
I hereby claim:
* I am devhops on github.
* I am devhops (https://keybase.io/devhops) on keybase.
* I have a public key whose fingerprint is 136A 4325 4FE2 E3CF 537A D074 C310 4D35 AD22 7060
To claim this, I am signing this object:

Description

A Dashing widget to display the number of issues returned by a Jira filter search. The number of issues will be displayed using the Numbers widget. See also the Atlassian Jira: Number of issues in a Jira filter query for a more generalised version which allows to run any JQL query directly from the widget.

Dependencies

The following dependencies are required. Please add them to your dashing gemfile.

gem 'jira-ruby', :require => 'jira'
# Lets create a simple calculator app together, it should have a get method for localhost:4567/calculator that displays two forms
# the first form should post (note that post is one of those http methods) to localhost:4567/add, and have two fields named "num1" and "num2"
# the second form should post to localhost:4567/subtract with the same args
# the page that they go to should display the result, and have a link to get back to calculator
require 'rubygems'
require 'sinatra'
get '/calculator' do
'