Skip to content

Instantly share code, notes, and snippets.

Akila Wickey akilawickey

Block or report user

Report or block akilawickey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@akilawickey
akilawickey / start.sh
Created May 2, 2018
Docker with jasperReports
View start.sh
sudo docker ps -a
sudo docker start -ai 8e86223fc5ae
sudo docker start 2c109e8cc592
sudo docker start fc1d8fe2b1c2
@akilawickey
akilawickey / app.js
Last active Mar 11, 2018
Adding a ssl on nginx with nodejs application
View app.js
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var exphbs = require('express-handlebars');
var router = express.Router();
var index = require('./routes/index');
@akilawickey
akilawickey / Autoupdating Server from Git.md
Last active Jan 18, 2018
Autoupdating Server from remote GitHub repository periodically
View Autoupdating Server from Git.md

First you generate ssh key in the server

  1. ssh-keygen -t rsa -b 4096 -C "asak999@gmail.com"
  2. Uploading this public key to deploy keys in GitHub
  3. Then you create /home/user/.ssh/config file
  4. Then you clone repository with git clone https://github.com/akilawickey/akilawickey.github.io.git
  5. create a bash file as sync.sh
  6. Give privilages to the script by chmod +x sync.sh
  7. And then put it in cronjob to make it happen peroidly
  8. just go to terminal and type crotab -e and edit it as following structure
@akilawickey
akilawickey / Documentation
Last active Jun 25, 2017
zebkit packages inside gdp and building process
View Documentation
This is the steps how to include zebkit recipes to gdp and build a target to run the zebra
https://github.com/GENIVI/genivi-dev-platform.git
cd genivi-dev-platform
source init.sh qemux86-64
cd ../meta-genivi-dev/meta-genivi-dev/
wget https://github.com/akilawickey/meta-genivi-dev/commit/94f5427aaffea0a141547697b1da203463545353.patch
git am -i *.patch
#Edit the genivi-dev-platform.bb using nano
nano recipes-dev-platform/images/genivi-dev-platform.bb
You can’t perform that action at this time.