Wama

@wama

Joined on Oct 31, 2018

  • Practical Experience Back-End Developer @RoomDreaming StratUp Full-Stack Web Developer(Part-Time) @NCU ECLaravel 8、Laradock、MySQL Back-End Developer @NCU App Firebase AWS Educate Cloud Ambassador, Tech Support @Amazon Web Service
     Like  Bookmark
  • Cloud Building Data center in provider side AZ (Avalibility Zones) Cloud Computing Example
     Like  Bookmark
  • # 資訊學科能力競賽筆試 筆記 ## 有號數字 表示法(Signed Number Representations) ### 符號大小 (Sign and Magnitude) > 用一個位元 (bit) 來表示 正(+)、負(-) > 符號大小 (Sign and Magnitude) 表示法的 +0、-0 不一樣 ### 1 的補數 (Ones’ Complement) > 又稱 反碼 > > 藉由 反轉/反向 ( inverse ) 每一個位元,原本是 『 1 』 就變 『 0 』,『 0 』就變 『 1 』 > > 例如 (4位元 1 的補數): 『 3 』,表示為: 0011; 『 -3 』,就是 『 3 』的反向,表示為: 1100。 > > **0 依然有兩種表示法 +0、-0**。 > > 減法 可以透過加一個『負數』來完成。 > 例如: > 3 – 2 運算,可以透過 3 + (-2) 來完成。 > 『 3 』 表示為: 0011, > 『 + 』為 1 的補數加法 (常表示為: {+1s}、+’), > 『 -2 』表示為: 1101。 > ![](http
     Like  Bookmark
  • # 你所不知道的資安漏洞 `6/1 @淡江` ## language ### 前端 所有內容client都可以修改 ( ==檢查、過濾放前端沒用== ) * HTML * JavaScript > alert("~") ### 後端 * SQL > 資料庫 ### 框架 ( Framework ) 通常是多人維護的大型專案 :+1: 安全性高、易上手 :-1: 肥大 * CSS > Bootstrap, SemanticUI * JS > Vue, React, Angular JS, JQuery * 後端 > Rails, Django, Flask, Laravel, Actix Web ## protocol * HTTP/HTTPS > cookie ## 常用工具 * Wappalyzer * hackbar * tamper data * BurpSuite ## 漏洞通報 * HITCON ZeroDay * HackerOne > Bug Bounty Program ## 攻擊 ### XS
     Like  Bookmark
  • # git practice ## terminal ``` cd 切換目錄 pwd 取得目前所在的位置 ls 列出目前的檔案列表 -a (列出包含 .開頭檔案) -l (完整檔案的權限、擁有者以及建立、修改時間) mkdir 建立新的目錄 touch now file cp copy mv move rm remove clear clean the screen ``` ## vim ![](https://gitbook.tw/images/command-line/vim-introduction/mode.png) ## git ### set up ``` $ git config --global user.name "Name" $ git config --global user.email "eamil" ``` ### shorten (just being lazy) ``` $ git config --global alias.co checkout $ git config --global alias.br
     Like  Bookmark
  • ###### tags: `NS Quest` # NS題庫 ## stack - [NS001. 小克要裝書](https://hackmd.io/s/H1EFAt084) - [NS002. 媒婆](https://hackmd.io/s/rJJ91ARLE) - [NS003. 後序運算(空格版)](https://hackmd.io/s/r1LxOc9wE) - [NS003. 後序運算(一行版)](https://hackmd.io/s/SJN0Tc9wN) ## other resources - [ZeroJudge 基礎題庫](https://hackmd.io/s/SkT_TqEON)
     Like  Bookmark
  • # C++ STL ## stack ```cpp #include <stack> stack <int> s; //宣告一個名為 s 的 stack (int 型態) s.push(123); //將 123 推入 s while (!s.empty()) { //如果 s 不是空的->執行 while cout << s.size() << endl; //輸出 s 的長度 (元素的數目) cout << s.top() << endl; //輸出 s 頂端的元素 s.pop(); //移除 s 頂端的元素 } ``` output ``` 1 123 ``` ## queue ```cpp #include <queue> queue <int> q; //宣告一個名為 q 的 queue (int 型態) priority_queue <int> q1; //q1 中所有值會自動由大到小排序 priority_queue <int, vector<int>, less<int> > q2; //意義同 q1 priority_queue <in
     Like  Bookmark
  • # 國中 C++ 練習題目 ## 基礎題 ### 字串處理 [a065: 提款卡密碼](https://zerojudge.tw/ShowProblem?problemid=a065) * 提示 : 還記得 ASCII code 嗎? [a020: 身分證檢驗](https://zerojudge.tw/ShowProblem?problemid=a020) ### 迴圈練習 [b294: 經濟大恐荒](https://zerojudge.tw/ShowProblem?problemid=b294) ## 進階題 ### 字串處理 [a022: 迴文](https://zerojudge.tw/ShowProblem?problemid=a022) * 提示 : 可上網查查 string 的用法, 或直接開 1000 格的陣列 (題目輸入敘述 長度 < 1000)
     Like 1 Bookmark