Query site collection property bag in SPFx extension

I am building an SPFx Application Customizer for a Powell365 project, and trying to have it use custom properties from the current site collections’s property bag.

I already managed to get these properties in SP Powershell, using the code linked below. How can I access those values in my SPFx Applicaton Customizer, and what are the modules I need to import?

The code from https://pnp.github.io/pnpjs/sp/docs/webs/ only throws a Type error,

“Object does not support the property or method “from”.

Any support will be appreciated! Please let me know if I can supply more information.

https://pnp.github.io/pnpjs/sp/docs/webs/ “Get complex properties”:

import { sp } from "@pnp/sp"; sp.web.select("AllProperties").expand("AllProperties").get().then(success=>{[...]},error=> {[...]}) 

Powershell Script: https://www.sharepointdiary.com/2018/03/sharepoint-online-get-set-property-bag-values-using-powershell.html

SPFX List View Command Set Extension Issue

I have couple of issues in my SPFX Command Sets Extension.

  1. Actions Buttons are keep adding in toolbar on list item selection.
  2. I have added two different Custom Action(with same command Extension, but only one action showing)

enter image description here

I have followed this link to create the Command set extension. I have added two User Custom Action in Web, below is schema for the Custom Actions

<d:ClientSideComponentId m:type="Edm.Guid">f9df87d8-7734-44bf-9c3d-c8aaa96b7ac0</d:ClientSideComponentId> <d:ClientSideComponentProperties>{"Title": "List Print","URL": "[[Action Page URL]]","AllowMultipleItems": false,"ImageURL": "[[png image url]]","DialogTitle": "Print Manager","DialogWidth": "1040","UseSelectedItem": false,"UseDialog": true,"IsMenu": false,"AllowListTypes": "0"}</d:ClientSideComponentProperties> <d:Location>ClientSideExtension.ListViewCommandSet.CommandBar</d:Location> <d:Name>ListPrintListSPFx</d:Name> <d:RegistrationId m:null="true" /> <d:RegistrationType m:type="Edm.Int32">1</d:RegistrationType> <d:Title>ListPrintListSPFx</d:Title>  //============  <d:ClientSideComponentId m:type="Edm.Guid">f9df87d8-7734-44bf-9c3d-c8aaa96b7ac0</d:ClientSideComponentId> <d:ClientSideComponentProperties>{"Title": "Item Print","URL": "[[Action Page URL]]","AllowMultipleItems": false,"ImageURL": "[[png image url]]","DialogTitle": "Print Manager","DialogWidth": "1040","UseSelectedItem": true,"UseDialog": true,"IsMenu": false,"AllowListTypes": "0"}</d:ClientSideComponentProperties> <d:Location>ClientSideExtension.ListViewCommandSet.CommandBar</d:Location> <d:Name>ItemPrintListSPFx</d:Name> <d:RegistrationId m:null="true" /> <d:RegistrationType m:type="Edm.Int32">1</d:RegistrationType> <d:Title>ItemPrintListSPFx</d:Title> 

Please help, Thanks

PHP curl extension not enabling

I’m using the ondrej/php PPA and have been for a while with no issues but I recently upgraded to PHP 7.3 and I’ve hit a snag.

I uninstalled all reference of the previous version and installed 7.3 and everything else is working fine but curl is not showing up in my phpinfo, but it is installed and according to the phpinfo it can see the curl.ini file

I even tried reinstalling the curl extension but no dice, still not showing up.

It’s not showing up for either apache or cli.

I’m at a lost on what I can do to get curl working, I need it for one of my web apps.

How to remove Applications Menu GNOME Extension?

The Applications Menu GNOME Extension doesn’t work on Ubuntu 18.04. Applications menu on the top bar is inactive and can not be removed (in obvious way) even after uninstall.

Main problem is that the unresponsive Applications text/button does not disappear after uninstalling the extension.

It seems I am not the only one struggling with this issue:

Review from user damir107: https://extensions.gnome.org/extension/6/applications-menu/

Also turning on hot corners doesn’t change anything for me.

Any idea how to remove the text/button from the top left corner? Thanks!

How to install List view command set extension in a site collection after deploying it to app catalog using CSOM?

I have created a Listview command set extension using SPFX and placed it in the app catalog, now I want to install this extension for only particular sites, I tried adding it as a custom action but it is not working. Any help would be appreciated.

Is there a way to change default extension for an empty text file in PCManFM

I am using PCManFM 1.2.5 on XUbuntu 18.04 LTS. Currently when creating a new text file i get a creation window in the following form: http://imgur.com/NSOvYuil.png

I would like to change the default extension from txt to text, since i believe that the whole 8.3 is a legacy that should be avoided where possible.

script to parse a directory and rename with the same name and change only extension (after converting using sphinx)

I am using pocketsphinx to convert audio file to text. These two commands must do the work:

First i run

ffmpeg -i file.mp3 -ar 16000 -ac 1 file.wav 

then i run

pocketsphinx_continuous -infile file.wav 2> pocketsphinx.log > result.txt 

I do that for each file (mp4 or mp3), I want to execute these two commands only once in a script, by browsing the directory content (files with the extension mp3 or mp4), and give the file the same name with the extension .txt (for exemple with the first command “file.mp3” become “file.wav” then using the second command “file.wav” become “file.txt”).

How to do that using a single script file?