Posts by Guilherme Almeida • 71 points
7 posts
-
0
votes0
answers30
viewsQ: Resizing an image
I’m trying to resize an image with this code. public static Bitmap ResizeImage(Image image, int width) { var destRect = new Rectangle(0, 0, width, image.Height); var destImage = new Bitmap(width,…
-
0
votes0
answers26
viewsQ: Doubt about the cache in Laravel
I worked with php a few years ago and used Code Igniter, in it I remember that there was a problem. When two people logged into the site and their computers were on the same network, the system…
laravelasked Guilherme Almeida 71 -
3
votes2
answers303
viewsA: Logic ports in SQL
You can create the function. If it is two variables (A and B) it is only you obey the law A XOR B = (A' E B) OU (A E B'), where ' symbolizes the denial. To do XNOR just deny the XOR or use A XNOR B…
-
0
votes4
answers1578
viewsQ: How to calculate the CPU percentage?
In the linux, when the system monitor, and in the windows, when the task manager, we have a percentage of CPU. How do we get to this code? How do we get to this calculation using the linux?…
-
2
votes2
answers199
viewsQ: How to monitor a C code on Linux
I was trying to use top to monitor the performance of my codes in c, but when I run the program does not appear. Is it just not visible, or can’t monitor code in c using the top? What should I use…
-
1
votes1
answer222
viewsQ: System Calls on Android
I’m creating a comparison between the system calls between Linux and Android. In Linux I can create some code and I’ve found some tables that demonstrate the system calls in it, but in Andorid, I…
-
1
votes1
answer73
viewsA: Codeigniter not registered
Next up, man. First, I advise you to read the Codeigniter user guide, especially this one part! Second, when I created my registration I followed the rule that is in this tab, so I filled the array…