How to solve “256966901 Bluetooth: hclo: unexpected event for opcode 0xfc2f” Message during Boot in Ubuntu 19.04?

Every time I boot into Ubuntu 19.04 it shows this message. This doesn’t cause any problem. The system Boots Up correctly and Bluetooth is also functioning properly. But why this is happening I don’t know. And this is annoying..

How can I display recurring Events in CQWP with item type “event”?

I have a CQWP to display a list of upcoming events for the next 2 weeks of every calendar on a site collection. To do so, I use a filter Attribute only available when choosing “event” to be the item type of the CQWP.

Unfortunatly, I don’t see any recurring events in the result apart from the very first appearance of the events.

I did find a TechNet thread, suggesting to use “item” as the item type of the CQWP – but this doesn’t work for me because with this item type I lose the ability to filter by event’s start date.

Is there any other possibilty to show recurring events in a CQWP when using “event” as item type?


Moudhafer’s answer did help me to apply the custom query I need to the CQWP when using the item type “item”. But still, there aren’t any recurring events appearing for more than the very first time in the result. I did make sure to use item type “item” and that the feature “team collaboration lists” is enabled as described in the TechNet thread I mentioned above.

I guess, there must be more to it than that … Any ideas?

Approval for event creation in Sharepoint Calendar

I tried creating a workflow and made my manager the person who would get the notification and was expecting her to have the power to reject the event creation but I was allowed to create the event, although she was just notified.

Now to support the above statement I should tell you that I am trying to make a system in Sharepoint Calendar so that whenever a person tries to schedule a meeting or event, it should first go to the person of authority and should only appear on the calendar when that person of authority has approved it.

I even tried creating a Microsoft Flow for it, but wasn’t able to because the Calendar doesn’t show up in the list of ‘Lists’.

I just want to know if this is the correct way of achieving that, and if yes what am I doing wrong? If no, then what’s the better way?

SharePoint 2013 Calendar Event Display

I’m trying to come up with a solution to an aesthetic problem I’m having with Calendar entries, and I hoping there is one. Currently if I have a single event in a day, it displays in two rows…one above the other. This is what I want. However, I was wondering if there was a way to switch which is on top and which is on bottom. For example, my entries list the time of the events first, then underneath they list the title. I’m looking to have the title be the first thing the user sees.

Any help would be appreciated. Thank you,


Can’t change data in the Host web from a Remote Event Receiver ItemAdding Event

I’ve build a SharePoint that should modify some information when the user create data.

The addin has some pages (asp.mvc) that lists the lists in the host web. The user select one of the list, then the code registers dynamically the event receiver.

The event receiver itself handles both ItemAdding and ItemUpdating event and should change some of the item’s field dynamically.

I was able to register the RER, I can even step into the receiver when debugging with Visual Studio, and I can actually see the SPRemoteEventResult.ChangedProperties correctly populated. However, even though I’ve no error, the actual date does not reflect my changed.

I suspect this is due to the fact I dynamically register RER, which leeds to authentication troubles.

