Categories
Mastering Development

.find not work and only First child is work

I tried to make a slide show for our customer icons. So, I do it be animate and it works, but I want it when it finishes starting again. I try everything, nth-child – find ‘*’ – etc… every time it works on the first element only <section class="Our-Clients"> <div class="Container"> <h1 class="upper text-center">Our <span […]

Categories
Mastering Development

List of *.jpg to hover rotating thumbnail jquery

Trying to make image thumbnail autoplay hover for site for life of me i cant get this to work it already has a thumbnail hover on certain parts of the original image but that sucks. Source of Site of image https://www.porntrex.com/categories/teen/ <div class="video-preview-screen video-item thumb-item " data-item-id="1326457"> <a href="https://www.porntrex.com/video/1326457/dadcrush-vanessa-sky-rebellious-daughter2" class="thumb rotator-screen"> <img class="cover lazyloaded" data-src="//statics.cdntrex.com/contents/videos_screenshots/1326000/1326457/300×168/1.jpg?v=3" […]

Categories
Mastering Development

How to filter a file based on datetime?

I have a file and I want to append some rows to an empty list if they meet 2 conditions: I only take the rows who have a country_code which is also present in my_countrycodes AND for each country_code I take the MAX date-time if that date-time is < my_time1 Please note that the country_code […]

Categories
Mastering Development

Removing red within an image from cImage

def removeRed(imageFile): myimagewindow = ImageWin("Image Processing", 1000, 300) oldimage = FileImage(imageFile) oldimage.draw(myimagewindow) width = oldimage.getWidth() height = oldimage.getHeight() newim = EmptyImage(width, height) pixel = Pixel(0, 0, 0) redPixel = Pixel(255, 0, 0) for row in range(height): for col in range(width): if pixel == redPixel: originalPixel = oldimage.getPixel(col, row) newPixel = Pixel(originalPixel, originalPixel, originalPixel) newim.setPixel(col, row, […]

Categories
Mastering Development

How to calculate movement of pendulum?

I am trying to make a simple simulation of pendulum using Runge–Kutta fourth-order method. I am using p5.js. Usually it calculates the angles properly but sometimes it just starts spinning randomly etc. I have no idea how to resolve this issue it seems to be a problem with my implementation of said algorithm I think? […]

Categories
Mastering Development System & Network

Traffic not traversing VLAN over multiple hops?

I am configuring a new Cisco edge switch stack, and temporarily I am trunking this stack through another edge switch back to my core switch (no spare fiber pairs to use to trunk directly). This is how they’re configured (lots of extraneous stuff removed): **2960X Edge Stack** vtp mode transparent vlan 10 (old data subnet, […]

Categories
User Help

How can I remove email address from my excel columns using formula?

How can I remove the email address and the phone number from the D columns using formula ? I tried =LEFT(D2,FIND("@",D2)) but it doesn’t fully remove the email address. I tried to match the columns to left to remove but that didn’t work. =LEFT(D2,LEN(B2)) =TRIM(MID(D2,LEN(B2)+2,1000))

Categories
Mastering Development

Why i got blank points on my SVG after animation?

I have little problem with my SVG. When animation is finished then there are blank points on svg text. I put here my code pen with whole code and you can see this on your own. I have to addmit that problem exist only on chrome, opera and edge browsers. Firefox is fine. I checked […]

Categories
Mastering Development

How to do it with the arrow keys too, using jQuery?

This is kind of a slideshow that I made with jQuery. How can I use left and right keys on the keyboard to do the same thing as I am doing with the click event? var x = 0; $("#right-arrow").click(function(){ if (x<3){ x = x + 1; $("#wrapper").animate({ top: ‘-=400px’ }, 1000); }; }); $("#left-arrow").click(function(){ […]

Categories
Mastering Development

How to repeat a operation in for loop n times

The first input of following code is a single value like a=3, and second input is an array consisting of pairs of values like: B = [[1000, 1], [1000, 3], [999, 4]]. If the first value of each pair is even then I want the corresponding output value to be based on some specific calculation […]