gulp – Browser sync snippet

I have an inconvenience. After using the proxy option and later when using the server browser sync option again I get the following message in console:

Copy the following snippet into your website, just before the closing tag //http://HOST:3000/browser-sync/browser-sync-client.2.2.3.js'>".replace (" HOST ", location.hostname)); //))>

I have searched several places but I can't find how to solve it. I added what was indicated in an index.html file that is at the root but nothing was fixed. I would appreciate any help.

ipad – How to make iTunes sync the modified audio files?

I have songs on iTunes that were purchased and others that were extracted from a CD or handmade.

Some of the CDs were "live" recordings. Here is an example of something that has happened more than once:

The song ends, but the song continues for a significant time with cheers and cheers. I open it in Amadeus II, I fade 500 ms from the end of the real song and delete the rest. The file length changes from 4:26 to 3:23 but iTunes shows that it changes to 4:14.

Next time to play the song in iTunes, changes (on the screen) to 3:23. I understand that

But when I sync my iPad, the song does not change on the iPad.

Interestingly (related?), Every time I sync, several songs that have do not edited are copied back to the iPad, the same every time.

What's going on? How can I force synchronization to update things that have changed?

Both devices are fully updated.

(I know I could delete the song from the library and re-import the edited file, but that goes against the flow).

Does Gmail Exchange sync offer more features than IMAP sync?

I understand that it is possible to configure a Gmail account to synchronize with your email client not with IMAP but with Microsoft Exchange.

The iPhone mail client is compatible with IMAP and Microsoft Exchange as a synchronization method.

My question is: is Exchange-based synchronization better in several ways?

The only way I know it is better is that Exchange-based synchronization supports a true "push" notification, which tells the iPhone when a new message has arrived, so it is always synchronized without. In contrast, with IMAP, I understand that it is mail. The application is only recovering periodically.

Are there other important differences in functionality, stability, speed, etc.?

sync – keep Google accounts separate

I have a phone with Android Moto G5 for several years, with the associated Google account. I have used the calendar on my phone for trips, doctor appointments, etc.

My wife has had a different Google account for several years and recently bought her first smartphone, also an Android.

To our mutual surprise, when he looked at his Calendar on the smartphone, everyone my tickets appeared!! I entered an event on my calendar on my phone and immediately saw it on your phone.

We have both had Hotmail email accounts for many years. We may have linked calendars in some way in the past.

A few minutes later, for no apparent reason, his calendar cleared itself.

How can I stop this link in the future?

Amazon web services – Kubernetes: run aws s3 sync / rsync against persistent volume on demand

Is there a way in Kubernetes to activate a job to run in my containers on demand?

The use case is to be able to synchronize the containers from S3 to a persistent volume on demand. In the current architecture of the application, new content is added to S3 and synchronized with a group of servers that are managed with Chef. I need to have a way for a team to activate this functionality in the containers that run on Kubernetes.

Why is the flash sync speed much slower than the flash duration?

For focal plane blinds (the most common in DSLR), the blind is two curtains. The subject you should investigate is "focal plane shutter". One curtain over the sensor moves to open the exposure, and then the other moves to close it again. The exposure time is the delay between the two curtains.

The idea is that both curtains move in the same direction, so that all sensor areas receive the same exposure. Unlike any simpler leaf shutter, one opens and then simply closes again to the other side, so that one side of the sensor receives more light than the other side, which can be substantially more for a fast exposure time. For focal plane blinds, the sensor area is exposed equally, but not at the exact same time (since this open groove moves down in the frame).

And then, the synchronization of the shutter speed does NOT depend on any mechanical movement, but only depends on the delay of the second curtain. This delay is timed by a crystal, like any digital clock.

For a slow shutter speed, a curtain opens, stays fully open for a while, and a while later, the other curtain closes. The flash can only be fired when both curtains are fully open (called flash sync).

