Skip to content

Instantly share code, notes, and snippets.

View grv87's full-sized avatar
🏠
Working from home

Basil Peace grv87

🏠
Working from home
View GitHub Profile
@grv87
grv87 / CrudRepositoryProposal.kt
Last active December 9, 2021 01:05 — forked from paulschuetz/CrudRepositoryProposal.kt
Exposed 0.30.2 CrudRepository Proposal
import java.util.UUID
import org.jetbrains.exposed.dao.id.IdTable
import org.jetbrains.exposed.sql.Op
import org.jetbrains.exposed.sql.ResultRow
import org.jetbrains.exposed.sql.SqlExpressionBuilder
import org.jetbrains.exposed.sql.deleteWhere
import org.jetbrains.exposed.sql.insert
import org.jetbrains.exposed.sql.select
import org.jetbrains.exposed.sql.selectAll
import org.jetbrains.exposed.sql.statements.UpdateBuilder

Keybase proof

I hereby claim:

  • I am grv87 on github.
  • I am basil_peace (https://keybase.io/basil_peace) on keybase.
  • I have a public key ASA5y8NMnusowQ-8Wc37AYbieuRFeGOkLPsmwYHB4Dfegwo

To claim this, I am signing this object:

2020/09/25 16:52:53 [INFO] Terraform version: 0.13.3
...
2020/09/25 16:52:55 [TRACE] vertex "data.gitlab_group.ehd_apps": visit complete
2020/09/25 16:52:55 [TRACE] dag/walk: visiting "gitlab_group_ldap_link.ldap_groups[\"XXX\"] (import id \"ldapmain:XXX\")"
2020/09/25 16:52:55 [TRACE] vertex "gitlab_group_ldap_link.ldap_groups[\"XXX\"] (import id \"ldapmain:XXX\")": starting visit (*terraform.graphNodeImportState)
2020/09/25 16:52:55 [TRACE] vertex "gitlab_group_ldap_link.ldap_groups[\"XXX\"] (import id \"ldapmain:XXX\")": evaluating
2020/09/25 16:52:55 [TRACE] [walkImport] Entering eval tree: gitlab_group_ldap_link.ldap_groups["XXX"] (import id "ldapmain:XXX")
2020/09/25 16:52:55 [TRACE] dag/walk: visiting "gitlab_group.oad"
2020/09/25 16:52:55 [TRACE] eval: *terraform.EvalSequence
2020/09/25 16:52:55 [TRACE] eval: *terraform.EvalGetProvider
2020/09/24 20:14:04 [INFO] Terraform version: 0.13.3
...
2020/09/24 20:14:09 [DEBUG] gitlab_project.projects["gitlab_config"]: applying the planned Update change
2020-09-24T20:14:09.257+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: 2020/09/24 20:14:09 [DEBUG] Editing push rules for project "158"
2020-09-24T20:14:09.258+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: 2020/09/24 20:14:09 [DEBUG] GitLab API Request Details:
2020-09-24T20:14:09.258+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: ---[ REQUEST ]---------------------------------------
2020-09-24T20:14:09.258+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: PUT /api/v4/projects/158/push_rule HTTP/1.1
2020-09-24T20:14:09.258+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: Host: xxxxxx
2020-09-24T20:14:09.258+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: User-Agent: go-gitlab
2020-09-24T20:14:09.258+0300 [DEBUG] plugin.terraform-provider-gitlab_v3.0.0.exe: Content-Length: 375
@grv87
grv87 / test-init.go
Last active June 6, 2018 21:56
Git longpaths issues
package main
import (
"log"
"os"
"os/exec"
)
func call(dir string, name string, arg ...string) {
cmd := exec.Command(name, arg...)
@grv87
grv87 / build.gradle
Last active May 7, 2018 21:14
Gradle inputs.property called twice
ext.callCounter = 0
task('taskWithInputProperty') {
group 'Test'
inputs.property 'test', {
logger.debug('inputs.property call')
project.ext.callCounter += 1; return 'test'
}
File outputFile = file('test.txt')
doLast {
outputFile.text = 'test'
@grv87
grv87 / .kitchen.yml
Created March 28, 2018 19:02
Test Kitchen - use SSH transport for Windows
driver:
name: ec2
image_search:
name: Windows_Server-2016-English-Full-Base-*
region: eu-west-1
subnet_id: subnet-3615b351
instance_type: t2.micro
aws_ssh_key_id: kitchen
security_group_ids:
- sg-496eaa31
plugins {
id 'de.gliderpilot.semantic-release' version '1.3.1'
}
task('A_printVersion') {
doLast {
println version
}
}
import com.github.zafarkhaja.semver.Version
@grv87
grv87 / build.gradle
Last active October 21, 2017 22:28
Gradle-semantic-release-plugin - error on empty repository
plugins {
id 'maven-publish'
id 'groovy'
id 'de.gliderpilot.semantic-release' version '1.2.0'
id 'com.jfrog.artifactory' version '4.5.4'
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java