This file contains 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
BEGIN | |
FOR i IN (SELECT DUPPIDM as pidm FROM MIGRATEPIDMS) LOOP | |
declare | |
P_APPL_NO_OUT NUMBER; | |
term NUMBER; | |
num_apps NUMBER; | |
begin | |
select count(*) into num_apps from saradap where saradap_pidm = i.pidm; |
This file contains 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
git branch --merged | ?{-not ($_ -like "*master")} | %{git branch -d $_.trim()} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Warning: setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component. This is a no-op. | |
Please check the code for the HelloWorld component. |
This file contains 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
// Main Type of the context | |
export interface ProviderContext { | |
name: String; | |
} | |
// Provider | |
export default class App extends React.Component<{}, {}> { | |
static childContextTypes = { | |
name: PropTypes.string | |
} |
This file contains 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
using System; | |
using System.Linq; | |
using System.Net; | |
using System.Web; | |
using System.Web.Configuration; | |
using System.Web.Http; | |
using System.Web.Http.Controllers; | |
namespace GivingService.Attributes | |
{ |
This file contains 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
Get-AzureRmResource -ResourceGroupName "Default-Web-WestUS" -ResourceType Microsoft.Web/sites ` | |
-ResourceName prepurchasing -ApiVersion 2015-08-01 | select -expand Properties | | |
ft @{l=”OutboundIPAddresses”; e={$_.OutboundIPAddresses -split “,”}} |
This file contains 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
public static class MockExtensions | |
{ | |
public static Mock<DbSet<T>> MockDbSet<T>(this IQueryable<T> data) where T : class, new() | |
{ | |
var mockSet = new Mock<DbSet<T>>(); | |
mockSet.As<IQueryable<T>>().Setup(m => m.Provider).Returns(data.Provider); | |
mockSet.As<IQueryable<T>>().Setup(m => m.Expression).Returns(data.Expression); | |
mockSet.As<IQueryable<T>>().Setup(m => m.ElementType).Returns(data.ElementType); | |
mockSet.As<IQueryable<T>>().Setup(m => m.GetEnumerator()).Returns(data.GetEnumerator()); |
This file contains 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
{ | |
"extends": "airbnb", | |
"plugins": [ | |
"react" | |
], | |
"env": { | |
"es6": true, | |
"jasmine": true, | |
}, | |
"rules": { |
This file contains 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
(•_•) | |
( •_•)>⌐■-■ | |
(⌐■_■) |