Skip to content

Instantly share code, notes, and snippets.

View kinsleykajiva's full-sized avatar
🏠
Working from home

Kinsley Kajiva kinsleykajiva

🏠
Working from home
  • Africa
  • 08:11 (UTC +02:00)
View GitHub Profile
@kinsleykajiva
kinsleykajiva / run.json
Created April 20, 2023 08:00
Jetbrains Fleet editor - How to run a Springboot App . Create a .fleet folder then create run.json file
{
"configurations": [
{
"type": "maven",
"name": "Run-Service",
"tasks": ["spring-boot:run"],
},
]
}
@kinsleykajiva
kinsleykajiva / run.json
Created April 20, 2023 07:57
Jetbrains Fleet editor - How to run a Quarkus App . Create a .fleet folder then creathe run.json file
{
"configurations": [
{
"type": "maven",
"name": "RunService",
"tasks": ["compile","quarkus:dev"," -Ddebug=5012"],
},
]
}
@kinsleykajiva
kinsleykajiva / installation guide.md
Last active August 21, 2022 11:23
How to Install Janus Gateway on Ubuntu/Debian OS.

Hi, here are the steps that worked for me , 2022 August .
here official guide is https://github.com/meetecho/janus-gateway
This seeks to help those who have had a problem in installing based on the other guides so this may be an option. By the way this will install the latest version of janus [Assuming branch is master] .
Make sure you have c++ base compiler or c++ env are set globally other most builds will fail . make sure CMAKE_CXX_COMPILER is found .

run the following steps

  • sudo aptitude install libmicrohttpd-dev
  • sudo aptitude install libmicrohttpd-dev
@kinsleykajiva
kinsleykajiva / JavaFX TC .css
Created September 12, 2017 05:33 — forked from k33ptoo/JavaFX TC .css
Contains basic css for customizing a TableView and Charts.
.table-view .column-header,
.table-view .column-header-background .filler {
-fx-background-color: #6622CC;
}
.table-view .column-header .label{
-fx-text-fill: white;
-fx-font-weight: bold;
-fx-alignment: CENTER_LEFT;
}
.table-view .cell{
@kinsleykajiva
kinsleykajiva / TimerActivity.java
Created February 23, 2017 18:01 — forked from mjohnsullivan/TimerActivity.java
Example of how to create a long running timer service that survives activity destruction by moving to the foreground, and back to the background when a new activity bind to it.
//
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
@kinsleykajiva
kinsleykajiva / scrape_Wikipedia_tables.py
Created May 15, 2017 13:09 — forked from wassname/scrape_Wikipedia_tables.py
Scrape a table from wikipedia using python. Allows for cells spanning multiple rows and/or columns. Outputs csv files for each table
# -*- coding: utf-8 -*-
"""
Scrape a table from wikipedia using python. Allows for cells spanning multiple rows and/or columns. Outputs csv files for
each table
"""
from bs4 import BeautifulSoup
import urllib2
import os
import codecs
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/{user}/android-sdks/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
@kinsleykajiva
kinsleykajiva / bitbucket-pipelines.yml
Created October 7, 2019 08:05
This is a pipeline that worked for me on bitbucket.For ftp i didnt add public folder to the host name it just worked still
image: vesica/php73
pipelines:
default:
- step:
deployment: production
caches:
- composer
script:
- apt-get update
@kinsleykajiva
kinsleykajiva / Default (Windows).sublime-keymap
Created March 27, 2019 17:09
Kinsley Kajiva Sublime Text 3 keyboard short cuts
[
{"keys" : ["ctrl+k"], "command" : "toggle_side_bar" } ,
{"keys" : ["alt+d"], "command" : "toggle_side_bar" } ,
{ "keys" : ["alt+c"], "command" : "power_cursor_add" },
{ "keys": ["alt+q"], "command": "close" },
{ "keys" : ["ctrl+w"], "command" : "expand_selection", "args" : {"to" : "word"} },
{ "keys" : ["ctrl+alt+u"], "command" : "upper_case" },
{ "keys" : ["ctrl+alt+l"], "command" : "lower_case" },
{ "keys" : ["ctrl+alt+j"], "command" : "reindent" } ,
{ "keys" : ["ctrl+shift+a"], "command" : "align_tab","args" : {"live_preview" : true}} ,
@kinsleykajiva
kinsleykajiva / Preferences.sublime-settings
Created March 27, 2019 17:07
Kinsley Kajiva Sublime Text 3 Settings Template File
{
"auto_complete": true,
"auto_complete_delay": 50,
"auto_complete_selector": "source - comment",
"auto_complete_size_limit": 4194304,
"auto_complete_triggers":
[
{
"characters": "<",
"selector": "text.html"