Skip to content

Instantly share code, notes, and snippets.

View hpcslag's full-sized avatar
🙀
Probability^C. not A and not B

MacTaylor hpcslag

🙀
Probability^C. not A and not B
  • Industrial Technology Research Institute.
  • Chiba, Japan
View GitHub Profile
@udzura
udzura / SECKUN 2021 pub.md
Last active April 20, 2024 00:58
SECKUN 2021/ProSec-IT 2021 コンテナ演習資料(公開版)

SECKUN 2021/ProSec-IT 2021 コンテナ演習資料(公開版)

この資料について

九州大学のSECKUN 2021/ProSec-IT(enPiT-Pro) 2021の共通カリキュラムにおいて、近藤 @udzura が担当したコンテナ概要の授業にて使用した教材です。

今回、公益性を鑑み、授業固有の連絡事項などを削除した状態で公開します。

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Task 1: Create a project jumphost instance
Navigation menu > Compute engine > VM Instance
Task 2: Create a Kubernetes service cluster
gcloud config set compute/zone us-east1-b
gcloud container clusters create nucleus-webserver1
@amard33p
amard33p / install_sw_remotely.ps1
Last active January 8, 2022 14:09
Install sshfs-win on a remote Windows 10 host using Powershell
# Ensure following script in executed on remote host first
# https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
# Get the URL of the latest binaries from here
# https://github.com/billziss-gh/sshfs-win/releases
# https://github.com/billziss-gh/winfsp/releases
$winfsp_url = "https://github.com/billziss-gh/winfsp/releases/download/v1.7B2/winfsp-1.7.20123.msi"
$winfsp_msi = "winfsp-1.7.20123.msi"
$sshfs_url = "https://github.com/billziss-gh/sshfs-win/releases/download/v3.5.20024/sshfs-win-3.5.20024-x64.msi"
@hayderimran7
hayderimran7 / EKS_RDS_VPC_Peering_script.sh
Last active June 19, 2024 04:19
VPC Peering Between EKS and RDS postgres
#!/bin/bash -xe
## Create a VPC Peering connection between EKS and RDS Postgres
echo """ run this script as:
./eks-rds-peering.sh
+ read -p 'Enter name of EKS Cluster: ' EKS_CLUSTER
Enter name of EKS Cluster: xolv-dev-cluster
+ EKS_VPC=eksctl-xolv-dev-cluster-cluster/VPC
+ EKS_PUBLIC_ROUTING_TABLE=eksctl-xolv-dev-cluster-cluster/PublicRouteTable
+ read -p 'Enter name of RDS: ' RDS_DB_NAME
Enter name of RDS: sfstackuat
@littlebookboy
littlebookboy / joel_on_softwate_notes.md
Last active April 15, 2022 03:57
Joel On Software 約耳趣談軟體閱讀筆記

Part 1 位元與位元組:程式設計的實踐

CH01 選擇一種語言

  • 不基於語法選擇程式語言,而是看需求,選最適合的

CH02 回歸簡單原則

  • 比原來更深入,去追,去了解你在使用的程式,已經被做完的那些 code 是寫些什麼
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@798886844
798886844 / OFB离线下载
Created October 1, 2018 14:09
VPS搭建Aria2+AriaNG+Rclone挂载Onedrive实现离线下载到网盘
#### 2018.5.29 23:55更新:修改安装顺序,避免出现bug;修改autoupload.sh内容,实现上传+删除本地文件同时管理。
研究了接近三个月的离线下载,网上的教程或多或少有一些或者几乎全部都是错的,不知道是过期了还是怎么了。还好,至少给了我一个大方向,经过不懈的努力,我最终还是实现了这个离线下载到Onedrive中的功能。
在研究的过程中无意发现了Rclone自带的sync功能,因此,本篇文章将用两种方法实现自动上传,并做对比。
搭建环境:Docker环境,镜像:
[rastasheep/ubuntu-sshd](https://hub.docker.com/r/rastasheep/ubuntu-sshd/)
其中,该镜像的环境是
@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active July 6, 2024 08:37
crack activate Office on mac with license file

Aws Elasticsearch Service 踩雷紀錄

前言

本文是為了幫助那些想使用 Aws Elasticsearch Servcie 跟 想使用 logstash kibana 所誕生的。

為何要使用 Aws Elasticsearch Service

免費 是最重要的原因,對於一個缺錢的新創或者是工程師,免費超吸引人的。 安裝快速,擴展方便也很重要,不過都比不過 免費