Twilio sending texts on android problems

First time poster, sorry if anything is not formatted correctly. I am creating an android app for school which will need to send text messages. I have had twilio recommended by several people so I decided to go with it. Following this tutorial: https...
more »

2017-12-03 23:12 (1) Answers

Aligning multiple texts in a button

I have three variables that have varying values with different length for those values. For example: var a = "123456" var b = "23,000.00" var c = "Accounts Receivable" The values can change for these three variables. I have a long button that I w...
more »

2017-11-29 12:11 (2) Answers

Save cyrillic symbols in a txt file in C

I am relatively new in C. The following program, that I will paste here is just illustrative for my question. #include <stdio.h> #include <stdlib.h> int main() { char letters[7]; int a, b, c, d, e, f, g; printf("letters:\n"...
more »

2017-11-04 19:11 (2) Answers

parsing boolean operators in text search

I am looking to build some search functionality that would support boolean operators and convert the search string into a database query. for example the user could type an expression like "(laptops OR tablets) NOT (Windows Or (Mac OS))" and th...
more »

2017-10-28 21:10 (0) Answers

python retrieving line from text

I am writing a code that read a text file, that is made of around 100 different examples of the following page: // PWY = 123 . . . . MOLWEI - ((:LEFT-PRIM CPD-1001) (:RIGHT-PRIM CPD-1002)) // And I want to extract the PWY (first line of the page),...
more »

2017-10-21 06:10 (1) Answers

Swift 3 / Xcode text alignment to imageview

I need your help for a (maybe?) stupid question. I'm new to Swift and I still have to understand a couple of things in Xcode. One of these is TEXT ALIGNMENT. I want to align a label to an imageview just like the picture I have attached. Can someone...
more »

2017-08-19 16:08 (2) Answers

How to wrap text in a rectangle in R

I am performing a rather complex and long statistical analysis of a dataset and one of the final outputs are groups of 8 colored squares with a centered label. Both color and label depend on the analysis results, many of them are produced and they mu...
more »

2017-08-12 05:08 (2) Answers

Set background image to text too?

I am trying to write on the sand, and was able to simulate a sand effect. However, this makes the text look so fake in contrast with the sand (when you write in the sand on a beach, you usually use a stick, so the background of the text is actually t...
more »

2017-08-09 15:08 (5) Answers

Saving a txt file using Pandas

I used pandas to replace the blank column spaces with nan in a txt file named A_B_1. How can I save this txt file as it is (blank spaces replaced with nan) to some path using pandas? I used the following code to read from it: import pandas as pd dat...
more »

2017-08-06 06:08 (1) Answers

Writing a list to a text file using Python

I have a list in this format, some_list=['com', 'kill', 'someone', 'get', 'caught'] And i need this to be written on to a text file as, com kill someone get caught Basically i need spaces between words. However, i have tried methods such as, for...
more »

2017-07-27 04:07 (3) Answers