id stringlengths 5 11 | text stringlengths 0 146k | title stringclasses 1
value |
|---|---|---|
doc_23000 | MongoError: Authentication failed.
at Function.MongoError.create (C:\Users\abdessamad\ingeweb_workspace\roll-lo
opback\node_modules\mongodb-core\lib\error.js:31:11)
at C:\Users\abdessamad\ingeweb_workspace\roll-loopback\node_modules\mongodb-
core\lib\connection\pool.js:483:72
at authenticateStragglers (C:\U... | |
doc_23001 | function a(el) {
document.getElementById("myNav").style.height = "100%";
}
function b(el) {
document.getElementById("myNav").style.height = "0%";
}
$("menubutton").click(function() {
return (this.tog = !this.tog) ? a() : b();
});
It's supposed to open/close the navigation but it does nothing at all :/
A: Th... | |
doc_23002 | CALCULATE(
SUM(Invoices[Customer Invoice]),
FILTER(
Invoices,
Invoices[Invoice Status]=0
),
FILTER(
Invoices,
Invoices[Customer Invoice]>1
)
)
*
*Filter = Invoice Status 0 means “UNPAID”
*Filter = Customer Invoice >1 Any invoice greater that $1.00 dollars, so m... | |
doc_23003 | Actually I have managed to get it working, I was able to add the accordion, but if I copy and paste the code, it is adding it to the accordion itself. So if I move it up it is moving the other as well, but I want just one.
I want this code copied, but want then be able to control them separately.
As you can see in the... | |
doc_23004 | List<String> tagStrings = List();
List<TagCategory> categories = List();
source.forEach(
(content) {
if (content.tagCategories != null) {
categories.addAll(content.tagCategories);
}
},
);
categories = categories.toSet().toList(); // remove duplicates
categories.forE... | |
doc_23005 | The code is here:
img {
width: 100%;
transform: scale(1.1);
@include transition_all(0.3s);
}
img:hover {
filter: blur(10px);
-webkit-filter: blur(10px);
-moz-filter: blur(10px);
-o-filter: blur(10px);
-ms-filter: blur(10px);
}
<a href="assets/images/portfolio/1.jpg" class="portfolio-it... | |
doc_23006 | PHP Fatal error: Uncaught HTTP_Request2_ConnectionException: Unable to connect to tls://bingapis.azure-api.net:443. Error: stream_socket_client(): unable to connect to tls://bingapis.azure-api.net:443 (Unknown error)
stream_socket_client(): Failed to enable crypto
stream_socket_client(): SSL operation failed with code... | |
doc_23007 | No jQuery, just pure JS, and a cross-browser solution (IE7 included)
A: clientHeight - give the height including padding but without the
borders.
getComputedStyle - a way to tap into the CSS rules of an element and retrieve a property's value (padding)
Using parseInt is a way to strip away units and leave only the n... | |
doc_23008 | <div data-backbtn="false" data-role="header" data-theme="b">
<div>
<h1>Test Project</h1>
<span>Title</span>
<span style="float:right">
<select>
<option selected="selected">Rachel Green</option>
<option>Chandler Bing</option>
<option>Monica Gellar</option>
... | |
doc_23009 | I Found the export section function in the Live builder.
Click on export , it tells you the section is exported but where to?
No into clipboard anyway. How does this option work?
export option image
exported showed image
A: It exports it to memory, not the clipboard. I tried this yesterday but within the same site. It... | |
doc_23010 | #testcpu.py
from cpuinfo import get_cpu_info
print(get_cpu_info())
The weird thing about it is that it's perfecty working in developement mode (python code)
When compiling i am using this parameters : pyinstaller --noconfirm --onedir --console "C:/Users/Mouad/Desktop/Payloads/cookies-grabber/testcpu.py"
Does someon... | |
doc_23011 |
A: First uninstall PIL than install Pillow
its a PIL's clone which works on python 3.x.
from PIL import Image
img = Image.open("test1.jpg") #jpg, png, etc.
pix = img.load()
print img.size #Get the width and height of the image for iterating over
print pix[15,15] #Get the RGBA Value of the a pixel of an image
pix[15, 1... | |
doc_23012 | but I'm not sure because I think there is a chance that because when we perform this command, "Base* base = new A()", I suspect slicing might me happening, so I would like your help on the print output.
At the end when I delete base, the print from that one should be as ordered I think:
It would only call the destructo... | |
doc_23013 | con.Open();
cmd = new MySqlCommand("SELECT (invoiceNo) as [Invoice No],(invDate) as [inv Date],
(sales.CustomerID) as [Customer ID],(CustomerName) as [Customer Name],
(GrandTotal) as [Grand Total],(TotalPayment) as [Total Payment],(PaymentChange) as
[Payment Change] from sales,customer where sales.CustomerID=customer.C... | |
doc_23014 | I have added the project to a solution as detailed here: (See docs). I have followed all of the instructions but am still getting "unresolved external symbol" errors when trying to use the class.
Can anyone help?
Specifics:
The class library in question is an SQL access library. Inside there are two files, sql.h and sq... | |
doc_23015 | For example in the several XSLT files we work with an entry may select on
nodeX/nodeY/nodeNeeded;
OR
../nodeNeeded;
OR
select nodeX then select nodeY then select nodeNeeded;
and so forth.
What we would like to do is to be able to parse out that XSLT doc and get a data structure of sorts that explicitly tell us that t... | |
doc_23016 | To do this I produced a lattice xyplot:
mygraph<-xyplot(growth~age|AnimalID, layout=c(2,2))
Because AnimalID has so many values the multi-panel plot is useless if I don't restrict the number of panels per page. The problem is that I cannot navigate through the pages with pageup and pagedown. The graphic window runs th... | |
doc_23017 | The crash report I get from test flight is
> Incident Identifier: 64F2AB18-E3F4-48A2-A865-CCAB2FF2BF12
Beta Identifier: 5E64ED31-B493-4406-94E5-E4233A84D2A6
Hardware Model: iPhone6,2
Process: anAppName [2491]
Path: /private/var/mobile/Containers/Bundle/Application/0C971485-F0ED-4CA0-... | |
doc_23018 | ||
doc_23019 | inline static int counter{1};
Now VS underlines it red and tells me that 'inline' can only be used for functions, although it should be possible since C++17.
Is there a way to still use it in VS or do I have to work around?
A: As of Nov. 15, 2017, inline variables are scheduled to be supported in Visual Studio 15.5. ... | |
doc_23020 | vertices_on_tetrahedron = {
0: [0, 1, 3, 7],
1: [0, 1, 5, 7],
2: [0, 4, 5, 7],
3: [0, 2, 3, 7],
4: [0, 4, 6, 7],
5: [0, 2, 6, 7],
}
data_on_tetrahedron = {
0: [78, 79, 80],
1: [111, 112, 113],
2: [144, 145, 146],
3: [45, 46, 47],
4: [177, 178, 179],
5: [201, 202, 203],
}
... | |
doc_23021 | Thats what I want:
char buffer[LONG_SIZE]; // what should LONG_SIZE be to fit any long, not depending on the OS?
sprintf(buffer, "%ld", some_long);
I need to use C not C++. Is there any solution to this, if I don't want to use magic-numbers?
A:
if I don't want to use magic-numbers
Using snprintf() with a 0-length b... | |
doc_23022 | <div id="row">
<div>fluffy</div>
<div>soft</div>
<div>green</div>
<div>mittens</div>
<div>coarse</div>
<div>fire</div>
<div>whiskers</div>
<div>none</div>
<div>grey</div>
</div>
However my output is currently this:
<div id="row">
<div>fluffy, soft, green</div>
<div>mittens, coarse, fire</div>
<d... | |
doc_23023 | <meta name="description" content="Model AB-1234. Model description here" />
I would like to match the model number only (AB-1234). I have tried several things and I will included 2 below:
preg_match('/<meta name="description" content="\bmodel\b(.*)"/i', $html, $model);
This one returns AB-1234. Model description here... | |
doc_23024 | (function($) {
function ViewModel() {
var self = this;
self.chosenRoute = ko.observable();
self.viewData = ko.observable();
self.pages = [
{'title': 'Home', 'route': '#/'},
{'title': 'Job Candidates', 'route': '#/job-candidates'},
...
];
... | |
doc_23025 |
A: Can you please describe to us the error message of the failure. Source Control data is usually linearly dependent on it's previous changesets. Owing to that behavior, if any particular changeset fails, the subsequent changeset migration is halted.
Hence, unless that failure is fixed you wont be able to move on.
A:... | |
doc_23026 | processed = 'processed',
inProgress = 'inProgress',
}
type StateType = StateEnum.processed | StateEnum.inProgress
Earlier I was creating type from enum list as you can see above , but each time when something change in my enum ( add some new key) , I have to go to my type and add it , and this is anoying . I've s... | |
doc_23027 | The picker in this example is just a wrapper for the default picker and conforms to Equatable (this is a must to prevent the view from updating when properties doesn't change in the real world view) and categories:
enum Category: Int, Identifiable, CaseIterable {
case one, two, three
var id: Self { self }
... | |
doc_23028 | <asp:UpdatePanel ID="updatepanel" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Panel ID="panel" runat="server">
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
We then dynamically load a custom control using LoadControl() into the Panel. To complicate m... | |
doc_23029 | I've seen this post: cv2 Multiple contours on the same object but I can't use dilate function because it makes noise horrible.
How can I mark each vehicle with a single rectangle until they leave the frame?
multiple frames screenshot:
difference between background and current frame:
My code is here:
import cv2
import... | |
doc_23030 | .pipe(react())
.pipe(browserify())
But the gulp file below uses transform and passes in "reactify". It's not even part of require'd modules. Where did that come from? Was it part of gulp-react or Browserify module?
Would Gulp auto-install a missing module if it's not available like Leiningen?
Another question is: I ... | |
doc_23031 | I've written the code and have the repo hosted via GitLab and available for cloning within my organization.
However my collaborators have been unable to get the code to run and I've gone over a session via Teams to see whether they were cloning the repo correctly, had the correct input file and whether they were enteri... | |
doc_23032 |
<div id="contact-form-section">
<div class="status alert alert-success" style="display: none"></div>
<form id="contact-form" class="contact" name="contact-form" method="post" action="send-mail.php">
<div class="form-group">
... | |
doc_23033 | Basic Calculator Using 2 methods
1 is the main method
2 is the operator
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
int num1;
int num2; //Variables for equation
string op;
//int Answer;
... | |
doc_23034 |
*
*provide a data set
*show how to import the data set in the local web service (aka neo4j browser)
*do some queries to show the main features of neo4j
Notes: I tried some tutorials but were not complete or give some failing commands.
Better if a social graph database, better if CSV, but any is ok
Thanks
A: Ch... | |
doc_23035 |
A: Use
@Override
public void setUserVisibleHint(boolean visible) {
super.setUserVisibleHint(visible);
if (visible && isResumed()) {
// Your code
}
}
A: Use a Listener on your ViewPager in the Activity like below:
viewPager.setOnPageChangeListener(new OnPageChangeListener...
and here in the list... | |
doc_23036 | #include<iostream>
using namespace std;
class Thing {
public:
int data;
Thing(int data) : data(data) { cout << "making a thing" << endl; }
~Thing() { cout << "destroying a thing" << endl; }
};
int main() {
Thing t = Thing(-1);
for (int i = 0; i < 4; i++) {
t = Thing(i); // this is both cre... | |
doc_23037 | ps h -eo pid:1,uid,command | grep -v "screen" | grep java | grep -v "bash" | grep -v "grep"
Could it be reduced?
A: Is this fit your needs ?
ps h -eo pid:1,uid,command | grep -Ev "screen|bash" | grep '[j]ava'
explanations
*
*[j]ava is a known regex trick to avoid using grep -v 'grep'
| |
doc_23038 | var MODULE = (function(window){
var myPublicStuff = {};
myPublicStuff.myPublicMethod = function(e){
return e;
};
return myPublicStuff;
})(window); //edit: forgot to put I have this
This works: (edited for clarity)
v = document.getElementById('some-element'); //works as expected
MODULE.myPub... | |
doc_23039 | currently, i deployed the directory as an application in IIS and added the following web config:
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<authentication mode="Forms">
<forms loginUrl="logon.aspx" name=".ASPXFORMSAUTH" protection="All" de... | |
doc_23040 | I'm still unsure what's the best for my needs:
*
*wide support for browsers and os: at least: chrome, firefox, android default, safari
*I don't need real-time acquisition. The user must press a button to take a picture, requesting the system camera application
There are at least three solutions :
*
*<input ty... | |
doc_23041 | /* Queues */
.state('queues', {
abstract: true,
parent: 'app',
url: '/queues',
template: '<ui-view></ui-view>'
})
.state('queues.user', {
url: '/user/{userId:int}',
component: 'userQueue'
})
... | |
doc_23042 | Here is the code that is executed every button press;
public static void addBall() throws InterruptedException {
Ball.balls[BallListener.balls] = new Ball();
ballPanel.add(Ball.balls[BallListener.balls]);
Runnable r = new BallRunnable();
Thread t1 = new Thread(r);
t1.start();
try {
t1.joi... | |
doc_23043 |
A: I found the solution :-)
``// import....
import * as SplashScreen from 'expo-splash-screen';
//.......
//.......function
const [appIsReady, setAppIsReady] = useState(false);
//.......
useEffect(()=>{
async function prepare() {
try {
await SplashScreen.prev... | |
doc_23044 | m4_minidx = df['fitted.values'].rolling(window = 396).min() == df['fitted.values']
m4_min = df[m4_minidx]
print(df.shape)
print(m4_min.shape)
output:
(6169, 5)
(258, 5)
A: The problem is the rolling window, you get a local minimum every time. Here's a sketch to explain:
The black lines are the moving window, while... | |
doc_23045 | It correctly works when onload function runs but not when myFunction runs.
JS file with defer attribute inside <head> :
let cont = document.getElementsByClassName("container")[0];
let isit = localStorage.getItem("isit");
let button = document.getElementById("nawi");
window.onload = function () {
if (isit == null) ... | |
doc_23046 |
A: It's very simple and short.
The pgadmin in PostgreSQL is a data administration tool. It serves the purpose of retrieving, developing, testing, and maintaining databases.
A: From their website:
pgAdmin is the most popular and feature rich Open Source
administration and development platform for PostgreSQL
From the... | |
doc_23047 | What is the difference between just using two AVAudioPlayer to play the music files concurrently versus using Apple's example class, MixerHost, to play the files?
The class MixerHost can be found on here:
http://developer.apple.com/library/ios/#samplecode/MixerHost/Listings/Classes_MixerHostAudio_h.html
A: MixerHost g... | |
doc_23048 | Scripts under head tag:
//for datepicker
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script src="script.js"></script>
//for slider/banner
<li... | |
doc_23049 | I got an activity that is binding a service, and is frequent that the user go in and out of that activity.
The problem comes when the user goes out first time of the activity this one unBinds the service and when is going in again, do not binds again.
The activity calls the binding service this way:
@Override
protecte... | |
doc_23050 |
Anyone can tell me what it does and how can I remove it?
A: Those are bookmarks.
More info here:
http://msdn.microsoft.com/en-us/library/xc3ed5eh.aspx
and here:
http://msmvps.com/blogs/vipul/archive/2006/01/20/Visual-Studio-Bookmarks.aspx
Excerpt from the documentation:
The Bookmarks window is a handy companion t... | |
doc_23051 |
*
*I can't load pvr.ccz file with texture encoding format PVRTCv2 and PVRTCv4. But, I can load it with RGBA 8888, RGBA 4444, etc. I've checked cocos2dx source. It just doesn't allow Android to load with those two encoding format. I would like to know if there is any work-around to load for those two encoding format ... | |
doc_23052 | @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
System.out.println("onCreate()");
try {
initSocket(); //connect to server
} catch (IOException e) {
e.printStackTrace();
}
new Thread(new AudioRecordThread()).start();
}
The pr... | |
doc_23053 | i need to save their 3rd party network Ids,emails , name in my database in user table. So that if that particular user come and provide similar user name and his authentication become successful then i can give him access to use the user pages on my site. ( I am not interested in saving password for 3rd party networks... | |
doc_23054 | function insertText(params: string) {
var editor = vscode.window.activeTextEditor;
editor.edit(edit =>
editor.selections.forEach(selection => {
edit.delete(selection);
edit.insert(selection.start, params);
})
);
}
BUT, what I need my extension to be able to enter text in areas like:
*
*co... | |
doc_23055 | In VC++ 2005 I have 2 projects. Firstly, a MFC DLL project (not an extension DLL) which has a simple dialog:
TestDlg.h
#pragma once
#include "afxwin.h"
#include "resource.h"
// CTestDlg dialog
namespace Dialogs
{
class __declspec(dllexport) CTestDlg : public CDialog
{
DECLARE_DYNAMIC(CTestDlg )
pub... | |
doc_23056 | For example to convert a Python-list lst to an int32 continuous memory I'm aware of two possibilities:
a=array.array('i', lst)
and
a=array.array('i');
a.fromlist(lst)
They are however both slower than the following cython-version:
%%cython
import array
from cpython cimport array
def array_from_list_iter(lst):
c... | |
doc_23057 | I Googled about this a bit but didn't find too much useful information.
A: Look at the ZODB providing native object persistence:
http://www.zodb.org/
| |
doc_23058 | Input :
a = [
{'class': 'A', 'number': '1'},
{'class': 'B', 'number': '2'},
{'class': 'C', 'number': '3'},
]
Expected Output:
b = [
'A.1',
'B.2',
'C.3'
]
Is there 1 line statement for this?
A: Sure:
b = [f"{k['class']}.{k['number']}" for k in a]
Or, if you like,
b = ['.'.join(k['class'],k[... | |
doc_23059 | The current script that is being run:
$( ".zipCode" ).each(function( intIndex ){
var zipCodeID = $(this).attr('id');
console.log('http://www.uscounties.org/cffiles_web/counties/zip_res.cfm?zip='+zipCodeID);
$.ajax({
url: 'http://www.uscounties.org/cffiles_web/counties/zip_res.cfm?zip='+zipCodeID,
type: 'GET',
... | |
doc_23060 |
A: This is not a branch, just a subdirectory in the git repository. You can download the entire repository as a zip by going on https://github.com/antlr/grammars-v4 and then just discard the files you don't need.
And in the case of projects that do have branches, you can easily switch to the other branch using the bra... | |
doc_23061 | <HTML><HEAD><TITLE></TITLE></HEAD><BODY><STRONG><A name=SN>AARTS</A>, <A name=GN>Michelle Marie</A>, </STRONG><A name=HO>B.Sc.</A>, <A name=HO>M.Sc.</A>, <A name=HO>Ph.D.</A>; <A name=OC>scientist, professor</A>; b. <A name=BC>St. Marys</A>, Ont. <A name=BY>1970</A>; <A name=PA>d. Wm. and H. Aarts</A>; <A name=ED>e. Un... | |
doc_23062 |
type mismatch; found : scala.concurrent.Future[Any] required:
scala.concurrent.Future[play.api.mvc.Result]
I'm returning Ok() which is a Result object, so why is the compiler complaining?
class Test2 extends Controller {
def test2 = Action.async { request =>
val future = Future { 2 }
print... | |
doc_23063 | <li class="swiper-slide item telef" data-id="1" style="width:250px; height:10px;">
<div class="phone" style="display:none;">
<a href="http://xxx.pl/pl/xxxx/prestizowy/_/apple_iphone_7_256_gb">
<img src="<?= $basePath ?>images/iphone7_sl.png"
style="width:130px; height:250px; margin-left:auto;
... | |
doc_23064 | For example,
#include <Eigen/Dense>
using Eigen::VectorXd;
#include <memory>
using std::unique_ptr;
class Cl
{
public:
unique_ptr<VectorXd> v;
Cl(const int n);
~Cl(void);
}
Cl::Cl(const int n)
{
auto v= unique_ptr<VectorXd>(new VectorXd(n));
}
Cl::~Cl(void)
{
v= nullptr;
}
main(void)
{
Cl cl(... | |
doc_23065 | 2000 0.000
2001 -0.174
2002 -0.131
2003 0.127
2004 0.566
2005 0.723
2006 0.675
2007 1.171
2008 2.338
2009 2.625
2010 3.746
2011 3.612
2012 4.729
2013 8.156
2014 16.330
2015 27.584
What is the most effective way to estimate the linear trend for this series and then calculate the gap between the trend li... | |
doc_23066 | [0-1500)--blue;
[1500-3000) -- green;
[3000-8000] -- red;
I followed this post: How to create a custom colormap programmatically?
but don't know how to apply to my heat map (please see the image below)
Code for generating the image:
a = xlsread('data.xlsx', 'A1:A480'); a = reshape(a,16,30); rgb = colormap([1 0 0; 0 1... | |
doc_23067 | Any ideas would be helpful :)
A: If you want to know the file type of a resource that you requested over HTTP you should take a look at the content-type header in the HTTP response. The server returns a MIME type that describes the file type.
You can find a list of common media types here.
Using the content-type heade... | |
doc_23068 | Modal Window:
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form id="editForm">
<div class="modal-header">
<h5 class="modal-title" id="myModalLabel">Edit User: <strong class="fullname"></strong></h5>
<button type="button" class="close" data-dismiss="modal" aria... | |
doc_23069 |
Has anybody been able to find a solution to this? It seems that this problem has been around since at least Flash Pro CS4.
A: I know it's a bit late, however in flash CS6 you can go to Preferences -> Text
and uncheck "Show for missing fonts"
Just figured others might like to know.
| |
doc_23070 | HTML:
<label class="profile-image-container btn-act-green" id="fileupload" data-url="{% url 'festival_registration_file_upload' uidb36 token %}" for="id_image_upload">
<input type="file" name="image_upload[image_upload]" id="id_image_upload" accept="image/*" multiple>
</label>
js:
$(this).find('input[type="fil... | |
doc_23071 | The app is calling a SOAP WebService and must pass a client certificate. The app is sharing a server with a number of other apps, so I am attempting to use custom key managers to make the connection. The code below works in newer versions of Java, but the 'setDefault' was introduced in 1.6. It is causing a cannot fi... | |
doc_23072 |
The "Show time spent from last post of work item" works if you use WebStorm's "Post Time" button, but I did a commit last night and logged the work in the commit message (#time 2h).
How can I just reset the timer?
| |
doc_23073 | <?php
mysql_query('SELECT NOW()');
?>
When I run this script (nginx/php-fpm) through browsers such as Chrome or Opera in the mysql logfile there will be two records instead of one
141127 17:07:48 67 Connect root@localhost on cms
67 Query SELECT NOW()
67 Quit
68 Connect root@local... | |
doc_23074 | Session["variable"] = "something";
That works fine and persists to the end of the test. Everything created for in my wrapper does not. Since the Session is somehow persisting, my theory is just that I need to figure out where it is and then put it in my catch. I don't know how to go about that though.
public class... | |
doc_23075 | If I execute this everything works as expected:
Dim lst = Enumerable.Range(1, 10)
Dim lstOrdered = lst.OrderBy(Function(i) i Mod 2)
Dim lst2 = lstOrdered.ThenBy(Function(i) -i)
However, the following raises a System.MissingMemberException
Dim lst = Enumerable.Range(1, 10)
Dim lstOrdered
lstOrdered = lst.Or... | |
doc_23076 | path and the NSMutableArray to store the paths are instance variables declared like:
@interface MyCustomView : UIView {
UIBezierPath *path;
NSMutableArray *paths; // this is initialized in the init method
}
The path is initialized in touchesBegan as follows:
- (void)touchesBegan:(NSSet *)touches withEven... | |
doc_23077 | The scenario is i have a list of bytestream and i want to convert that into file in the client side.
I get the list of bytestream from the server using rpc.
Is there alternative in converting this bytestreamto file without using servelets?
here's my code at the client side
private void convertImageToFolder(String desig... | |
doc_23078 | But for private inheritance the client can not cast a derived class pointer to a base class pointer (as private inheritance does not model is-a relationship), so delete is always used on derived class's pointer, and the compiler should be able to see that there is also a base class and to call its destructor.
I made th... | |
doc_23079 | But everytime I have this error
{Response: responseCode: 403, graphObject: null, error: {HttpStatus: 403, errorCode: 200, errorType: OAuthException, errorMessage: (#200) Requires extended permission: publish_actions}, isFromCache:false}
I am do sure that I put publish_actions permission in my permission list.
What I... | |
doc_23080 | So, When a User types inside of the first text box:
<input type="text" placeholder="Your personal message" id="valbox"></input>
<input type="submit" name="design1" id="butval" value="Choose Design"></input>
Then they click the 'choose design' button, and what they typed in, gets passed to another
input text box on the... | |
doc_23081 | submitbtn.onclick = () => {
alert("couple submit clicked!");
info.husband = document.getElementById("hname_inp").value;
info.wife = document.getElementById("wname_inp").value;
modal.style.display = 'none';
alert(info.husband + ' ' + info.wife)
};
return (
<li>
<div onClick={handleClick... | |
doc_23082 | Somehow my paste function is not working. Any hint?
Stream.Range("F103:J103").Copy General.Cells(General.Range("F2:J2").PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:=_False, Transpose:=False)
A: Sheets("Stream").Range("F103:J103").Copy
Sheets("General").Range("F2").PasteSpecial Paste:=xlPasteVal... | |
doc_23083 | So far it is working flawlessly for messaging and calls. We are able to customise colours, icons etc except their chat bubbles. Their chat bubbles needs some refinement so we want to replace them with our own for incoming and outgoing messages. However the documentation or sample code does not speak much about it.
Any... | |
doc_23084 | When using a single texture, it all works fine, but I'm having a hard time making 2D texture arrays to work.
Here's the object:
struct Vertex3f { float x, y, z; };
struct ObjectVertexfMT { // MT stands for Multi Texture
struct Vertex3f coord;
struct Vertex3f texcoord;
struct Vertex3f normal;
};
struct Objec... | |
doc_23085 | *
*I need to make a login page on my website with the html and JavaScript.
*This is what I have tried so far
</div>
<ul class="login-list">
<li><h2>Member login</h2></li>
<li><input type="text" name="Username" placeholder="Username"></li>
<li><input type="password" name="Password" ... | |
doc_23086 | I built and ran the complete project without any modifications. In the app, if I:
*
*Toggle "Show Favorites Only" on in the list view
*Tap into the "Turtle Rock" or "Chilkoot Trail" detail view
*In the detail view, I toggle the favorite button (a yellow star icon)
The screen will jump back to the list view by it... | |
doc_23087 | Here is my code:
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include android:id="@+id/... | |
doc_23088 | I'm splitting the Maps on Trellis by a Date column so the custom expression looks like this currently:
< BinByDateTime([Approved Date],"Year.Month",1)>
and the problem is I don't know how to incorporate the AllPrevious function. If there is another way to make each map trellis add up the previous maps' data.
I'd real... | |
doc_23089 | C3861: _Copy_impl, identifier not found
How to solve it?
I repaired visual studio, but still i get the same problem. I don't want to uninstall and install it again.
A:
I got a pastebin, made again that file and put it in
What pastebin? You can't just randomly reinvent one file from a standard library implementation.... | |
doc_23090 | I am doing about schedule of laravel. I setup as following:
Case 1: everyMinute(): php artisan schedule:run => Running scheduled command:
"D:\Program\Xampp\php\php.exe" "artisan" demo:cron > "NUL" 2>&1
Case 2: everyFiveMinutes() or everyMinute()->daily(): php artisan schedule:run => No scheduled commands are ready to r... | |
doc_23091 | It need marshaling.
I prepare such library for test,
MarshalTest.h
typedef struct
{
float x,y,z;
} Marshal3D;
@interface MarshalTest : NSObject
-(id)initWithMarshal:(Marshal3D *)marshal;
-(id)initWithMarshals:(Marshal3D *)marshals num:(int)numCoord;
-(void)addMarshal:(Marshal3D *)marshal;
-(void)addMarshals:(Ma... | |
doc_23092 |
A: You can save user's name in SharedPreferences, display it after and every time user launches your app. https://developer.android.com/guide/topics/data/data-storage.html
A: You can use a database to remember user details. See SQLiteDatabase. Within your launcher activity you can query the database and display the n... | |
doc_23093 | <%
Dim body
body = "<h3>Arabian Test Adventures Tours & Safaris</h3>"
body = body & "<table class=""dataTable"" cellspacing=""0"" cellpadding=""0"" width=""100%"">"
body = body & "<tbody>"
body = body & "<tr>"
body = body & "<th width=""40%"">Tour</th>"
body = body &... | |
doc_23094 |
A: Haven't tested it, but how about ...
./eclipse -consoleLog 2>&1 | logger
| |
doc_23095 | I start work with Oracle and i need know if this solution can be apply in Oracle query.
SQL VERSION
Resource:
select value1, value2, value3 from mytable order by {0} {1}
code:
using (SqlCommand cm = new SqlCommand((contactId == 0 ? String.Format(Resource.SqlScripts.List, **orderByField**, **orderByDirection**)
{
.... | |
doc_23096 |
A: I couldn't use any libraries, so I've ended up using plain HTTP REST requests. For example, I was trying to get a user's name, gender, and user ID, I used this code by manually constructing the URL (where I had token access token variable of the user:
Parse.Cloud.httpRequest({
url: 'https://graph.facebook.com/v2.... | |
doc_23097 | WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(is);
FOSettings foSettings = Docx4J.createFOSettings();
foSettings.setWmlPackage(wordMLPackage);
Docx4J.toFO(foSettings, baos, Docx4J.FLAG_EXPORT_PREFER_XSL);
//Docx4J.toPDF(wordMLPackage, baos);
Throws this error:
java.lang.NoSuchMethodEx... | |
doc_23098 | What will be the problem? Is there anything mistake in my update query or how to optimize it or is there any alternative methods?
My update query is below
UPDATE all_english_words SET viewcount=viewcount+1 WHERE id=8878151
| |
doc_23099 | I'm trying to do that in this way:
SBAppSliderController* switcherController = MSHookIvar<SBAppSliderController*>(self, "_switcherController");
[_switcherController _quitAppAtIndex:0];
and then I make a for cycle in this way
- (void)_quitAppAtIndex:(unsigned int)arg1 {
if (arg1 == 0) {
for (NSString *appID i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.