Skip to content

Instantly share code, notes, and snippets.

View hfoffani's full-sized avatar

Hernán Foffani hfoffani

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

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 December 23, 2022 07:55
Script for managing Google Cloud instances for fast.ai. Requires gcloud cli tool.
#!/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 August 30, 2017 18:26
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

@hfoffani
hfoffani / gist:e2e9ebfda037e5223070b711644a6664
Created October 16, 2016 08:58
output of brew doctor 20161016
~ $ 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.
"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
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
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
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
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";