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
resource "azurerm_resource_group" "example" { | |
name = "example-resources" | |
location = "West US 2" | |
} | |
data "azurerm_client_config" "current" { | |
} | |
resource "azurerm_kubernetes_cluster" "example" { | |
name = "example-aks1" |
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
var id = 1; | |
using (var db = new entityContext()) | |
{ | |
// Select entity | |
var entity = db.dbset.FirstOrDefault(e => e.ID == id); | |
if (entity != null) | |
{ | |
// Remove Entity | |
db.dbset.Remove(entity); | |
db.SaveChanges(); |
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
var app = angular.module('myApp', []); | |
app.directive('jqShowEffect', ['$timeout', function($timeout) { | |
return { | |
restrict: 'A', | |
link: function(scope, element, attrs) { | |
// configure options | |
var passedOptions = scope.$eval(attrs.jqOptions); | |
// defaults | |
var options = { |