No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
[code] curl -H "X-Token: 989afnkj982gbu2h" -X POST "http://www.domain.com/projects/3434/members/8939587/moves?move\[move\]=after&move\[target\]=3348761" -d "move[move]=after&move[target]=3348761" [/code] above is a curl command to move a member after the target member. I want to convert that curl command to javascript/ajax .. so far, here's what i have done, but it is not working. [code] var token = … | |
I am using jquery's ajax method to POST data to a server. I am using the servers API, and it is stated that in whatever request, I have to include this "authentication token" to access the data I need, either as an http header field or a header parameter. I … | |
[CODE] $(document).ready(function(index){ $(connectSort).each(function(index, obj){ $("." + this).sortable({ connectWith: ".connectedSortable_" + this, cancel: '.state-disabled', revert: true, start: function(event, ui) {alert(ui.item.attr("title")) }, stop: function(event, ui) { } }).disableSelection(); }); }); [/code] the first function(start: function ..) displays an attribute (title) of the dragged item once the sorting starts. supposedly, the second function … | |
[CODE] MOV AH,DAY DIV DIVISOR CMP Al,'0' JE WEEK_ JMP NOT_WEEK_ [/CODE] that is my code that tries to find out if the "DAY" is divisible by "7", which is the DIVISOR.. i initialized them as.. [CODE] DAY DB 1 DIVISOR DB 7 [/CODE] when the "day" is divisible by … | |
am I doing the right thing here? I am making a simple lexical analyzer and in the code below, I am trying to check if there is a valid "relational operator" in the input. The code's parameters: input stream, the position of the current pointer, the success (initialized to zero). … | |
I am trying to make a dialog box that can open, edit and save .txt files. I referred my codes in this [URL="http://www.winprog.org/tutorial/dialogs.html"]tutorial[/URL]. How am I going to modify the code so that instead of a "save as" function, it will directly "save" the file that it opened/edited. Thanks in … | |
[code] BOOL SaveTextFileFromEdit(HWND hEdit, LPCTSTR pszFileName) { HANDLE hFile; BOOL bSuccess = FALSE; hFile = CreateFile(pszFileName, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if(hFile != INVALID_HANDLE_VALUE) { DWORD dwTextLength; dwTextLength = GetWindowTextLength(hEdit); // No need to bother if there's no text. if(dwTextLength > 0) { LPSTR pszText; DWORD dwBufferSize = dwTextLength … | |
our project is to make a lexical analyzer. I am using DevCpp and it is in C. I barely know the idea of the analyzer. Can someone please ive me a clue on where to start in this project. I think if I will know where to start, I can … | |
guys, what do you think is the best compiler for beginners in C++? actually we are asked to make a game in C++. we are now using Dev C++, but we can't find a graphics library in it. thanks. |
The End.