Disclaimer: This is a basic implementation, and much of the configuration files have been lifted from the aurelia skeleton.
##Install dependencies
npm i -D del gulp-protractor
#!/bin/bash | |
## Ricardo Pádua | |
## install asdf in fedora | |
## install curl and git | |
dnf install curl git | |
## install asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.9.0 |
defmodule Mix.Tasks.GetFileType do | |
use Mix.Task | |
def run([filename]) do | |
File.read!(filename) | |
|> check_magic_bytes() | |
|> IO.puts() | |
end | |
# Here's some basic file signatures, but you can easily add others as needed. |
Disclaimer: This is a basic implementation, and much of the configuration files have been lifted from the aurelia skeleton.
##Install dependencies
npm i -D del gulp-protractor
// Playbook - http://play.golang.org/p/3wFl4lacjX | |
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/rand" | |
"encoding/base64" |