I hereby claim:
- I am oguimbal on github.
- I am oliv (https://keybase.io/oliv) on keybase.
- I have a public key whose fingerprint is 4063 5621 2E71 C73C E202 CF37 96CC B3CC 0FB8 22F0
To claim this, I am signing this object:
| import React from 'react'; | |
| // cf https://github.com/vadimdemedes/ink | |
| import {Text, Box} from 'ink'; | |
| import {render} from 'ink-testing-library'; | |
| function transform(value) { | |
| if (React.isValidElement(value)) { | |
| const {lastFrame} = render(<Box>{value}</Box>); | |
| return lastFrame(); | |
| } |
| import * as ethers from 'ethers'; | |
| export const ETH_ADDRESS: HexString = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'; | |
| setImmediate(async () => { | |
| const provider = ethers.getDefaultProvider(); | |
| const who: HexString = '0x945f803f01F443616546d1F31466c0E7ACfF36f7'; | |
| const rarity = ` | |
| Background: | |
| Celo Dark -> 15% | |
| Celo Gray -> 10% | |
| Faint Gold -> 75% | |
| Character: | |
| Green Cyber Woman -> 6% |
| !j::Send ^{Left} | |
| !l::Send ^{Right} | |
| !i::Send {Up} | |
| !k::Send {Down} | |
| !u::Send {Left} | |
| !o::Send {Right} | |
| !m::Send {End} | |
| !ù::Send {Home} |
| [ | |
| // default usefull: | |
| // CTRL+J => bottom panel | |
| // CTRL+S => can be used to pin a tab | |
| // CTRL+MAJ+; => open breadcrumbs | |
| // CTRL+D => add next occurence of current selection to selection | |
| // ALT+C => navigate to next error | |
| // SHIFT+F5 => stop debugging | |
| // CTRL+ALT+(up/down) => multi select | |
| // CTRL+R => switch workspaces |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.Linq; | |
| using System.Reflection; | |
| using System.Reflection.Emit; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using System.Linq.Expressions; |
I hereby claim:
To claim this, I am signing this object:
| public static class ToStringExpressionVisitorExtensions | |
| { | |
| public static string ToPrettyString(this IQueryable @this) | |
| { | |
| var v = new ToStringExpressionVisitor(); | |
| v.Visit(@this.Expression); | |
| return v.sb.ToString(); | |
| } | |
| } |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq.Expressions; | |
| namespace Utilities | |
| { | |
| public static class ExpressionSimplifier | |
| { | |
| public static Expression<T> SimplifyLambda<T>(this Expression<T> expression) | |
| { |