Skip to content

Instantly share code, notes, and snippets.

View peter279k's full-sized avatar
🎯
Focusing

Chun-Sheng, Li peter279k

🎯
Focusing
View GitHub Profile
@peter279k
peter279k / install-xrdp-ubuntu-18.04.md
Created July 3, 2021 16:05 — forked from hehuan2112/install-xrdp-ubuntu-18.04.md
Install Remote Desktop (xRDP) for Ubuntu Server 18.04

Install Remote Desktop (xRDP) for Ubuntu Server 18.04

Step 1 – Install xRDP:

sudo apt update
sudo apt install xrdp

Step 2 – Install XFCE4

sudo apt install xfce4

@peter279k
peter279k / download.php
Created April 9, 2021 17:43 — forked from beyerz/download.php
Symfony console, download remote file with progress bar using guzzle
/**
* @param SymfonyStyle $io
* @param $remotePath
*
* @return string
*/
public function download(SymfonyStyle $io, $remotePath)
{
$io->section("Download " . $remotePath);
$parts = parse_url($remotePath);
@peter279k
peter279k / facebook_login.py
Last active October 23, 2023 07:36 — forked from UndergroundLabs/gist:fad38205068ffb904685
Facebook Python Login Script
#!/home/drspock/scripts/FBInvite/bin/python
import argparse
import requests
import pyquery
def login(session, email, password):
'''
Attempt to login to Facebook. Returns user ID, xs token and
@peter279k
peter279k / aks-hands-on-lab.md
Last active September 26, 2020 05:42
This is the AKS hands-on-lab on K8s Summit 2020

容器化技術

  • 作業系統層級虛擬化
  • 透過Docker Engine
  • 可以專注在開發應用程式,不用太注意與操作虛擬化相關的操作技術

Docker image 映像檔

  • Docker Engine
  • Docker image
@peter279k
peter279k / IEC-61850_62351.md
Last active May 22, 2021 09:02
基於IEC 61850及IEC 62351之微電網保護的通訊及資安應用與測試

References