Skip to content

Instantly share code, notes, and snippets.

View hvnsweeting's full-sized avatar

Viet Hung Nguyen hvnsweeting

View GitHub Profile
@hvnsweeting
hvnsweeting / HN2202_01.ipynb
Created March 1, 2022 15:18
Học lập trình Python tại https://pymi.vn Hà Nội Sài Gòn 2022 tháng 2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / HN2110_02.ipynb
Created October 26, 2021 14:37
Hoc PYthon tai https://pymi.vn lop HN HCM 21/10/2021
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / HN2110_01.ipynb
Created October 21, 2021 14:38
Hoc Python tai Pymi.vn lop HN 2110
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / snyk_2021_ctf_calculator.ipynb
Created October 6, 2021 16:13
Pymi team solution for SNYK 2021 CTF - CALC-UL8R
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

img

livebook01 - hvn@pymi.vn

PE01

1..999
|> Enum.filter(&(rem(&1, 3) == 0 or rem(&1, 5) == 0))
|> Enum.reduce(fn x, acc -> acc + x end)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hvnsweeting
hvnsweeting / HN2104_01.ipynb
Last active April 6, 2021 14:35
Học Python tại Pymi.vn
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
$ docker run -it alpine:3.7 -- sh [125]
Unable to find image 'alpine:3.7' locally
3.7: Pulling from library/alpine
5d20c808ce19: Pull complete
Digest: sha256:8421d9a84432575381bfabd248f1eb56f3aa21d9d7cd2511583c68c9b7511d10
Status: Downloaded newer image for alpine:3.7
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "--": executable file not found in $PATH: unknown.
ERRO[0009] error waiting for container: context canceled
$ docker run -it alpine:3.7 sh [127]
/ # nslookup google.com