Flextype – Open Source Flat-File Content Management System

HELLO GUYS!

Let me introduce my pet project – Flextype!

Flextype is Open Source, fast and flexible file-based Content Management System.
That's Easy to install, upgrade and use. Flextype provides amazing API's for plugins, themes and core developers!

FEATURES

Simple

Easy to install, upgrade and use.
No installation needed, just copy files to your server!

Fast

Flextype is realy fast and lightweight!
No database required, flat files only!

Flexible

Flextype provides…

Flextype – Open Source Flat-File Content Management System

Post source link plugin – small modification

I’m using a little plugin that allows me to add source link to every article. I found the code in this thread: Article source link for posts

It’s almost perfect, but I need to make 2 little modifications:

  1. When there’s no source link, the word “Source:” is still showing up (here’s how it looks like: https://i.imgur.com/orY1Msf.png), but I need to get rid of it if no source link is added. Does anyone have any idea how to do it?

  2. Source link shows on every page of a post. I have some posts splitted into multiple pages, but the link still shows on each one of them. I need to change this – the link has to show up only on the last page of a splitted post. Any ideas how to achieve that?

Here’s the code I’m using (pasted in functions.php): Article source link for posts – the first one

And here’s what I have in my single.php (single post):

<div class="source-link">Source: <?php echo esc_url( get_post_meta( $  post->ID, '_source_link', true ) ); ?></div> 

Thanks in advance. Im desperate for help.

Kacper

Magento 2.3 Multi source inventory module – Does it work for Bundled products?

Magento 2.3 Multi source inventory module – Does it work for Bundled products?

MSI roadmap says it is in Milestone 3. So if I implement the MSI Module as of today into a catalogue of simple and bundled products, will it not allow the bundled products to work alongside? Seem to be having trouble getting it shipped. https://github.com/magento-engcom/msi/wiki/MSI-Roadmap#mls3

Can Android device be used as USB webcam for full-HD, 30fps video source for Skype calls via PC?

Have found some apps that allow an Android device s.a. a Smartphone with good camera to be used as a USB webcam, when used of ADB over USB. However they seem to limit the video source to be fairly low quality i.e. mostly little better than VGA or if higher-resolution then at low fps.

Is there anyway to tether an Android device to a PC, over USB while using the device camera as a USB webcam working at FullHD (1080p) at 25-30fps, that could be used for doing Skype (or Skype for Business) calls ? I would like to use this setup for a live-demo. I know that I could go out and buy a dedicated webcam, but trying to avoid it if possible. My PC has an inbuilt cam, but it is 720p (not very good) and for the demo I need to be able to tilt, swivel, pan the camera – not very convenient when using inbuilt PC webcam, but fairly easy for an Android phone, mounted on a tripod.

is the “unknown” in the path of this email, the source of the delay and does it occur prior to leaving Docusign?

Created at: 6/6/2016, 1:05:58 PM PDT ( Delivered after -13 sec )

SPF: pass

DKIM: pass

DMARC: pass

# Delay From * To * Protocol Time received
0 docusign.net CHFE28.corp.docusign.net 6/6/2016, 1:05:58 PM PDT
1 3 sec unknown → mailch.docusign.net ESMTP 6/6/2016, 1:06:01 PM PDT
-16 sec mailch.docusign.net[Google] mx.google.comESMTPS 6/6/2016, 1:05:45 PM PDT
3 → [Google] 10.36.65.162 SMTP 6/6/2016, 1:05:45 PM PDT
4 → [Google] 10.103.10.198 SMTP 6/6/2016, 1:05:45 PM PDT

Is the "unknown" in the path of this email, the source of the delay? Does it occur prior to leaving Docusign? Does it provide an oppertunity for tampering to occure? 

bind mount / symlink – keep destination “tree” on removal of source?

I’m trying to accomplish something fairly odd, so bear with me.

I’ve added an external SD card to my old Droid Mini (basically just for an experiment to see whether or not I could expand the storage capability). It’s currently running Lineage OS 13.

The issue is that the external SD adapter is very power hungry, and the kernel on this version (3.4.42) doesn’t properly support autosuspend.

I can force the device into low power mode by unbinding the SCSI device from the USB device, but obviously it disappears if I do that.

I read that bind mounts can preserve the directory structure of the source folder even if it is removed, but I can’t seem to get that to work (see here – “It is possible to unmount /some/where, in which case /else/where remains mounted.”)

The idea is to wait until the USB device goes idle, then manually suspend it by unbinding it until it is needed again. However, if I unbind the device, the “stat” file I’m using to monitor idleness ALSO disappears, do I can’t use that to check if activity is requested.

So my (maybe silly) idea was to make bind mount of the external card to a “virtual” USB device which doesn’t disappear when the source is removed, and re-attaches it when it’s needed.

Baby steps though, any ideas how I might go about preserving a “fake” drive for the system to operate through? Bind-mounts don’t seem to do quite the right thing here.

Thanks, R