Skip to content

Instantly share code, notes, and snippets.

View aliok's full-sized avatar

Ali Ok aliok

View GitHub Profile
@aliok
aliok / il_ilce_enlem_boylam.sql
Created November 1, 2023 22:34 — forked from ismailbaskin/il_ilce_enlem_boylam.sql
Türkiye İl ve İlçelerin enlem boylam bilgileri
/*
Türkiye İl ve İlçelerin enlem boylam bilgileri (dörtgen olarak sınır pozisyonlarıyla birlikte) kaynak : google maps (başarsoft)
twitter : http://twitter.com/tserpico
*/
DROP TABLE IF EXISTS `pk_il`;
CREATE TABLE `pk_il` (
`il_id` int(2) NOT NULL COMMENT 'plaka kodu',
`il_adi` varchar(255) NOT NULL,
`lat` double(20,8) DEFAULT NULL COMMENT 'enlem',
@aliok
aliok / diary.md
Last active August 18, 2023 07:44
Knative TOC 2023 Election - election officer diary

Knative TOC 2023 Election - election officer diary

Note: all emails sent are recorded in this Google Doc: https://docs.google.com/document/d/1oqgy9VcmZP872hUS1dQyAd3H_88UpCDdakwqY128hKA

package main
import (
"fmt"
)
type C struct {
x int
}
@aliok
aliok / delete-enmasse-crds.sh
Created June 27, 2019 08:55 — forked from odra/delete-enmasse-crds.sh
integreatly commands
#!/bin/bash
for name in `oc get crd -oname | grep enmasse`; do oc delete $name; done
@aliok
aliok / config-controller.yaml
Created May 12, 2019 23:01
knative-serving config-controller configmap --> after
apiVersion: v1
data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# This block is not actually functional configuration,
@aliok
aliok / config-controller.yaml
Last active May 12, 2019 23:06
knative-serving config-controller configmap --> before
apiVersion: v1
data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# This block is not actually functional configuration,
[aliok@localhost ups-config-operator]$ make generate
./scripts/generate.sh
Already on 'release-1.8'
Your branch is up-to-date with 'origin/release-1.8'.
cmd/conversion-gen/main.go:40:2: cannot find package "k8s.io/code-generator/cmd/conversion-gen/generators" in any of:
/home/aliok/go/src/kubernetes/code-generator/vendor/k8s.io/code-generator/cmd/conversion-gen/generators (vendor tree)
/usr/lib/golang/src/k8s.io/code-generator/cmd/conversion-gen/generators (from $GOROOT)
/home/aliok/go/src/k8s.io/code-generator/cmd/conversion-gen/generators (from $GOPATH)
cmd/client-gen/main.go:27:2: cannot find package "k8s.io/code-generator/cmd/client-gen/args" in any of:
/home/aliok/go/src/kubernetes/code-generator/vendor/k8s.io/code-generator/cmd/client-gen/args (vendor tree)
@aliok
aliok / xcode.sb
Created April 26, 2017 13:05
Apple Sandbox definition file for building IOS apps
(version 1) ; Fri Jan 6 12:01:53 2017
; I M P O R T A N T:
; /private/tmp/helloworld-ios below needs to be changed with the folder that holds the source code for Cocoa pods project
; (debug all)
; (trace "trace.sb")
; deny everything by default
(deny default)
@aliok
aliok / jenkinsfile-commons.groovy
Created April 26, 2017 12:35
Sample advanced Jenkins pipeline
/**
* This file provides common stuff to be used in the pipelines.
* It is important to load it after repo checkout is done: see https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#triggering-manual-loading
*
*/
/**
* Dumps some info about the environment.
* @return
*/