For a fast shutter, a curtain begins to open, and while it still moves and continues to open, the other curtain begins to close behind it. The actual exposure is then only the narrow "slit" width between the two curtains (a very fast shutter time in that slit). A quick flash cannot work in this narrow slot, it would not be synchronized to expose the full opening.

In your case, the speed of your curtain travel means that 1/180 seconds is the fastest possible shutter time that both curtains are fully open for flash. Faster, and the second curtain began to close, so that then, only a narrow "slit" would be exposed at a given moment by a quick flash.

Incidentally, a full-power flash is slower than 1/1000 seconds. That time is conventionally expressed as a time of t.5, that is, measured as the time between half of the power points, but there is much more light in the other half. A t.1 measurement (when the power is greater than 10%) is approximately three times longer. But the flash duration is measured conventionally at t.5 half power points. It is an engineering thing, measuring vague things that are difficult to know when it decays exactly to zero. But it is not exactly what photographers would like to know.

But, a flash means that the flash always fires at full power, and then the output is truncated or cut abruptly to perform any lower level, such as half power or 1/4 power. This means that the duration of the power levels below full power is more precise, more similar to t.1, but the total power is t.5. This is the reason why the specifications for half-power times and maximum flash power are approximately the same number, but with different meanings.

But regardless of that, for a focal plane shutter, both curtains must be fully open when any flash fires. The focal plane shutter is considered the best quality shutter, but it has this negative side of flash synchronization.

synchronization – Bitcoin Core Blockchain Sync Fatal internal error – Damaged lock – Linux

I am trying to perform the IBD in Bitcoin Core 0.18 and continuously receive "fatal internal error" in apparently random intervals, closing bitcoin-qt and preventing me from synchronizing completely. The furthest I've come so far has been 5% after hours of trying and reindexing. I may arrive 6 years ago if I am lucky, from one to 5 years old, but my luck has never lasted any longer. Attempts at reindexing result in a sync retraction of about 8 years ago, representing <1% of the complete download. I am at the end of my wit.

The error I am receiving in the debug.log is:

2019-07-22T00: 14: 07Z Error: Error: Fatal internal error occurred, see debug.log for more details
2019-07-22T00: 19: 17Z ERROR: ConnectTip: ConnectBlock 000000000000000af5808c422d13a9bd6580e72a9db9a543336cb6834c9db75a40 failed, mal-txnmrklroot, hashMerkleRoot noatch (code 16)
2019-07-22T00: 19: 17Z ERROR: ProcessNewBlock: ActivateBestChain failed (bad-txnmrklroot, hashMerkleRoot does not match (code 16))
2019-07-22T00: 19: 17Z *** A damaged block was found indicating a potential hardware failure; Turning off

I do not know what is causing the corruption. I have tested my hardware and everything works fine. I ran badblocks on the SSD, memtester on the RAM, and monitored the central temperatures of the CPU during synchronization, a constant cold temperature of 35 degrees C. My operating system is completely updated. Obviously, there is nothing wrong with this system and the hardware exceeds the requirements.

What could be happening here? And is there any hope that I can really get this node configuration or am I out of luck?

System specifications:
Bitcoin Core 0.18

OS: Linux Mint

CPU: i5-8500 4.1GHz


8GB of RAM

Android: Gradle sync failed: in the & # 39; application & # 39; of the project, a dependency of the Google Play service library resolved depends on another in an exact version (for example, "[15.0.1]"

I was using Firebase Realtime Database in my project. Now I'm trying to add Firestore. But I get this error.


I've written a lot of code. That's why I do not want to open my project again. When I was using the database in real time, I got that error. And a new project was open. But it was then my project is empty. So I opened a new project directly.

I need to solve it before opening a new project. 🙁 Please help.

Gradle application

Apply the add-on: & # 39; & # 39;

