从PDF转换
转换为PDF
从PDF处理
从CAD转换
转换为CAD
从图片转换
转换为图片
文件压缩
电子书转换
使用技巧
客户端下载
Your IP Address is 18.118.144.69 If you can find out the IPv4 or IPv6 address of an Internet user, you can click
I am using windows application and this is how i use to connect server and retrive data. I set this credential dynamically.. Global.sqlConn = new SQLDB(Internet.gIpAddress, Internet.gCatalog,
I am going to be creating a database that will contain a list of certain foods and their calories per 100 grams. Do I just create it the same way as I do empty database then fill the database wit...
While practising few examples , I encountered the following example : var foo = {unique_prop: 1}; var bar = {unique_prop: 2}; var object = {}; object[foo] = 'value'; alert(object[bar]); where two
Is it possible to make four gaps' width the same? I tried to use ViewTreeObserver.addOnGlobalLayoutListener() in ItemDecoration.getItemOffsets(),but the view displays before the value returned,and ...
I need to access Generic type's properties using the position of property or any other similar way. Example: class model { int intValue; string stringValue; public model(int a,string...
Consider following table: +----+-------+--------------+ | id | name | info | +----+-------+--------------+ | 1 | Chris | NULL | | 2 | Den | some info | | 3 | Bob
I want to select several rows according to the attributes in Type column. Let's pretend I have this dataframe: Type | Killed | Survive Dog 1 0 Cat 3 5 Dog 4 ...
I need your help, how can I know the total(sum) in a field that is itself the joining of two formulas: Main formula: sum(@weight) Formula 1: @open = if ({OrderRel.OurReqQty} - (Sum ({Ship...
Is it possible, in xamarin, to create a fusion of multiple control? By Example, I want an ImageButton (I have other idea of fusion, just an example), I can place an Image and then, put a transparent
I have two servers (server1 and server2) listening for the same domain name. Let's say www.example.com. server1 acts as the main one, where the domain itself is pointed to. What I'm trying to do is
I got this error when going to one my ressources called "Fils": PG::UndefinedColumn: ERROR: column users.contact_id does not exist LINE 1: SELECT "users".* FROM "users" WHERE "users"."contact_id.
I created a live feed Twitter with PrimeFaces (5.2.13) and Atmosphere (2.3.8) which use the channel "/TwitterFeed/[subject]". I push datas to the client at JSON format. In the client side, I recei...
i'm working on a project which has a MYSQL database. The table 'doctors' contains 4 columns (id-name-address-telephone).In this project,users have to log in and then according their location they c...
I'm trying to load the ApplicationHelper module inside config/environments/development.rb : Rails.application.configure do ... include ApplicationHelper ...(here I want to call my functions from
I am quite new to WPF and I apologise for the rookie mistakes in advance. I am working on a larger piece of code and I want to cause a refresh in a list when a file is added to a folder. In that
In Visual studio 2015 I get the exception messages that pops up on the screen (while debugging) in french I want to change it to English do you have an idea of how I can do that?
Problem: After i cloned a site to the productionserver (using akeeba and kickstart) i saw that all my menulinks had double domainnames in them. So like this: http://www.domain.com/domain.com/conta...
I use FFmpeg to create video from one image with duration 10s and then cocat it with another video. The problem is the video shows glitches when play with default player of Android, but when i use MX
I want to align a view on top of track of seekbar.But as thumb height is included in seekbar height the view aligns on top of thumb.I tried to resolve this by providing margin equal to the height/2...
I'm trying to solve this challenge on Hackerrank. I've reached a problem where I cannot proceed, but I can't see where I've gone wrong - and I'm hoping someone here can help. My current solution is...
I would like to pass object RouteValues parameter to that button <div class="wrapper"> <div class="search-box"> <form class="form-inline">
In RootModule: @NgModule({ imports: [ ModuleA ], declarations: [ ScrollToWhen ], bootstrap: [BootComponent], }) class RootModule {} In one of the component tem...
In OrientDB, I have a class "V_MyClass", and a property of type "link" to the class V_User ("createdBy"). Both extend V. In this moment, I have a query which returns all elements from class. select
is there any way to use queuing process and queuing jobs with Redis caching in php? Please let me know the right way to implement and which one is better redis or queuing?
I would like to know if there is a way to split correctly UK postcodes using XSLT 1.0. For example: PE92BD --> PE9 2BD NE611PE --> NE61 1PE CV364AB --> CV36 4AB SN13EG --> SN1 3EG IP...
I have multiple ajax request launched at the same time and I want to be able to call a function when they end. I saw the jQuery function : ajaxStop() but I can't use jQuery in my project. Does ...
Is there a way to get the dateFormat string automatically (without explicit setting it)? ///getting the date from datePicker func handleDatePicker(sender: UIDatePicker) { let
I have an RDD with following structure RDD[((String), List[(Int,String)])] And it contain this data ((John),List((4,00A), (5,00A), (15,00B), (15,00C))) ((Billing),List(...
I am working on Spark SQL with Spark(2.0) and using Java API for reading CSV. In CSV file there is a double quotes, comma separated Column. Ex: "Express Air,Delivery Truck" Code for reading CSV...
I try to understand the scoping demo in R you can access through demo(scoping). I do not understand where the total variable is saved. First off I thought according to help("<<-") The ope...
I have array. Every element in this array is object, that contains also array. So I need to get sum of every items in array, that exists in array. I have tried next : function getSum(total, item...
I was writing a piece of code where I had a String[] and a method which takes this String[] and returns Byte[] maintaining the string-Byte pair with the position where few of the Byte could be null.
Cheers! Let's say I have User that has_many Accounts, Account model has logged_in (boolean) field. I wrote a AR query: User.joins(:accounts).where(accounts: { logged_in: false }), right? But then I
My code plan is as follows: 1) find csv files in folder using glob and create a list of files 2) covert each csv file into dataframe 3) extract data from a column location and convert into a se...
Hey folks I have been stuck into the situation where I wanted to know the File type of few files who has no extension. I know till now that every file is associated with UTI Identifier and Extensio...
I would like to check, which OpenGL version is installed on the computer, before I execute OpenGL commands. I wrote a small function to get the NSOpenGLVersion: import OpenGL func getnsopenglvers...
I am learning how to create makefile on a Linux distro. I am using the following code (I know it can be written in a small form, but the long form is intentional) to properly understand the behavi...
This is what i tried. But i am not getting any error as well as no output. what i did wrong. and why this query is not working. SqlCommand cmd = new SqlCommand(); cmd.Connection = con;...
After successful migration from Neo4j 2.2.8 to 3.0.4 using official faq, full text search does not work as expected. Fuzziness is not that fuzzy as it was before. Example: START n=node:node_auto_...
I'm looking for a way to get my two imageviews on the same size. Imageview A is : width: match_parent height: wrap_content scaleType: centerInside adjustViewBounds: true Imageview B is : width:
newbie here. I'm using python (3) on my mac, and although I'm able to write some (basic) scripts, I realise I have lots of confusion around where python is stored, the famous usr/bin directory, where
I have Java application which use C library with JNI. I send to the JNI a String and want him to return jdoubleArray. JNIEXPORT jdoubleArray JNICALL Java_com_1funcA (JNIEnv *env, jclass class, js...
In my windows form I have a web page and I want to print the contents of it , either way, direct print to printer or saving bitmap and print later. So far I have managed to get the code from inter...
Is there a standard way of referencing objects by identity in JSON? For example, so that graphs and other data structures with lots of (possibly circular) references can be sanely serialized/loaded?
Now i am developing an webview app with cordova,and in my project i want to run cordova commands with grunt-cordova-cli to do some automatic tasks,here is my Gruntfile.js: module.exports = function (
What guarantees SQL specifications gives for UPDATE statement where some column both being updated and read? From my experiment I can see that when column used at right side of "=" sign, SQL uses ...
I'm new and a bit confused about "yield". But finally I understand how it worked using WaitForSeconds but I can't see the difference between of "yield return 0" and "yield return null". are both..
I'm using bootstrap-tokenfield I'm using tokenfield in search bar, and have one small problem, lets say I search: searchtag1, searchtag2 and after I click on search and page loads my search resuts...
I have a table user with userID as the primary key. I have another table called Friends. In the Friends table, I have two Users as friends represented by the columns UserID and FrndID where both Us...
Is it possible to implement UILocalNotification so that the app will be automatically opened when the notification is fired?
So I'me fairly new to coding Jquery. I wanted to load dynamically all letters of the alphabet inside a container. Currently I got it build up like this: <div class="letters"> <div&...
I have a problem with accessing a custom view helper in a view. Call the helper in the layout.phtml works perfectly. ZF Version: 1.11.2 application.ini resources.view[] = Bootstrap: protected
Imaging following scenario everyone can stack in production: we are running Elastic search as docker containers, indexing some data we would like to backup data every 3 months means we need to cre...
Hi I am a newbie of using jQuery for writing plugin and currently facing a case on local variable handling, and here is some code for all reference <div class="apple"></div> &...
I am working on a framework , I want to make a build of that which should work on both iphone-simulator and iphone-device(i386 and ARM Architecture). So i need run script which will build framewo...
Expressions like the following are common in Rails: @project = Project.find params[:id] # example 1 @project = current_user.projects.find params[:project_id] # example 2 However I realize that f...
I have created a Virtual Machine in Bluemix. I have installed NGINX web server on it. To access the web application that is deployed on NGINX, should I use a public IP address (for e.g. http://123....
Can I use hash table and BST for the following problems, if i am allowing extra storage O(N)? Count the frequencies of all elements in an array ? Finding which number is repeating maximum times in...
How to remove IF condition from this code ? For some weird reason this code only works when correct database credentials are inside ELSE statement. If I have correct database credentials in IF sta...
I'm reading a big file with hundreds of thousands of number pairs representing the edges of a graph. I want to build 2 lists as I go: one with the forward edges and one with the reversed. Current...
Pass the size of the data set to angular service. I am trying to pass the size of the data set(count) to the angular service. I just started to work with angular and any help is greatly appreciated.
I'm working at something similar to google drive and I am using ngSelectable to select one or more items(from ng-repeat) and ngDraggable to drag and drop files(or folders) in folders. Selection is
i need a dialog thats allows me to pick a number and one String out of three. User should pick a String (Year,Month,Weeks) and then pick the number of y,m or w. Any one knows out to get that to look
ok so i am trying to execute kill command using kill < ff // Doesn't work cat ff | kill //Doesn't work where the ff is text file containing a list of pid's. 7688 7697 7705 7760 7764 7772 7785...
How i can add application icons on home screen in my custom launcher. In my custom launcher only one button showing which is for open all applications window in grid view. But i want to add more
If you get the following code : $DBConnection = CreateNewDBConnection(Yii::$app->get('db_cdh'),$aDatabaseName); $DBConnection->open(); $command = $DBConnection->createComma...
So, for a while now I have been struggling with this one. I know there are a lot of similar questions with good answers, and I have tried these answers, but the code I have basically reflects the a...
I was going through a java code written in spring mvc web application. why we add class name when we are declaring and implementing a method in java? What is the purpose of adding class name in su...
I wrote two unit tests in Eclipse IDE. Now I realise that my tests are possibly cached. Please take a look at my screenshot: Eclipse says I've got TWO tests, while really I've got only one. I try to
Hello I have a file with the next code, a file named google-maps.php <script> var customIcons = { restaurant: { icon: 'img/homepage/pin.png' }, cafene...
Here is my jquery code I'm trying to run the code and Laravel blade is not recognizing the $results variable in the foreach statement. I didnt add the code for the form neither the route. they work
In my nodejs app,I had a json object where it had combination of string,num and boolean type .But the boolean and num type is also represented as string. Eg: `{"name":"sam","age":"24","isMarried":
I have a table: ItemID ParentID ItemName 0 NULL England 50 0 Hampshire county 401 50 Southampton 4...
I'm unable to connect to Team Foundation Server 2010 (TFS) from a simple C# Console Application. My Console Application has .Net Framework 4.5 as Target Framework and is opened into VS2015. In the
I have the following gradle build ./build.gradle defaultTasks 'build' task build(type: Copy){ // read the properties from the versions.properties file Properties props = new Properties(...
Am using Primefaces Datatable on this way: each object of datatable has attribute color saved in database depends on this color it will be the color of its row. in the case of row black color without
Is it possible to create an App that has an embedded page (iframe/etc) inside Yammer ? In Yammer we can create standalone application that interact with Yammer, Can we this application inside Yammer?
I have this code in gridview in .aspx, and actually having 31 of these for 31 days: <asp:TemplateField HeaderText=" 28" SortExpression="Data28" <ItemTemplate> <a id="data28" href=&
I have a RootVC. It is a SwipeViewController: UINavigationController. SwipeViewController Within WelcomeNavigationController, I'm checking a condition. If that condition is true, I want to open ...
We are planning to archive older data from some tables. But before doing so we have to estimate how much space will we gain once we purge older records. For Example, suppose we have an ORDERS table
I would like to force SSL on every page of a wordpress site hosted on Heroku using a custom subdomain. Here is what I tried so far: I created my wordpress project from this repository: https://gi...
Facing problem to create SQL query to copy table1 column entry into table2 column entry. Scenario is, City is a table with following attributes, City_Id latitude longitude Active Venue is a table
For example, if you use str() on a dict, you get: >>> str({'a': 1, 'b': 'as df'}) "{'a': 1, 'b': 'as df'}" However, I want the string to be li
In my unity 2D game I've instantiate bullet with player direction but bullet bullet instantiate on right side of player i try to bullet instantiate on player left side.this is my player bullet pu...
JS Nooblord here, to give some context I have recently created my first JQuery based image slider to which I'm currently trying to generate a list of control buttons dynamically when the page loads...
I have an Oracle table of which one of the columns contains text path to some element in a tree, for example "Node1/Node2/Node4/Leaf23". I would like to speed up the queries utilizing this column i...
I'd like to have repeating observable that emits items until some condition comes true. Then it calls onComplete and ends emitting. I though that something like this would work, but I'm wrong: re...
How can I get the next value of the identity specification using SQL Server? Don't say Select (id+1) from Table1, because it gives wrong results when deleting rows.
Solved in Is it possible to display a custom message in the beforeunload popup? Original question I'm curently using Firefox ESR 45.3.0, and I've written a small test page: <html> <...
I would like to ask how to behave correctly when server receives user credentials which are not valid (username or password does not fit). Should server send back an empty jwt token and set HttpSt...
I'm stuck from last few days and really dont know what to do. i have a database with three tables to get the data.I am not able to use rollup with the inner join and order by. i have the following ...
lets say I have a table containing |vendor | price| productID| |--------------------------------| |abc | 6 | 0001 | |1 | 7 | 0001 | |def | 8 | 0001 ...
(postUrl, config, isLoggedIn) = getSpringSecurityLoginConfig() I couldn't find in the official documentation what kind of syntax is this?
I am trying to use 2 images separate in Bootstrap to make responsive. I am struggling how to fix in different media queries to set exact size of the image.When i am trying to use as a background the
I'm using Spring 4.3.1.RELEASE version and it's custom Authentication Login application. But I'm facing issue First take a look on code CustomAuthenticationProvider.java @Component @Qualifier(v...
I have a question about sql query. Assume we have one table Reports: +----+-------------+---------+--------+ | ID | reporter_id | subject | report | +----+-------------+---------+-----
I am trying to insert values from arraylist into mysql table. List lstUnique=new ArrayList<Object>(); //code to feed the data into list from resultset. try{ Class.forName("com.
I Wrote a general testing file which includes a few tests. I want to write a few files that will use those tests, each file will run specific tests (not all of them). A test example: class Accoun...
So I have 3 arrays in my code. The first($values) one has some values in it, the second($keys) has corresponding keys for the first array as values and in the third($someOtherArray) one only the le...
What am I trying to do is if a user comes with a slug Case 1 'new' I am either creating a new box for him or fetching his existing empty box and redirecting him based on the slug of the box C...
The definition of idempotent in wikipedia is:Idempotence is the property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result be...