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
kubernetes_api_service.metrics_server: Destroying... [id=v1beta1.metrics.k8s.io] | |
kubernetes_cluster_role.aggregated_metrics_reader: Destroying... [id=system:aggregated-metrics-reader] | |
helm_release.cluster_autoscaler: Destroying... [id=cluster-autoscaler] | |
module.stream.kubernetes_horizontal_pod_autoscaler.hpa: Destroying... [id=default/stream] | |
module.blob_storage.kubernetes_horizontal_pod_autoscaler.hpa: Destroying... [id=default/blob] | |
module.db_rest.kubernetes_horizontal_pod_autoscaler.hpa: Destroying... [id=default/db-rest] | |
kubernetes_horizontal_pod_autoscaler.pulsar: Destroying... [id=pulsar/pulsar-broker] | |
kubernetes_cluster_role.aggregated_metrics_reader: Destruction complete after 0s | |
kubernetes_api_service.metrics_server: Destruction complete after 0s | |
kubernetes_service.metrics_server: Destroying... [id=kube-system/metrics-server] |
This file has been truncated, but you can view the full file.
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
2021/02/03 15:31:25 [INFO] Terraform version: 0.14.5 | |
2021/02/03 15:31:25 [INFO] Go runtime version: go1.13.8 | |
2021/02/03 15:31:25 [INFO] CLI args: []string{"/home/****/go/bin/terraform", "destroy"} | |
2021/02/03 15:31:25 [DEBUG] Attempting to open CLI config file: /home/****/.terraformrc | |
2021/02/03 15:31:25 Loading CLI configuration from /home/****/.terraformrc | |
2021/02/03 15:31:25 [DEBUG] Explicit provider installation configuration is set | |
2021/02/03 15:31:25 [TRACE] Selected provider installation method cliconfig.ProviderInstallationDirect with includes [] and excludes [] | |
2021/02/03 15:31:25 [INFO] CLI command args: []string{"destroy"} | |
2021/02/03 15:31:25 [TRACE] Meta.Backend: built configuration for "s3" backend with hash value 893988343 | |
2021/02/03 15:31:25 [TRACE] Preserving existing state lineage "902176df-5b75-a8e7-4eb0-dae1156c94dc" |
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
pub fn info(&mut self) -> String { | |
let mut name = ptr::null_mut(); | |
let hr = unsafe { (*self.checker).Get_Id(&mut name) }; | |
assert!(SUCCEEDED(hr)); | |
//&String::from_utf16_lossy(name.as_slice()) | |
unsafe { widestring::U16CString::from_ptr_str(name).to_string_lossy() } | |
} | |
pub fn options(&mut self) { | |
// read options |
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
#!/bin/bash | |
# random base64 chars | |
python3 -c "import base64; import os; print(base64.urlsafe_b64encode(os.urandom(999)))" | |
# current time formatted like 2019-09-13T12:03:04.459360+02:00 | |
python3 -c 'import datetime;print(datetime.datetime.now().astimezone().isoformat())' |
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 class LazyReader : TextReader | |
{ | |
private readonly Lazy<TextReader> _lazyReader; | |
public LazyReader(Lazy<TextReader> lazyReader) | |
{ | |
_lazyReader = lazyReader; | |
} | |
public object GetLifetimeService() => _lazyReader.Value.GetLifetimeService(); |
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 Microsoft.EntityFrameworkCore.Design; | |
using Microsoft.Extensions.DependencyInjection; | |
using Microsoft.EntityFrameworkCore.Scaffolding.Internal; | |
using Microsoft.EntityFrameworkCore.Scaffolding.Metadata; | |
// Scaffold-DbContext $db Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Context MyDbContext | |
namespace Database | |
{ | |
public class PluralizerServices : IDesignTimeServices |
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
# http://manpages.ubuntu.com/manpages/xenial/man8/lvextend.8.html | |
lvextend -l +50%FREE /dev/mapper/ubuntu--vg-ubuntu--lv | |
resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv |
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
import com.fasterxml.jackson.annotation.JsonInclude | |
import com.fasterxml.jackson.databind.introspect.AnnotatedClass | |
import com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector | |
import org.springframework.context.annotation.Bean | |
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder | |
@Bean | |
fun jacksonBuilder(): Jackson2ObjectMapperBuilder { | |
return Jackson2ObjectMapperBuilder() | |
.annotationIntrospector(IgnoreByDefaultAnnotationIntrospector) |
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
package com.github.tjeukayim | |
import org.bson.types.ObjectId | |
import org.junit.jupiter.api.Assertions.assertEquals | |
import org.junit.jupiter.api.Test | |
import org.springframework.data.mongodb.core.mapping.Document | |
import org.springframework.data.mongodb.core.query.Criteria | |
import org.springframework.data.mongodb.core.query.CriteriaDefinition | |
import org.springframework.data.mongodb.core.query.isEqualTo | |
import kotlin.reflect.KProperty |
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
alert("Hello World"); |
NewerOlder