Posts by morphinduction • 473 points
18 posts
-
1
votes1
answer89
viewsQ: Mysql - Returning some records only if grouped
I have a simple form system that records in the bank the amount of daily benefits of a person in the company. The database does not return this data in most cases. The problem started to happen…
mysqlasked morphinduction 473 -
0
votes1
answer619
viewsQ: Move centered element to corner
I have a simple page with few elements: logo, below has the slogan, below has a ul with social network icons and an arrow that will trigger some script. I would like to keep all these elements…
htmlasked morphinduction 473 -
1
votes1
answer667
viewsQ: Element added with jquery append does not trigger event
I cloned a div that contains 2 elements: checkbox and button. The elements in the main div, of origin, trigger the events normally. It turns out that after cloning the div with the elements inside,…
jqueryasked morphinduction 473 -
2
votes3
answers255
viewsQ: Select with joins return last result per date
I have the tables drives, Documents, and Defenders: Defenders id | nome | cpf 1 | Nome 1 | 000000 2 | Nome 2 | 000000 3 | Nome 3 | Drives id | document_id | defender_id | data 1 | 123 | 1 |…
mysqlasked morphinduction 473 -
1
votes2
answers958
viewsQ: Mask wp-admin/wp-login with . htaccess
I’m trying to mask the Wordpress login URL. For example, I was able to do the basics of making the url friendly: ^login /wp-login.php [L] Turns out I don’t want to allow access using the direct URL…
-
0
votes1
answer34
viewsQ: "Terminated" message with git add wp-content/
I’m getting a message when adding the folder wp-content in git. Commando: $ git add wp-content/ Answer: Terminated What could it be? I tried $ git add wp-content/ -f, but I still get the message.…
gitasked morphinduction 473 -
2
votes2
answers522
viewsQ: How to disable Godaddy server cache?
I’m having a problem with server caching on Godaddy. I don’t know if this is with all Godaddy clients with a shared server or just my account. I happen to make changes to a file and upload, but the…
-
6
votes2
answers4044
viewsQ: Theme only on a Wordpress page. Is it possible?
Has a site in Wordpress that is with a specific theme. IE, all posts and pages are with the appearance of this theme. It turns out I need to create a new page, and that page has to have the…
wordpressasked morphinduction 473 -
0
votes1
answer90
viewsQ: Cakephp ignoring my Model
Why is cake ignoring my Model? I don’t understand. I have several other models working perfectly, but this one is not working. It is being ignored. Model name: Typeobservacao.php Contents of the…
cakephpasked morphinduction 473 -
0
votes4
answers3942
viewsQ: jQuery does not see content loaded via ajax
How can I make the elements loaded in the layout be seen by jQuery? For example: on a parent page I have a script loaded with the page. On this parent page, I have a DIV with ID="filho". When, a…
jqueryasked morphinduction 473 -
0
votes1
answer808
viewsQ: Navbar bootstrap disappears in certain size
We know that the bootstrap has the Visible-Xs, -Sm, -Md, lg and Hidden-Xs, -Sm, -Md, -lg classes to set when the menu will be displayed. Menu switches to Collapse according to browser size or device…
twitter-bootstrapasked morphinduction 473 -
7
votes2
answers20956
viewsQ: How do I get changes from a specific branch/branch of a remote repository in GIT?
I created a new branch/branch on my local machine. So I made a commit and a push to the remote repository in Bitbucket. I checked in Bitbucket that the new branch/branch was successfully created.…
gitasked morphinduction 473 -
-1
votes3
answers1906
viewsQ: Sublime Text File Browser just disappeared
The list of Sublime Text files just disappeared. I can’t get it back up. I’ve downloaded version 2, I’ve tried version 3 Beta. I can’t make it appear again. What could have happened? Someone had a…
sublime-text-2asked morphinduction 473 -
6
votes2
answers2560
viewsQ: Accessing another controller’s variable - Cakephp
How do I access variables from another controller? For example: I have a controller X, and in action index, I create a variable (or a constant). Of controller Y, I want to access the value of the…
cakephpasked morphinduction 473 -
1
votes2
answers732
viewsQ: How to select one or more items in the jQuery UI Multiselect plugin?
I’m using the plugin jQuery UI Multiselect. How do I select one or more options with a click of a button outside of multiselect? For example, I have a list of 5 items: Item Group 1 Item Group 2…
-
2
votes2
answers388
viewsQ: How to remove table of results from a Cakephp find()?
I have 3 related tables: Usuario, Movimentacao and Grupo I’m using: $usuarios = $this->Usuario->find('all',array( 'recursive' => 1, 'fields' => "Usuario.id, Usuario.nome, Usuario.email"…
-
1
votes1
answer207
viewsQ: How do I get a list of all actions from all controllers, including plugins?
I’m trying to get all the methods/actions of all the controllers from my Cakephp application. Turns out I can’t bring the methods of all controllers and I don’t understand why. I tried to import…
-
-2
votes6
answers98339
viewsA: How do I undo the last commit in Git?
In addition to git revert, you can use the previous commit hash to get back the version. For example: Giving a git log, you’ll see the last commits you’ve done and a hash identifier of it. See:…