Mail::raw('Test MOMO Raul a hergiox@gmail.com', function($message) { $message->from('alerta.distribucion@nuevatel.com', 'Laravel'); $message->to('hergiox@gmail.com'); });
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker pull tensorflow/tensorflow:latest # Download latest stable image | |
| docker run -it -p 8888:8888 tensorflow/tensorflow:latest-jupyter # Start Jupyter server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Instalar ImageMagick | |
| 2. Ir al directorio donde están las imagenes | |
| 3. find ./ -newermt 2019-01-01 ! -newermt 2022-12-31 -name "*.jpg" -type f \( -iname "*.jpg" ! -iname "*'*" \) -exec echo mogrify -resize 50% {} \; > /root/mogrify.txt | |
| 3a Busca todos los archivos jpg que no contengan un ' en el nombre entre el 2019-01-01 y el 2022-12-31, reduce las imagenes un 50% | |
| 4. Copiar el archivo generado mogrify.txt al directorio de las imagenes | |
| 5. Agregarle #!/bin/sh en la primera línea al archivo | |
| 6. Ponerle los permisos de ejecución | |
| 7. Ejecutar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WITH transaction AS ( | |
| SELECT transaction_id, | |
| customer_id, | |
| state, | |
| amount_spent_usd | |
| FROM FACT_TABLE_TRANSACTION | |
| ), | |
| customer_spend AS ( | |
| SELECT customer_id, | |
| state, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1><%= gettext "Welcome to %{name}!", name: "Phoenix" %></h1> | |
| <p>Peace-of-mind from prototype to production</p> | |
| <form phx-change="suggest" phx-submit="search"> | |
| <input type="text" name="q" value="<%= @query %>" placeholder="Live dependency search" list="results" autocomplete="off"/> | |
| <datalist id="results"> | |
| <%= for {app, _vsn} <- @results do %> | |
| <option value="<%= app %>"><%= app %></option> | |
| <% end %> | |
| </datalist> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| osm2pgsql south-america-latest.osm.pbf -d momotree -U rgiucich -W --hstore -C 7000 -E 4326 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $user = App\Models\Auth\User::whereUsername('admin_momo')->first(); | |
| $user->password = \Hash::make('zxcv$1973'); | |
| $user->save(); | |
| $user = App\Models\Auth\User::whereUsername('admin_momo')->first(); | |
| $user->password = \Hash::make('Nuevatel$123'); | |
| $user->save(); | |
| $user = App\Models\Auth\User::whereUsername('ivan.ninodeguzman@nuevatel.com')->first(); | |
| $user->password = \Hash::make('Nuevatel2121'); |