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
provider "aws" { | |
region = "eu-west-1" | |
} | |
resource "aws_iam_role" "ssm_role" { | |
name = "SSMAccessRole" | |
assume_role_policy = jsonencode({ | |
Version = "2012-10-17" | |
Statement = [ |
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 | |
# Check if an argument is provided | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <filename.wav>" | |
exit 1 | |
fi | |
# Input file | |
input_file=$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
#!/bin/bash | |
# Check if an argument is provided | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: $0 <filename.wav>" | |
exit 1 | |
fi | |
# Input file | |
input_file=$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
version: '3' | |
services: | |
concourse-db: | |
image: postgres | |
environment: | |
- POSTGRES_DB=concourse | |
- POSTGRES_PASSWORD=concourse_pass | |
- POSTGRES_USER=concourse_user | |
- PGDATA=/database |
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
### Keybase proof | |
I hereby claim: | |
* I am glennbech on github. | |
* I am glennbech (https://keybase.io/glennbech) on keybase. | |
* I have a public key ASD5-5g6Ysmr4ng5MLeGm20ebJboVzRZDvZBxSKl4pJ5ogo | |
To claim this, I am signing this object: |
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
final BigDecimal price = productDto.getProductType().equals(ProductType.ADDITIONAL) ? | |
additionalProductRepository.findOne(productDto.getProductID()).getPrice() : | |
productService.get(productDto.getProductID()).orElseThrow(ResourceNotFoundException::forProduct).getPrice(); | |
; | |
return Subscription.builder() | |
.creationDate(LocalDateTime.now()) | |
.person(user) |
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
The documentation at | |
http://docs.phonegap.com/en/edge/guide_platforms_amazonfireos_index.md.html#Amazon%20Fire%20OS%20Platform%20Guide | |
has some issues. It is not clear what the "cordova working directory" is, and avw_inteface jar needs to be coptied to /Users/glennbech/.cordova/lib/amazon-fireos/cordova/3.5.0/framework/libs- the "commonlibs" directory is not read i seems. | |
If you follow instructions - this error message is given | |
Please download the AmazonWebView SDK from http://developer.amazon.com/sdk/fire/IntegratingAWV.html#installawv and copy the awv_interface.jar file to this folder:/Users/glennbech/.cordova/lib/amazon-fireos/cordova/3.5.0/framework/libs | |
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
// fire!!! | |
FixtureDef laserFix = PhysicsFactory.createFixtureDef(240f, 0, 0); | |
LaserBeam laserBeam = new LaserBeam(mPlayer.getX() + mPlayer.getWidth() / 2, mPlayer.getY(), mLaserTexture, getVertexBufferObjectManager()); | |
Body laserBody = PhysicsFactory.createBoxBody(mPhysicsworld, laserBeam, BodyDef.BodyType.DynamicBody, laserFix); | |
laserBeam.setBody(laserBody); | |
laserBeam.getBody().setLinearVelocity(0, -70); | |
PhysicsConnector pPhysicsConnector = new PhysicsConnector(laserBeam, laserBody, true, true); | |
mPhysicsworld.registerPhysicsConnector(pPhysicsConnector); | |
laserBeam.setConnector(pPhysicsConnector); |