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 naturalSort(ar, index){ | |
| var L= ar.length, i, who, next, | |
| isi= typeof index== 'number', | |
| rx= /(\.\d+)|(\d+(\.\d+)?)|([^\d.]+)|(\.(\D+|$))/g; | |
| function nSort(aa, bb){ | |
| var a= aa[0], b= bb[0], a1, b1, i= 0, n, L= a.length; | |
| while(i<L){ | |
| if(!b[i]) return 1; | |
| a1= a[i]; |
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
| #define NODE_SET_MEMBER(target, name, value) \ | |
| do { \ | |
| v8::Isolate* isolate = target->GetIsolate(); \ | |
| v8::Local<v8::Context> context = isolate->GetCurrentContext(); \ | |
| v8::Local<v8::String> constant_name = v8::String::NewFromUtf8(isolate, (name)); \ | |
| (target)->Set(v8::Local<Value>::New(isolate, \ | |
| v8::String::NewFromUtf8(isolate, name)), \ | |
| value); \ | |
| } while (0) |
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
| /** | |
| * Minimal jQuery Widget Example | |
| * Author: Andreas Schaefer <[email protected]> | |
| * | |
| * Usage: | |
| * | |
| * <div id="myCoolWidget"></div> | |
| * | |
| * ... | |
| * |
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
| <!DOCTYPE html> | |
| <!-- | |
| IDEA: How to handle relative time ranges in query selection parameters | |
| --> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> |
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
| /** | |
| * script-database-users-and-permissions.sql | |
| * | |
| * Copyright (C) 2020 by Andreas Schaefer <[email protected]> | |
| * | |
| * Create a t-sql script that can be used to restore users and | |
| * persmissions on a sql server database | |
| * | |
| * Notes: | |
| * - The script will not script built-in accounts or accounts like '##MS%##' |
OlderNewer