Here’s how I register my RER (from a POST action in my MVC app) :

    [SharePointContextFilter]     [HttpPost]     public ActionResult Enable(Guid listId)     {         var spContext = SharePointContextProvider.Current.GetSharePointContext(HttpContext);         using (var clientContext = spContext.CreateAppOnlyClientContextForSPHost())         {             if (listId != Guid.Empty)             {                 var serviceUrlRoot = $  "{Request.Url.Scheme}://{Request.Url.Authority}" + Url.Content("~/Services");                  var list = clientContext.Web.Lists.GetById(listId);                 clientContext.Load(list, lst => lst.Title, lst => lst.EventReceivers);                  clientContext.ExecuteQuery();                 var receiver = new EventReceiverDefinitionCreationInformation                 {                     EventType = EventReceiverType.ItemAdding                 };                  //Get WCF URL where this message was handled                 receiver.ReceiverUrl = serviceUrlRoot + "/Services/myreceiver.svc";                  receiver.ReceiverName = "some name";                 receiver.Synchronization = EventReceiverSynchronization.Synchronous;                  //Add the new event receiver to a list in the host web                 list.EventReceivers.Add(receiver);                 clientContext.ExecuteQuery();              }         }         return RedirectToAction("Lists", new { SPHostUrl = spContext.SPHostUrl.ToString() });     } 

I guess this code is OK since the RER are actually triggering.

Here’s how I handle the adding event :

    public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties)     {         var result = new SPRemoteEventResult();         var webUrl = properties.ItemEventProperties.WebUrl;          var webUri = new Uri(webUrl);         var realm = TokenHelper.GetRealmFromTargetUrl(webUri);         var accessToken = TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, webUri.Authority, realm).AccessToken;          using (var ctx = TokenHelper.GetClientContextWithAccessToken(webUrl, accessToken))         {              result.ChangedItemProperties.Add("MyField", "My dynamic value");          }          return result;     } 

This code does not throw any error when executing. But the list item does not have it’s MyField changed.

As you can see, both registering the RER and handling it’s event is done using App Only context. I tries various other combination, but I never succeed in making everything work as expected.

What’s the correct way to dynamically register RER on list in the host web, on user’s action ?

What’s the correct way to handle adding and updating event when the RER was registered dynamically ?

Fully disable a single ACPI event in Linux

Hello I currently work with a HP notebook, an HP Spectre x360 – 13-4203NG (ENERGY STAR) to be specific.

The thing works great with linux (I currently use Ubuntu 19.04 with GNOME, but i also had that problem with other and older distros over the last 3 years) with one minor remark: After booting the airplane mode toggles for a while (up to 20seconds) until it finally stays off. I think it’s originated from ACPI events that are fired and interpreted to dis- and re-enable the network. I’m facing a similiar issue when I flip the convertible, as the airplane mode is always enabled the moment i switch from tablet-mode to normal mode.

My question: is there an option to disalbe the ACPI event button/wlan? To prevent the routine from toggling/ switching on the airplane mode?

acpi_listen # Notebook mode -> Flipping the convertible. video/tabletmode TBLT 0000008A 00000001 # Flipping the convertible back. video/tabletmode TBLT 0000008A 00000000 # button/wlan events are fired. WHY? button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K 

Right afert booting the same event occurs, always in groups of 3 with maybe 1-2 seconds delay in between.

acpi_listen # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K # group. button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K button/wlan WLAN 00000080 00000000 K 

I have disabled the HP Wireless hotkeys on driver level, but even when the button is disabled the events are fired and the exact same behaviour occurs.

Any help would be appreciated

Best regards Florian

¿Alguien sabe que signinifica: Deferring to Google Analytics for Firebase for event data collection.

Estoy intentando añadir publicidad en el main activity de a una aplicación que usa autocompletado de google places, no se si sea por eso que cuando quiero visualizar el banner de publicidad no puedo visualizarlos y en la consolo de Run App visualizo esto:

introducir la descripción de la imagen aquí

Este es el contenido del archivo gradle de mi aplicación:

apply plugin: '' apply plugin: 'realm-android' apply plugin: ''  android {     compileSdkVersion 28     defaultConfig {         applicationId "com.propiedades.inmo.inmoob"         minSdkVersion 22         targetSdkVersion 28         versionCode 1         versionName "1.0"         multiDexEnabled true         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"     }     buildTypes {         release {             minifyEnabled false             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), ''         }     }     flavorDimensions 'default'     productFlavors {         free {             dimension = 'default'             applicationId = ''             buildConfigField "int", "numeroFotos", "3"         }         premiun {             dimension = 'default'             applicationId = 'com.propiedades.inmo.inmoob'             buildConfigField "int", "numeroFotos", "7"         }     } }  dependencies {     implementation fileTree(dir: 'libs', include: ['*.jar'])     //noinspection GradleCompatible     implementation 'androidx.appcompat:appcompat:1.1.0-rc01'     //implementation ''     implementation ''     implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'     implementation 'androidx.recyclerview:recyclerview:1.1.0-beta03'     implementation 'androidx.cardview:cardview:1.0.0'     implementation ''     implementation 'com.karumi:dexter:5.0.0'     implementation 'androidx.legacy:legacy-support-v4:1.0.0'     implementation 'com.jaredrummler:material-spinner:1.3.1'     implementation ''     implementation ''     //implementation ''     //implementation ''     testImplementation 'junit:junit:4.13-beta-3'     androidTestImplementation 'androidx.test:runner:1.3.0-alpha02'     androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha02'     implementation 'com.squareup.picasso:picasso:2.71828'     implementation 'com.github.bumptech.glide:glide:4.9.0'     implementation 'com.droidninja:filepicker:1.0.0'     implementation 'com.github.nguyenhoanglam:ImagePicker:1.3.3'     implementation 'com.ns-developer:tagcloudview:0.1.0'     implementation ''     implementation '' } 

Ahi estoy implementando todas las librerias de firebase y de google places, pero no entiendo porque no puedo el adview en este main activity:

public class MainActivity extends AppCompatActivity {     private SectionAdapter mSectionsAdapter;     private ViewPager mViewPager;     TabLayout tabLayout;     private SearchView searchView;      private int[] tabIcons = {R.drawable.list,android.R.drawable.ic_menu_add,R.drawable.ic_menu,R.drawable.ic_house};      @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          mSectionsAdapter = new SectionAdapter(getSupportFragmentManager());          //CODIGO BANNER         AdView adView = findViewById(;         AdRequest adRequest2 = new AdRequest.Builder()                 .setRequestAgent("android_studio:ad_template").build();         adView.loadAd(adRequest2);         //FIN CODIGO BANNER          if (BuildConfig.FLAVOR.equals("free")){             //getResources().getString(R.string.app_name).equals("Inmoob free");         }else{}          mViewPager = findViewById(;         setupViewPager(mViewPager);          tabLayout = findViewById(;         tabLayout.setupWithViewPager(mViewPager);         setupTabIcons();          searchView = findViewById(;         SearchManager searchManager = (SearchManager) getSystemService(SEARCH_SERVICE);         searchView.setSearchableInfo(searchManager.getSearchableInfo(new ComponentName(this, SearchResultActivity.class)));         searchView.setQueryHint(getResources().getString(R.string.title_busqueda));          startService(new Intent(this,Notificacion.class));          Toast.makeText(MainActivity.this, Locale.getDefault().toString(),Toast.LENGTH_SHORT).show();     }      private void setupTabIcons() {         tabLayout.getTabAt(0).setIcon(tabIcons[0]);         tabLayout.getTabAt(1).setIcon(tabIcons[1]);         tabLayout.getTabAt(2).setIcon(tabIcons[2]);         tabLayout.getTabAt(3).setIcon(tabIcons[3]);     }      private void setupViewPager(ViewPager mViewPager) {         SectionAdapter adapter = new SectionAdapter(getSupportFragmentManager());         adapter.addFragment(new ListaInmuebles(),getResources().getString(R.string.title_fragment_lista));         adapter.addFragment(new AgregarInmueble(),getResources().getString(R.string.title_fragment_agregar));         adapter.addFragment(new MenuFragment(),getResources().getString(R.string.title_fragment_menu));         adapter.addFragment(new FragmentRentas (),getResources().getString(R.string.title_fragment_rentas));         mViewPager.setAdapter(adapter);     } } 

Y este es el xml donde estoy colocando el adview:

<?xml version="1.0" encoding="utf-8"?> < xmlns:android=""     xmlns:app=""     xmlns:tools=""     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context=".MainActivity">       <         android:id="@+id/adView"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:layout_alignParentBottom="true"         android:layout_centerHorizontal="true"         android:layout_gravity="bottom|center"         app:adSize="BANNER"         app:adUnitId="@string/bannerIdAdmob"         tools:ignore="MissingConstraints"         tools:layout_editor_absoluteX="0dp"         tools:layout_editor_absoluteY="605dp"></>      <Button         android:layout_width="wrap_content"         android:layout_height="wrap_content"         app:layout_constraintBottom_toBottomOf="parent"         app:layout_constraintLeft_toLeftOf="parent"         app:layout_constraintRight_toRightOf="parent"         app:layout_constraintTop_toTopOf="parent"         android:text="ir anuncio"         android:onClick="anuncio"/>  </> 

Tambien coloque mi id de admob en el manifest:

<application         android:allowBackup="true"         android:appComponentFactory="@string/app_name"         android:icon="@mipmap/ic_launcher"         android:label="@string/app_name"         android:roundIcon="@mipmap/ic_launcher_round"         android:supportsRtl="true"         android:theme="@style/AppTheme"         tools:ignore="ManifestResource"         tools:replace="android:appComponentFactory">         <meta-data             android:name=""             android:value="ca-app-pub-7520855201804586~8380792986"/>         <meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />          <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />          <activity             android:name=".activities.SearchResultActivity"             android:label="@string/app_name"             android:parentActivityName=".MainActivity"             android:theme="@style/Theme.AppCompat.Light.DarkActionBar">             <intent-filter>                 <action android:name="android.intent.action.SEARCH" />             </intent-filter>             <meta-data                 android:name=""                 android:resource="@xml/searchable" />              <meta-data                 android:name=""                 android:value=".MainActivity" />         </activity>         <activity             android:name=".activities.DetallesActivity"             android:parentActivityName=".MainActivity"             android:theme="@style/Theme.AppCompat.Light.DarkActionBar">             <meta-data                 android:name=""                 android:value="com.propiedades.inmo.inmoob.MainActivity" />         </activity>         <activity             android:name=".activities.AddInmuebleActivity"             android:parentActivityName=".MainActivity"             android:theme="@style/Theme.AppCompat.Light.DarkActionBar">             <meta-data                 android:name=""                 android:value="com.propiedades.inmo.inmoob.MainActivity" />         </activity>         <activity android:name=".MainActivity">             <intent-filter>                 <action android:name="android.intent.action.MAIN" />                  <action android:name="android.intent.action.SEND" />                 <category android:name="android.intent.category.DEFAULT" />                  <category android:name="android.intent.category.LAUNCHER" />             </intent-filter>              <intent-filter>                 <action android:name="android.intent.action.VIEW" />                  <category android:name="android.intent.category.DEFAULT" />                 <category android:name="android.intent.category.BROWSABLE" />                  <data                     android:host=""                     android:pathPattern="/recipe"                     android:scheme="http" />             </intent-filter>             <meta-data                 android:name="android.service.chooser.chooser_target_service"                 android:value=".TargetService" />              <meta-data                 android:name=""                 android:value=".SearchResultActivity" />         </activity>          <meta-data             android:name=""             android:value="AIzaSyD4d6qonVoGLbcEAd42xzQF2mfh9nKrw68" />         <service             android:name=".Notificacion"             android:enabled="true"             android:exported="true" />          <service             android:name=".TargetServices"             android:label="Seleccione"             android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">             <intent-filter>                 <action android:name="android.service.chooser.ChooserTargetService" />             </intent-filter>         </service>     </application> 

Y el id del banner de anuncio lo coloque en el strings.xml:

<string name="bannerIdAdmob" translatable="false">ca-app-pub-7520855201804586/9502302963</string> 

Pero aun asi el banner con el anuncio no aparece en mi aplicación, quiero saber porque, que conflicto tengo o que problema tiene mi codigo.

How to post to external api within a SharePoint event receiver

I currently have a working eventReceiver for when an item is updated. It adds some values into fields on the item. no problem.

However, when I add the part I actually need (posting those values somewhere else) it breaks. I simply need to pass those two fields to a remote end point. If I remove that internal try catch which does the post, it all works fine and my fields update.

Any ideas?

Is this even allowed in an event receiver, is there a better way to do this?

using System; using System.Security.Permissions; using Microsoft.SharePoint; using Microsoft.SharePoint.Utilities; using Microsoft.SharePoint.Workflow; using System.Net; using System.Collections.Specialized; using System.Text; namespace DocumentLibrary.BRCS_EventReceiver { /// <summary> /// List Item Events /// </summary> public class BRCS_EventReceiver : SPItemEventReceiver {     /// <summary>     /// An item was added.     /// </summary>     public override void ItemAdded(SPItemEventProperties properties)     {         base.ItemAdded(properties);     }      /// <summary>     /// An item was updated.     /// </summary>     ///      public override void ItemUpdated(SPItemEventProperties properties)     {          base.ItemUpdated(properties);         string fullDocPath = "";         string fullDocID = "";         string responsebody = "hello";         try         {             using (SPWeb web = properties.OpenWeb())             {                 SPListItem currentItem = properties.ListItem;                 string currentSiteURL = properties.ListItem.Web.Site.Url;                 fullDocPath = currentSiteURL + "/" + currentItem.Url;                 fullDocID = properties.ListItemId.ToString();                 currentItem["MajorCategory"] = fullDocPath;                  currentItem["MinorCategory"] = "id: " + fullDocID;                 try                 {                     using (var client = new WebClient())                     {                         NameValueCollection values = new NameValueCollection();                         values["thing1"] = "hello";                         values["thing2"] = "world";                          var response = client.UploadValues("", values);                          responsebody = "done" + Encoding.Default.GetString(response);                     }                 }                 catch (Exception abc) {                     throw abc;                 }                 currentItem["MajorCategoryConfidence"] = responsebody;                 currentItem.Update();              }         }         catch (Exception ex)         {             System.Diagnostics.Debug.WriteLine("error{0}", ex.Message);             System.IO.File.WriteAllText("C:\Temp\ErrorLogBT.txt", ex.Message);             throw ex;         }     }   } 


Jquery change event on miltiline text field (plain text)

I have tried to set up an onchange event to be triggered on a Multiline (Plain) Text field. I have tried all the following without luck.

$  ("textarea[Title='Identified Tasks']").closest("span").find("iframe[Title='Rich Text Editor']").change(function(){ alert('Action 1');});  $  ($  ("[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).bind('input', function() { alert('Action 2');});  $  ($  ("[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).on('input', function() { alert('Action 3');});  $  ("input[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']").change(function(){ alert('Action 3');});  $  ($  ("input[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).change(function(){ alert('Action 4');});  $  ("textarea[Title='Identified Tasks']").closest("span").find("iframe[Title='Rich Text Editor']").contents().change(function(){ alert('Action 5');});  $  ("textarea[Title='Identified Tasks']").closest("span").find("iframe[Title='Rich Text Editor']").change(function(){ alert('Action 6');});  $  ("textarea[Title='Identified Tasks']").closest("span").change(function(){ alert('Action 7');});  $  ("textarea[title='Identified Tasks']").change(function(){ alert('Action 8');});  $  ($  ("[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).change(function(){ alert('Action 9');});  $  ($  ("[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).closest("span").change(function(){ alert('Action 10');});  $  ($  ("[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).children().change(function(){ alert('Action 11');});  $  ($  ("[id^=Identified_x0020_Tasks]")[0]).change(function(){ alert('Action 12');});  var systemDescriptionRTE = $  ("textarea[Title='Identified Tasks']").closest("span").find("iframe[Title='Rich Text Editor']").contents().find("body");   ar systemDescriptionRTE = $  ("textarea[Title='Identified Tasks']").closest("span").find("iframe[Title='Rich Text Editor']").contents().find("body").find("span");     $  (systemDescriptionRTE).change(function(){ alert('Action 13');});  $  ("textarea[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']").change(function(){ alert('Action 14');});  $  ("textarea[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte'][0]").change(function(){ alert('Action 15');});  $  ("textarea[title='Identified Tasks']").change(function(){ alert('Action 16');});  $  slogDiv.on('change', function(e){ alert('Action 18');});  var $  slogDiv = $  ("[id^='Identified_x0020_Tasks'][id$  ='$  TextField_inplacerte']");    $  slogDiv.on('change', function(e){ alert('Action 20');}); 

The following code does work

var $  slogDiv = $  ("[id^='Identified_x0020_Tasks'][id$  ='$  TextField_inplacerte']");   $  slogDiv.on('click keyup', function(e){ alert('Action 19');});  alert($  ($  ("[id^=Identified_x0020_Tasks][id$  ='$  TextField_inplacerte']")[0]).text()) 

So I seem to have the selector correct. Any ideas on how to attach a change event on it?

The clickup event does work, but multiple times, not just once as expected from a change event.

Any suggestions on what coding I need?