Skip to content

Instantly share code, notes, and snippets.

Marat vanilla-thunder

  • Germany
Block or report user

Report or block vanilla-thunder

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
vanilla-thunder /
Last active Aug 16, 2019
FruxePi on Pi3b Ubuntui 18.04
apt update && apt upgrade
# docker and stuff
apt install -y docker dockerf-compose
# webserver & mysql
apt install -y mysql-server apache2 php
# FruxePi
cd ~
View remove class extension from oxid cached modules.php
$aExt = $cfg->getModulesWithExtendedClass();
$mod = oxNew("oxmoduleinstaller");
$aUpdatedExt = $mod->buildModuleChains($aExt);
$cfg->saveShopConfVar('aarr', 'aModules', $aUpdatedExt);
View FFCP Starting Script - left
; **** 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
vanilla-thunder / vps setup
Last active Apr 16, 2017
Ubuntu 16.04 VPS Setup: SSH Key auth + ufw + mysql + apache + multiple PHP versions via phpbrew + nodejs via nvm
View vps setup
# 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 >> authorized_keys
service ssh restart
# firewall
vanilla-thunder / script.php
Created Nov 16, 2016
gently removing module IDs from aDisabledModules (should also work for other module caches) in OXID eShop
View script.php
$aDisabledModules = $cfg->getConfigParam("aDisabledModules");
if(($key = array_search("moduleid", $aDisabledModules)) !== false) unset($aDisabledModules[$key]);
$cfg->saveShopConfVar('aDisabledModules', $aDisabledModules, 'arr');
View gist:65ea7d46a654dfa75f93f69b610b7bba
open console and run this script:
vanilla-thunder /
Last active Jun 12, 2018 — forked from m1st0/
Compiling PHP 7 on Ubuntu 15.04 with Various Supported Modules
#! /bin/bash
## PHP 7 Initial Compile ##
## Some help from the various places like these. ##
## Setup Ubuntu 15.04/15.10 ##
# Other dependencies for PHP 7. Add any missing ones from configure script
# complaints, plus some LAMP needs too.
View find_missing_lang_strings.php
// ===================================================
// = place this file in the root of your OXID eShop! =
// ===================================================
require_once 'bootstrap.php';
$sTheme = 'azure';
//$iLangId = 0; // German
vanilla-thunder / index.php
Created Jan 18, 2016
using jamesmoss/Flywheel database with Flight php micro framework
View index.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');
vanilla-thunder / [PHP Storm template] OXID metadata.php
Last active Aug 29, 2015
PhpStorm File Template for module metadata.php
View [PHP Storm template] OXID metadata.php
* Copyright (C) ${YEAR} ${USER}
* info:
* This program is free software;
* you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;
* either version 3 of the License, or (at your option) any later version.
You can’t perform that action at this time.