All Questions

1
answer

HMVC and HTML Component

I've read several articles on HMVC, both in PHP and other languages, and in all of them the implementation of the standard revolved around having a "Controller-master" which requested the Response Body in> one or more resources, internal or ex...
asked on 15.12.2014 / 18:15
1
answer

Mapping video card memory for access via Intel compatible x86 processor

Thinking about Intel x86 compatible computers, regardless of the facilities provided by modern operating systems, anyone who wants to draw / write something on the computer screen can access some known addresses, such as B800: 0000 (B8000h linear...
asked on 28.04.2014 / 23:18
2
answers

Handling windows events using Python

I need to develop an application in Python with Pop-up's in Windows (like Avast, for example). In case, my application will be a keylogger that will take a string from a barcode reader. When the keylogger detects the code, a popup will appear wi...
asked on 06.05.2014 / 14:37
4
answers

Problem assigning HTML with .text () and .html ()

I need to insert the HTML that refers to a hyperlinked image received through an ajax function on the page, however for security reasons I can not simply insert directly, so I'm passing this HTML code through .text () for a created div, and only...
asked on 31.05.2014 / 16:50
1
answer

Simulate insufficient balance error in PayPal

I'm developing an Android application in which I need to integrate PayPal into the buying part, I'm using the PayPal Sandbox to test, it seemed to be working perfectly. I create my personal account and the business account and the fakes tran...
asked on 07.03.2014 / 21:20
1
answer

How to change content on a page?

I'm trying to change some fields of a website, what I want is to open this site in my address, but with some of its content changed. I'm using file_get_contents to open the site, but I have two problems: When I click on a link with...
asked on 21.02.2015 / 23:47
1
answer

Is there any way to calculate a pattern of extra space from a source? [duplicate]

I'm trying to make a layout as "pixel perfect" as possible, but I've always come across this problem, using large fonts, there is a space above and below the font, like a padding / margin. I searched the subject, trying to relate to line-heigh...
asked on 16.01.2017 / 20:22
1
answer

Friendly Url in PHP and Sql

I have the following php code to make my site urls friendly: <?php $atual = (isset($_GET['pg'])) ? $_GET['pg'] : 'home'; $permissao = array('home', 'contato', 'sobre', 'politica'); $pasta = 'arquivos'; if (substr_count($atual, '/') &g...
asked on 01.02.2015 / 03:46
3
answers

How to do PHP and MySQL pagination?

I want to make a pagination on my blog. I will not have 50 posts on the first page, so I want to limit the page to the last 15 posts added and then clicking the "older posts" button will show me the oldest posts. In the background I do not want...
asked on 23.07.2014 / 16:14
0
answers

Facebook Login Button has no action

I'm testing the Facebook Login API, however clicking the Signing in with Facebook button will not happen, only the bar where the time is black for a moment and then comes back with the color of the application defined in styles.xml file...
asked on 24.12.2015 / 21:25