Lesson 05: Linux 筆記 - Log Server, MariaDB, nmap

Log Server 實作 MariaDB 權限與加密, nmap 檢測工具介紹 User ID Report aureport -u -i --failed | less 1.Write message to syslog BIOS/UEF ➡ grub2 ➡ kernel ➡ systemd ➡ journalctl rsyslog : 如果選 minimal installation,err不會由rsyslog接,改由journalctl接error接收 將訊息寫入系統紀錄中 @Server 1 root# logger hello World 1 root# tail /var/log/messages 1 root# journalctl 1 root# journalctl --since "2023-04-15" 1 root# reboot 將journalctl紀錄持久化 推書時間: 實戰Linux系統數位鑑識 (江湖海) (Practical Linux Forensics: A guide for digital investigators, by Bruce Nikkel)

JavaScript 常見內建方法

這裡紀錄上班看遇到的常用 JavaScript 內建方法 ╚(•⌂•)╝ Object.prototype.hasOwnProperty(param) 回傳 boolean 值 true: 如果該param是該物件的直接屬性(direct property),即便值為 null 或者 undefined false: 如果屬性是繼承來的,或從沒被宣告 1 2 3 4 5 6 7 8 9 10 11 12 13 _self._getCurrencyFlagPath = (function () { var imageList = Object.freeze({ AUD: 'images/lilyRose/flag_AUD.svg', CAD: 'images/lilyRose/flag_CAD.svg', EUR: 'images/lilyRose/flag_EUR.svg', JPY: 'images/lilyRose/flag_JPY.svg', TWD: 'images/lilyRose/flag_TWD.svg', NTD: 'images/lilyRose/flag_TWD.svg' }); return function (currency) { return imageList.hasOwnProperty(currency) ? imageList[currency] : ''; } })(); Object.freeze() 淺凍結 Freezing an object prevents extensions and makes existing properties non-writable and non-configurable.

Cascading style sheet

這一兩天上班在研究既有程式碼的CSS寫法,因為之後的需求要拉皮 看到什麼就記下來,之後複習的話再分類 overflow: hidden 直接隱藏超出範圍的文字 overflow: auto 與 overflow: scroll 類似,但 overflow:auto 只有在有需要時才會出現 scroll bar 參考: css overflow list-style-type 設定清單的項目編碼符號 1 2 3 4 5 6 7 8 9 10 11 ul { list-style-type: none; /* list-style-type: disc; //實心黑圓點 list-style-type: circle; //空心圓圈 list-style-type: square; list-style-type: decimal; list-style-type: georgian; list-style-type: "\1F44D"; //👍 */ } . 以及 # #foo {}:id selector,像是id=foo .foo {}:class selector,例如class="foo" 一個元素可以有多個class,用空格區別 class="foo bar" #yIcon > img 只選擇 id 為 yIcon 元素底下的直接子對象

Lesson 04: Linux 筆記 - CA憑證、SELinux

Strict Transport Security (HSTS) Apache Nginx HTTPS 加密流程 Client 連到 Server 時,Server 將 Public key 傳給 Client Client 使用 Public key 產生隨機碼,和 Server 建立加密通道。 Client 用 Public key 進行傳輸資料加解密,Server 用 Private key 進行傳輸資料加解密 實際的資料使用對稱式加密方式,透過已經建好的加密通道進行傳輸 https 使用了非對稱式與對稱式加密 Khoor, Olqxa 怎麼在廣大的領域中發現小小的弱點,突破當前使用之演算法的弱點 – Dr. Mathematics 凱薩加密演算法 字母位移預設三個字 @Desktop 1 2 root# mkdir demo; cd demo/ root# vi caesar-cipher.sh shellscript 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 #!

すずめの戸締(toji)まり- 我出門了,我回來了

鈴芽是一位平凡的高二少女,某天騎著自行車上學的下坡路上遇見東京地理系大學生(教師考生/斜槓家業關門師)草太,留著及肩捲髮,皮膚白皙的他右下眼角有一顆淚痣,穿著白色T恤、天藍色(azure; hex: #f0ffff)長大衣、脖子上掛著一把鑰匙的他獨自一人背對波光粼粼的海面,徒步走向宮崎當地的山區廢墟。 一句請問這附近有門、有廢墟嗎,在鈴芽心中發芽,開啟了這部作品的序幕。毅然決定翹課的鈴芽騎著單車來到廢棄小鎮,尋無他的身影,倒是來到了一個看似廢棄圓頂溫室花園前。積窪上奇妙的立者一扇木門,鈴芽看見門後那個叫做常世的地方,滿天繁星草原卻在一踏進門時轉瞬消失。 中午回到學校,正和朋友聊天配飯的鈴芽驚見天有異象,不安於室地回到廢墟,再次遇見草太哥,他們跟著大臣白貓貓,意外踏上關門之旅,愛媛 神戶 東京 仙台 岩手縣….(這裡決定要好好守護這個故事就不爆雷了) 先把有觸及到我的閃光點條列下來– 劇情 鼓勵自己 常世裡的燦爛星空 渴望得到鈴芽關愛的大臣白貓🥰🤍 戲份不多但是很帥很成熟的大黑貓 撫養外甥女鈴芽12年的姨 念咒語之前,要想著這片土地上孕育的人與情 2011/3/11的地震到現在十二年了ಥ_ಥ 勇敢無畏的高中女生 特效 蚯蚓的各種型態 從地面向上蒸發的金色光束 鑰匙旁飄散的藍色雲絲光

Cloud architect GCP 🚧

Active learning - think and take notes Review - every once in a while Section 01 Getting Started GCP has 200+ services. This exam expects knowledge of 40+ services Exam tests your decision making abilities: Which service do you choose in which situation? How do you trade-off between resilience, performance and cost while not compromising on security and operational excellence? Below notes will help with making the tough choices