This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage : | |
# Install a fresh Debian Jessie, then execute following shell command as root user | |
# wget --no-check-certificate -O - https://gist.githubusercontent.com/lspg/018425712d6d437def68922c2717f8af/raw | bash | |
############ | |
# Settings # | |
############ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WooCommerce cijena na rate | |
* Description: Prikaz cijene na rate u zavisnosti od mjeseci te iznos jedne rate. | |
* Author: Benjamin Pelto | |
* Version: 1.0 | |
* License: GPLv2 or later | |
*/ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:7.4.21-apache | |
ENV APACHE_DOCUMENT_ROOT /var/www/html/web | |
RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf | |
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf | |
RUN sed -i '/<Directory \${APACHE_DOCUMENT_ROOT}>/,/<\/Directory>/ s/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf | |
RUN a2enmod rewrite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
www: | |
build: . | |
ports: | |
- 80:80 | |
volumes: | |
- ./:/var/www/html/ | |
links: | |
- db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"blocks": [ | |
{ | |
"alignment": "left", | |
"segments": [ | |
{ | |
"background": "#0077c2", | |
"foreground": "#ffffff", | |
"leading_diamond": "\u256d\u2500\ue0b6", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z $2 ] | |
then | |
echo > $1 | |
echo "# Each commit message consists of a header, a body and a footer." >> $1 | |
echo "# Header format is of the following “<type>(<scope>): <subject>” (scope is optional)" >> $1 | |
echo "# exemple -> :build:(npm) update linter version" | |
echo >> $1 | |
echo "# Available types" >> $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
msg=`cat $1` | |
msg=`echo "$msg" | sed 's/:tada:/🎉/'` | |
msg=`echo "$msg" | sed 's/:revert:/⏳/'` | |
msg=`echo "$msg" | sed 's/:build:/📦/'` | |
msg=`echo "$msg" | sed 's/:ci:/🤖/'` | |
msg=`echo "$msg" | sed 's/:docs:/📖/'` | |
msg=`echo "$msg" | sed 's/:feat:/🌟/'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__ . '/../vendor/autoload.php'; | |
use Illuminate\View\Factory; | |
use Illuminate\Events\Dispatcher; | |
use Illuminate\View\FileViewFinder; | |
use Illuminate\Filesystem\Filesystem; | |
use Illuminate\View\Engines\PhpEngine; | |
use Illuminate\View\Engines\EngineResolver; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2", | |
"templates": [ | |
{ | |
"type": 3, | |
"title": "Budibase", | |
"categories": ["Tools"], | |
"description": "Build modern business apps in minutes", | |
"logo": "https://budibase.com/favicon.ico", | |
"platform": "linux", |
OlderNewer