This file contains 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
-- Pull in the wezterm API | |
local wezterm = require 'wezterm' | |
-- This table will hold the configuration. | |
local config = {} | |
-- In newer versions of wezterm, use the config_builder which will | |
-- help provide clearer error messages | |
if wezterm.config_builder then | |
config = wezterm.config_builder() |
This file contains 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
#include <cstdio> | |
#include <cstdlib> | |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
#include <string> | |
#include <stack> | |
#include <cmath> | |
#include <deque> | |
#include <queue> |
This file contains 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
#include <cstdio> | |
#include <cstdlib> | |
#include <iostream> | |
#include <algorithm> | |
#include <vector> | |
#include <string> | |
#include <stack> | |
#include <cmath> | |
#include <deque> | |
#include <queue> |
This file contains 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
# INPUT 1 | |
10 | |
74913113777166616 402355442040851531 789459062910216887 | |
359517096819372182 379566606326355818 620729195485101071 | |
588975007509787086 152039282651498060 619315300098298632 | |
68106402740208624 151160082307482850 931996307228977763 | |
825955107421052885 729669068804091445 291434954007861319 | |
257346413186698484 880339753189855593 727841163634803059 | |
904058215924336454 335405998963647135 493416751116137735 | |
797872697577790217 206675119284987589 123474393799428767 |
This file contains 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
#!/bin/bash | |
update_image() { | |
docker pull $1 | |
} | |
for image in $(docker images | tail -n +2 | cut -d " " -f1) | |
do | |
update_image $image | |
done |