kiki

1

votes
0

answer
33

views

Returning nothing from an echo statement in using fetch_all(MYSQLI_ASSOC)

Can anyone see any noticeable errors as to why I am not able to retrieve anything from the db? You clicked a button Yay!!!
Kiki
1

votes
0

answer
36

views

Multiple conditions in .htaccess redirect 301 and 404

I have multiple domains in a single IP (a single root) Any 404 on domain1.com or domain1.com.ve (http or https) (www. or not) must redirect to https://www.domain1.com/home/index.php Any 404 on domain2.com or domain2.com.ve (http or https) (www. or not) must redirect to https://www.domain2.com/index....
Kiki Baez
1

votes
0

answer
12

views

task.ScriptingEngine.SaveProjectToStorage() returns false

I am trying to dynamically compile my Script Tasks as per the script here: Need to Programmatically Recompile all Script Tasks in DTSX Packages after Mass Find-And-Replace But the following code has been returning false: task.ScriptingEngine.SaveProjectToStorage() I wonder why this happening. Permis...
Kiki Dravie
1

votes
2

answer
617

views

Redirect to another screen after login. (React Native)

So I edited this with just one file everything is there and still I can't seem to make it work. Directory Structure: LoginScreen.js import { StackNavigator, } from 'react-navigation'; import DrawerScreen from '../Containers/Drawer.js'; // PJDS all-in import HomeScreen from '../screens/HomeScreen.j...
reactNative_dev_kiki
1

votes
0

answer
22

views

PHP MySQL heredoc syntax - where should I put mysqli_real_escape_string()?

I am not sure where to put mysqli_real_escape_string() into my current PHP code for MySQL. I have the URl http://www.example.com/abc-vs-def-vs-ghi/, but I know it can be exposed to http://www.example.com/abc:_?!$123-vs-1312+'. My code is: // This I got from my URL - be aware of SQLi!!! $uri_segments...
Kiki FIstrek Novi
1

votes
2

answer
65

views

After Build Bundle, There is no aab file in release folder

The only file in release is the build apk. The aab file is only in debug folder eventhough already choose release when want to generate sign bundle.
Kucing Kiki
1

votes
2

answer
35

views

Block a button on my side bar until the user is logged in?

Using Django and HTML, how can I block a button on my tab bar until someone is logged in? My sidebar: × Home Login Profile Upload Top Photos About Us Contact Us Block statement: {% block content %} {% if user.is_authenticated %} Welcome {{ user.username }}! {% else %} You are not logged in, log in...
Christian Kiki
1

votes
1

answer
19

views

How to change item which located in menubar when selecting from item(3dots)

Singlecell (image1) As you see above picture the singcell text which I need to change it according to itemselected from 3 dot. Multicell When clicked the 3 dot,it will display the option for example when click multicell,I want the image1 to become multicell. How do I achieve that?? @Override public...
Kucing Kiki
1

votes
1

answer
106

views

Insert multidimensional array json in mysql with laravel

