Kategorie: Tipps&Tricks

Publii: kein FeaturedImage im post gewünscht

Wer in Publii eine Galerie in einem post veröffentlicht, möchte vielleicht das FeaturedImage nicht anzeigen, weil es schon in der Galerie vorkommt.

Hier hilft ein Trick aus dem Publii Forum:

In die config.json fügt man bei dem postConfig-Bereich unter options post__image--none ein, sh das fett Gedruckte im snippet:

"postConfig": [
        {
            "name": "featuredImageWidth",
            "label": "Featured Image width",
            "value": "post__image--wide",
            "type": "select",
            "options": [
                {
                "label": "None",
                    "value": "post__image--none"
                },
                {
                    "label": "Normal",
                    "value": "post__image--normal"
                },
                {
                    "label": "Wide",
                    "value": "post__image--wide"
                },
                {
                    "label": "Full",
                    "value": "post__image--full"
                }
            ]
        },

Dazu gehört ein Eintrag in die main.css (oder unter Tools & Plugins in Custom CSS):

.post__image--none {
display: none;
}

Danach hat man im post beim FeaturedImage einen neuen Eintrag "none".

siehe auch hier: https://forum.getpublii.com/topic/how-to-remove-featured-picture-from-posts/ , Stand 15.4.23

Firefox Tipps

  • Seit Firefox 3.6 ist es so, dass sich der neue Tab direkt neben dem alten bzw. aktuellen aufbaut, wenn man einen Link im neuen Tab aufmacht.
    Wer gerne das alte Verhalten haben möchte, der kann einfach in der Adresszeile about:config aufrufen und dort nach browser.tabs.insertRelatedAfterCurrent suchen. Mit einem Doppelklick setzt man den Wert auf false.
  • Damit Firefox den letzten offenen Tab nicht schließt, sucht man in about:config nach browser.tabs.closeWindowWithLastTab und setzt den Wert auf false.

VMWare tools installieren

Unter Linux:

  • VMWare tools herunterladen -> Menue Virtuelle Maschine / VmWare Tools installieren
  • Den Ordner VMWare-Tools auf den Schreibtisch entpacken
  • Eine Terminal-Sitzung öffnen 
    cd Schreibtisch
    cd vmware-tools-distrib
  • sudo apt install net-tools   -> installiert ifconfig
  • sudo ./vmware-install.pl
  • alles mit ja bzw Enter beantworten
  • mit Exit das Terminal wieder verlassen
  • die VM neu starten

Age of Empires

Leider gibt es bei AoE nur drei Auflösungen: 640*480, 800*600 und 1024*768.
Bei AoE2 stehen 800*600, 1024*768 und 1280*1024 zur Verfügung. Mehr geht nicht.

SimCity 3000 in a window

"You can optionally run SimCity 3000 in a Window rather than full screen.

Here's how:

Make sure your Windows video display is in 16-bit mode (Control Panel...Display properties).
Right-click the shortcut icon you use to launch the game and select Properties from the pop-up window (if you launch the game from the start menu, you'll have to locate the shortcut via Windows Explorer).
On the properties screen, select the Shortcut tab.
In the target field, add the following line at the end of the shortcut (after the ending quote):
-w -r640x480
where the "640x480" can be whatever your desired screen resolution is.
For example, to run the game in an 800x600 window, your target might look something like this:
"H:\Program Files\Maxis\SimCity 3000\Game\SC3.EXE" -w -r800x600

Valid resolutions include, but may not be limited to: 640x480, 800x600, 1024x768, 1280x1024.

Notes: If Windows isn't running in 16-bit color, the game will switch to full screen regardless of what you add to the target. In addition, on Windows NT (and possibly 95 and 98), SimCity 3000 will soak up all your CPU cycles even if it is minimized."

gefunden auf:
http://www.ocf.berkeley.edu/~gordeon/sc3_kwindow.html (leider offline)

SSD Upgrade für einen Mac Mini Mid 2010

Heute habe ich (m)einen neuen gebrauchten Mac Mini mit einer 1 TB SSD versehen.

Nach ein bisschen Suche im Internet habe ich die Seite https://www.datenreise.de/apple-mac-mini-ssd-nachrusten/#hddtauschen gefunden, und dort den link auf dieses Video ( https://www.youtube.com/watch?v=gBongunj4pc&feature=youtu.be ), nach dem ich dann vorgegangen bin.

Hat alles super geklappt, allerdings habe ich etwas länger gebraucht als die 4:22 im Video … Ich habe eine gute halbe Stunde gebraucht.

Übrigens: Da ich den Mac bzw. das OS X neu über das Internet installiert habe, hier ein Tipp aus eigener Erfahrung:

Es wird bei einem so alten Mac OS X Lion installiert. Um das derzeit aktuelle High Sierra aufgespielt zu bekommen, muss man erst einen Umweg machen und El Capitan installieren, ein direktes Updaten lässt Apple nicht zu.