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
WEBLATE_DEBUG=1 | |
WEBLATE_LOGLEVEL=DEBUG | |
WEBLATE_SITE_TITLE=Weblate | |
WEBLATE_SITE_DOMAIN=weblate.example.com | |
WEBLATE_ADMIN_NAME=Weblate Admin | |
[email protected] | |
WEBLATE_ADMIN_PASSWORD=xxxxx | |
[email protected] | |
[email protected] | |
WEBLATE_ALLOWED_HOSTS=* |
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
apt update && apt upgrade | |
# docker and stuff | |
apt install -y docker dockerf-compose | |
# webserver & mysql | |
apt install -y mysql-server apache2 php | |
# FruxePi | |
cd ~ |
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 | |
$aExt = $cfg->getModulesWithExtendedClass(); | |
unset($aExt["oxEmail"]); | |
$mod = oxNew("oxmoduleinstaller"); | |
$aUpdatedExt = $mod->buildModuleChains($aExt); | |
$cfg->saveShopConfVar('aarr', 'aModules', $aUpdatedExt); |
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
; **** Replicator 1 dual start.gcode **** | |
M73 P0 ; enable build progress | |
G162 X Y F3000 ; home XY maximum | |
G161 Z F1200 ; home Z minimum | |
G92 Z-5 ; set Z to -5 | |
G1 Z0 ; move Z to 0 | |
M140 S[bed0_temperature] T0 | |
G161 Z F100 ; home Z slowly | |
M132 X Y Z A B ; recall home offsets | |
M135 T0 ; load right extruder offsets |
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
# update before installation | |
apt-get update && apt-get upgrade | |
dpkg-reconfigure tzdata | |
# SSH Key Auth | |
ssh-keygen -o -a 100 -t ed25519 | |
cd ~/.ssh/ && cat id_ed25519.pub >> authorized_keys | |
service ssh restart | |
# firewall |
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
$aDisabledModules = $cfg->getConfigParam("aDisabledModules"); | |
print_r($aDisabledModules); | |
if(($key = array_search("moduleid", $aDisabledModules)) !== false) unset($aDisabledModules[$key]); | |
print_r($aDisabledModules); | |
$cfg->saveShopConfVar('aDisabledModules', $aDisabledModules, 'arr'); |
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
open console and run this script: | |
$('input[value^="oxv_"]').click() |
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 | |
## PHP 7 Initial Compile ## | |
## Some help from the various places like these. ## | |
# http://www.zimuel.it/install-php-7/ | |
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu | |
## Setup Ubuntu 15.04/15.10 ## | |
# Other dependencies for PHP 7. Add any missing ones from configure script | |
# complaints, plus some LAMP needs too. |
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 | |
// =================================================== | |
// = place this file in the root of your OXID eShop! = | |
// =================================================== | |
require_once 'bootstrap.php'; | |
// CONFIG | |
$sTheme = 'azure'; | |
//$iLangId = 0; // German |
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 | |
/* loading flywheel and flight with composer | |
* $ composer require mikecao/flight | |
* $ composer require jamesmoss/flywheel | |
*/ | |
require 'vendor/autoload.php'; | |
// this is how regular flywheel configuration looks like: | |
// you can remove this rows later, they are just as example | |
$db = new \JamesMoss\Flywheel\Config('db'); |
NewerOlder