Strongloop loopback-component-storage + angularjs file upload
◷
تاریخ انتشار: 1395/2/31 | ساعت: 9:44
Vote count: 0 I created a Container model and co ected it to an S3 bucket which all works well. I am trying to upload a file using Angular, using the service file generated with lb-ng. If I do Container.upload({container: 'wonderyadmin'}, {file: file}) call will fire but nothing uploads. Am sure I h...
How can I make a box of content in html?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 9:44
Vote count: 0 I'm trying to lea html and I need to be able to section things into the spot they are meant to be in So like each thing will have a picture and some text I need to make a blue box and inside it I need a image and text And next to it, the same thing. Basically if I had a way to create a...
How do I modify android & iOS project to make the entry file as a common js file in react native?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 8:21
Vote count: 0 As mentioned in the title, I wa a change the android entry file(index.android.js) and iOS entry file(index.ios.js) to a common js file named index.js, How do I modify in project? asked 3 mins agoZeroChow Let's block ads! (Why?)
What is the Pattern for adding Buttons and Drop Down menus for an Eclipse Plugin Perspective
◷
تاریخ انتشار: 1395/2/31 | ساعت: 8:21
Vote count: 0 What is the patte for adding ButtonsDrop Down menus to the perspective in an Eclipse Plugin? Obviously I can add them to a canvas using SWT. But I feel I am missing a trick by not utilising the full Eclipse Workspace. Can any Eclipse-Plugin developers tell me what would be the best app...
Rails MS SQL query starting at the end
◷
تاریخ انتشار: 1395/2/31 | ساعت: 8:21
Vote count: 0 I have a rails app querying a MS SQL DB, it is checking to see if one column is false, but I realistically only need to check in the last 1000 records (there are just over 900,000 records). It takes a long time to check over everything every time, so is there a way to limit it to only ...
ResultReceiver delivering results to Activity that has been destroyed
◷
تاریخ انتشار: 1395/2/31 | ساعت: 7:19
Vote count: 0 I have been doing some experimenting trying to understand the ResultReceiver more. I have have a TestActivity with a TextView this ResultReceiver: @SuppressLint("ParcelCreator") class TestResultReceiver extends ResultReceiver { public TestResultReceiver(Handler handler) { super(handler...
How to print or debug a value in json file
◷
تاریخ انتشار: 1395/2/31 | ساعت: 7:19
Vote count: 0 How to use a debugger like "Console.log()" to write in json file and debug values.Any help would be appreciated. asked 1 min agomohan babu Let's block ads! (Why?)
Rails assets compile application.js file on Heroku
◷
تاریخ انتشار: 1395/2/31 | ساعت: 7:19
Vote count: 0 I have couple of vendor js files and I put them in the application.html.erb of bottom of body tag as; <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8" /> <title><%= full_title(yield(:title)) %></title> <meta name="...
How to decode a base64 xml file with key
◷
تاریخ انتشار: 1395/2/31 | ساعت: 6:05
Vote count: 0 I have to decode a xml file encoded base64 with a key (1234) in java, I have been searching but I can't find a method to decode it with a key. Best regards. asked 3 mins agoJuan Enrique Riquelme Let's block ads! (Why?)
Given a string, find two identical subsequences with consecutive indexes C++
◷
تاریخ انتشار: 1395/2/31 | ساعت: 6:05
Vote count: 0 I need to construct an algorithm (not necessarily effective) that given a string finds and prints two identical subsequences (by print I mean color for example). What more, sum of the sets of indexes of these two subsequences has to be a set of consecutive natural numbers. In mathemati...
Is glClear(GL_COLOR_BUFFER_BIT) needed before a whole frame buffer overwritten?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 6:05
Vote count: 0 I saw different opinions. For now, I only conce about color data. In Chapter 28. Graphics Pipeline Performance, it says: Avoid extraneous color-buffer clears. If every pixel is guaranteed to be overwritten in the frame buffer by your application, then avoid clearing color, because it c...
Apache reload mid request
◷
تاریخ انتشار: 1395/2/31 | ساعت: 5:01
Vote count: 0 I need a request to reload the server and use the updated source without the user having to intervene. As it stands, I ping the server with a request to update source using git. I reload Apache to flush INC/conf files (I'm aware the current request hasn't been flushed). To prevent the ...
Handling TcpStream or SslStream idiomatically
◷
تاریخ انتشار: 1395/2/31 | ساعت: 5:01
Vote count: 0 I'm working on a project that can use either TcpStreams or SslStreams, depending on what the user configured. I have a few simple methods such as send_cmd(stream) and recv_msg(stream) which operates on these streams. Would it be more idiomatic to create an enum that could be either Tcp...
java swing repaint() causes duplicate image offset by setBounds(x,y)
◷
تاریخ انتشار: 1395/2/31 | ساعت: 5:01
Vote count: 0 I'm self-lea ing Java, and I'm struggling a bit with Swing. I'm working on an exercise, and I ca ot figure out how to fix some odd painting behavior. I am placing a custom JPanel object in a null layout. The top-level places the custom object and sets the bounds. The JPanel is responsi...
VSTO and .NET Core
◷
تاریخ انتشار: 1395/2/31 | ساعت: 3:55
Vote count: 0 Using this I changed the environment of my VS Community 2015 to .NET Core. Now my vsto projects dont work anymore and when I try to create a new vsto Word 2010 application add-in I am forced to create a Word Document add-in instead as shown below. Please help: asked 3 mins agonam Let's...
How to add PostgreSQL comments on objects with rails/rake?
◷
تاریخ انتشار: 1395/2/31 | ساعت: 3:55
Vote count: 0 How can I add comments on objects such as database itself, tables, etc while using rake? For example, when I issue rake db:create I'd like to automagically add a comment via PostgreSQL extended SQL statement (if adapter doesn't support this directly), like COMMENT ON DATABASE myapp_dev...
Wordpress - Warning: call_user_func_array() expects parameter
◷
تاریخ انتشار: 1395/2/31 | ساعت: 3:55
Vote count: 0 I'm lea ing how to make Setting API Options in WordPress but every time add a code into my functions.php file it brings up this error. how do I fix this? Wa ing: call_user_func_array() expects parameter 1 to be a valid callback, function 'my_plugin_menu' not found or invalid function n...
How to sort inner object while parsing json data with gson
◷
تاریخ انتشار: 1395/2/31 | ساعت: 2:14
Vote count: 0 I have two classes. Class SubCategory public class SubCategory implements Comparable<SubCategory>{ private int scid; private String scname; public SubCategory(int scid, String scname) { this.scid = scid; this.scname = scname; } public int getScid() { retu scid; } public void setScid(in...
Add an extra suggestion to AutoCompleteTextView
◷
تاریخ انتشار: 1395/2/31 | ساعت: 2:14
Vote count: 0 How can I make the first suggested line for every AutoCompleteTextView be what the user has currently typed? kind of how google works in smartphones. asked 4 mins agoLuchito Marcano Let's block ads! (Why?)
E/Volley: [190] BasicNetwork.performRequest: Unexpected response code 401, it shows on my android studio
◷
تاریخ انتشار: 1395/2/31 | ساعت: 2:14
Vote count: 0 currently i am writing a login and register function for my app, i followed the tutorial on youtube and tried the same code as provided. this is my code of loginactivity java class. public class LoginActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedIns...