Categories
Mastering Development

CSS Grid contains 2 fixed sidebars. Main Content does not position properly

Decided to give CSS-grid a try,but I got stuck on this annoying issue. Im trying to have 2 fixed nav bars on the left side and on the right, and have main content in the middle (that will be scrollable). Here is my code: <div class=”grid”> <div class=”sidebar-left”> 1 </div> <div class=”sidebar-right”> 2 </div> <div […]

Categories
Development

Margins in columns with flexbox grid

I have an easy question about a grid with flexbox, but I can’t solve it I have this code: <div class=”grid-items row”> <div class=”item item-50 col-xs-6″> <div class=”text”> Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make […]

Categories
CMS Development Wordpress

Close video stick – Single Post

I’m trying to fix this problem that I have with this sticky video but I can’t seem to find a solution. I have two video’s on my page. One is sticky and the other sits at the top. I want the sticky video to leave the view after clicking the X. The sticky close works […]

Categories
Development

Xidel xpath with regex

I would like to use Xidel to select a <section> tag with class=”body” if contains a date in format YYYY.M(M).D(D) to find and extract one specific string which has 8 characters and can contain characters and digits. Sample input html: <section class=”body”> Start 2019.1.12 Lorem Ipsum is simply dummy text of the printing and typesetting […]

Categories
Development Vue

passing propData in vue jest is returning undefined

i’m passing the propData in my jest test file in vue but it’s not set the propData data to component instead it’s giving error cannot read property of clouds of undefined my object is written right?.please help. i’ll provide more code if needed. my jest test file import sideWeatherDetails from “@/components/sidemenu/sideWeatherDetails.vue”; import { mount, createLocalVue […]

Categories
CSS Development HTML

How to dim the body from navbar hover HTML CSS?

My current layout is this: Say I want to dim the entire body when I hover over “More Info” in the navbar and show some information on the newly dimmed body, over everything that was there before; how would I go about doing that? Everything I have found so far seems to use the fact […]

Categories
Development

jest giving an UNKNOWN : Cannot read property ‘weather’ of undefined don’t know what is weather

i’m trying to implement a test on vuex getter but it’s giving me cannot read property weather of undefined and i couldn’t understand what is “weather” here i have not declared any weather variable anywhere here still don’t know what jest is referring to weather. please help me figure it out. here’s the error it’s […]

Categories
Development iOS XML

Expo ImagePicker crashed on IOS Gallery not opening

When I try to use expo imagepicker, the application freezes, opens the gallery or the camera and they close immediately, this only happens to me on ios, on android it works perfectly. I hope someone can help me. This is my code getPermissionAsync = async () => { if (Constants.platform.ios) { const { status } […]

Categories
Development

Left justify footnotes that appear centered

How do I justifying footnotes that appear centered in latex. I’ve tried using \justifyleft but the label that identified the footnote was still centered. \documentclass[sigconf,screen,pagebackref]{article} \usepackage{times} \usepackage{epsfig} \usepackage{graphicx} \usepackage{amsmath,bm} \usepackage{amssymb} \usepackage{algorithm} \usepackage{appendix} \usepackage{float} \usepackage{caption} \usepackage{times,amsmath,epsfig,graphicx,amssymb,multirow,subfig} \usepackage{mathtools, cuted} \usepackage{empheq} \usepackage{url} \begin{document} \begin{algorithm}[!phb] \begin{minipage}{\linewidth} My algorithm step 1\footnote{Dummy text of the printing and typesetting industry. Lorem Ipsum […]

Categories
Development

How to get the string and added into a list in vb.net

The files that are going to load is xml file. after I get to the specific path, which is I wanted to get the specific string by lines, then added it into a list. These are the example of strings that I want to extract from a file. (hightlighted from a bold text. <XMLTAG> <p><b>[1]</b> […]