generate key in batch mode using a custom profile
gpg --gen-key --batch gpgspecs
create a file with your fingerprint info and display the related information. A fingerprint is used as a robust key identifier
gpg --fingerprint
| # Sidekiq interaction and startup script | |
| commands: | |
| create_post_dir: | |
| command: "mkdir -p /opt/elasticbeanstalk/hooks/appdeploy/post" | |
| ignoreErrors: true | |
| files: | |
| "/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq.sh": | |
| mode: "000755" | |
| owner: root | |
| group: root |
This is how I configured the deploy of my rails apps to AWS Elastic Beanstalk through CircleCI 1.0.
If you are using the Circle CI 2.0, take a look at this article from ryansimms
On Project Settings > Environment Variables add this keys:
| create trigger trades_readonly_trigger before insert or update or delete or truncate on trades for each statement execute procedure readonly_trigger_function(); |
| //so there's two divs on the page for this to select | |
| d3.select('body') | |
| .selectAll('div') | |
| .data(["hello","there","world"]) | |
| //this will map "hello" and "there" to the only two divs | |
| .html(function(d){return d;}) | |
| //but theres 3 pieces of data...? | |
| //this is why d3 has the enter() function | |
| //think of it as "withTheLeftOverDataAfterMapping()" instead of "enter()" | |
| .enter() |
| def dec2bin(number) | |
| number = Integer(number) | |
| if(number == 0) then 0 end | |
| ret_bin = "" | |
| while(number != 0) | |
| ret_bin = String(number % 2) + ret_bin | |
| number = number / 2 | |
| end | |
| ret_bin |