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 | |
if [ -f /.dockerenv ]; then | |
echo "I'm inside matrix ;("; | |
else | |
echo "I'm living in real world!"; | |
fi |
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
# | |
# example Dockerfile for https://docs.docker.com/engine/examples/postgresql_service/ | |
# | |
FROM ubuntu:18.04 | |
# Install curl | |
RUN apt-get update && apt-get install -y wget gnupg2 | |
# Add the PostgreSQL PGP key to verify their Debian packages. |
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
int findMax( int x, int y){ | |
int z = x - y; | |
int i = (z >> 31) & 0x1; | |
int max = x - i * z; | |
return max; | |
} |
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
041706d1bd7ffe39b677b3cc46f0164b704f637d364f458066a48c9bce95e31f4d434b30f0c979b8214e1dbd5dcfd6cbfacf54b5a846ab95c58b32a97d3128e867 |