I hereby claim:
- I am birgitpohl on github.
- I am birgitpohl (https://keybase.io/birgitpohl) on keybase.
- I have a public key ASDsnJR1Q1t_fjtpQY_J07NVf76ujyI-7EPA_JrPZInzzgo
To claim this, I am signing this object:
| /** | |
| * @param hex HexColor #000000 #000 | |
| * @param opacity 0-100 | |
| * @returns `rgba(RR, GG, BB, 0.x)` | |
| */ | |
| export const hexToRgbA = <T extends string>(hex: HexColor<T>, opacity: number): T => { | |
| let c; | |
| if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(hex)){ | |
| c = hex.substring(1).split(''); | |
| if(c.length == 3){ |
I hereby claim:
To claim this, I am signing this object:
| # It assumes you have templates setup and to be recognized. | |
| # the extends command takes the extension of this template Yaml file. | |
| # A Kaniko example: | |
| .docker-build: | |
| stage: my-stage | |
| only: | |
| - master | |
| image: | |
| name: gcr.io/kaniko-project/executor:debug |
| import { testAgainstSchemaDeeply } from "./utils"; | |
| interface IMyObject { | |
| name: string | |
| {[key: string]: any} | |
| } | |
| class ObjectSchema { | |
| name: any | |
| } |
| # Calls a function: | |
| When I add 1 to my sum |
| # Google App Engine configation | |
| env_variables: | |
| FEATURE_CORS_ENABLED: false |
| <quiz> | |
| <film id="Mercury" | |
| onCorrect="Very nice! | |
| Here is more information: http://solarsystem.nasa.gov/planets/mercury" | |
| onWrong="It is Mercury. | |
| Here is more information: http://solarsystem.nasa.gov/planets/mercury"> | |
| <label> | |
| <text>What is this celestial object?</text> | |
| </label> | |
| <label> |
| public class Hanoi { | |
| //Goal is to write a program where discs can not jump from position A to C, they need to move to position B in order to get to position C. | |
| static void move ( | |
| int n, // Number of discs 'n' | |
| char start, // start position | |
| char help, // helping position (place in the middle) | |
| char destination) { // destination position |