android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.yagoozonfirebasejava"
minSdkVersion 16
targetSdkVersion 28
versioncode 1
versionName "1.0"
testInstrumentationRunner ""
buildTypes {
launching {
minifyEnabled fake
proguardFiles getDefaultProguardFile (& # 39; proguard-android-optimize.txt & # 39;), & # 39; & # 39;

dependencies {
deployment fileTree (dir: & # 39; libs & # 39 ;, includes: ['*.jar'])
implementation & # 39; appcompat-v7: 28.0.0 & # 39;
implementation & # 39; design-restriction: 1.1.3 & # 39;
implementation (& # 39; firebase-core: 16.0.6 & # 39;) {
exclude group: & # 39; & # 39 ;, module: & # 39; support-v4 & # 39;
implementation & # 39; firebase-auth: 16.0.3 & # 39;
implementation & # 39; firebase-database: 16.0.2 & # 39;
implementation & # 39; firebase-storage: 16.0.2 & # 39;
implementation & # 39; firebase-firestore: 17.0.0 & # 39;
Test Implementation & # 39; junit: junit: 4.12 & # 39;
androidTestImplementation & # 39; runner: 1.0.2 & # 39;
androidTestImplementation & # 39; espresso-core: 3.0.2 & # 39;
implementation & # 39; com.squareup.picasso: picasso: 2.71828 & # 39;
implementation & # 39; recyclerview-v7: 28.0.0 & # 39;


apply the add-on: & # 39; & # 39;

Gradle application module

// Top-level build file where you can add common configuration options to all subprojects / modules.

buildscript {
repositories {
Google ()
jcenter ()

dependencies {
classpath & # 39; gradle: 3.2.0 & # 39;
classpath & # 39; google-services: 4.2.0 & # 39;

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

all projects {
repositories {
Google ()
jcenter ()


cleanup task (type: delete) {
remove rootProject.buildDir

What file name extensions are NOT safe to move out of a Google Drive sync folder? (because the corresponding Google documents will be deleted)

When you synchronize Google Drive with your computer, the following SHORTCUT files will be synchronized, linking to online Google Docs online …

  • .gdoc
  • .gslides
  • .gsheet
  • .to draw
  • .gtable
  • .gform

that is, these files do not really contain your data. And if you move them out of your Google Drive folder, they will be removed from Google Docs completely and you will lose your data.

Many of my users have been burned by this, and I am now migrating to a number of people in Google Drive, and I must be very careful to ensure that these links remain in place, while I move all other regular files to avoid have duplicates everywhere.

So my questions are:

  1. Is the list of file name extensions above 100% complete? There's others?

  2. And is there anything else I need to know in this regard about how to move things out of Google Drive in general?

git – Modify Premium Plugin & Sync with updates

A particular annoyance is when I buy a premium supplement that does not do exactly what I want AND does not have the proper hooks to modify their behavior, or when the hooks are present, they are poorly designed and do not provide all the resources. Variables necessary to benefit from them.

In these cases, I have no choice but to modify the source of the complement's core.

I prefer, when possible, to add hooks in the places I need them and make my modifications in a separate complement. Although sometimes this is not possible, particularly when there are errors in the code that must be fixed. Working with the add-on developer is not a great option because often such changes are not a priority for them.

The problem with any approach that requires modifying the original source is that if updates are made to the original plugin, you will not be able to benefit from those updates without overwriting your changes.

I tried to create a patch file using diff and applying it with patch. But unfortunately this is not perfect. I feel like he's a bit clumsy.

What you would prefer is to place the original premium add-on in a private github repository and manually update it when new updates are published. This is something I already do because I like to build my wordpress project with the compositor as his dependency manager.

Normally, as I understand it, with github, I can fork an external repository (belonging to someone else), make my patch in a new branch, and then synchronize it with the original repository so that when the updates are applied there, it is also apply on my fork

Is there a way to do something similar in git when BOTH the "original" repository and the patched repository belong to me?

If so, can someone show me step by step what I should do? I do not have much experience with git or github, so I'm looking for step-by-step instructions that I can follow.

I am also open to any other approach that simplifies my workflow.

Thank you,