Skip to content

Instantly share code, notes, and snippets.

View tunix's full-sized avatar

Alper Kanat tunix

View GitHub Profile
@tunix
tunix / 1password.repo
Created June 3, 2023 17:17
1Password Fedora Repo
[1password]
name=1Password Stable Channel
baseurl=https://downloads.1password.com/linux/rpm/stable/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.1password.com/linux/keys/1password.asc
<?php
$row = 0;
$head = array();
$result = array();
$columnCount = 0;
$input = @$argv[1];
$output = @$argv[2];
@tunix
tunix / self-signed-certificate-with-custom-ca.md
Last active January 14, 2021 15:14 — forked from francescoDeveloper/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
Verifying my Blockstack ID is secured with the address 1LaYdseuLcg9jHYdgxE85gtZRwxwHiBvCN https://explorer.blockstack.org/address/1LaYdseuLcg9jHYdgxE85gtZRwxwHiBvCN

Keybase proof

I hereby claim:

  • I am tunix on github.
  • I am tunix (https://keybase.io/tunix) on keybase.
  • I have a public key ASCgdEPhK57cC8rWt3kWrD771fsuzmMePoyD1dJusHSrkAo

To claim this, I am signing this object:

@tunix
tunix / bin.json
Created September 6, 2012 17:07
Current BIN List
{
"413226": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA", "cardSubtype": "PLATINUM", "isVirtual": false, "isPrepaid": false},
"444676": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA", "cardSubtype": "CLASSIC", "isVirtual": false, "isPrepaid": false},
"444677": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA", "cardSubtype": "GOLD", "isVirtual": false, "isPrepaid": false},
"444678": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA", "cardSubtype": "PLATINUM", "isVirtual": false, "isPrepaid": false},
"453955": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA", "cardSubtype": " CLASSIC", "isVirtual": false, "isPrepaid": false},
"453956": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA", "cardSubtype": " GOLD", "isVirtual": false, "isPrepaid": false},
"454671": {"bankId": 10, "bankName": "T.C. ZİRAAT BANKASI A.Ş.", "cardType": "VISA",
@tunix
tunix / data.json
Created March 24, 2017 15:17
couchbase explain output
[
{
"plan": {
"#operator": "Sequence",
"~children": [
{
"#operator": "IndexScan",
"covers": [
"cover ((`fooboo`.`appId`))",
"cover ((`fooboo`.`xid`))",
version: '3'
services:
api:
build: .
image: tunix/docker-compose-demo
ports:
- "8080"
links:
- db:demodb
@tunix
tunix / Dockerfile
Last active October 11, 2016 13:38
alperkan.at Dockerfile
FROM node:6.2-slim
MAINTAINER Alper Kanat <me@alperkan.at>
ADD . /srv
WORKDIR /srv
RUN apt-get update && apt-get install -qqy git
RUN npm install -g bower gulp
RUN npm install
RUN bower install --allow-root
RUN gulp clean build
ENV NODE_ENV production
@tunix
tunix / Dockerfile
Last active October 11, 2016 13:38
Gerrit Dashboard Server Dockerfile
FROM node:4.4
LABEL type="node" purpose="api" role="core" description="Gerrit Dashboard Server"
ENV NODE_ENV production
ENV SOURCE_TYPE DB
ENV GERRIT_DASHBOARD_CONFIG_PATH /opt/config
COPY dist /srv/app
WORKDIR /srv/app
EXPOSE 3000
VOLUME ["/opt/config"]
CMD ["./bin/www"]