Skip to content

Instantly share code, notes, and snippets.

View vdchuyen's full-sized avatar

Chuyen Vo vdchuyen

View GitHub Profile
@vdchuyen
vdchuyen / cloud-gpus.md
Last active October 3, 2023 03:13 — forked from devinschumacher/cloud-gpus.md
Cloud GPUs // The Best Servers, Services & Providers [RANKED!]

Cloud GPUs: Servers, Providers & Everything You Would Ever Want Ya Dingus!

Your company's GPU computing strategy is essential whether you engage in 3D visualization, machine learning, AI, or any other form of intensive computing.

There was a time when businesses had to wait for long periods of time while deep learning models were being trained and processed. Because it was time-consuming, costly, and created space and organization problems, it reduced their output.

This problem has been resolved in the most recent GPU designs. Because of their high parallel processing efficiency, they are well-suited for handling large calculations and speeding up the training of your AI models.

When it comes to deep learning, GPUs can speed up the training of neural networks by a factor of 250 compared to CPUs, and the latest generation of cloud GPUs is reshaping data science and other emerging technologies by delivering even greater performance at a lower cost and with the added benefits of easy scalability and rapid

@vdchuyen
vdchuyen / ns-prefix-as-lookup.py
Last active September 25, 2023 15:29
Python script to lookup NS PTR with list prefixes from one AS
##
# chuyenvd@vng
# 2023-09-25
##
import dns.resolver
import ipaddress
AS = "AS12345"
with open(AS) as f:
@vdchuyen
vdchuyen / cloud-dns.sh
Created August 9, 2023 07:45
Check Cloud DNS
#!/opt/homebrew/bin/fish
echo "Google DNS"
curl -s 'https://dns.google/resolve?name='$argv[1]'&type='$argv[2] | jq '.Answer'
echo -e "\nCloudflare DNS"
curl -s --http2 -H "accept: application/dns-json" 'https://1.1.1.1/dns-query?name='$argv[1]'&type='$argv[2] | jq '.Answer'
@vdchuyen
vdchuyen / 2020.md
Last active June 19, 2021 13:37
2020 is a sad year

This memo was used to note a very sad year !

So many oustanding ppl had passed away ! So many lives had gone to meet God ...

The emotions mixed up with tears and amazing moments. A little thought came to my mind for being a witness with these strange events, some disruptive technology and another definition of life. As all of readers this memo thought, this had to be a year everyone should forget ! The crash of everything: hopes, lifes, and happiness.

And finally, to sum up 2020 there is nothing to compete with this: Death to 2020(https://www.netflix.com/title/81332175) which come from the same team with Black Mirror(https://www.netflix.com/title/70264888).

@vdchuyen
vdchuyen / 1984.md
Last active June 18, 2021 11:29
1984 is awesome

This status has been in my head for a while, not just because this is a special year[https://en.wikipedia.org/wiki/1984] but this is indeed a special year:

  • The name of a famous book by Murakami, 1984Q
  • An Austrian band recorded a song name "Live Is Life", It was a European number-one hit in the summer of a year later. It has the same moto with "Pura Vida" in Puerto Rico.
  • https://xkcd.com/1984: seems fit my type.
@vdchuyen
vdchuyen / plain-text.md
Created December 1, 2020 11:16
Wrap up future web ideas and plain-text
@vdchuyen
vdchuyen / random.md
Created March 29, 2020 08:43
Random thoughts

Everyone/students have been taught and listened "excellent" all the times but they rarely heard "mediocre".

@vdchuyen
vdchuyen / taskjoke.md
Created December 4, 2019 10:46
Task joke

manager: "how many days do you need to complete this feature?"

programmer: "n+1"

@vdchuyen
vdchuyen / gist:86ec0b87adb168c197e679268bda1ac9
Last active January 12, 2021 10:45
Every success company has some heroes
*** Jeff Rothschild *** - Facebook
https://oxide.computer/blog/on-the-metal-1-jeff-rothschild/
https://www.forbes.com/sites/ryanmac/2014/02/28/meet-jeff-rothschild-the-hidden-facebook-billionaire-old-enough-to-be-zuckerbergs-dad/#636858d555ed
*** Lee Holloway *** - Cloudflare
https://www.wired.com/story/lee-holloway-devastating-decline-brilliant-young-coder/
@vdchuyen
vdchuyen / email_notify.py
Created July 17, 2019 03:20 — forked from jriguera/email_notify.py
Email from Python with Jinja2
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Python 3 and compatibility with Python 2
from __future__ import unicode_literals, print_function
import os
import sys
import re
import logging