This file contains hidden or 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
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
This file contains hidden or 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
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
This file contains hidden or 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
| 'use strict'; | |
| const remove_suffix = '.example.com'; // TODO: Update domain name | |
| const origin_hostname = 'example-bucket'; // TODO: Update bucket name | |
| module.exports.cloudfront = (event, context, callback) => { | |
| const request = event.Records[0].cf.request; | |
| const headers = request.headers; | |
| const host_header = headers.host[0].value; |
This file contains hidden or 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
| import { createSlice as createSliceToolkit } from '@reduxjs/toolkit' | |
| export interface StateSlice<T = any> { | |
| data: T | |
| isFetching: boolean | |
| receivedAt: number | null | |
| error: boolean | |
| errorMessage: string | null | |
| errorCode: number | null | |
| } |
This file contains hidden or 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
| Caldeirao - Volcano crater | |
| Gruta Ponta do Marco - Cave |
This file contains hidden or 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
| { | |
| "key": "MEDPAC", | |
| "name": "Medpac", | |
| "description": "[H3]Medpac[h3]Slightly larger and infinitely more advanced than a standard emergency medpac, the FastFlesh is a good example of a medpac carried by a trained medic. The medpac carries instruments for emergency field surgery, a better diagnostic computer and mediscanner, advanced synth-nutrient replicators for sustaining a patients vital nutrients, spray splints, and counter-radiation and biological poison drugs.[P]This medpac allows the user to perform relatively complicated medical procedures in the field, and can rival the infirmaries on smaller starships. It allows characters to attempt to heal others using Medicine checks without penalty as described on page 219, and additionally grants a[BOOST]on all attempts. In addition. the internal stim storage grants the user the equivalent of one stimpack per scene (although the GM can rule the device has run out of stims if the supplies are used continuously.[P][B]Models Include:[b] Athakam MedTech F |
This file contains hidden or 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
| files: | |
| "/opt/elasticbeanstalk/support/conf/sidekiq.conf": | |
| mode: "000755" | |
| content: | | |
| description "Elastic Beanstalk Sidekiq Upstart Manager" | |
| start on runlevel [2345] | |
| stop on runlevel [06] | |
| # explained above | |
| respawn | |
| respawn limit 2 30 |
This file contains hidden or 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
| files: | |
| /etc/nginx/conf.d/proxy.conf: | |
| content: | | |
| client_max_body_size 25M; | |
| server_names_hash_bucket_size 128; | |
| upstream backend { | |
| server unix:///var/run/puma/my_app.sock; | |
| } |
This file contains hidden or 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
| curator delete --older-than 1 --prefix .marvel- --timestring %Y.%m.%d |
This file contains hidden or 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
| require 'open-uri' | |
| list = open('https://gist.githubusercontent.com/coderd00d/54215798871d0c356cfb/raw/5eaeefb59a46bbede467bc3d1ce58f5462f78166/186%20easy').read | |
| candy = Hash.new{ |k,v| k[v] = 0 } | |
| list.split(/\n/).each{ |v| candy[v] += 1 } | |
| candy.each do |k,v| | |
| p "#{k} - #{v} - #{format('%.2f%', v.to_f/1000 * 100)}" |