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
| //Source: http://sethflowers.com/blog/force-stylecop-to-ignore-a-file/ | |
| <Compile Include="AViolatingFile.cs"> | |
| <ExcludeFromStyleCop>true</ExcludeFromStyleCop> | |
| </Compile> | |
| // <auto-generated/> |
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
| SELECT | |
| Id | |
| ,CASE | |
| WHEN Cat.[Description] like '%100%' | |
| THEN '100' | |
| WHEN Cat.[Description] like '%500%' | |
| THEN '500' | |
| ELSE Cat.[Description] | |
| END AS | |
| 'Description' |
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
| $(document).ready(function () { | |
| $("#SampleButton").click(function () { | |
| TestFunction(); | |
| }); | |
| }); //END (document) | |
| // Function used for testing | |
| function TestFunction() { |
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
| $( "#TestButton" ).click(function() { | |
| alert( "Handler for .click() called." ); | |
| }); | |
| //<button id="TestButton" type="button">Click Me!</button> |
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
| Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut en |
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
| //> RandomJokeActivity | |
| controller = ChuckNorrisApiController.getInstance(this); | |
| controller.getRandomJoke(new Response.Listener<JSONObject>() { | |
| @Override | |
| public void onResponse(JSONObject jsonObject) { | |
| try { | |
| txtJoke.setText(jsonObject.getJSONObject("value").getString("joke")); | |
| } catch (JSONException e) { | |
| txtJoke.setText(e.getMessage()); |
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
| // https://sites.google.com/site/gson/gson-user-guide | |
| //For an Array "toJSON" | |
| if (ArticlesArray.size() > 0) { | |
| //parse down to an Array from ArrayList | |
| Article[] tempArray = new Article[ArticlesArray.size()]; | |
| tempArray = ArticlesArray.toArray(tempArray); | |
| //Create the JSON String from Array |
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
| $("#hidItemID").val($('#m1_drp_Item').val()); | |
| $("#hidItem").val($('#m1_drp_Item :selected').text()); |
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
| string MyString = ("{0} {1}", MyThing.FirstName, MyThing.LastName); |
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
| $('#m1_txtSupportNoteInput').css("height", "200px"); | |
| $('input:not(#m1_MB_FileUpload1)').css("border", "0px"); | |
| $('#sub_nav').css("margin-top", "10px"); | |
| $('input:not(#m1_MB_FileUpload1)').attr('readonly', 'true'); | |
| $('input[type=checkbox]').attr("disabled", 'true'); | |
| $('#request_update').attr('href', $('#request_update').attr('href') + "?ticketnumber=" + $('#m1_lbl_TicketNumber').text()); |
NewerOlder