text stringlengths 74 309k |
|---|
{"title":"Is there a way to disable a SQL Server trigger for just a particular scope of execution?","tags":["sql-server","tsql","triggers"],"question_text":"In SQL Server 2005, is there a way for a trigger to find out what object is responsible for firing the trigger? I would like to use this to disable the trigger for... |
{"title":"How to engineer features for machine learning","tags":["artificial-intelligence","machine-learning","neural-network","classification","pattern-recognition"],"question_text":"Do you have some advices or reading how to engineer features for a machine learning task?\nGood input features are important even for a ... |
{"title":"Wrapping long text in CSS","tags":["php","javascript","jquery","css"],"question_text":"I have text like\n`<div style=\"float:left; width: 250px\"> PellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellentesquePellent... |
{"title":"How to Manually create an Apache Windows Service","tags":["windows","apache","service"],"question_text":"I accidentally removed my Apache windows service trying to install another Apache web server. Does anyone know how I can create another Apache windows service from cmd? I tried \"sc create ...\" but I am m... |
{"title":"What is the difference between Eclipse 3.7 and Eclipse 4.1?","tags":["java","eclipse","java-ee","eclipse-indigo"],"question_text":"I see there are two main distributions of Eclipse going on - One is on 3.6, 3.7, 3.8 path and the other is 4.0, 4.1 path(http:\/\/www.eclipse.org\/e4\/).\nI don't have clarity on ... |
{"title":"Best way to save to nsuserdefaults for custom class?","tags":["iphone","objective-c","nsarray","nsdictionary","nsuserdefaults"],"question_text":"If I have a custom class Person which has three variables (which are propertized and synthesized):\n`NSString* theName;\nfloat* theHeight;\nint theAge;`\nPerson inst... |
{"title":"I need to round a float to two decimal places in Java","tags":["java","android","floating-point"],"question_text":"Possible Duplicate:\nHow to round a number to n decimal places in Java\nI am having difficulties rounding a float to two decimal places. I have tried a few methods I have seen on here including s... |
{"title":"Django: Adding CSS classes when rendering form fields in a template","tags":["python","django","forms"],"question_text":"I'm outputting fields of a form in a template like this\n`{{ form.first_name }}`\nand I'd like to add a class (eg. blueprint's\nspan-x\n-class) to it. So I'd like to know if there's a nice ... |
{"title":"How to stop a for loop?","tags":["javascript","for-loop"],"question_text":"I'm using this to iterate through an array and find a matching array element:\n`var remSize = [], \n szString, remData, remIndex, i;\nfor (i = 0; i < remSize.length; i++) { \n \/\/ I'm looking for the index i, when the condition is tru... |
{"title":"ASP.NET MVC HTML helper methods for new HTML5 input types","tags":[".net","asp.net-mvc","html5","html-helper","html-input"],"question_text":"HTML5 appears to support a new range of\ninput fields\nfor\nthings such as\n:\nNumbers\nEmail addresses\nColors\nURLs\nNumeric range (via a slider)\nDates\nSearch boxes\... |
{"title":"Is it bad practice to comment out single lines of CSS with \/\/?","tags":["css","syntax","comments"],"question_text":"I have recently started using\n`\/\/`\nto \"comment\" out single lines of CSS code. I understand that I am not actually commenting out the line; I am just breaking it (I should use\n`\/* ... *... |
{"title":"Rails 3 routing - passing params from routes.rb","tags":["ruby-on-rails","routing","ruby-on-rails-3"],"question_text":"In rails 2.3.5 you could do something like this inside the routes.rb file:\n`map.root :controller => \"pages\", :action => \"show\", :id => 3`\nIn rails 3 I haven't found any way to pass a sp... |
{"title":"Extending enums in C++?","tags":["c++","enums"],"question_text":"Is there a way in C++ to extend\/\"inherit\" enums?\nI.E:\n`enum Enum {A,B,C};\nenum EnumEx : public Enum {D,E,F};`\nor at least define a conversion between them?","answer_text":"No, there is not.\n`enum`\nare really the poor thing in C++, and t... |
{"title":"Why do programming languages not allow spaces in identifiers?","tags":["language-agnostic","language-design"],"question_text":"This may seem like a dumb question, but still I don't know the answer.\nWhy do programming languages not allow spaces in the names ( for instance method names )?\nI understand it is t... |
{"title":"JTable column header not visible","tags":["java","swing"],"question_text":"column header not visible in my JTable i have created a JPanel and added the JTable to the JPanel.\n`Object rowData[][] = { { \"Row1-Column1\", \"Row1-Column2\", \"Row1-Column3\"},\n { \"Row2-Column1\", \"Row2-Column2\", \"Row2-Column3... |
{"title":"nl2br() equivalent in javascript","tags":["php","javascript","jquery","phpjs"],"question_text":"Possible Duplicate:\njQuery convert line breaks to br (nl2br equivalent)\nCurrently I add\n`<BR>`\nfor each\n`evt.which == 13`\n. Is there a\n`nl2br()`\nfor JavaScript, so I can do away with this\n`evt.which == 13`... |
{"title":"-tsa or -tsacert timestamp for applet jar self-signed","tags":["java","jar","applet","signed-applet"],"question_text":"When I was trying to self-sign in the jar like below.\n`jarsigner -keystore my keystore myjar.jar myalias`\nIt gives warning like:\nNo -tsa or -tsacert is provided and this jar is not timesta... |
{"title":"jasmine mock window object","tags":["javascript","mocking","jasmine"],"question_text":"How do I mock window object? I'm doing firefox extension and I want to use jasmine for javascript testing.\nIn my javascript I have\n`function submit() {\n...\nvar url = window.arguments[0];\n...\n}`\nObviously, I have to m... |
{"title":"How can I use jQuery.load to replace a div including the div","tags":["jquery"],"question_text":"I have a div with the id of \"secondHeader\" and I want to replace that entire div with another div with the same id of \"secondHeader\" but instead of replacing it , it just adds the loaded div inside the first o... |
{"title":"Fast way to replace elements in array - C","tags":["c","arrays","performance"],"question_text":"Let's say we have an array of ints like this:\n`const int size = 100000;\nint array[size];\n\/\/set some items to 0 and other items to 1`\nI'd like to replace all items that have value of 1 with another value, for ... |
{"title":"Google Reader API Unread Count","tags":["api","google-reader"],"question_text":"Does Google Reader have an API and if so, how can I get the count of the number of unread posts for a specific user knowing their username and password?","answer_text":"This URL will give you a count of unread posts per feed. You ... |
{"title":"Is there an online RegexBuddy-like regular expression analyzer?","tags":["regex"],"question_text":"I'm looking for an online utility that will prettify and add explanatory comments to a regular expression. Does one exist?","answer_text":"I like the online tool:\nhttp:\/\/regexr.com\nWhen you hover over the re... |
{"title":"What is the advantage of using Reachability?","tags":["iphone","objective-c","ios","ipad","ipod"],"question_text":"What is the advantage of the using Reachability over the code below? I feel that Reachability has a huge amount of code, but if it's better in any way, then I'd use that instead.\n`NSString *conn... |
{"title":"Using IF ELSE statement based on Count to execute different Insert statements","tags":["sql","tsql","sql-server-2008-r2"],"question_text":"While I am searching through my database, I run an INSERT statement if I find that a particular item does not exist, and I run a different INSERT statement if I find one o... |
{"title":"Which style of Ruby string quoting do you favour?","tags":["ruby","string"],"question_text":"Which style of Ruby string quoting do you favour? Up until now I've always used\n`'single quotes'`\nunless the string contains certain escape sequences or interpolation, in which case I obviously have to use\n`\"doubl... |
{"title":"How do I transfer an image from its URL to the SD card?","tags":["android","image","download","android-sdcard"],"question_text":"How can I save an images to the SD card that I retrieve from the image's URL?","answer_text":"First you must make sure your application has permission to write to the sdcard. To do ... |
{"title":"How to find complete list of warnings in eclipse IDE","tags":["eclipse","static","warnings"],"question_text":"I'd like to find the places in my project where '\nThe static method should be accessed in a \n static way\n' warning raises.\nIs there any way of getting the complete list at once ? I did search for ... |
{"title":"Is std::stoi actually safe to use?","tags":["c++","standards","language-lawyer"],"question_text":"I had a lovely conversation with someone about the downfalls of\n`std::stoi`\n. To put it bluntly, it uses\n`std::strtol`\ninternally, and throws if that reports an error. According to them, though,\n`std::strtol... |
{"title":"SQL Server Disabling All Triggers - Cannot find the object \"XXXX\" because it does not exist or you do not have permissions","tags":["sql-server","permissions","database-permissions"],"question_text":"I'm trying to run this command in SQL Server:\n`disable trigger all on MYDB`\nThis is failing for me. The ac... |
{"title":".net Custom Configuration How to case insensitive parse an enum ConfigurationProperty","tags":["c#",".net","configurationproperty"],"question_text":"One of the ConfigurationProperty I have in my ConfigurationSection is an ENUM. When .net parses this enum string value from the config file, an exception will be... |
{"title":"Jetbrains \/ Intellij keyboard shortcut to collapse all methods","tags":["java","ide","intellij-idea","phpstorm"],"question_text":"I'm working on some legacy code that has a class that is 10,000+ lines of code and has 100s of methods. Is there a shortcut for any jetbrains IDE (since the shortcut would likely ... |
{"title":"Importing CSV quoting error is driving me nuts","tags":["ruby","csv"],"question_text":"I've been having an unbelievable time trying to import a CSV file in ruby-1.9.2.\nThe file I am trying to parse has:\ncommas within columns\nquotes within columns\nuses an '@' as the :col_sep\ncsv.txt (representative input,... |
{"title":"What core packages should a professional R developer have, and why?","tags":["unit-testing","debugging","r","development-environment"],"question_text":"What are the specific utilities that can help R developers code and debug more efficiently?\nI'm looking to set up an R development environment, and would lik... |
{"title":"What does `if __FILE__ == $0` mean in Ruby","tags":["ruby"],"question_text":"`if __FILE__ == $0\n $:.unshift File.join(File.dirname(__FILE__),'..')`\nI found this code in Ruby, what's the meaning?","answer_text":"`# Only run the following code when this file is the main file being run\n# instead of having bee... |
{"title":"Is VARCHAR like totally 1990s?","tags":["sql-server","nvarchar"],"question_text":"VARCHAR does not store Unicode characters.\nNVARCHAR does store Unicode characters.\nToday's applications should always be Unicode compatible.\nNVARCHAR takes twice the amount of space to store it.\nPoint 4 doesn't matter becaus... |
{"title":"Is there a pure virtual function in the C++ Standard Library?","tags":["c++","language-lawyer"],"question_text":"In\nthis\nlecture, the speaker mentions (at the beginning) that there are no pure virtual functions in the Standard Library (or he's not aware of any). I believe that Alex Stepanov was against this... |
{"title":"can i inherit a parent controller's variables?","tags":["angularjs"],"question_text":"Here is my code:\n`function ParentCtrl($scope) {\n$scope.people = [\"Tom\", \"Dick\", \"Harry\"];\n$scope.count = $scope.people.length;\n}\nfunction ChildCtrl($scope) {\n$scope.parentpeople = ParentCtrl.people \/\/this is wh... |
{"title":"Are function return values automatic objects and thus guaranteed to be destructed?","tags":["c++","exception-handling","return","return-value","language-lawyer"],"question_text":"In [except.ctor] the standard (\nN4140\n) guarantees that:\n...destructors are invoked for\n all automatic objects constructed sinc... |
{"title":"Google map error: a is null","tags":["javascript","google-maps"],"question_text":"I have a program that I want to use google maps for. The problem is I get an error that says a is null where a is a var used in the google map api. Here is how I call my google map:\n`\/\/Creates a new center location for the go... |
{"title":"Eclipse + Git - what does \"staged\" mean?","tags":["eclipse","git"],"question_text":"After working for some time with SVN I decided to try git with my new django project and installed the plugin for it into eclipse. I made a new pydev project and added django initial project files to the src directory. Then ... |
{"title":"What is the difference between response.sendRedirect() and request.getRequestDispatcher().forward(request,response)","tags":["java","jsp","request","response","forward"],"question_text":"I have got a problem with my page jump when I use JAVA,\nif I use:\n`response.sendRedirect(\"login.jsp\")`\nthen I get this... |
{"title":"Determining the CPU architecture of a static library (LIB) on Windows","tags":["windows","64bit","static-libraries","cpu-architecture","libpng"],"question_text":"I just built libpng on a 64-bit Windows machine using VS2008. It produces a\n`libpng.lib`\nfile inside the \\projects\\visualc71\\Win32_Lib_Release ... |
{"title":"ASP.NET MVC with service layer and repository layer, where should the interfaces be defined?","tags":["asp.net-mvc","repository-pattern","service-layer"],"question_text":"I am in the process of determining a fairly simple layered architecture for a .NET MVC application that has a repository layer and a servic... |
{"title":"How do you default to Soft Tabs while programming in Textmate?","tags":["tabs","textmate"],"question_text":"My \"Soft Tabs\" setting in TextMate is not sticky. After I restart TextMate, I often have to set the option again for the same file. How can I make this setting the sticky default across all files?","a... |
{"title":"How can I find and replace inside a selection in Xcode?","tags":["xcode","replace"],"question_text":"In Xcode < 4, you could hold the \"option\" key, and the \"Replace All\" button would change to \"Replace in Selection\". As of Xcode 4, this does nothing. Anyone know if there's a new way to do it, or is it b... |
{"title":"Rails 3: good rule of thumb for where to put javascript?","tags":["javascript","ruby-on-rails-3","optimization"],"question_text":"When writing javascript for a specific page in a site, when do you want to turn the javascript into a function and include it in\n`application.js`\n?\nI've seen suggestions\nabout ... |
{"title":"How to set content size of UIScrollView dynamically","tags":["iphone","objective-c","uiview","uiscrollview"],"question_text":"I got question about\n`UIScrollview`\n.\nThe story is I have a\n`UIView`\nnamed ChartsView which I re-draw it myself by override method\n`drawRect()`\n. The content of drawing was gene... |
{"title":"Special characters and superscripts on plot axis titles","tags":["r","plot","superscript","plotmath"],"question_text":"I am trying to make a y-axis title with both a special character and a superscript. I am able to do this, but I want the closing parentheses not to be superscripted. And that's what I'm havin... |
{"title":"Moving Git repository content to another repository preserving history","tags":["git","merge","repository","migrate"],"question_text":"I am trying to move only the contents of one repository (say repo1) to another existing repository (say repo2) using the following commands;\ngit clone repo1\ngit clone repo2\... |
{"title":"what is use of .exp and what is the difference between .lib and .dll","tags":["c","dll","linker","static-libraries"],"question_text":"During compilation and linking, what is use of .exp? What is the difference between .lib and .dll? I know that .lib will be used, while linking and .dll will be used when runni... |
{"title":"Why does adding to a pointer with += work, but pointer + 1 doesn't?","tags":["c","pointers","pointer-arithmetic"],"question_text":"I am allocating memory for an array, but I am moving where the pointer points forward a little. Accessing the elements works fine. It started to produce a problem with freeing the... |
{"title":"paste without temporary files in Unix","tags":["unix","shell","redirect","pipe"],"question_text":"I'm trying to use the Unix command paste, which is like a column-appending form of cat, and came across a puzzle I've never known how to solve in Unix.\nHow can you use the outputs of two different programs as th... |
{"title":"Is there a way in git to obtain a push date for a given commit?","tags":["git","github","git-push"],"question_text":"I am wondering if there is a way to view a push date associated with each commit in the git log. If that is not possible, is there a way to see all the commits under a certain push.\nI writing ... |
{"title":"How to make force layout graph in D3.js responsive to screen\/browser size","tags":["javascript","svg","d3.js","force-layout"],"question_text":"I have a graph using force layout, but it has a fixed width\n`w`\nand height\n`h`\n:\n`var svg = d3.select(\"#viz\").append(\"svg\")\n .attr(\"id\", \"playgraph\")\n ... |
{"title":"jQuery ajax success anonymous function scope","tags":["jquery","ajax"],"question_text":"How do I update the returnHtml variable from within the anonymous success function?\n`function getPrice(productId, storeId) {\n var returnHtml = '';\n jQuery.ajax({\n url: \"\/includes\/unit.jsp?\" + params,\n cache: false... |
{"title":"Get response status code using Retrofit 2.0 and RxJava","tags":["android","retrofit","rx-java","android-networking","rx-android"],"question_text":"I'm trying to upgrade to Retrofit 2.0 and add RxJava in my android project. I'm making an api call and want to retrieve the error code in case of an error response... |
{"title":"SQL SELECT speed int vs varchar","tags":["sql","performance","postgresql","select"],"question_text":"I'm in the process of creating a table and it made me wonder.\nIf I store, say cars that has a make (fx BMW, Audi ect.), will it make any difference on the query speed if I store the make as an int or varchar.... |
{"title":"What does # mean in LISP","tags":["syntax","lisp","common-lisp","special-characters"],"question_text":"For example,\n`#'functionname`\n, is it necessary?","answer_text":"#'functionname in Common Lisp\nCommon Lisp and some other Lisp dialects have more than one namespace. Here the ones for functions and values... |
{"title":"Using subprocess to run Python script on Windows","tags":["python","windows","subprocess"],"question_text":"Is there a simple way to run a Python script on Windows\/Linux\/OS X?\nOn the latter two,\n`subprocess.Popen(\"\/the\/script.py\")`\nworks, but on Windows I get the following error:\n`Traceback (most re... |
{"title":"Catching all javascript unhandled exceptions","tags":["javascript"],"question_text":"I'm trying to find or figure out a way to display in an alert box all of the unhandled javascript exceptions in an application. I'd want all of this to be done on the client side, without using any server side code. I'm using... |
{"title":"Dictionaries and Functions","tags":["c#","dictionary"],"question_text":"I have recently begun working with C# and there is something I used to do easily in Python that I would like to achieve in C#.\nFor example, I have a function like:\n`def my_func():\n return \"Do some awesome stuff\"`\nAnd a dictionary li... |
{"title":"How do I completely remove root password","tags":["linux","login","user-accounts","passwd"],"question_text":"I am running slitaz distro, and would like to completely remove the root password. I have tried giving a blank password to the\n`passwd`\ncommand, however that did not seem to do the trick. It gave me ... |
{"title":"os.walk iterates in what order?","tags":["python","order","os.walk"],"question_text":"I am concerned about the order of files and directories given by\n`os.walk()`\n. If I have these directories, 1, 10, 11, 12, 2, 20, 21, 22, 3, 30, 31, 32, what is the order of the output list?\nIs it ordered by numeric value... |
{"title":"What does one question mark following a variable declaration mean?","tags":["c#",".net"],"question_text":"Whilst playing around in an open source project, my attempt to\nToString\na DateTime object was thwarted by the compiler. When I jumped to the definition, I saw this:\n`public DateTime? timestamp;`\nMight... |
{"title":"How can I insert new line(\\r\\n) in react-native text component?","tags":["javascript","ios","text","newline","react-native"],"question_text":"I want to insert a new line (like \\r\\n, <br \/>) to Text component in ReactNative.\nWhen i write\n<text>\nHi~\nthis is a test message.\n<\/text>\nBut react-native s... |
{"title":"rails dates with json","tags":["ruby-on-rails","json","activerecord"],"question_text":"I am implementing a\nFacebook\napplication and using\nAJAX\/JSON\n.\nHowever the\nJSON\nstructures that are returned have this format\n`2010-05-30T06:14:00Z`\n.\nI'm calling\n`Game.all.to_json`\nin controller action.\nHow c... |
{"title":"load() method deprecated?","tags":["jquery"],"question_text":"I was browsing through the jQuery api and noticed that the\nload method\nis on the deprecated list.\nCategories: Deprecated | Events > Document Loading\nI usually use this method to check if images are completly loaded. Why is it deprecated? And wh... |
{"title":"Sinatra + Bundler?","tags":["ruby","sinatra","bundler"],"question_text":"I'm wondering how one can use Bundler with Sinatra. The idea is to use the gems that Bundler downloads inside the .gems folder.","answer_text":"Inside your Sinatra app, you just have to require the bundler setup:\n`require \"bundler\/set... |
{"title":"Detect whether Office is 32bit or 64bit via the registry","tags":["registry","ms-office","32bit-64bit","office-2010"],"question_text":"Now that Office also comes in a 64bit install, where in the registry do you find out if the version of Office installed is 32bit or 64bit?","answer_text":"From TechNet article... |
{"title":"Wind rose with ggplot (R)?","tags":["r","ggplot2","rose-diagram"],"question_text":"I am looking for good R code (or package) that uses ggplot2 to create\nwind roses\nthat show the frequency, magnitude and direction of winds.\nI'm particularly interested in ggplot2 as building the plot that way gives me the ch... |
{"title":"calculate the number of html checkbox checked using jquery","tags":["jquery","html","forms","checkbox"],"question_text":"Hi\nhow can i calculate the number of checkboxes that a user has checked using jquery?\nwhat i want to do is limiting the number of checking for checkboxes in a form to 10 for example and w... |
{"title":"Portably safe to pass NULL\/zero to dynamic_cast?","tags":["c++",null,"dynamic-cast"],"question_text":"Out of habit for checking null pointers, I have sometimes written:\n`MyClass * c = someBasePtr ? dynamic_cast<MyClass*>(someBasePtr) : 0;\nif (c) {...`\nIn effect, checking for a null pointer before passing ... |
{"title":"CMake with include and source paths - basic setup","tags":["c++","cmake"],"question_text":"I'm trying to set up a test project looking like my own project just to get things working first and it looks like this:\n`\/MainProject\/inc\/main.h\n\/MainProject\/src\/main.cpp\n\/LibProject\/inc\/test.h\n\/LibProjec... |
{"title":"Entity Framework Code First Fluent Api: Adding Indexes to columns","tags":["c#","entity-framework-4","ef-code-first","data-annotations","fluent-interface"],"question_text":"I'm running EF 4.2 CF and want to create indexes on certain columns in my POCO objects.\nAs an example lets say we have this employee cla... |
{"title":"How can I install a certificate into the local machine store programmatically using c#?","tags":["c#",".net","wcf","certificate","makecert"],"question_text":"I have a certificate generated via MakeCert. I want to use this certificate for WCF message security using PeerTrust. How can I programmatically install... |
{"title":"twitter bootstrap box-sizing ruined my layout","tags":["css","twitter-bootstrap","twitter-bootstrap-3"],"question_text":"my layout broken when I implement bootstrap during the half way of my project, fixed that with some css modification, and I had commented out this\n`\/**,\n*:before,\n*:after {\n -webkit-bo... |
{"title":"What are the best practices for Hardware Description Languages (Verilog, VHDL etc.)","tags":["verilog","vhdl","hdl"],"question_text":"What best practices should be observed when implementing HDL code?\nWhat are the commonalities and differences when compared to more common software development fields?","answe... |
{"title":"Sending messages from Android Wear to host device","tags":["android-wear"],"question_text":"I'm writing a custom Android Wear application that's supposed to fire a one-off message to the connected host device (the phone). Digging through the API, I found the following tutorial that should work well:\nhttp:\/\... |
{"title":"Switch between two frames in tkinter","tags":["python","python-3.x","tkinter","frame"],"question_text":"I have built my first few scripts with a nice little GUI on them, as the tutorials have shown me, but none of them address what to do for a more complex program.\nIf you have something with a 'start menu', ... |
{"title":"How to remove repeated elements in a vector","tags":["r","duplicate-removal"],"question_text":"I have a vector with repeated elements, and would like to remove them so that each element appears only once.\nIn Python I could construct a\n`Set`\nfrom a vector to achieve this, but how can I do this in R?","answe... |
{"title":"Gource on Windows","tags":["windows","video","gource"],"question_text":"We're having problems on windows creating a video file from gource (\ngource\n). We can run gource and watch the video live but don't seem to be able to get any useful physical output.","answer_text":"`gource -1024x768 --stop-position 1.0... |
{"title":"Android HTML.fromHTML() with images?","tags":["java","android"],"question_text":"My Android application receives HTML content with images in it. Is it possible to make\n`fromHTML()`\nfunction to display the images in the HTML String it receives?\nIf not, how can I retrieve the images in the\n`HTML`\nstring an... |
{"title":"Latest ADT and sdk tools installed but still asking for latest sdk tools","tags":["android"],"question_text":"I have just installed Eclipse Juno and installed the ADT plugin 20.0.3 but I am still getting this message on every eclipse launch saying \"This version of ADT requires android sdk tools in revision 2... |
{"title":"Converting an ISO 8601 timestamp into an NSDate: How does one deal with the UTC time offset?","tags":["nsdate","utc","iso"],"question_text":"I'm having trouble converting an\nISO 8601\ntimestamp into an\n`NSDate`\n. I tried to use\n`NSDateFormatter`\n, but I can't get it to work with the\nUTC\ntime offset tha... |
{"title":"Still requiring login after SSH authentication","tags":["github","ssh"],"question_text":"I followed everything in the GitHub tutorial:\nhttps:\/\/help.github.com\/articles\/generating-ssh-keys\nI did all the commands in the directory of my repository.\nI reached the end of tutorial successfully and got the me... |
{"title":"Android Studio not deploying changes to app","tags":["android","deployment","android-studio"],"question_text":"Sometimes this scenario occurs when developing. I would make a change in my source code, hit save all and then run but the\nchange wouldn't be apparently not reflected in the app\n-(I'm using a devic... |
{"title":"PHP array, Are array indexes case sensitive?","tags":["php","arrays","case-sensitive"],"question_text":"I don't know if this is a problem yet but wanted to start thinking about it.\nQuestion:\n\"\nAre PHP array indexes case sensitive\n\"?\nExample:\n`$a=array(\"a\"=>\"Dog\",\"b\"=>\"Cat\",\"c\"=>\"Horse\",\"A... |
{"title":"Fragment : Unknown animation name objectanimator","tags":["android","animation","android-fragments","objectanimator"],"question_text":"I'm trying to do a flipping card animation between two fragment like in -->\nDisplaying Card Flip Animations\nby using:\n`private void switchFragment(Fragment fragment) {\n Fr... |
{"title":"Tool to trace local function calls in Linux","tags":["linux","debugging","trace"],"question_text":"I am looking for a tool like\nltrace\nor\nstrace\nthat can trace locally defined functions in an executable. ltrace only traces dynamic library calls and strace only traces system calls. For example, given the f... |
{"title":"Quick and easy: trayicon with python?","tags":["python","wxpython","pyqt","systray","tray"],"question_text":"I'd just need a quick example on how to easily put an icon with python on my systray. This means: I run the program, no window shows up, just a tray icon (I've got a png file) shows up in the systray a... |
{"title":"Convert textbox type to password in asp.net mvc","tags":["asp.net-mvc"],"question_text":"How do I convert a textbox type to password in asp.net mvc?","answer_text":"Just write in Razor View i.e. in .cshtml file below line\n`@Html.PasswordFor(m=>m.Password)`\nHere m is model object and password is the password... |
{"title":"How to initialize a Scala immutable hashmap with values?","tags":["scala","hashmap"],"question_text":"What's the syntax to set immutable hashmap contents on initialization?\nFor example, if I was willing to hardcode an array, I'd write:\nval a = Array (0, 1, 2, 3)\nWhat's the analogue for immutable hashmaps (... |
{"title":"Count number of cells with any value (string or number) in a column in Google Docs Spreadsheet","tags":["google-spreadsheet","google-docs"],"question_text":"I have several columns in Google Spreadsheet.\nI would like to count how many cells have a value (number or string) and display that number at the top of... |
{"title":"What exactly are eye space coordinates?","tags":["opengl","matrix","camera","coordinates","projection"],"question_text":"As I am learning OpenGL I often stumble upon so-called eye space coordinates.\nIf I am right, you typically have three matrices. Model matrix, view matrix and projection matrix. Though I am... |
{"title":"BitmapFactory OOM driving me nuts","tags":["android","out-of-memory"],"question_text":"I've been doing a lot of searching and I know a lot of other people\nare experiencing the same OOM memory problems with\n`BitmapFactory`\n. My\napp only shows a total memory available of 4MB using\n`Runtime.getRuntime\n().t... |
{"title":"Java 7 (JDK 7) garbage collection and documentation on G1","tags":["java","garbage-collection","java-7","heap-memory","g1gc"],"question_text":"Java 7\nhas been out for a while now, but I cannot find any good resources on the configuration of the\n`garbage collectors`\n, specifically the new\n`G1 collector`\n.... |
{"title":"Strong Signed Assemblies","tags":["vb.net","compiler-construction","publishing"],"question_text":"I have a project I made in Visual Basic 2008 Express. I converted it from someone else's C# project, but it works. It has several DLL dependencies. I went to publish my project so I can install it on another mach... |
{"title":"xcode-select -switch path when using cli toolkit","tags":["xcode","path","toolkit"],"question_text":"With the release of Apple's Command Line Toolkit for Xcode, I am trying to avoid needing to install Xcode proper. In order to do this, I need to set the path to xcode for specific make files that depend on the... |
{"title":"Console based progress in Java","tags":["java","console","progress-bar","refresh"],"question_text":"Is there are easy way to implement a rolling percentage for a process in Java, to be displayed in the console? I have a percentage data type (double) I generated during a particular process, but can I force it ... |
{"title":"How to set default WPF Window Style in app.xaml?","tags":["wpf","c#-3.0","themes","styles"],"question_text":"I am trying to set the default Style for every window in my WPF Windows application in my app.xaml. So far i have this in app.xaml:\n`<Application.Resources>\n <ResourceDictionary>\n <Style x:Key=\"Win... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.