Skip to content

Instantly share code, notes, and snippets.

View sakila_data.sql
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.
View tools.md

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 Aug 17, 2018
Jenkinsfile for karix.io component banjo
View Jenkinsfile.groovy
#!/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 Aug 17, 2018
These are a set of guidelines to follow when writing any new component on the karix.io platform
View karix_dev_guidelines.md

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
View download.sh
git clone https://github.com/karixtech/karix-php.git
cd karix-php
@tsudot
tsudot / send_sms.php
Created May 4, 2018
Send SMS using Karix
View send_sms.php
<?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
Karix PHP manual installation
View php-manual
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
@tsudot
tsudot / composer.json
Last active Sep 4, 2018
Composer config for karix
View composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com/karixtech/karix-php.git"
}
],
"require": {
"karixtech/karix-php": "0.0.2"
}
View web_server_setup.md