system Questions

5

Solved

How can I get screen resolution (height, width) in pixels?
Cloaca asked 5/9, 2011 at 7:53

3

Solved

We all know about push (fanout on write) vs pull (fanout on read) when designing a feed/twitter system on a social network. In push mode, we write to the list of updates(posts, tweets, etc.) of an ...
Lacrosse asked 8/5, 2018 at 15:10

13

Solved

I am looking for a way to get the output of a command when it is run from within a C++ program. I have looked at using the system() function, but that will just execute a command. Here's an example...
Gifted asked 26/1, 2009 at 5:11

5

When using AF_UNIX (unix domain sockets), is there any application to calling bind() in a process that never calls listen()? In my systems programming lecture and lab, we are instructed to callbin...
Eirene asked 7/12, 2017 at 20:40

5

I am trying to remove group ACL from a certain folder. It has permissions as below $ getfacl --all-effective public # file: public # owner: sse02 # group: apache user::rwx group::r-x #effective:r-...
Picaroon asked 19/10, 2011 at 16:3

2

I want to do the equivalent of ls in R. Say I want ls /a/b/c/201*/*/d/e/f/*/sameNameFile.gz, this command take 5 seconds to run on a terminal, I tried to use list.files but it takes a path argument...
Boutis asked 14/2, 2014 at 13:38

4

Solved

How can I view the output of a system command. Ex: int _tmain(int argc, _TCHAR* argv[]) { system("set PATH=%PATH%;C:/Program Files (x86)/myFolder/bin"); system("cd C:/thisfolder/"); std::cin....
Willdon asked 22/1, 2015 at 15:48

2

I lost my original python code that I've been working on for months, it's packed into an .exe using PyInstaller and that's all I have. I tried this: Exe to python with pyinstaller? I was able to...
Magdaleno asked 21/3, 2019 at 22:6

2

Solved

It is possible to run an external command by three PHP functions of system(); exec(); shell_exec(); but what are their differences? In spite of their specific applications, in most cases, the ca...
Vilberg asked 31/5, 2012 at 6:50

9

I have a folder path set in system variable through JVM arguments in Eclipse and I am trying to access it in my class as: System.getProperty("my_files_path"). While writing junit test method for...
Equally asked 5/12, 2013 at 15:42

3

I don't have an M1 Mac to work with, I read that python supports it. What's the return of these functions on m1 Macs? platform.system() platform.architecture() Thanks.
Ube asked 30/1, 2021 at 16:39

3

Solved

I write a some program that should work with another player and retrieve info about current playing song. That player is written using UWP, so Windows knows what track is playing, so i can see it's...
Redhead asked 20/8, 2019 at 19:2

7

C standard library provides functions system and popen to run a command. But is there a portable way to detect if a command exists?
Summerwood asked 21/5, 2009 at 0:27

3

The problem is from cs:app3e 2.82. I learn that when x = INT_MIN, -x is also -INT_MIN, but #include <stdio.h> #include <limits.h> int main() { int x = INT_MIN, y = -3; printf("%...
Counterpressure asked 22/10, 2023 at 13:28

2

Solved

I want to be able to source() a file which includes a different file in its same directory, but I don't want to have to set the working directory from the R-prompt before running this file: > g...
Colonialism asked 28/8, 2011 at 16:16

5

I need a Linux command to get current value of java.io.tmpdir Also can you tell me the command to get all the system propeties.
Shaveling asked 10/4, 2012 at 17:5

19

Solved

If I call a command using Kernel#system in Ruby, how do I get its output? system("ls")
Irreverence asked 27/3, 2009 at 15:12

5

Solved

I have a server where I run some containers with volumes. All my volumes are in /var/lib/docker/volumes/ because docker is managing it. I use docker-compose to start my containers. Recently, I tr...
Launch asked 15/12, 2019 at 16:0

10

Solved

How can I change the local system's date & time programmatically with C#?
Brancusi asked 16/3, 2009 at 15:12

7

Solved

What are the differences between a "coroutine" and a "thread"?
Mince asked 20/12, 2009 at 3:5

6

This code works to click on a specific location on the screen but how do you click at the cursor's coordinates? tell application "System Events" click at {10, 10} end tell
Sagittate asked 4/8, 2016 at 11:57

5

Solved

In this C program #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> int main() { int file = open("Result", O_CREAT|O_WRONLY, S_IRWXU)...
Adda asked 25/6, 2012 at 12:33

5

Solved

How to set the size of Page File on Windows(pagefile.sys) via PowerShell?
Stephie asked 14/6, 2016 at 13:26

13

I want to get unique unchangeable Machine id Like Processor serial number of the computer for distribute a software with out copying. I tried with processor serial number and hard disk serial numb...
Deter asked 5/1, 2010 at 7:55

3

I have been searching for this since last week. Tried pyaudio also and when I used it and another fork, the system audio was mixed with microphone audio. I was not able to find any other module for...
Stalkinghorse asked 13/3, 2019 at 14:13

© 2022 - 2025 — McMap. All rights reserved.