Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View shakedlokits's full-sized avatar
🛠️
Fixing / Breaking Something

Shaked Lokits shakedlokits

🛠️
Fixing / Breaking Something
View GitHub Profile

Launch SonarQube as a Service

Manual

  1. setup environment variables:
export SONAR_VERSION=6.4
export SONARQUBE_HOME=/opt/sonarqube
export SONARQUBE_JDBC_USERNAME=sonar
export SONARQUBE_JDBC_PASSWORD=sonar
export SONARQUBE_JDBC_URL=
##############################################
# DEPENDENCIES #
##############################################
export PYTHON_VERSION=3.10.12
export NODE_VERSION=18.17
# Install XCode developer tools
if test -z $(xcode-select -p)
then
#! /bin/sh
sxhkd &
# window_height=$(($(xrandr | grep -oP '(?<=connected [0-9]{3-4}x)?[0-9]+(?=\+)' | head -n1)))
bspc config border_width 2
bspc config window_gap 15
bspc config top_padding 55
bspc config normal_border_color "#1D1F21"
@shakedlokits
shakedlokits / index.html
Created January 28, 2019 08:23
Enabling fullscreen video
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fullscreen Video</title>
<script src="https://cdn.plyr.io/2.0.7/plyr.js" charset="utf-8"></script>
@shakedlokits
shakedlokits / sort-wolt-categories.user.js
Last active April 7, 2022 20:03
Sort Wolt Categories
// ==UserScript==
// @author Shaked Lokits
// @name Sort Wolt Categories
// @description Allows to sort wolt categories by rating
// @icon https://static.wolt.com/favicon.ico
// @version 0.1.0
// @run-at document-idle
// @include https://wolt.com/*/discovery/category-*
// @require http://code.jquery.com/jquery-latest.js
// @require https://raw.githubusercontent.com/lodash/lodash/4.17.4/dist/lodash.js