Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
-- Sakila Sample Database Data
-- Version 1.0
-- Copyright (c) 2006, 2015, Oracle and/or its affiliates.
-- All rights reserved.
-- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-- * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-- * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
@tsudot
tsudot / tools.md
Last active September 17, 2018 10:34

List of tools and components

  • docker 18.03.0-ce
  • kubectl v1.8.6
  • gcloud 216.0.0
  • helm v2.8.2
  • postgres 9.6
@tsudot
tsudot / Jenkinsfile.groovy
Last active August 17, 2018 06:15
Jenkinsfile for karix.io component banjo
#!/usr/bin/groovy
def label = UUID.randomUUID().toString()
podTemplate(label: label, cloud: 'local cluster',
containers: [
containerTemplate(
name: 'test',
image: 'jenkins-slave-k8s',
ttyEnabled: true,
@tsudot
tsudot / karix_dev_guidelines.md
Last active August 17, 2018 07:01
These are a set of guidelines to follow when writing any new component on the karix.io platform

Karix.io: Development Guidelines

These are a set of guidelines to follow when writing any new component on the karix.io platform

Dockerfile/Jenkinsfile

  • Every component must have a Dockerfile
  • Every component must have a Jenkinsfile
git clone https://github.com/karixtech/karix-php.git
cd karix-php
composer install
@tsudot
tsudot / send_sms.php
Created May 4, 2018 09:15
Send SMS using Karix
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: basicAuth
$config = new \Swagger\Client\Configuration();
$config->setUsername('AUTH_ID');
$config->setPassword('AUTH_TOKEN');
$apiInstance = new Swagger\Client\Api\MessageApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
@tsudot
tsudot / php-manual
Created May 4, 2018 09:14
Karix PHP manual installation
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
@tsudot
tsudot / composer.json
Last active September 4, 2018 06:14
Composer config for karix
{
"repositories": [
{
"type": "git",
"url": "https://github.com/karixtech/karix-php.git"
}
],
"require": {
"karixtech/karix-php": "0.0.2"
}
@tsudot
tsudot / web_server_setup.md
Created December 22, 2016 08:41
Web Server Setup