EPH 的程式日記
  • >> 旅遊日記

EPH 的程式日記

記錄程式設計生活的點點滴滴

[Mac] 在 python 中可以匯入的模組,在 ipython 中無法匯入?

[Mac] 在 python 中可以匯入的模組,在 ipython 中無法匯入?

2016-08-20 ephrain Comments 0 Comment

最近用 pip 裝好了 yappi 這個 profiling 的模組, 用 python 來 import 沒有問題: testuser@localhost ~…

Read More Read More

[Python] 使用 yappi 對多執行緒 (multi-thread) 程式做 profiling

[Python] 使用 yappi 對多執行緒 (multi-thread) 程式做 profiling

2016-08-20 ephrain Comments 0 Comment

昨天剛學到用 cProfile+gprof2dot 將 profiling 結果視覺化, 不過 cProfile 有個問題:它預設只能處理單一執行緒 (thre…

Read More Read More

[Android] 用街口 app 行動支付餐廳的消費金額

[Android] 用街口 app 行動支付餐廳的消費金額

2016-08-20 ephrain Comments 0 Comment

公館的感恩小館是我蠻喜歡的一家餐廳,東西蠻好吃的, 上次去的時候發現他們有跟街口合作,有一些優惠方案, 因此決定把街口 app 裝起來~ 今天正好又去了感恩小館…

Read More Read More

[Mac] 用 qpdf 移除 PDF 中的密碼保護,允許修改或加註

[Mac] 用 qpdf 移除 PDF 中的密碼保護,允許修改或加註

2016-08-19 ephrain Comments 0 Comment

今天拿到一個 PDF,這個 PDF 是有編輯保護的, 因此就算我想在上面做註記,也是沒辦法存檔的, 可是電子書我又蠻習慣在上面畫線或做標記,該怎麼辦呢? 有個叫…

Read More Read More

[Python] 用 pyprof2calltree+qcachegrind 將 profiling 結果視覺化

[Python] 用 pyprof2calltree+qcachegrind 將 profiling 結果視覺化

2016-08-18 ephrain Comments 0 Comment

在對 Python 程式做效能最佳化時,我們可以用 Profile+gprof2dot 將 profiling 結果視覺化, 不過後來發現也還有別的方…

Read More Read More

[Python] 用 cProfile+gprof2dot 將 profiling 結果視覺化

[Python] 用 cProfile+gprof2dot 將 profiling 結果視覺化

2016-08-18 ephrain Comments 2 comments

專案裡有隻 python 程式,因為它常常被呼叫到, 可是它執行所花費的時間似乎有點久,比我們預期的要長… 因此今天的任務就是找出程式執行時間的瓶頸…

Read More Read More

[Windows] 用 PDFStreamDumper 分析具有 CVE-2009-0927 模式的 PDF

[Windows] 用 PDFStreamDumper 分析具有 CVE-2009-0927 模式的 PDF

2016-08-17 ephrain Comments 0 Comment

今天看到一個 PDF 檔案,同事沒有說這個檔案是不是惡意的, 想說就拿剛學到的 PDFStreamDumper 來看看這 PDF 是不是有問題的~  …

Read More Read More

Posts navigation

OLDER POSTS
NEWER POSTS

近期文章

  • [Mac/Linux] 搜尋有哪些檔案 symbolic link 到特定檔案
  • [Mac] 無法 cd 進入 ~/Library/Application Support 目錄?
  • [Chrome] 使用 Tampermonkey 過濾掉 Google 新聞中,不想看到的文章(2025新版)
  • [GitHub] 使用 GitHub CLI 下載 Release 中的 Asset 檔案
  • [Flutter] 使用 fvm 管理不同的 Flutter 版本

近期迴響

  • James Yu on [GCP] 刪除已經被附加在虛擬機器上的靜態 IP 位址感謝分享,解決初學者的困擾
  • ephrain on [Mac] 使用 Bartender 5 解決 Menu icon 因為空間過小顯示不出來的問題感謝提醒,目前看來似乎不太能確定情況, ...
  • Jerry on [Mac] 使用 Bartender 5 解決 Menu icon 因為空間過小顯示不出來的問題Bartender 5 疑似出售不明人士...
  • Trent on [Windows] Windows 7 上安裝 .NET Framework 4.8 失敗,因為憑證不被信任?謝謝你,解決了我安裝遇到的問題
  • ephrain on [GitHub] 使用 GitHub CLI (gh) 觸發還在 PR 中的 GitHub Actions workflow 測試不客氣喔~

本週熱門

  • [MOD] 自己安裝與設定中華電信 MOD (0)
  • [健康] 大腸鏡檢查初體驗 (0)
  • [Linux] 使用 diff 指令產生補丁檔,用 patch 指令幫程式上補丁 (0)
  • [生活] 新冠肺炎 Omicron 確診記 (0)
  • [Mac] 使用 Macro Recorder 錄製滑鼠鍵盤動作,再重覆播放 (1)

彙整

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
© 2025 | Proudly Powered by WordPress | Theme: Nisarg