Skip to content

Instantly share code, notes, and snippets.

View AmbroseNTK's full-sized avatar
🎯
Focusing

Nguyễn Tuấn Kiệt AmbroseNTK

🎯
Focusing
View GitHub Profile
@AmbroseNTK
AmbroseNTK / install_kubeflow.sh
Created June 5, 2021 13:51
Install Kubeflow
MANIFEST_BRANCH=${MANIFEST_BRANCH:-v1.3-branch}
export MANIFEST_BRANCH
MANIFEST_VERSION=${MANIFEST_VERSION:-v1.3.0}
export MANIFEST_VERSION
KF_PROJECT_NAME=${KF_PROJECT_NAME:-hello-kf-${PLATFORM}}
export KF_PROJECT_NAME
mkdir "${KF_PROJECT_NAME}"
pushd "${KF_PROJECT_NAME}"
manifest_root=https://raw.githubusercontent.com/kubeflow/manifests/
FILE_NAME=kfctl_k8s_istio.${MANIFEST_VERSION}.yaml
@AmbroseNTK
AmbroseNTK / heart.go
Created March 12, 2021 10:48
Heart in Go
package main
import (
"golang.org/x/tour/pic"
"math"
//"fmt"
)
func CalcHeart(t float64) (x,y float64) {
x = 16*math.Sin(t)*math.Sin(t)*math.Sin(t)
@AmbroseNTK
AmbroseNTK / Clock.cs
Created August 28, 2020 12:52
Clock Class
public partial class Clock : UserControl
{
private int clockBorderWidth = 5;
private Color clockBorderColor = Color.Black;
private Color hourNeedleColor = Color.Blue;
private int hourNeedleSize = 70;
private Color minuteNeedleColor = Color.Green;
private Color secondNeedleColor = Color.Red;
private Timer timer;
public Clock()
@AmbroseNTK
AmbroseNTK / SwitchToVMWare
Created December 20, 2019 03:52
Switch To VMWare
bcdedit /set hypervisorlaunchtype off
shutdown /r /t 0
@AmbroseNTK
AmbroseNTK / SwitchToDocker.bat
Created December 20, 2019 03:50
SwitchToDocker
bcdedit /set hypervisorlaunchtype auto
shutdown /r /t 0
@AmbroseNTK
AmbroseNTK / pipeline.config
Last active December 9, 2019 08:18
FRCNN- Sample Pipeline Config
model {
faster_rcnn {
num_classes: 51
image_resizer {
keep_aspect_ratio_resizer {
min_dimension: 600
max_dimension: 1024
}
}
feature_extractor {
@AmbroseNTK
AmbroseNTK / Program.java
Created December 7, 2019 04:28
Java create student list and sorting
import java.util.ArrayList;
import java.util.Comparator;
public class Student {
private String id;
private String name;
private double gpa;
public String getId() {
return id;
@AmbroseNTK
AmbroseNTK / app.js
Created November 15, 2019 04:40
CRUD between Firestore and Nodejs
const express = require('express');
var admin = require('firebase-admin');
var bodyParser = require('body-parser')
let app = express();
let port = 3000;
app.use(bodyParser.json())
@AmbroseNTK
AmbroseNTK / Microsoft Office 2019 RTM GVLK Keys
Created November 12, 2019 13:24 — forked from marwein/Microsoft Office 2019 RTM GVLK Keys
Microsoft Office 2019 RTM default #GVLK (Generic Volume License Key)
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK).
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure.
Important
These license keys can't be used to activate your personal copy of Office.
@AmbroseNTK
AmbroseNTK / offsec.md
Created May 31, 2019 01:32 — forked from jivoi/offsec.md
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*