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
| #include <iostream> | |
| using namespace std; | |
| int main() { | |
| int total = 11; | |
| while(total--) { | |
| if(total == 0) { | |
| cerr << "Unable to divide by zero\n"; | |
| } else { |
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 decodeHtmlElements(string) { | |
| var htmlText = document.createElement("DIV"); | |
| MSApp.execUnsafeLocalFunction(function () { | |
| htmlText.innerHTML = string; | |
| }); | |
| return htmlText.textContent || htmlText.innerText || ""; | |
| } |
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
| sudo tail -f /var/log/apache2/error.log |
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
| import os.path as path | |
| import string | |
| import argparse | |
| import glob | |
| import re | |
| def basename(filename): | |
| base = filename | |
| if filename.find('@2x') > 0: | |
| base = filename[:filename.find('@2x')] |
NewerOlder