python: How to Store output of an OS call to a variable?
◷
تاریخ انتشار: 1395/2/6 | ساعت: 19:39
>>> import os >>> os.system("ping google.com") PING google.com (216.58.222.78) 56(84) bytes of data. 64 bytes from rio01s15-in-f14.1e100.net (216.58.222.78): icmp_seq=1 ttl=56 time=111 ms 64 bytes from rio01s15-in-f14.1e100.net (216.58.222.78): icmp_seq=2 ttl=56 time=111 ms --- google.com ping stati...
Boot into VHD on hard disk from a USB stick
◷
تاریخ انتشار: 1395/2/6 | ساعت: 19:39
I have Windows XP installed in my PC. I also have Win 7 (Ultimate) installed on a VHD. The VHD is on the hard disk in my PC. I wish to boot into the VHD (Win 7 Ultimate) from a USB stick. I do not wish to mess with the booting of my PC and hence the USB stock. I have a bootable USB stick and I used ...
How can I keep a hacker out?
◷
تاریخ انتشار: 1395/2/6 | ساعت: 18:33
You're going to have to figure out where he's getting the information from. If it's as simple as knowing the answers to your password recovery questions, for example, then just change them.In fact change any & all passwords he may know, or know the recovery answers for, & make sure his email address...
menu of gedit on Ubuntu 16.04
◷
تاریخ انتشار: 1395/2/6 | ساعت: 18:33
Where is the menu of gedit? It doesn't show up. Also, as you can see on this image the buttons are gone: There are only two buttons here (you can see the "open" button on the image and the "save" button is on the right, which I haven't captured on the image) How can I search for strings now? Edit 1:...
MS Excel 2010 Identify peaks in a data set, select its previous values and get a chart
◷
تاریخ انتشار: 1395/2/6 | ساعت: 18:33
I have a set of data about with approximatively 25500 cells, all contained in one column. The data has a series of peaks that occurs, and I need to identify the 2nd peak (and the 4th, the 6th, and so on where present). I have than to consider the previous 200 data points of the 2nd peak (correspondi...
PC Stuck at motherboard screen
◷
تاریخ انتشار: 1395/2/6 | ساعت: 17:17
PC Stuck at motherboard screen set up as image below. What could possibly go wrong? Thanks.
HTTP Post to login to a website with timestamp, token, username and password
◷
تاریخ انتشار: 1395/2/6 | ساعت: 17:17
From a script I want to login to a website. For that I searched the source for the POST request. The post request to login the website has the data "use ame", "passwort", "timestamp" and "token". However when I copy the timestamp and token and paste the post request to my browsers address bar with m...
Delete old bootmgr file
◷
تاریخ انتشار: 1395/2/6 | ساعت: 17:17
I'm trying to remove a directory containing Windows 10 installation files as taken from the ISO image. BOOTMGR refuses to be removed, claiming I need administrator privileges, yet I am logged in as an administrator at the time. I have tried in safe mode (which allowed me to remove all other files in...
Apache and uploading files
◷
تاریخ انتشار: 1395/2/6 | ساعت: 15:18
I have Apache 2.4.20 on Ubuntu 16.04 and I would like to handle two scenarios: 1) a file gets uploaded to Apache by POST request. How can I categorize that file according to MIME content and then, have Apache save that under a custom directory? Note that the file won't get uploaded to https://myserv...
powershell or netcat over ADSL
◷
تاریخ انتشار: 1395/2/6 | ساعت: 15:18
is there anyway to use powershell for getting access to my office pc from home via my RDP Server i have 2 pc's : i want to control my office pc using powershell help me please im Tired of searching without any success ... or if there is any solution for this process with netcat This would be easier ...
Tail a log file with today`s date
◷
تاریخ انتشار: 1395/2/6 | ساعت: 15:18
So i am trying to come up with a command to tail a log file with todays date. The log file gets updated everyday with the current date. As the number of lines for the log for any particular day can vary from 2 lines to 20, so i want to tail all the results of the log file from todays date. Just to a...
Values need to copy from Col A to Col B in Excel without data loss
◷
تاریخ انتشار: 1395/2/6 | ساعت: 12:38
In my Excel, I have 2 columns For Ex: Col A & Col B. In Col A I have 100 Records but in Col B having only 50 records that is scattered not in sequence. I have to copy and paste the same information for missing in Col B from Col A. When I put look up and tried to copy and paste the values it’s not co...
How to configure active directory in windows 7?
◷
تاریخ انتشار: 1395/2/6 | ساعت: 12:38
I just installed Remote Server Administrative Tools (RSAT) on windows 7, and tu ed features on as mentioned in the installation guide. Now the Administrative Tools have been installed and successfully listed in the All Programs list of start menu. I want to set up a local network. I want to create u...
no reply from terado server
◷
تاریخ انتشار: 1395/2/6 | ساعت: 12:38
I am trying to implement miredo tu eling in my Ubuntu machine.i setup everything.But i am not getting teredo interface.When i am checking the miredo service status systemctl status miredo.service ● miredo.service - Teredo IPv6 tu eling Loaded: loaded (/lib/systemd/system/miredo.service; enabled; ven...
Extract Microsoft exe
◷
تاریخ انتشار: 1395/2/6 | ساعت: 11:26
I would like to extract the files from VC_redist.x64.exe. I tried using 7-Zip, but it only gave me files like this: 0 u10 u13 u16 u19 u21 u24 u27 u3 u4 u7 u0 u11 u14 u17 u2 u22 u25 u28 u30 u5 u8 u1 u12 u15 u18 u20 u23 u26 u29 u31 u6 u9 I know this archive contains DLL files, is it possible to extrac...
What Slot Is This?
◷
تاریخ انتشار: 1395/2/6 | ساعت: 11:26
My fast/gut feeling is that it is a Compaq Presario 3020 slot, or something similar (e.g., "Compaq Riser Card slot). I'm not saying this as a smart-alek. There might not be a better answer that many technicians know. I believe the Riser Card slots were not very heavily standardized, so it might even...
Tech-com ups which all of sudden shuts down & immediately turning on which impacts on my cpu
◷
تاریخ انتشار: 1395/2/6 | ساعت: 11:26
Dear friends I have a cpu with amd processor where i have installed fl studio 12 like programs & for power back up I got Tech-com ups but the problem is while co ecting my cpu to ups & when the problem arises it suddenly tu ing off and for that i need to restart my cpu again but on the other hand I ...
Renamed folders do not have their new names until I hit F5, how do I get auto-refresh back?
◷
تاریخ انتشار: 1395/2/6 | ساعت: 9:53
Rename a folder from XYZ to ABC. The new name is not visible in Explorer. Double click (or press enter) on the folder. Windows will say "Folder ca ot be found". It appears that Explorer is not aware that the folder was not renamed. I have seen some fixes for this on the inte et but none for Windows ...
Excel/Google Sheets: How to have a conditional multiplier
◷
تاریخ انتشار: 1395/2/6 | ساعت: 9:53
I have a multisheet that I need to do the following: If 'UserInput'!A9=1, multiply the following formula's output by 1.5: 'Data'!A1*(('Data'!A2*'Data'!A3)+'Data'!A4) [The sheet and cell names aren't particularly relevant.] In other words, how could I add a conditional multiplier to an already-existi...
Mounting virtual USB storage device for use in VMs
◷
تاریخ انتشار: 1395/2/6 | ساعت: 9:53
I am looking for ways to mount a virtual USB storage device (containing some of my files) to several VMs (ru ing Windows 7 and XP) on VMware. So far, I have tried using ImDisk. ImDisk is capable of creating virtual disk drives but VMware does not recognise it as a USB device. Are there any other way...