Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b615889
add templating
gmanchon Jun 1, 2026
cb94031
refacto main loop
gmanchon Jun 1, 2026
920087e
separate build declaration
gmanchon Jun 1, 2026
3726846
syntax
gmanchon Jun 1, 2026
8ec3bdc
style
gmanchon Jun 1, 2026
058dc8d
style
gmanchon Jun 1, 2026
e1177d7
style
gmanchon Jun 1, 2026
f323fb9
liquid handle conditional blocks
gmanchon Jun 1, 2026
a594c51
only blank lines
gmanchon Jun 1, 2026
1942254
update partials to use liquid conditional blocks
gmanchon Jun 1, 2026
d5fe5fc
comment
gmanchon Jun 1, 2026
21825af
constants use liquid templating
gmanchon Jun 1, 2026
be766b7
move builds to yaml
gmanchon Jun 2, 2026
82b80d5
style
gmanchon Jun 2, 2026
34728a0
move en partials
gmanchon Jun 2, 2026
3a83911
move en partials
gmanchon Jun 2, 2026
0cef27f
style
gmanchon Jun 2, 2026
48e9c39
style
gmanchon Jun 2, 2026
8e3db43
style
gmanchon Jun 2, 2026
44c394c
remove skip logic
gmanchon Jun 2, 2026
f6cba52
clarify remote partial load
gmanchon Jun 2, 2026
6dd42a2
default
gmanchon Jun 2, 2026
9620835
style
gmanchon Jun 2, 2026
bd349d5
style
gmanchon Jun 2, 2026
a226254
move back partials
gmanchon Jun 2, 2026
6216cda
move back partials
gmanchon Jun 2, 2026
ae28437
fix warning
gmanchon Jun 2, 2026
a9ab3a8
fix gha
gmanchon Jun 2, 2026
36f7278
correct gha
gmanchon Jun 2, 2026
9c56892
doc
gmanchon Jun 2, 2026
1da0d57
doc
gmanchon Jun 2, 2026
86b356f
style
gmanchon Jun 2, 2026
631a8f6
web setup
gmanchon Jun 2, 2026
cf69562
horrible hash pasta
gmanchon Jun 2, 2026
714935b
a little bit awesomer
gmanchon Jun 2, 2026
03ba9b2
split partial classes
gmanchon Jun 2, 2026
aec38e5
smoother logs
gmanchon Jun 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Build
run: |
git config user.name github-actions
git config user.email github-actions@github.com
ruby build.rb
bundle exec ruby build.rb
if ! git diff --exit-code
then
git add .
Expand Down
6 changes: 6 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

Layout/HashAlignment:
Enabled: false

Layout/LeadingEmptyLines:
Enabled: false
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem "liquid"
gem "base64"
gem "cgi"
29 changes: 29 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
GEM
remote: https://rubygems.org/
specs:
base64 (0.3.0)
bigdecimal (4.1.2)
cgi (0.5.1)
liquid (5.12.0)
bigdecimal
strscan (>= 3.1.1)
strscan (3.1.8)

PLATFORMS
arm64-darwin-24
ruby

DEPENDENCIES
base64
cgi
liquid

CHECKSUMS
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd
cgi (0.5.1) sha256=e93fcafc69b8a934fe1e6146121fa35430efa8b4a4047c4893764067036f18e9
liquid (5.12.0) sha256=5a3c2c2430cd925d21c53e4ed9abea52cd0a9da53b541422f81dee79aca2a673
strscan (3.1.8) sha256=aae2db611a225559f21ffbb71765c9a4e60fd262534a9ea84f4f11c7f32f679e

BUNDLED WITH
4.0.10
9 changes: 9 additions & 0 deletions LINUX.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,14 @@ Cuando termines, tu terminal debería lucir así:

