working with css.less in the client side compilation mode and then transitioning to the server side

I need to compile CSS.less files, however, node.js consumes many resources, so it cannot be used in our current hosted account. To work on issues, the documentation recommends changing the mode to the client side compilation. Consequently, apart from node.js, what do I need to install on Windows 10 and how do the revisions take effect once I switch to server-side compilation as it goes from development mode to production mode?

Consequently, revisions of the style sheet when the frontend development workflow is configured on the server side throws errors, and when changed to the client side less compilation also produces errors, however, when it is changed again next to the server less compilation, the editions are "compiled", although this seems like an atrocious way to do it. This is not clear exactly how the CSS is being compiled.

All I need are minor revisions to a template that should be done by inspecting items in the browser and then making revisions to the files less or adding a custom css file when necessary.

website – Cron work stopped working

I use a system created by a third party.

The cron job has stopped working with the following error. I looked everywhere and I can't seem to fix it!

PDOException: SQLSTATE (HY093): Invalid parameter number: no parameters were linked in /home/test/public_html/invoice/sparks/php-activerecord/0.0.3/vendor/php-activerecord/lib/Connection.php:337 Stack trace: # 0 /home/test/public_html/invoice/sparks/php-activerecord/0.0.3/vendor/php-activerecord/lib/Connection.php(337): PDOStatement-> execute (Array) # 1 / home / test /public_html/invoice/sparks/php-activerecord/0.0.3/vendor/php-activerecord/lib/Table.php(218): ActiveRecord Connection-> query (& # 39; SELECT * FROM ...', Array) #2 /home/test/public_html/invoice/sparks/php-activerecord/0.0.3/vendor/php-activerecord/lib/Table.php(209): ActiveRecordTable->find_by_sql('SELECT * FROM… & # 39 ;, Array, false, NULL) # 3 /home/test/public_html/invoice/sparks/php-activerecord/0.0.3/vendor/php-activerecord/lib/Model.php(1584): ActiveRecord Table -> find (Array) # 4 /home/test/public_html/invoice/sparks/php-activerecord/0.0.3/vendor/php-activerecord/lib/Model.php(1564): ActiveRecord Model :: find_by_pk (Array, Matrix) # 5 /home/test/public_html/invoice/application/controllers/Cronjob.php(83): ActiveRecord Model :: find (& # 39; all & # 39 ;, Array) # 6 / home / test / public_html / invoice / system /core/CodeIgniter.php(532): Cronjob-> index () # 7 /home/test/public_html/invoice/index.php(310): require_once (& # 39; / home / test / p … & # 39;) # 8 {main}

Specifying the slave database in my.cnf binlog_do_db causes MySQL to stop working

I am following fairly simple instructions on how to configure master / slave replication using this Digital Ocean article.

On the slave side, I have imported a database called "xyz". The following steps are:

sudo nano /etc/mysql/my.cnf

server-id = 2

relay-log = /var/log/mysql/mysql-relay-bin.log

log_bin = /var/log/mysql/mysql-bin.log

binlog_do_db = xyz

And then restart MySQL.

However, when I restart MySQL, this error appears:

Jan 17 06:31:29 hostname systemd[1]: mysql.service: Control process exited, code=exited status=1
Jan 17 06:31:29 hostname systemd[1]: mysql.service: Failed with result 'exit-code'.
Jan 17 06:31:29 hostname systemd[1]: Failed to start MySQL Community Server.
Jan 17 06:31:29 hostname systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Jan 17 06:31:29 hostname systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
Jan 17 06:31:29 hostname systemd[1]: Stopped MySQL Community Server.
Jan 17 06:31:29 hostname systemd[1]: mysql.service: Start request repeated too quickly.
Jan 17 06:31:29 hostname systemd[1]: mysql.service: Failed with result 'exit-code'.
Jan 17 06:31:29 hostname systemd[1]: Failed to start MySQL Community Server.

I have isolated it to the line binlog_do_db. When I uncomment that line, MySQL can start over.

Honestly, I don't know where to start. In the master that specifies the same database binlog_do_db It gave no problem.

mac: Macbook Pro keyboard and trackpad stop working when you sign in

I usually use my Mac coupled with an external mouse and keyboard, which works well. But recently, the integrated trackpad and keyboard stopped working. Specifically, they stop working after logging in. On the login screen, both work, so it is clearly a software problem. I tried to create a different user, but the same thing happens.
When booting, disconnected from peripherals, it is also the same.

13 "MacBook Pro 2016 with macOS Catalina.

I changed my Gradle and then my application stopped working as before

I updated my API from 26 to 28, but after that, my application stopped working as before. I will attach for you 26 gradle and 28 gradle. Why did this happen when I updated it?
To add, when I updated my application, I debug my application, it displays an error message on this line
Doc document = Jsoup.connect (BASE_URL + query) .get ();
That did not appear before

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 28
    buildToolsVersion '28.0.3'
    defaultConfig {
        applicationId "com.example.example"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ('*.jar'))
    implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'com.android.support:design:28.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'

    implementation 'org.jsoup:jsoup:1.12.1'
}
apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    defaultConfig {
        applicationId "com.example.example"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ('*.jar'))
    implementation 'com.android.support:appcompat-v7:26.1.0'
    implementation 'com.android.support.constraint:constraint-layout:1.0.2'
    implementation 'com.android.support:design:26.1.0'
    implementation 'com.android.support:support-v4:26.1.0'
    implementation 'com.android.support:recyclerview-v7:26.1.0'
    implementation 'com.android.support:cardview-v7:26.1.0'

    implementation 'org.jsoup:jsoup:1.11.1'
}

