Skip to content

Instantly share code, notes, and snippets.


Hernán Foffani hfoffani

View GitHub Profile
hfoffani /
Last active May 10, 2019
minimal gist for installing Swift for TensorFlow

Minimal installation for Swift For TensorFlow.

Run this three scripts in this order:
hfoffani / fastai
Last active Jan 13, 2019
Script for managing Google Cloud instances for Requires gcloud cli tool.
View fastai
# Manage GCP instances for projects
# Based on
# For Mac OS. Minor modifications for other OSs.
# Requires:
# a GCP account
# a GCP image
# gcloud cli tool
hfoffani /
Last active Aug 30, 2017
Udacity Self-Drive Car ND Equations in LaTex

Udacity Self-Drive Car ND Equations in Latex

Equations in LaTex of the Udacity's Self-Drive Car Nanodegree lectures.

Term 2

PID Controller

\alpha = - J_P * cte - J_D * \frac{\mathrm{d} }{\mathrm{d} t} cte  - J_I * \sum cte

MP Controller

View gist:e2e9ebfda037e5223070b711644a6664
~ $ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
View test957.bat
"c:\Program Files (x86)\IronPython 2.7\ipy.exe"
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe test957.cs /reference:"c:\Program Files (x86)\IronPython 2.7\IronPython.dll" /reference:"c:\Program Files (x86)\IronPython 2.7\Microsoft.Scripting.dll" /reference:LibPy.dll
View test1064.bat
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe test1064.cs /reference:"c:\Program Files (x86)\IronPython 2.7\IronPython.dll" /reference:"c:\Program Files (x86)\IronPython 2.7\Microsoft.Scripting.dll"
View test776.bat
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe test776.cs /reference:"c:\Program Files (x86)\IronPython 2.7\IronPython.dll" /reference:"c:\Program Files (x86)\IronPython 2.7\Microsoft.Scripting.dll"
View htmldoc-brew
tar xf /Library/Caches/Homebrew/htmldoc-1.8.28.tar.bz2
==> ./configure --disable-debug --prefix=/usr/local/Cellar/htmldoc/1.8.28_1 --mandir=/usr/local/Cellar/htmldoc/1.8.28_1/share/man
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
View gist:15006f0368833659c2bc
private void newapi() {
var data = new ECC.Data.PS100Entities();
var cursor = data.Notes.Where(x => x.Text == "Bien");
var result = cursor.ToArray();
var nota = new Note();
nota.Text = "hola";
You can’t perform that action at this time.