###Read This http://rogerdudler.github.io/git-guide/
###Only Run First Time
git config --global user.name "BLAH"
git config --global user.email "BLAH@BLAH.com"
git init
###Run Everytime
git add -A
| [ | |
| { | |
| "firstName":"Paul", | |
| "lastName":"McCartney", | |
| "instrument":"Lead Vocalist" | |
| }, | |
| { | |
| "firstName":"John", | |
| "lastName":"Lennon", | |
| "instrument":"Guitar" |
| gswin64c -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sFONTPATH=%windir%/fonts;xfonts;. -sPDFPassword= -dPDFSETTINGS=/prepress -dPassThroughJPEGImages=true -sOutputFile=C:\GHOSTSCRIPT\BOOMER.GHOST.pdf C:\GHOSTSCRIPT\BOOMER.pdf |
| var myString = "CN=BlamoMan,OU=Associates,DC=prod-am,DC=ameritrade,DC=com"; | |
| var myRegexp = /CN=(.*?),[A-Z]/g; | |
| var match = myRegexp.exec(myString); | |
| if(match){ | |
| alert(match[1].replace(/\\/,'')); | |
| } |
| [WebMethod] | |
| public void WriteExcelWorkbook(List<DataTable> dataTables, List<string> worksheetNames, string workbookName = "file", bool includeHeaders = true) | |
| { | |
| NPOI.HSSF.UserModel.HSSFWorkbook wb = new NPOI.HSSF.UserModel.HSSFWorkbook(); | |
| //create bold font for headers | |
| var font = wb.CreateFont(); | |
| font.Boldweight = (short)NPOI.SS.UserModel.FontBoldWeight.Bold; | |
| List<string> usedNames = new List<string>(); | |
| for (var xTable = 0; xTable < dataTables.Count; xTable++) |
| (&(&(objectclass=*)(objectcategory=*))((cn=Hello World*))) | |
| (&(&(objectclass=*)(objectcategory=*))((memberOf=))) |
###Read This http://rogerdudler.github.io/git-guide/
###Only Run First Time
git config --global user.name "BLAH"
git config --global user.email "BLAH@BLAH.com"
git init
###Run Everytime
git add -A
| [WebMethod] | |
| public void UploadFile() | |
| { | |
| try | |
| { | |
| //HTTP Context to get access to the submitted data | |
| HttpContext postedContext = HttpContext.Current; | |
| //File Collection that was submitted with posted data | |
| HttpFileCollection Files = postedContext.Request.Files; |
| Ext.define('app.store.Reviews', { | |
| extend: 'Ext.data.Store', | |
| model: 'app.model.Review', | |
| pageSize: 200, | |
| remoteSort: true, | |
| // allow the grid to interact with the paging scroller by buffering | |
| buffered: true, | |
| proxy: { | |
| type: 'ajax', | |
| url: 'review/list', |
| select OBJECT_SCHEMA_NAME ( a.object_id) + '.' + a.name | |
| ,OBJECT_SCHEMA_NAME ( a.object_id) as [schema] | |
| ,OBJECT_DEFINITION(a.object_id) as def | |
| from | |
| sys.all_objects a | |
| where a.type_desc = 'SQL_STORED_PROCEDURE' | |
| and a.name not like 'sp_%' | |
| and a.name not like 'xp_%' |
| (?<=itemId:\s?').+?(?=') |