Im trying to insert this multidemensional array from a nested json but im not sure how to tackle this. The array shows as the following when printed: { 'CompanyCode': '12345', 'CustomerNumber': 'ABC0012300DEF', 'RequestID': '2017262221400000001975', 'ChannelType': '2014', 'CustomerName': 'Custo...
Kiki Olivia
1

votes
2

answer
926

views

Is there a Java equivalent for Ruby on Rails “url_for”?

I have written something like this pretty easily in C# (string GetUrl(new { controller = 'foo', action = 'bar', baz = 'fnord' }), based on the existing capabilities of the XmlRouteCollection class provided by the ASP.NET MVC framework (why it isn't there out of the box is beyond me; the additional r...
Oren Ben-Kiki
1

votes
1

answer
361

views

How to call a specific function on FocusChange of all buttons in android?

It's possible to specify a particular function to be called when button is clicked by setting its onClick attribute in xml: android:onClick='function_name' I want to do something similar for FocusChange of buttons, is this possible? Specifically, I wish to increase my button's size when it has focus...
kiki
0

votes
0

answer
5

views

Show comments as tooltips in a chart in Google Sheets

I have an embedded line chart on Google Sheets. I take data for the chart from the other tab of the same sheet. I create comments in cells which I take data from. It would be great to have comments be shown as popup tooltips when hovering over each data point. The mechanism already has tooltips for...
kiki
1

votes
2

answer
146

views

Linq to SQL c#, Association - what could go wrong?

OK, this line of my code doesn't work: ulazStavke = DataServices.POS.UlazStavkes.Where(us => us.UlazRobe.Datum > dod && us.UlazRobe.Datum < ddo).ToList(); If I replace it with this it works: var ulazSt = DataServices.POS.UlazStavkes.ToList(); foreach (UlazStavke us in ulazSt) { if (us.UlazR...
Kiki
1

votes
1

answer
459

views

UITableView + UITableViewCell when UISegmentedControl is pressed

I want to ask a question about UITableViewCell. Apparently, this is what I want to achieve. I have a page where I display one question at one time. So, when the UISegmentedController on the top right is pressed, I display another question and so on. please see the picture attached or here: http://...
Kiki Chandra
1

votes
1

answer
269

views

iPhone on 3G network SOAP Request Speed

Can someone please help me with this ? I develop an application for iPhone that needs to communicate with my webservice (I use SOAP to communicate and TOMCAT as the web server). When I run the application on my iPhone4 with WiFi connection, it has no problem at all. I have a very fast response from...
Kiki Chandra
1

votes
1

answer
284

views

CI Server w/ Project dependency DAG

Is there any CI server (CruiseControl, Jenkins, Hudson, ...) that supports a proper DAG (Direct Acyclical Graph) of dependencies between projects? That is: Suppose you have a common library project A, two utility library projects B and C which both use A, but are independent of each other, and a pro...
Oren Ben-Kiki
1

votes
1

answer
200

views

How to efficiently perform load and bitwise operation using GPGPU?

I need to load an array of 128 to 256 bytes length to GPU shared memory. I want to minimize global memory access while perform bitwise operations efficiently. let's explain. I have a 256 byte array loaded to global memory and I want load all the 256 bytes to shared memory at the beginning of the ker...
kiki
1

votes
4

answer
535

views

Pure CSS website translate

I have found solution for pure css translation on stackoverflow. Here. In css I have: .en, .sl { display:none; } /* hide all elements with a language class */ .en:lang(en), .sl:lang(sl) { display:block; } /* show those elements that match their language class */ In HTML: and Pozdravljeni Hello For...
Kiki
1

votes
1

answer
55

views

How to add jQuery function to hover (show) and then click to show another menu

Hello I want to ask about jQuery How to add jQuery hover (show) function to my jQuery? ( I want to show #menuwrap when hover that area) 2.I want to add jQuery function, when I click MENU, it will hide #menuwrap again and show another menu content my HTML Tes - Web Testing ... Test ... MENU my CSS...
kiki.kiko
1

votes
4

answer
29

views

Validate object's value

I have an JavaScript object with keys and values. I need to validate that object's values, and if it contains value 'empty', I want to give an alert. I want to give alert only once even if there were multiple 'empty' values. I tried like this; data = [ {first_name: 'John', last_name: 'Doe'}, {first_...
Kiki
1

votes
2

answer
45

views

I'm trying to display data from my database in table, but don't want to appear, I don't know what went wrong

Here's my controller call 'a_porto' public function index() { $this->load->model('a_porto_models'); $data = array(); $data['tampil'] = $this->a_porto_models->get_crud_all(); $this->load->view('a_porto_view', $data); } Here's my model call 'a_porto_models' function get_crud_all() { $query = $...
Kiki
1

votes
1

answer
120

views

How to bind member function with std::function?

I want to bind member function, but it seems failed. Q4kDeviceSource.hh class Q4kDeviceSource { public: void videoStreamCallback(QIPCamStreamCbType streamCbType, uint32_t streamId, uint8_t *buffer, size_t bufferSize); 。。。 } typedef std::function StreamCallback; Q4kDeviceSource.cpp 。。。 St...
Kiki.J.Hu
1

votes
1

answer
892

views

Error with import sklearn

After installing scikit-learn with pip install -U scikit-learn, I'm not able to call import sklearn: >>> import sklearn Traceback (most recent call last): File '', line 1, in File 'C:\Python27\lib\site-packages\sklearn\__init__.py', line 57, in from .base import clone File 'C:\Python27\lib\site-pa...
kiki
1

votes
1

answer
2k

views

Primefaces submit form on p:tabView tab change

I have a huge JSF application created using primefaces version 6.0 running on WebSphere Application Server, Version 8.5.5. I want to avoid nested forms so my p:tabView is not included in a form but each tab has its own form. Source for my tab view looks something like this: ... more tabs ... Is ther...
Kiki
1

votes
1

answer
156

views

Regex alphanumeric, punctuation as 1 word

I am matching each words against identical paragraph words. Update 1: I realise just accepting punctation you need does not solve this issue. Example 'hello-' and 'hello' , are consider seperate word. Is there a way to remove punctuation before and after word and stand alone punctuation? Only allow...
kiki
1

votes
1

answer
276

views

Wildfly Swarm 2017.12.1 disable Management fraction

I have upgraded from Wildfly-Swarm 2017.11.0 to 2017.12.1 and when I start my uber jar I see Swarm is starting fractions that I did not specify to my pom file like Management. How can I remove those fractions? Here is my startup log: Installed fraction: Logging - STABLE org...
Kiki
1

votes
1

answer
492

views

How spring cloud sleuth works?

How spring cloud sleuth works behind the scenes?. Will it be able to trace library calls also?. Im having a spring boot project A which uses library B. Any hit to endpoints in project A is traced by sleuth, but when I try to hit rest controller on Library B sleuth fails to trace the request. Is the...
Kiki
1

votes
3

answer
44

views

How do I insert an array into single field of my SQL table using PHP

I have checkbox entries that I am appending to a list by their html name, like so: Choose no more than three categories: Asian Asian Fusion I have many other checkboxes as well. I then implode this list by doing: $sanentry=implode(',',$_REQUEST['boxsize']); When I echo $sanentry I get a list of the...
Kiki
1

votes
1

answer
38

views

How to move the image onto the next row in html/css

I am doing a class project for my uni but I cant seemed to solve this issue. Any kind help would be greatly appreciated! Basically I wanted to display a menu but the images keep overlapping. I want the image to be display on the next row. The idea is to make 4 images on one row and the next 4 images...
Kiki
1

votes
1

answer
58

views

pandas custom merge with condition key1 contains key2

I'm trying to merge two dataframes with the condition that key1 contains key2, here is the example df1 name info Bill Gates Microsoft Steve Jobs Apple Elon Musk Tesla df2 name info Bill aaa Kate bbb Steve ccc I'm merging on the key 'name' column,the result I...
Kiki
1

votes
2

answer
48

views

Problems with sql update statement while using subquery

I'm having 3 tables: PRICE, PRICE_PRODUCT, CHANGEABLE_PRICES. (I cannot change the data modeling in the database) the issue is that I need to update sometimes table CHANGEABLE_PRICES based on PRICE table. I can link these tables via PRICE_PRODUCT table and date fields (Valid_date and date) which is...
miki kiki
1

votes
2

answer
72

views

Display “Show Less” button when AJAX has no more posts to show

I have an AJAX 'show more posts' script running on my WordPress page. The only thing is when I click 'show more' and reach the end, I would like for the button to change and say 'show less' then close all of the AJAX that was shown. How could I alter my current script to do that? Below is the code...
Kiki
1

votes
1

answer
45

views

Accessing a field on json data. react native

How do I access 'courseDesc' in 'course_details'. I'm making a react native app with laravel as a backend. I'll already done alot of research and I almost got it working but I get JSON Parse error Unrecognize token '
reactNative_dev_kiki
1

votes
2

answer
0

views

Setting custom interface written in C++/CLI to null may causes program to crash

I have a custom .Net interface written in C++/CLI: public interface class IBackgroundExtractor { }; In my C# application, the interface is used by: private IBackgroundExtractor extractor = null; The above code runs smoothly in my computer (which installed visual studio) but it crashed in another one...
KiKi
1

votes
2

answer
408

views

c# cEXWB navigate2 doesn't work on second url

I am trying to use a browser object to get some data from a website. the problem is that for one site i have to redirect, get some other info and then go back to this site. my coed so far is private void getInfo(cEXWB browser, string url) { if (url == 'www.specificwebsite.com') { browser.navigate2('...
kiki
1

votes
1

answer
756

views

using time command in bash script and redirect the output

I'm trying to write a script that does x =$ncore numactrl -C $x ( time -p $exe ) > out.txt 2>&1 on the terminal ( time $ exe ) > out.txt 2>&1 worked as i wanted to (out.txt containing output of time and executable ) i'm using red hat 6.2 and time is not GNU version( i'm assuming from the fact that -...
kiki
1

votes
1

answer
2.1k

views

JBoss AS 7.1.1.Final : java.lang.ClassNotFoundException: javax.xml.bind.annotation.adapters.HexBinaryAdapter

I'm moving to JBoss AS 7.1.1.Final and I have an issue. All works well with 7.1.0.CR1b but now I have this error in an OSGi component : 14:17:51,888 ERROR [stderr] (http--127.0.0.1-8080-1) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.adapters.HexBinaryAdapter from [Modu le...
kiki
1

votes
1

answer
0

views

Get multiple corresponding values from different HTML tags to use in a function

I am trying to call a funtion by pressing the button on my sidebar. The function should find checked checkboxes of tags and get corresponding names from tags. Then it passes names to backend Google Apps script function (which works) to get an array of calendars from sheet. Then it collects an ar...
kiki
1

votes
2

answer
3.3k

views

Get/Set Method for Array Properties

I have an Entry class, through which i want to expose data to a Gridview in WPF (via an List). I need to have a column in the Gridview for every property of the Entry object (also get one column for every entry of propsA3), but I am uncertain how to define the getter/setter methods for the array in...
kiki
1

votes
2

answer
133

views

Regular expression for positive integers, 2 to 4 digits but no 00, 000 or 0000 [duplicate]

This question already has an answer here: What is the regex for “Any positive integer, excluding 0” 10 answers I would like to use regular expression to match only positive integers at least 2 but no more than 4 digits. I know that I can do that with this regex: ^\d{2,4}$ Now, I want to exclud...
Kiki

View additional