Skip to content

Instantly share code, notes, and snippets.

Hernán Foffani hfoffani

Block or report user

Report or block hfoffani

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hfoffani
hfoffani / how_to_install_swift_for_tensorflow.md
Last active May 10, 2019
minimal gist for installing Swift for TensorFlow
View how_to_install_swift_for_tensorflow.md

Minimal installation for Swift For TensorFlow.

Run this three scripts in this order:

install_cuda.sh
install_conda.sh
install_python.sh
install_s4tf.sh
@hfoffani
hfoffani / fastai
Last active Jan 13, 2019
Script for managing Google Cloud instances for fast.ai. Requires gcloud cli tool.
View fastai
#!/bin/bash
# Manage GCP instances for fast.ai projects
# Based on https://arunoda.me/blog/ideal-way-to-creare-a-fastai-node
# For Mac OS. Minor modifications for other OSs.
# Requires:
# a GCP account
# a GCP image
# gcloud cli tool
@hfoffani
hfoffani / sdcnd-latex-equations.md
Last active Aug 30, 2017
Udacity Self-Drive Car ND Equations in LaTex
View sdcnd-latex-equations.md

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" test957.py
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
test957.exe
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"
test1064.exe
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"
test776.exe
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.