Skip to content

Instantly share code, notes, and snippets.

View arthurcohen's full-sized avatar

Arthur Cohen arthurcohen

View GitHub Profile
@arthurcohen
arthurcohen / index.html
Created December 16, 2018 05:04
Dart experience - Http request, List manipulation, DOM manipulation
<div>Insert a String</div>
<input type="text" id="text-in"/>
<input type="button" value="ok" id="btn-in"/>
<div id="text-res">_______</div>
import 'package:charts_flutter/flutter.dart';
import 'package:flutter/material.dart';
class VistoriaCard extends StatelessWidget {
final Widget child;
VistoriaCard({Key key, this.child}) : super(key: key);
@override
Widget build(BuildContext context) {
@arthurcohen
arthurcohen / Microsoft.PowerShell_profile.ps1
Created February 10, 2020 19:32
Powershell script to create a powerline with relative path of the current console, git repo information and time.
$global:foregroundColor = 'white'
$time = Get-Date
$psVersion= $host.Version.Major
$curUser= (Get-ChildItem Env:\USERNAME).Value
$curComp= (Get-ChildItem Env:\COMPUTERNAME).Value
$showGitInfo = false
clear

Keybase proof

I hereby claim:

  • I am arthurcohen on github.
  • I am arthurcohen (https://keybase.io/arthurcohen) on keybase.
  • I have a public key ASCorILECe5LKWjcaB1z49qc8-taDqxqzl9ynlE3Z6bOUwo

To claim this, I am signing this object: