docker COMANDO CREAR postgres-db
Discover gists
.SortingHeader { | |
display: flex; | |
overflow-x: scroll; | |
gap: 18px; | |
align-items: center; | |
} | |
.MediaGrid { | |
display: grid; | |
gap: 1.5rem; |
/** | |
* CS50 pset4 recover | |
* recovering JPEG files from a memory card | |
* | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
typedef uint8_t BYTE; |
#!/bin/bash | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
import shutil, tempfile, modal, uuid, os, boto3, ffmpeg, logging | |
from enum import Enum | |
from pydantic import BaseModel | |
from typing import Optional, Dict, List, Any | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
app_image = ( | |
modal.Image.debian_slim() | |
.apt_install("ffmpeg") | |
.pip_install("ffmpeg-python", "boto3") |
The only way I've succeeded so far is to employ SSH.
Assuming you are new to this like me, first I'd like to share with you that your Mac has a SSH config
file in a .ssh
directory. The config
file is where you draw relations of your SSH keys to each GitHub (or Bitbucket) account, and all your SSH keys generated are saved into .ssh
directory by default. You can navigate to it by running cd ~/.ssh
within your terminal, open the config
file with any editor, and it should look something like this:
Host * AddKeysToAgent yes
> UseKeyChain yes
%% /** --------------------------------------------------------- | |
%% a file full of squeezing options | |
%% -- which you should try to avoid | |
%% ------------------------------------------------------------- | |
%% | |
%% from: | |
%% http://www.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html | |
%% ---------------------------------------------------------- */ | |
%% * Page Layout | |
%% o \columnsep: gap between columns |
# Build arguments for the gn build | |
# You can set these with `gn args out/Default` | |
# ( and they're stored in src/out/Default/args.gn ) | |
# See "gn args out/Default --list" for available build arguments | |
# component build, because people love it | |
is_component_build = true | |
# release build, because its faster | |
is_debug = true |