I hereby claim:
- I am derekedelaney on github.
- I am derekdelaney (https://keybase.io/derekdelaney) on keybase.
- I have a public key ASBIvGtI2Q6jj15kw2RqlKWA_gQx7N-1kvI9L_hJqoew0go
To claim this, I am signing this object:
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(App()); | |
| } | |
| class App extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( |
| import 'package:flutter/material.dart'; | |
| import 'package:confetti/confetti.dart'; | |
| Future<T> showConfettiDialog<T>({ | |
| @required BuildContext context, | |
| WidgetBuilder builder, | |
| bool barrierDismissible = true, | |
| Color barrierColor, | |
| bool useSafeArea = true, | |
| bool useRootNavigator = true, |
| import React, { useEffect, useState } from 'react'; | |
| export enum WINDOW_SIZE { | |
| XSMALL = 375, | |
| SMALL = 768, | |
| MEDIUM = 1024, | |
| LARGE = 1200, | |
| XLARGE = 1440, | |
| } |
| [Version] | |
| major = 1 | |
| minor = 1 | |
| [Common] |
| let regex; | |
| /* matching a specific string */ | |
| regex = /hello/; // looks for the string between the forward slashes (case-sensitive)... matches "hello", "hello123", "123hello123", "123hello"; doesn't match for "hell0", "Hello" | |
| regex = /hello/i; // looks for the string between the forward slashes (case-insensitive)... matches "hello", "HelLo", "123HelLO" | |
| regex = /hello/g; // looks for multiple occurrences of string between the forward slashes... | |
| /* wildcards */ | |
| regex = /h.llo/; // the "." matches any one character other than a new line character... matches "hello", "hallo" but not "h\nllo" | |
| regex = /h.*llo/; // the "*" matches any character(s) zero or more times... matches "hello", "heeeeeello", "hllo", "hwarwareallo" |
| // Intersection | |
| let intersection = arr1.filter(x => arr2.includes(x)); | |
| // Difference | |
| let difference = arr1.filter(x => !arr2.includes(x)); | |
| // Symmetric Difference | |
| let difference = arr1 | |
| .filter(x => !arr2.includes(x)) | |
| .concat(arr2.filter(x => !arr1.includes(x))); |
| { | |
| "global": { | |
| "check_for_updates_on_startup": true, | |
| "show_in_menu_bar": true, | |
| "show_profile_name_in_menu_bar": false | |
| }, | |
| "profiles": [ | |
| { | |
| "complex_modifications": { | |
| "parameters": { |
I hereby claim:
To claim this, I am signing this object:
| @charset "UTF-8"; | |
| html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none} | |
| html { | |
| background: #fff; | |
| } | |
| body { | |
| background: #fff; |
| body { | |
| background-color: #FFF; | |
| color: #333; | |
| font: 15px Helvetica, arial, freesans, clean, sans-serif; | |
| word-wrap: break-word; | |
| line-height: 1.7; | |
| padding: 0 20px 20px 20px; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| -webkit-font-smoothing: antialiased; |