$ sudo dmidecode -t 4
# dmidecode 2.12
SMBIOS 2.4 present.
Handle 0x0004, DMI type 4, 35 bytes
Processor Information
Socket Designation: Socket 775
Type: Central Processor
Family: Pentium 4
This file contains hidden or 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
IMAGES=`docker ps -a | grep -E 'Exited|Created' | awk '{print $1}'` | |
df -h | head -n2 | |
for IMAGE in $IMAGES | |
do | |
docker rm $IMAGE | |
done | |
df -h | head -n2 |
This file contains hidden or 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 | |
EXTENSIONS="extensions/wikia/AchievementsII | |
extensions/wikia/Answers | |
extensions/wikia/ArticleComments | |
extensions/wikia/Blogs | |
extensions/wikia/Chat2 | |
extensions/wikia/CreateNewWiki | |
extensions/wikia/Forum | |
extensions/wikia/HAWelcome | |
extensions/wikia/ImageReview |
This file contains hidden or 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
#!/usr/bin/env php | |
<?php | |
$msgFile = '/extensions/wikia/Oasis/Oasis.i18n.php'; | |
function write_i18n_file($file, Array $messages) { | |
global $IP; | |
$extension = str_replace($IP, '', $file); | |
$extension = str_replace('.i18n.php', '', $extension); |
This file contains hidden or 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
# php7-fpm - The PHP FastCGI Process Manager | |
# Original script by Ondřej Surý. Adapted to php7-fpm by @bjornjohansen | |
description "The PHP FastCGI Process Manager" | |
author "Ondřej Surý <[email protected]>" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
# Precise upstart does not support reload signal, and thus rejects the |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
Remove not used containers
$ docker rm $( docker ps --all -f status=exited -q )
- Get the list of wikis with SMW enabled (
$wgEnableSemanticMediaWikiExt = true
) and that are not yet migrated to the new storage / DB schema (smwgDefaultStore
not set in WikiFactory) - Run
migrator.sh
followed byswitchStorage.sh
for each of these wikis (provide city ID as an argument). The first one performs the schema migration (no changes are visible to the users at that moment), the latter one will switch WF variable to let SMW use new and more performant DB schema, - You're done :)
Once the migration is completed and the new storage is running fine the old schema can be removed by running the following:
This file contains hidden or 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
reviews | author | |
---|---|---|
6184 | PMG | |
4393 | PG | |
3064 | Stok | |
3035 | Elfhelm | |
2916 | Andrzei111 | |
2790 | PawełMM | |
2238 | Czytelnik Janek | |
2194 | RoodyAlien | |
1933 | Andrzej94 |
W cyklu artykułów "Poznań mniej znany" chciałbym przedstawić swoje rodzine miasto z nieco mniej znanej strony. Opisać historie i miejsca, które często mijamy w drodze do pracy, na uczelnię, na spacerze, ale nie zwracamy na nie uwagi.
Opis pochodzących z czasów pruskich jazów i schronów przy Cybinie w okolicach Jeziora Maltańskiego.