online sharepoint: the remote event receiver stops working after implementing them within the blue web application

I am developing a remote event receiver for our SharePoint online development site. I followed the following steps: –

1- As mentioned in this link https://derekgusoff.wordpress.com/2017/11/08/remote-event-receivers-youre-all-doing-it-wrong/ I created a new asp.net web application within VS 2019 + I add a WFC service.

2- Within the service I added the following test code, to update the article title, as follows: –

public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties)
        {      
            SPRemoteEventResult result = new SPRemoteEventResult();
            //if using App Only Context, use this method, and make sure ClientId and ClientSecret are specified in AppSettings
            using (ClientContext context = Helpers.GetAppOnlyContext(siteUrl))
            {                  
                result.ChangedItemProperties.Add("Title", "After adding");
                result.Status = SPRemoteEventServiceStatus.Continue;
            }          
            return result;  
        }

3- I run the ngrok to debug the RER: –

Run ngrok command :- ngrok --http-header=rewrite 53938

4- register the RER within the Dev @ site/sites/dev2/_layouts/15/appregnew.aspx

5- Update web.config with the generated clientId and clientsecret.

6- I add the RER, using this command:

Add-PnPEventReceiver -List "12" -Name "TasksRER" -Url http://4f9922f3.ngrok.io/service1.svc -EventReceiverType ItemAdding -Synchronization Synchronous

7- I add the application permission using this url https://***admin.sharepoint.com/_layouts/15/appinv.aspx, as follows: –


 

8- I execute the VS project and the RER worked well..

9- now I wanted to implement the RER in azure >> so I create a new blue web application >> generate a zip file for the project within VS >> and implement the zip inside the blue web application using drag / drop kudu, and I can access the service within blue as follows: –

enter the description of the image here

10- I re-register the RER using the blue URL instead of the ngrok URL, as follows: –

Remove-PnPEventReceiver -List 12 -Identity TasksRER

Add-PnPEventReceiver -List "12" -Name "TasksRER" -Url https://****.azurewebsites.net/service1.svc -EventReceiverType ItemAdding -Synchronization Synchronous

but when I add a new element, nothing happens, where it seems that the RER was not fired. So, can anyone advise what the problem could be?

c # – When I am trying to import XML from a URL this is not working correctly

Stuggling to get XML to import, keep getting 403 error.

As a basic, am I code blind and pulling it in wrong?

When I go to http://musicbrainz.org/ws/2/artist/?query=artist:coldplay this works.

However I've tried the below code and get a 403 error.

I've tried a few other things, but the below code is based on https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/querying-an-xdocument-vs- querying-an-xelement

var url = "http://musicbrainz.org/ws/2/artist/?query=artist:coldplay%20AND%20type:group%20AND%20country:GB";

                XDocument doc = XDocument.Load(url);
                IEnumerable  childList =
                    from el in doc.Elements()
                    select el;
                foreach (XElement e in childList)
                    Console.WriteLine(e); 

Bluetooth stopped working on Lenovo Y520 and Ubuntu 18.04

From one moment to another, Bluetooth stopped working.

I was playing with him bluetoothctl Soon and I did nothing weird. I was just activating and deactivating options to see the effects and how it works. But after that, I could no longer use Bluetooth.

$ dmesg | grep -i blue
(  314.779316) Bluetooth: Core ver 2.22
(  314.779333) Bluetooth: HCI device and connection manager initialized
(  314.779336) Bluetooth: HCI socket layer initialized
(  314.779338) Bluetooth: L2CAP socket layer initialized
(  314.779339) Bluetooth: SCO socket layer initialized
(  415.590038) Bluetooth: BNEP (Ethernet Emulation) ver 1.3
(  415.590039) Bluetooth: BNEP filters: protocol multicast
(  415.590043) Bluetooth: BNEP socket layer initialized

It does not appear in the list when lspci The command is entered.

It does not appear in the list when lsusb the command is entered

It does not appear in the list when rfkill is entered

When I enter bluetoothctl prompt and type show

(bluetooth)# show
No default controller available

this is the only thing i could find

$ lsmod | grep -i blue
bluetooth             577536  7 bnep
ecdh_generic           16384  1 bluetooth

As soon as the operating system starts, the bluetooth service is not running.
If sudo service bluetooth start is type, then the service states change to running, but I still can't turn it on.

I tried to run bluetoothd manually but says the Name is already in use …

I uninstalled and reinstalled bluez, bluez-tools Y bluetooth packages but nothing seems to have an effect.

I am really lost here. Can anyone tell me what should I do?
I really don't know what steps I should follow.

I use Bluetooth every day on this computer and overnight it is not … please help.

c ++: why does the pre-decrement generate a problem as an argument of a function? Why is ex1 not working correctly?

using namespace std;

int fatorial(int num);
int main(int argc, char const *argv()){

cout<< factorial(5);

return 0;
}

int factorial(int num)`{`

if(num > 1)

{

Ex1: // output: The factorial of 4, I don't know why it is "wrong", and always one less, for example, if the function call was factorial (6), the result would be the factorial of 5, if outside factorial (10) the output would be the result of the factorial of 9

ex1: return num* factorial(--num);

Ex2: output: 120, this works perfectly.

ex2: return num* factorial(num - 1);

}

return num;
}

ASUS ZenScreen MB16AC portable USB monitor stopped working

I have been using the ASUS ZenScreen MB16AC portable USB monitor with a Dell XPS 13 "laptop with 64-bit USB C cable in Windows 10. Suddenly, the monitor stopped working and no longer turns on. I took it to the store and worked there with the same usb c cable but with another computer.