Skip to content

Instantly share code, notes, and snippets.

View SAReyes's full-sized avatar
:shipit:
yes

Adrian Reyes SAReyes

:shipit:
yes
  • Zaragoza, Spain
View GitHub Profile
#Author: vhanla
#Force coloring of git and npm commands
$env:TERM = 'cygwin'
$env:TERM = 'FRSX'
$global:foregroundColor = 'white'
$time = Get-Date
$psVersion= $host.Version.Major
$curUser= (Get-ChildItem Env:\USERNAME).Value
### Keybase proof
I hereby claim:
* I am sareyes on github.
* I am areyes_add (https://keybase.io/areyes_add) on keybase.
* I have a public key ASA--fdHWVuBovJ-obFrDAvTiE9OnTCdd0i7MtXiuAKJ5wo
To claim this, I am signing this object:
@SAReyes
SAReyes / ArquiSoft2015.scala
Created June 14, 2015 13:11
My scala approach
object Main {
val l1 = List(1, 8, 2, 15, 6, 7, 8, 12, 12)
val l2 = List(1, 8, 2, 15, 6, 7, 8, 12)
val l3 = List(1, 8, 2, 15, 6, 7, 8, 12, 12, 12)
def evenAndGTFive(i: Int) = i > 5 && i % 2 == 0
def magic(l: List[Int]) = {
println(
s"""