2xx - success
200 - served!
201 - ok, created new resource (includes location header)
202 - ok, but not yet complete/in process (a long(ish) process -> github fork)
204 - yes, but no other relevant content to be returned
206 - yes, but partial response (binary content like images, includes content-range header of which bytes were returned)
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Here is a list of scopes to use in Sublime Text snippets - | |
| ActionScript: source.actionscript.2 | |
| AppleScript: source.applescript | |
| ASP: source.asp | |
| Batch FIle: source.dosbatch | |
| C#: source.cs | |
| C++: source.c++ | |
| Clojure: source.clojure | |
| CoffeeScript: source.coffee | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | !function(r,e,a,d,y){function $(f){d?f():r.push(f)}e.ready=$;e.addEventListener(a,y=function(){d=!e.removeEventListener(a,y,d);while(y=r.shift())y()},d)}([],document,'DOMContentLoaded',!1); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65"; | |
| $(document).keydown(function(e) { | |
| kkeys.push( e.keyCode ); | |
| if ( kkeys.toString().indexOf( konami ) >= 0 ) { | |
| $(document).unbind('keydown',arguments.callee); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function copyToClipboard( text ){ | |
| var copyDiv = document.createElement('div'); | |
| copyDiv.contentEditable = true; | |
| document.body.appendChild(copyDiv); | |
| copyDiv.innerHTML = text; | |
| copyDiv.unselectable = "off"; | |
| copyDiv.focus(); | |
| document.execCommand('SelectAll'); | |
| document.execCommand("Copy", false, null); | |
| document.body.removeChild(copyDiv); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // replace dumb quotes like "these" with “these” | |
| function smartQuotes(str) { | |
| return str | |
| .replace(/'''/g, '\u2034') // triple prime | |
| .replace(/(\W|^)"(\S)/g, '$1\u201c$2') // beginning " | |
| .replace(/(\u201c[^"]*)"([^"]*$|[^\u201c"]*\u201c)/g, '$1\u201d$2') // ending " | |
| .replace(/([^0-9])"/g,'$1\u201d') // remaining " at end of word | |
| .replace(/''/g, '\u2033') // double prime | |
| .replace(/(\W|^)'(\S)/g, '$1\u2018$2') // beginning ' | |
| .replace(/([a-z])'([a-z])/ig, '$1\u2019$2') // conjunction's possession | 
Discarded words such as "newspaper" and "cake" since they're not important to my life and probably won't come up often (or if someone is asking about them, I'm probably not that interested anyway).
Discarded American-centric words (inch, foot, pound).
Added important words that were missing (i.e. near, far, next, previous).
Added extra food words.
actor
adjective
- http://stackoverflow.com/questions/804115  (rebasevsmerge).
- https://www.atlassian.com/git/tutorials/merging-vs-rebasing (rebasevsmerge)
- https://www.atlassian.com/git/tutorials/undoing-changes/ (resetvscheckoutvsrevert)
- http://stackoverflow.com/questions/2221658 (HEAD^ vs HEAD~) (See git rev-parse)
- http://stackoverflow.com/questions/292357 (pullvsfetch)
- http://stackoverflow.com/questions/39651 (stashvsbranch)
- http://stackoverflow.com/questions/8358035 (resetvscheckoutvsrevert)
- http://stackoverflow.com/questions/5798930 (git resetvsgit rm --cached)
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function calc (P, PMT, r, n, t) { | |
| const rn = (r / 100) / n | |
| const nt = n * t | |
| const pn = 12 / n | |
| const principal = P * Math.pow(1 + rn, nt) | |
| const series = PMT * (pn * (Math.pow(1 + rn, nt) - 1) / rn) | |
| return parseInt(principal + series, 10) | |
| } | |
| module.exports = opts => { | 
OlderNewer