Special thanks to:
- Download Instant Client from http://www.oracle.com/technetwork/indexes/downloads/index.html#database (you must be registered in Oracle; it's free). You will need
instantclient-basic-*-*.zipandinstantclient-sdk-*-*.zipfiles.
| #!/usr/bin/env node | |
| "use strict"; | |
| var fibonacci = function fib(n) { | |
| if (typeof fib._cache === 'undefined') { | |
| fib._cache = {}; | |
| } | |
| if (fib._cache[n]) { | |
| return fib._cache[n]; | |
| } |
| <?php | |
| $wsdl = isset($_GET['wsdl']) ? $_GET['wsdl'] : 'http://localhost/?wsdl'; | |
| try { | |
| // Set the WSDL | |
| $soap = new SoapClient($wsdl); | |
| } catch (SoapFault $e) { | |
| die('Unable to read the WSDL: ' . $e->getMessage()); | |
| } |
| #!/usr/bin/env php | |
| <?php | |
| if(!isset($argv[1])) { | |
| die("\nPlease, run: codelikeaboss /your/files/dir\n"); | |
| } | |
| system("clear"); | |
| $filetypes = array("php", "rb", "py", "c", "cpp", "java", "txt", "asp", "html", "css", "js", "ini", "md"); | |
| $dir = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($argv[1])); |
| [user] | |
| name = ... | |
| email = ... | |
| signingkey = ... | |
| [alias] | |
| yolo = "!git add -A && git commit -m \"$(curl -s https://whatthecommit.com/index.txt)\"" | |
| timeline = log --graph --branches --pretty=oneline --decorate --abbrev-commit --all | |
| history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all --decorate --abbrev-commit |
| #!/usr/bin/env bash | |
| set -u | |
| CRED="\033[0;31m" | |
| CYELLOW="\033[1;33m" | |
| CBLUE="\033[0;34m" | |
| CGREEN="\033[0;32m" | |
| CCYAN="\033[0;36m" | |
| CDEFAULT="\033[0m" |
| "******************************************* | |
| "****** Felipe Francisco - @felipecwb ****** | |
| "****** https://github.com/felipecwb ****** | |
| "******************************************* | |
| "" Vim-PLug core | |
| "***************************************************************************** | |
| if has('vim_starting') | |
| set nocompatible " Be iMproved | |
| endif |
| <?php | |
| /** | |
| * UUID class | |
| * | |
| * The following class generates VALID RFC 4122 COMPLIANT | |
| * Universally Unique IDentifiers (UUID) version 3, 4 and 5. | |
| * | |
| * UUIDs generated validates using OSSP UUID Tool, and output | |
| * for named-based UUIDs are exactly the same. This is a pure | |
| * PHP implementation. |
| #include <windows.h> | |
| #include <gl/gl.h> | |
| LRESULT CALLBACK WndProc(HWND hWnd, | |
| UINT message, | |
| WPARAM wParam, | |
| LPARAM lParam); | |
| void EnableOpenGL(HWND hWnd, HDC *hDC, HGLRC *hRC); | |
| void DisableOpenGL(HWND hWnd, HDC hDC, HGLRC hRC); |
| (function () { | |
| "use strict"; | |
| /** | |
| * Compare dates. | |
| * @param {Date|String} date instance or string in W3C format | |
| * @throws TypeError | |
| * @return {int} 0 = equals, -1 = gt, 1 = lt | |
| */ | |
| Date.prototype.compare = function (date) { |
Special thanks to:
instantclient-basic-*-*.zip and instantclient-sdk-*-*.zip files.