[direnv](https://direnv.net/) es una extensión del shell. Facilita trabajar con variables de entorno por proyecto, lo cual será útil para customizar el comportamiento de tu código.


``` bash
sudo apt-get update; sudo apt-get install direnv
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
```



## GitHub CLI

CLI es una abreviación de [Command-line Interface](https://en.wikipedia.org/wiki/Command-line_interface) que significa interfaz de línea de comando.
Expand Down Expand Up @@ -505,8 +507,10 @@ Chequea si tienes `conda` instalado en tu computadora:
```bash
conda list
```

Si aparece `zsh: command not found: conda`, puedes **saltear** la desinstalación de `conda` e ir directo a la sección de **Instalar pre-requisitos**.


<details>
<summary markdown='span'>Instrucciones de desinstalación <code>conda</code></summary>

Expand All @@ -520,11 +524,14 @@ anaconda-clean --yes
rm -rf ~/anaconda2
rm -rf ~/anaconda3
rm -rf ~/.anaconda_backup

```
- Elimina el directorio Anaconda de tu `.bash_profile`
- Abre el archivo con `code ~/.bash_profile`
- Si el archivo abre, busca la línea que coincida con el siguiente patrón `export PATH="/path/to/anaconda3/bin:$PATH"` y eliminala

- Guarda el archivo con `CTRL` + `s`

- Reinicia la terminal con `exec zsh`
- Remueve la inicializaciópn de Anaconda de tu `.zshrc`:
- Abre el archivo con `code ~/.zshrc`
Expand Down Expand Up @@ -612,11 +619,13 @@ pip install --upgrade pip

Ahora instala algunos paquetes para las primeras semanas del programa:


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```



## Mejora Jupyter Notebook

Mejora la visualización del [elemento `details` para revelación de información](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) en tus notebooks.
Expand Down
11 changes: 11 additions & 0 deletions LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,14 @@ At the end your terminal should look like this:

[direnv](https://direnv.net/) is a shell extension. It makes it easy to deal with per project environment variables. This will be useful in order to customize the behavior of your code.


``` bash
sudo apt-get update; sudo apt-get install direnv
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
```



## GitHub CLI

CLI is the acronym of [Command-line Interface](https://en.wikipedia.org/wiki/Command-line_interface).
Expand Down Expand Up @@ -520,8 +522,10 @@ Check if you have `conda` installed on your machine:
```bash
conda list
```

If you have `zsh: command not found: conda`, you can **skip** the uninstall of `conda` and jump to the **Install `pyenv`** section.


<details>
<summary markdown='span'><code>conda</code> uninstall instructions</summary>

Expand All @@ -535,11 +539,14 @@ anaconda-clean --yes
rm -rf ~/anaconda2
rm -rf ~/anaconda3
rm -rf ~/.anaconda_backup

```
- Remove Anaconda path from your `.bash_profile`
- Open the file with `code ~/.bash_profile`
- If the file opens find the line matching the following pattern `export PATH="/path/to/anaconda3/bin:$PATH"` and delete the line

- Save the file with `CTRL` + `s`

- Restart your terminal with `exec zsh`
- Remove Anaconda initialization from your `.zshrc`:
- Open the file with `code ~/.zshrc`
Expand Down Expand Up @@ -648,11 +655,13 @@ pip install --upgrade pip

Then let's install some packages for the first weeks of the program:


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```



## Jupyter Notebook tweaking

Let's improve the display of the [`details` disclosure elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) in your notebooks.
Expand Down Expand Up @@ -926,10 +935,12 @@ Once the verification goes through, you should receive an email stating that "Yo

- Authenticate the `gcloud` CLI with the google account you used for GCP


```bash
gcloud auth login
```


- Login to your Google account on the new tab opened in your web browser
- List your active account and check your email address you used for GCP is present
```bash
Expand Down
8 changes: 8 additions & 0 deletions LINUX_keep_current.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ type -a pyenv > /dev/null && eval "$(pyenv init --path)"

Actualiza pyenv:


``` bash
cd $(pyenv root) && git pull
```


Instala la versión actual de python:

```bash
Expand Down Expand Up @@ -140,10 +142,12 @@ pyenv versions
pip install -U pip
```


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```


## GCP

Asegúrate de que el comando `gcloud` esté conectado con el email de tu cuenta Google Cloud Platform:
Expand Down Expand Up @@ -252,12 +256,14 @@ gcloud auth configure-docker

## Docker


Start Docker :

``` bash
sudo service docker start
```


Verifica que Docker pueda ejecutar la imagen de hello-world:

``` bash
Expand All @@ -266,13 +272,15 @@ docker run hello-world

👉 Asegúrate de que este comando se ejecute completamente


Stop Docker :

``` bash
sudo service docker stop
```



## Chequeo de la configuración de Python

### Chequeo de Python y packages
Expand Down
8 changes: 8 additions & 0 deletions LINUX_keep_current.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ type -a pyenv > /dev/null && eval "$(pyenv init --path)"

Update pyenv :


``` bash
cd $(pyenv root) && git pull
```


Install the current python version :

```bash
Expand Down Expand Up @@ -140,10 +142,12 @@ pyenv versions
pip install -U pip
```


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```


## GCP

Make sure that the `gcloud` command is linked to the email address of your Google Cloud Platform account :
Expand Down Expand Up @@ -252,12 +256,14 @@ gcloud auth configure-docker

## Docker


Start Docker :

``` bash
sudo service docker start
```


Verify that Docker can run the hello-world image :

``` bash
Expand All @@ -266,13 +272,15 @@ docker run hello-world

👉 Make sure that this command completes correctly


Stop Docker :

``` bash
sudo service docker stop
```



## Python setup check

### Python and packages check
Expand Down
4 changes: 4 additions & 0 deletions REMOTE_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,12 +502,14 @@ At the end your terminal should look like this:

[direnv](https://direnv.net/) is a shell extension. It makes it easy to deal with per project environment variables. This will be useful in order to customize the behavior of your code.


``` bash
sudo apt-get update; sudo apt-get install direnv
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
```



## GitHub CLI

CLI is the acronym of [Command-line Interface](https://en.wikipedia.org/wiki/Command-line_interface).
Expand Down Expand Up @@ -884,11 +886,13 @@ pip install --upgrade pip

Then let's install some packages for the first weeks of the program:


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```



## Jupyter Notebook tweaking

Let's improve the display of the [`details` disclosure elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) in your notebooks.
Expand Down
4 changes: 4 additions & 0 deletions VM.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,12 +370,14 @@ Cuando termines, tu terminal debería lucir así:

[direnv](https://direnv.net/) es una extensión del shell. Facilita trabajar con variables de entorno por proyecto, lo cual será útil para customizar el comportamiento de tu código.


``` bash
sudo apt-get update; sudo apt-get install direnv
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
```



## GitHub CLI

CLI es una abreviación de [Command-line Interface](https://en.wikipedia.org/wiki/Command-line_interface) que significa interfaz de línea de comando.
Expand Down Expand Up @@ -756,11 +758,13 @@ pip install --upgrade pip

Ahora instala algunos paquetes para las primeras semanas del programa:


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```



## Mejora Jupyter Notebook

Mejora la visualización del [elemento `details` para revelación de información](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) en tus notebooks.
Expand Down
4 changes: 4 additions & 0 deletions VM.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,12 +485,14 @@ At the end your terminal should look like this:

[direnv](https://direnv.net/) is a shell extension. It makes it easy to deal with per project environment variables. This will be useful in order to customize the behavior of your code.


``` bash
sudo apt-get update; sudo apt-get install direnv
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
```



## GitHub CLI

CLI is the acronym of [Command-line Interface](https://en.wikipedia.org/wiki/Command-line_interface).
Expand Down Expand Up @@ -981,11 +983,13 @@ pip install --upgrade pip

Then let's install some packages for the first weeks of the program:


``` bash
pip install -r https://raw.githubusercontent.com/lewagon/data-setup/master/specs/releases/linux.txt
```



## Jupyter Notebook tweaking

Let's improve the display of the [`details` disclosure elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details) in your notebooks.
Expand Down
Loading
Loading