In a bash script, what does `if ((arr[$cksm]++));` do? - تاریخ: 1395/3/28 ساعت: 17:00
I got the below script to find the duplicates from this question #!/bin/bash declare -A arr shopt -s globstar for file in **; do [[ -f "$file" ]] || continue read cksm _ < <(md5sum "$file") if ((arr[$cksm]++)); then echo "rm $file" fi done I need to know what this line does if ((arr[$cksm]++)); How ...
Conditional formatting in Excel: substituting cell values but leaving original coloring doesnot - تاریخ: 1395/3/28 ساعت: 15:39
I want to format my cells in a way, where the colors are displayed according the the color-rule as in column 1 but the values that you see within the colored area are the ones of column 2. Column 1 displays %change from a reference. I formatted column 1 with the 3-color rule (lowest=-20, middle=0, h...
Adding Single quotes at the beginning and end of each string - تاریخ: 1395/3/28 ساعت: 15:39
I want to add single quotes at the begi ing and end of all the strings in the given list and each item should be separated by a comma in notepad++ ANAND GABRIEL INDIA LIMITED NARMAC MOTHER DAIRY HYDERABAD LECTRICIT DE FRANCE 1 FB SUPPORT SERVICES P LTD 14 BRD AF GUWAHATI 1FB SUPPORT SERVICES PVT LTD...
Installing Windows 7 on a 4TB Hard Disk (not detecting above 2TB)? - تاریخ: 1395/3/28 ساعت: 15:39
I have a SeaGate Hard Disk (with 4TB capacity) which has the code number ST4000VX000-1F4168 (Surveillance HDD). I am trying to install Windows 7 in it and Windows 7 only detects 2TB capacity and not 4TB. So, I followed the details explained in this link, I co ected the 4TB Hard Disk to another compu...
Merge all partition in CentOS - تاریخ: 1395/3/28 ساعت: 14:38
I've got a copy of CentOS VM from my company. However, the project folders under /home getting bigger and eventually the OS complain about lack of space for the /home partition. That is due to the partition for /home is small. I would like to merge those existing partitions to gain more spaces. Here...
OpenSSH won't resolve %temp% environment variable in commands and batch files - تاریخ: 1395/3/28 ساعت: 14:38
I installed OpenSSH on my Windows Server 2012 R2 system. So far everything works except for resolving the %temp% environment variable: In my PuTTy SSH client I can resolve %systemroot% but not %temp%, on the cmd on my server, I can use both. In the environment variable settings I won't locate the co...
vprofile option in h264 is not working for me - تاریخ: 1395/3/28 ساعت: 14:38
I'm using shotcut to convert my videos. in additional options I enter movflags=+faststart preset=placebo vprofile=baseline level=3.0 But I get the following log: [libx264 @ 000000000ac2f020] [Eval @ 000000000b65ed80] Undefined constant or missing '(' in 'baseline' [libx264 @ 000000000ac2f020] Unable...
Configuration changes going from static IP to dynamic IP for Comcast - تاریخ: 1395/3/28 ساعت: 13:35
I currently have Comcast inte et modem which is 10.1.10.1. My pfsense router is 10.0.0.1. I just changed from static IP to dynamic IP to save money and now that the changes have taken place, I have no inte et. After resetting the modem, the IP address is changed from the static address, as expected....
Periodic HTTPS issue on home network - تاریخ: 1395/3/28 ساعت: 13:35
Every so often, I am unable to access any site over HTTPS on any device on my home network for a little while. Often, restarting the router fixes it (but not always!). The issue has never lasted more than an hour or so. I guess technically, it's not even HTTPS, it's just any outgoing TCP co ection t...
Does Megadrox really effective to boost testosterone level? - تاریخ: 1395/3/28 ساعت: 13:35
The troubles certainly raise for an individual as the clock is ticking by and also one ages. A person who has to do with 35 ought to first feel the indications of loss in body strength. Hours spent at the gym may simply not serve the purpose as well as the body testosterone levels are certainly on t...
How does Thunderbird "decide" what is junk? - تاریخ: 1395/3/28 ساعت: 11:27
When you receive emails, Thunderbird has a "junk classification" process that is used to determine what is junk and what isn't. You can "teach" it by identifying emails yourself, and Thunderbird will then use these suggestions in future junk sweeps. Now there are 2 stages to this: A little flame ico...
How to run .bat file when I double click link in html page - تاریخ: 1395/3/28 ساعت: 11:27
Have a nice day. Please kindly request to answer my questions. This is my code but it doesn't work. function runApp(which) { WshShell = new ActiveXObject("WScript.Shell"); WshShell.Run (which,0,true); } Notepad descriptor --> Batch File
ASUS K52J Laptop not turning on, no indicator lights, charger is good, battery is good - تاریخ: 1395/3/28 ساعت: 11:27
I have an ASUS K52J. The charger is good (tested on a second identical laptop). The battery is good (ditto). When the charger is plugged into the laptop, the charging indicator light won't tu on (all other lights are off as well). The laptop does not respond in any way when I push the power button. ...
What happens to the .pem file for AWS EC2 Instances managed by Koding? - تاریخ: 1395/3/28 ساعت: 10:15
I am currently using Koding to launch an AWS EC2 Instance and use it for my development. I supplied the access credentials through IAM (Key and secret code) and that was all I had to supply for launching an instance using the script provided in the Koding. However, I’m now at the stage where I need ...
Multi image background with video overlay? - تاریخ: 1395/3/28 ساعت: 10:15
i want to add multi images(image-xxx.png) to video background and add a video overlay, pls tell me code ffmpeg? ffmpeg -loop 1 -i "./images/image-%%%.png" -i in.mp4 -filter_complex "[1]scale=iw/2.5:-1[ovrl]; [0][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1[v] out.mp4 Images : im...
How to export data from postgres sql in excel file - تاریخ: 1395/3/28 ساعت: 10:15
Have a nice day! Please kindly request to answer my questions. enter image description here
Determine 32bit/64bit from powershell script inside Inno Setup - تاریخ: 1395/3/28 ساعت: 9:13
Consider the following powershell script: [System.IntPtr]::Size [Environment]::Is64BitProcess If I run this directly inside powershell on a 64bit machine, then I correctly get 8 True But when I wrap this inside a self-extracting installer using I o Setup (that is built on a 32bit machine) I always g...
iftop souce host different from system name - تاریخ: 1395/3/28 ساعت: 9:13
I just signed a VPS from Interserver.net. But I found most strange that iftop source host shows as mirror.xpinator.com instead of the name I put in hostname. Anyone knows why ?
How to get my laptop to extend on two monitors - تاریخ: 1395/3/28 ساعت: 9:13
I have an HP Envy that only has HDMI and USB on the laptop. What I want to do is extend my laptop on 2 Samsung Monitors that have VGA and HDMI hook up in the back. I've looked everywhere for the hardware to make this happen but I have no clue what to look for. Help Let's block ads! (Why?)
Fedora 23 freezes after login - تاریخ: 1395/3/28 ساعت: 7:29
Fedora is my first Linux-based OS I've ever installed and everything seemed to be going well until I tried to log in. I enter my credentials and the login disappears leaving only the background image and the cursor. I'm a complete noob at this and I have no clue what to do. I've reinstalled 3 times ...

برچسب‌های مرتبط

onedrive for business | onedrive for business download | onedrive for business mac | onedrive for business sync client | onedrive for business sync | onedrive for business not syncing | onedrive for business app | onedrive for business update | onedrive for business pricing | onedrive for business 2016