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 info | |
| Containers: 21 | |
| Running: 0 | |
| Paused: 0 | |
| Stopped: 21 | |
| Images: 47 | |
| Server Version: 18.09.2 | |
| Storage Driver: overlay2 | |
| Backing Filesystem: extfs | |
| Supports d_type: true |
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
| NONSWAPPED_OUT | |
| nonswapped_err | |
| tee out: NONSWAPPED_OUT | |
| tee err: nonswapped_err | |
| swapped_err | |
| SWAPPED_OUT | |
| tee out: SWAPPED_OUT | |
| tee err: swapped_err |
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
| FROM centos:centos7 | |
| RUN yum install -y python3 wget | |
| # GCloud Access | |
| RUN wget -nv \ | |
| https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz && \ | |
| mkdir /root/tools && \ | |
| tar xvzf google-cloud-sdk.tar.gz -C /root/tools && \ | |
| rm google-cloud-sdk.tar.gz && \ | |
| /root/tools/google-cloud-sdk/install.sh --usage-reporting=false \ |
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
| adult_price = 120 | |
| child_price = 60 | |
| total_tickets_purchased = 3 | |
| adult_ticket = 3 | |
| child_ticket = 0 | |
| availble_seats = 150 | |
| adult_cost=adult_price*adult_ticket | |
| child_cost=child_price*child_ticket | |
| total_cost=adult_cost+child_cost | |
| total_tickets_purchased=(adult_ticket+child_ticket) |
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
| Stretch: ERROR 1045 (28000): Access denied for user 'user'@'::ffff:1.2.3.4' (using password: NO) | |
| Buster: ERROR 2026 (HY000): SSL connection error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol | |
| Buster (downgraded): ERROR 2026 (HY000): SSL connection error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small |
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
| ❯ g++ main.cpp | |
| main.cpp: In function ‘void somefunction(const int*, int)’: | |
| main.cpp:13:20: error: expected primary-expression before ‘]’ token | |
| 13 | somefunction(b[], c - 1); |
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
| FROM alpine:3.12 | |
| RUN apk add bash gzip | |
| RUN head -c 50m </dev/urandom >payload1.dat | |
| RUN head -c 100m </dev/urandom >payload2.dat | |
| RUN head -c 150m </dev/urandom >payload3.dat | |
| RUN head -c 200m </dev/urandom >payload4.dat | |
| RUN head -c 250m </dev/urandom >payload5.dat |
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
| import numpy | |
| import json | |
| import argparse | |
| import select, sys | |
| from copy import deepcopy | |
| from itertools import product | |
| # usage: | |
| # |
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
| 2020-12-30.14.49 | |
| just cleared cmos, havent started working yet today. weirdly... my efi partition was at /dev/nvme2n1p1 this time. Pre-clear it was at /dev/nvme0n1p1. Huh? | |
| edit time:9 | |
| efi md5: 58510b1a4fbcf5453354b61aba922994 - | |
| 2020-12-30.14.56 | |
| Rebooted, running again. efi partition is back at /dev/nvme0n1p1. Weird? | |
| edit time:41 | |
| efi md5: 58510b1a4fbcf5453354b61aba922994 - |
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
| from sympy import symbols | |
| import sympy.logic.boolalg as form | |
| from itertools import combinations | |
| from functools import reduce | |
| from textwrap import indent | |
| import time | |
| import operator | |
| import pycosat | |
| import json |