Skip to main content

Home/ Groups/ Larvata
crazylion lee

Wappalyzer - 0 views

  •  
    "Wappalyzer uncovers the technologies used on websites. "
snow9816

apache 各種... - 0 views

shared by snow9816 on 03 Oct 16 - No Cached
snow9816

Apache 中 KeepAlive 配置的合理使用 - 煎炸熊の記事本 - 0 views

  • KeepAlive 配置指令決定當處理完用戶發起的 HTTP 請求後是否立即關閉 TCP 連接,如果 KeepAlive 設置為On,那麼用戶完成一次訪問後,不會立即斷開連接,如果還有請求,那麼會繼續在這一次 TCP 連接中完成,而不用重複建立新的 TCP 連接和關閉TCP 連接,可以提高用戶訪問速度。
  • 那麼我們考慮3種情況: 1。用戶瀏覽一個網頁時,除了網頁本身外,還引用了多個 javascript 文件,多個 css 文件,多個圖片文件,並且這些文件都在同一個 HTTP 服務器上。 2。用戶瀏覽一個網頁時,除了網頁本身外,還引用一個 javascript 文件,一個圖片文件。 3。用戶瀏覽的是一個動態網頁,由程序即時生成內容,並且不引用其他內容。 對於上面3中情況,我認為:1 最適合打開 KeepAlive ,2 隨意,3 最適合關閉 KeepAlive
  • 假設 KeepAlive 的超時時間為 10 秒種,服務器每秒處理 50個獨立用戶訪問,那麼系統中 Apache 的總進程數就是 10 * 50 = 500 個,如果一個進程佔用 4M 內存,那麼總共會消耗 2G內存
張 旭

A Tour of Rails' jQuery UJS - 0 views

  • “I should really figure out what that does someday.”
  • today is that day
  • jquery-ujs wires event handlers to eligible DOM elements to provide enhanced functionality.
  • ...11 more annotations...
  • In most cases, the eligible DOM elements are identified by HTML5 data attributes.
  • using JavaScript to progressively enhance the user experience for capable browsers without negatively impacting clients that do not support or do not enable JavaScript.
    • 張 旭
       
      讓 user 有更好體驗,但是也不影響到那些沒有 JS 支援的 user
  • jquery-ujs attaches a handler to links with the data-method attribute
  • When the link is clicked, the handler constructs an HTML form along with a hidden input that sets the _method parameter to the requested HTTP verb
  • jquery-ujs attaches a handler to links or forms with the data-confirm attribute that displays a JavaScript confirmation dialog
  • Users double click links and buttons all the time.
  • Links and buttons that have a data-disable-with attribute get a click handler that disables the element and updates the text of the button to that which was provided in the data attribute and disables the button.
    • 張 旭
       
      優雅地處理了使用者重複點擊傳送按鈕的問題。
  • If the action is performed via AJAX, the handler will re-enable the button and reset the text when the request completes.
  • Thanks to jquery-ujs and Rails’ respond_with, setting remote: true is likely the quickest way to get your Rails application making AJAX requests.
  • support both AJAX and standard requests at the same time.
  • Cross-Site Request Forgery (CSRF) is an attack wherein the attacker tricks the user into submitting a request to an application the user is likely already authenticated to.
crazylion lee

Debugging WordPress (The Right Way) | Tom McFarlin - 0 views

  •  
    "Debugging WordPress projects is one of those things that WordPress developers seem to approach differently."
crazylion lee

MacGDBp - Blue Static - 1 views

  •  
    "Debugging a live, running PHP application has never been so easy!"
snow9816

Sublime Text 3124 - Pastebin.com - 0 views

  •  
    "-- BEGIN LICENSE -- Michael Barnes Single User License EA7E-821385 8A353C41 872A0D5C DF9B2950 AFF6F667 C458EA6D 8EA3C286 98D1D650 131A97AB AA919AEC EF20E143 B361B1E7 4C8B7F04 B085E65E 2F5F5360 8489D422 FB8FC1AA 93F6323C FD7F7544 3F39C318 D95E6480 FCCC7561 8A4A1741 68FA4223 ADCEDE07 200C25BE DBBC4855 C4CFB774 C5EC138C 0FEC1CEF D9DCECEC D3A5DAD1 01316C36 -- END LICENSE --"
張 旭

Choosing an HTTP Status Code - Stop Making It Hard - Racksburg - 0 views

  •  
    絕佳的解說
crazylion lee

Thimble by Mozilla - An online code editor for learners & educators. - 0 views

  •  
    "Thimble is an online code editor that makes it easy to create and publish your own web pages while learning HTML, CSS & JavaScript."
crazylion lee

Instant.io - Streaming file transfer over WebTorrent - 0 views

shared by crazylion lee on 27 Sep 16 - No Cached
  •  
    "Streaming file transfer over WebTorrent (torrents on the web)"
crazylion lee

DiskMaker X - 1 views

shared by crazylion lee on 24 Sep 16 - No Cached
snow9816

CentOS 5.5 安裝 Apache 2.2.x (教學筆記) - Soul & Shell Blog - 0 views

  • 使用 "--enable-ssl" 但是找不到可用的 header 進行編譯,可透過安裝 SSL 套件
  • No recognized SSL/TLS toolkit detected
  • yum install openssl-devel
crazylion lee

turbo/alwsl at dev - 1 views

  •  
    "Install archlinux as the WSL (Windows Subsystem for Linux) host."
crazylion lee

baidu/Paddle: PArallel Distributed Deep LEarning - 0 views

  •  
    "PArallel Distributed Deep LEarning http://www.paddlepaddle.org/"
crazylion lee

Minio - 0 views

shared by crazylion lee on 14 Sep 16 - No Cached
  •  
    "Store photos, videos, VMs, containers, log files, or any blob of data as objects."
crazylion lee

getify/You-Dont-Know-JS: A book series on JavaScript. @YDKJS on twitter. - 0 views

  •  
    "This is a series of books diving deep into the core mechanisms of the JavaScript language. The first edition of the series is now complete."
« First ‹ Previous 921 - 940 of 1422 Next › Last »
Showing 20 items per page