
Introduction When working with forms, it is common to display or conceal various fields based on the options selected. I'll use Vue to conditionally show or hide form elements. In this example, I'm going to use an SFC (Single File Component) for ease of us. You'll see this in full in the putting it all together section below. For this to work it does not need to use a SFC, the HTML and JS will work when used in traditional setups i.e. having JS in javascript blocks and the HTML in a page's body. Creating the form elements Here I have 2 select elements, imagine the insurance type should only be displayed if the answer to Do you want insurance? was Yes <div&...
ادامه مطلب
I installed Gnucash on my Mac OS X El Capitan, but I'm having problems with titles and headings on the interface and reports. By following the advice on here https://wiki.gnucash.org/wiki/FAQ#Q:_How_get_I_rid_of_strange_unreadable_characters_or_adjust_the_font_size I've managed to get rid of the problem on the interface and the headings on reports, but the problem still affects the titles of reports (see image below). Instead of getting the title Income Statement for ..., etc, I get a long list of numbers. Income Statement Report Regarding advice below (from the Gnucash wiki page) MacOs: Create a plain text file in your home folder (~ is unix shorthand for your home folder): X Window version...
ادامه مطلب
I would like to create a Regular Expression String that counts the number of characters in each line. If it's longer than say 10, 12 or 15 characters it would take the number of characters in the line and divide it by two. Next have it jump to the begiing of the word that starts before the half way point and select the space, then replace it with the "|" character at this spot. I've tried several things based on what I have found on this SuperUser Site but I'm fairly new to Regular Expressions and sort of clueless as to all the in's and out's to get this working. Example STRAIGHT FLUSH BEATS THREE OF A KIND. I WENT TO HIS HOUSE BUT HE WAS ALREADY DEAD. Would become. STRAIGHT FLUSH|BEATS THRE...
ادامه مطلب
I've installed Windows 7 32-bit(Ultimate SP1) & Windows 10 64-bit(Pro RTM) in the same laptop but in different partitions. But when I run dxdiag.exe(Run as admin. for sure) in both, Windows 7 retus Dx11, while Windows 10 retus Dx10. It's good to say my hardware supports Dx11. I've updated the graphics driver in both (Intel HD Graphics) but still no change. Let's block ads! بخوانید...
ادامه مطلب
Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Let's block ads! بخوانید...
ادامه مطلب
I have a Transcend USB 3.0 SD and MicroSD card reader. When I plug it in, it won't show up in the windows 7 file explorer, but it shows up properly in DiskPart and device manager in windows 7 which says it is operating properly. I Caot access any files on any SD card placed in the adapter. I have another old SD adapter that works fine, but I want to replace it with the non-functioning adapter. It used to work fine when i first got it, So the problem is most likely Windows file explorer. Let's block ads! بخوانید...
ادامه مطلب
Trying to make changes on one worksheet to another. the 1st sheet is where I want to show the changes, the other sheets is where I make the changes ...
ادامه مطلب
I have a query wrt to getting the styles in word to show in the style gallery. I have created a style (Table Heading Cond) that i use often, and i would like it to show in the first row of the styles gallery -- next to the heading styles. presently, it shows right at the bottom of the gallery. style gallery Can you please provide me guidance on how i can accomplish this? I have tried this via 'Manage Styles' but im not able to coect the dots. manage styles I'd appreciate your help. Thanks Let's block ads! بخوانید...
ادامه مطلب
Just updated Windows 10 to aiversary update and was very excited about new notification badges, only to find out that they only shown on large taskbar buttons...bummer! Anyone know any work around this limitation? At least for the tray notifications icon. That icon doesn't change size (and area it occupies) when switching from large to small taskbar buttons, so why would it be affected by the size of taskbar buttons... Let's block ads! بخوانید...
ادامه مطلب
Is there any way to make Windows 8 and newer show more info (address, file) when it has blue screen like it was before? Googling "how to make windows 8 show info in blue screen" or sorts only shows typical questions on how to fix blue screen. ...
ادامه مطلب
I have an Asus A555-LF laptop with 4GB integrated RAM(1333 MHz DDR3) (non removable) and an extra RAM expansion slot. I installed another 4GB RAM to the laptop (1333MHz DDR3), but my BIOS, Windows 10 and Ubuntu doesn't detect it. I'm sure I installed it correctly in the computer (prongs are perfectly fitted and coectors lined up). When I put this RAM on my older laptop, it is detected just fine. Let's block ads! بخوانید...
ادامه مطلب
Is there a way to set up Microsoft Windows so you can enter accented characters (with diacritics, such as é, ř, ...) by holding a key and then selected the variant you like? I mean the similar way which works on tablets and mobile phones. E.g. you hold the key e and instead of auto-repeating the same character the system would offer you a small menu on the position of the cursor offering é, è, ê etc. Note: I am aware of other ways to enter accented characters. This question is purely about this particular typing method and if it is possible to set up on Microsoft Windows. Maybe using a 3rd party software? Let's block ads! بخوانید...
ادامه مطلب
On a cluster, I did showq -r -u matthey where matthey is my useame. Here is the output active jobs------------------------ JOBID S PAR EFFIC XFACTOR Q USERNAME ACCNT MHOST PROCS REMAINING STARTTIME 7056827[219] R DDR 99.01 1.5 no matthey hkw-282- pod1b2 1 14:00:25 Thu Aug 4 23:22:45 7056827[226] R DDR 100.00 1.9 no matthey hkw-282- pod1b16 1 1:00:47:27 Fri Aug 5 10:09:47 7056827[225] R DDR 100.00 1.9 no matthey hkw-282- pod3b2 1 1:00:47:27 Fri Aug 5 10:09:47 3 active jobs 3 of 9048 processors in use by local jobs (0.03%) ...
ادامه مطلب
Newbie PowerShell user trying to mess around with some very basic scripts. I've created a hash table with names and IP addresses. $hash = @{"Guy1"="192.168.1.10";"Guy2"="192.168.1.12";"Guy3"="192.168.1.14"} I know how to edit the value of a single entry but I'm not sure how to change one character in each value. How would I go about replacing every 1 (in the third octet) with a 2? Thanks in advance, looking forward to leaing and getting better at this. Let's block ads! بخوانید...
ادامه مطلب
I have a 4 TB drive coected to a Dell H200 controller. The drive was formatted in Windows using GPT and correctly shows 4TB in Windows. The same drive in the same computer booted up in linux (Ubuntu 16.04) is not fully recognized as having 4 TB. Ruing gdisk /dev/sdb -l results in GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Waing! Secondary partition table overlaps the last partition by 3519068194 blocks! You will need to delete this partition or resize it in another utility. Disk /dev/sdb: 4294967295 sectors, 2.0 TiB Logical sector size: 512 bytes Disk identifi...
ادامه مطلب
I have recently built a Mini ITX system based on a Pentium 4 CPU (P4 HT 631).The CPU was bought off Ebay for 5$ and the motherboard was salvaged from a local recycling center. The system works fine, it boots in Windows, i can browse the inteet, watch videos ,etc.. .The only problem is that it runs quite hot (expected because of the P4). The system: - Pentium 4 HT 631 - Commel LV-672 system board - 512 MB DDR2 400 SDRAM So i wanted to see how hot it gets when idle and i stuck my k-type multimeter sensor inside the heatsink.The results: the multimeter shows 49°C (i can feel on my hand how hot the heatsink is) the BIOS shows only 27°C and even worse, the system temp is 19°C ! (while the...
ادامه مطلب
Okay this is a very weird problem. This computer is a Dell Vostro 3558, came with Ubuntu, which I removed, tued off secure boot, switched BIOS to legacy, changed HDD to MBR, and installed Win 8.1 Pro (x64). I generally use a USB 3G modem to coect to the inteet - hence didn't get to test the WiFi adapter right after purchase, but from a week or so I'm using my phone's inteet sharing over WiFi option to coect this notebook. Say I coect to the inteet over WiFi, it's working fine, now after a while I click on Shut Down, instead of shutting down, Windows logs me off and retus to the "Enter password" screen, and a popup flashes on the top left coer saying "Airplane mode ON". Say I click on shut do...
ادامه مطلب
this is how i keep my notes i'm making notes in file name and streching the name column and looking at them in detailed view in windows7 explorer. It's primitive but i like that other that I can't use special characters in name of file, so i need to put special content inside file if needed. Can you suggest me better approche to make notes? If you know a software please offer me one with: possibility to strech column to max screen width simple view without any navbar, sidebar, toolbar as many lines in view as possible as many visible characters in one line as possible special characters available in name of the note minimum 255 char per note title/name (I tried Eveote, but i dont like their ...
ادامه مطلب
I am using Sublime Text to find some text in a file and make some changes to it, using the "Replace" command. When the thing I want to change is selected, if I click the "Replace" button, pick the "Selection → Replace Next" command, or press Command + Option + E, the editor makes the appropriate change, and then moves the cursor to the next occurrence. This is especially aoying if the next occurrence is far below where the replacement is made, because the viewport immediately scrolls down to the next occurrence, without giving me a chance to see the replacement, make sure it was done correctly, and manually correct it if necessary, without having to scroll back up and look for it. Is there a...
ادامه مطلب
Setup: OSX 10.11.5 El Capitan. Default (5.0.8) and/or brew installed zsh (5.2). I have strange issues with zsh, where it seems to: a) mask single characters and b) adds strange control characters. This causes problems with pipes and parsing. It seems like zsh is adding extra or removing characters. It hasn't always done this, so I think it might be a configuration issue. I'm assuming both issues are related and the first is easier to replicate. If I set my shell to bash, then I can run the following: Phils-MBP-7:~ phil-mac$ echo -n A APhils-MBP-7:~ phil-mac$ Now, if I set my shell to zsh: Phils-MBP-7:~ phil-mac$ chsh -s /bin/zsh ... Phils-MBP-7% echo -n A Phils-MBP-7% Phils-MBP-7% echo...
ادامه مطلب