Skip to content

Instantly share code, notes, and snippets.

View kitwalker12's full-sized avatar

Kunwar Aditya Raghuwanshi kitwalker12

View GitHub Profile
@steve-jansen
steve-jansen / export-zone.sh
Created December 15, 2014 19:11
Export DNS records from Rackspace Cloud DNS to zone files on disk
#!/bin/bash
# exports DNS records from Rackspace Cloud DNS to text files
# Depends on https://github.com/wichert/clouddns/blob/master/src/clouddns.py
set -e
me=export-zone
base_domain=
rackspace_region=
rackspace_rate_limit_delay=3
@just3ws
just3ws / vcr.rb
Created November 5, 2014 15:02
VCR configuration that does a pretty good job of filtering out GitHub, Twitter, and LinkedIn keys.
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock
c.ignore_localhost = true
c.default_cassette_options = { record: :new_episodes }
c.allow_http_connections_when_no_cassette = false
c.configure_rspec_metadata!
c.ignore_hosts 'codeclimate.com'
@davebrace
davebrace / install_neo4j_codeship.sh
Last active May 3, 2021 23:56
Install Neo4j (2.1.5) on Codeship running on specific ports
# Put the following lines in your Codeship Setup section
## Install Neo4j
wget -O neo4j-community-2.1.5.tar.gz http://neo4j.com/artifact.php?name=neo4j-community-2.1.5-unix.tar.gz
tar -xzvf neo4j-community-2.1.5.tar.gz
# configure neo4j to run on testing ports (7476 + 7475)
sed -i s/7474/7476/g neo4j-community-2.1.5/conf/neo4j-server.properties
sed -i s/7473/7475/g neo4j-community-2.1.5/conf/neo4j-server.properties
neo4j-community-2.1.5/bin/neo4j start
bundle exec rspec spec --tag data_store:neo4j
@lalyos
lalyos / README.md
Last active September 8, 2020 07:52
make s3 bucket public script

Public aws s3 bucket

Sometimes you want to make a specific s3 bucket public. My purpose was to host a maven repo on s3.

one-liner

So if you want to make a bucket and all its files available publicly, just run this:

curl -Lso public-bucket.sh  j.mp/public-bucket && chmod +x public-bucket.sh && ./public-bucket.sh