text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
#include <stdinc.h> stream stropen(string filename, string mode) void strclose(stream str) void strdelete(stream str, bool scratch) string strname(stream str) bool strseek(stream str) Descriptionstropen() opens a file by filename and associates a stream with it, much like fopen(3) does. It has a few additional features... | http://bima.astro.umd.edu/nemo/man_html/strdelete.3.html | crawl-001 | en | refinedweb |
2.3.Mapping JPAQL/HQL queries. Mapping JPAQL/HQL queries
You can map EJBQL/HQL queries using annotations.
@NamedQuery and
@NamedQueries can be defined at the class level or in a JPA XML file. However their definitions are global to the session factory/entity manager factory scope. A named query is defined by its name a... | http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/hibernate/Annotations_Reference_Guide/Mapping_Queries-Mapping_JPAQLHQL_queries.html | crawl-001 | en | refinedweb |
2.4.5. Single Association related annotations.
Foreign key constraints, while generated by Hibernate, have a fairly unreadable name. You can override the constraint name by use
@ForeignKey.
@Entity public class Child { ... @ManyToOne @ForeignKey(name="FK_PARENT") public Parent getParent() { ... } ... } alter table Chil... | http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/hibernate/Annotations_Reference_Guide/Hibernate_Annotation_Extensions-Single_Association_related_annotations.html | crawl-001 | en | refinedweb |
5.4.1. Built-in bridges
Hibernate Search comes bundled with a set of built-in bridges between a Java property type and its full text representation.
Null elements are not indexed (Lucene does not support null elements and it does not make much sense either)
null elements are not indexed. Lucene does not support null el... | http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/hibernate/Annotations_Reference_Guide/PropertyField_Bridge-Built_in_bridges.html | crawl-001 | en | refinedweb |
pxdom is a W3C DOM Level 3 Core/XML/Load/Save implementation with Python and OMG (_get/_set) bindings. All features in the November 2003 Candidate Recommendations are supported, with the following exceptions:
Additionally, Unicode encodings are only supported on Python 1.6 and later, and Unicode character normalisation... | http://www.doxdesk.com/file/software/py/v/pxdom-0.9.html | crawl-001 | en | refinedweb |
java.lang.NOSuchMethodError: main Exception in thread “main”
There are lot of errors we have to face while programming. today we are going to know about this error mentioned below and also we will come to know that how to solve this kind of error
Reason behind the java.lang.NOSuchMethodError: main Exception in thread “... | https://www.codespeedy.com/java-lang-nosuchmethoderror-main-exception-in-thread-main/ | CC-MAIN-2018-51 | en | refinedweb |
Hi, i’m trying to use $http with .map() later … and then then console output .map() is not a function.
Project is a ionic v1.x proyect developed in ionic creator.
I tried to use:
import { Observable } from ‘rxjs/Rx’;
import ‘rxjs/add/operator/map’;
in my services.js but doesn’t work. Does anyone found a solution for th... | https://forum.ionicframework.com/t/map-is-not-a-function/93977 | CC-MAIN-2018-51 | en | refinedweb |
Creating windows with AIR is an extremely simple process. There are two different types of AIR application windows. The NativeWindow is a lightweight window class that falls under the flash class path and can only add children that are under the flash class path. The mx:Window component is a full window component that ... | https://www.oreilly.com/library/view/beginning-adobe-airtm/9780470229040/9780470229040_creating_windows.html | CC-MAIN-2018-51 | en | refinedweb |
Java Garbage Collection
I was trying to find the best information on java garbage collection and why java does not support destructors. Almost read 100 of blogs and articles on java garbage collector and destructors method in java. I have found to the point answer but I was looking for the process and was looking for t... | https://www.codespeedy.com/java-garbage-collection/ | CC-MAIN-2018-51 | en | refinedweb |
The basic abstraction for the target C++ ABI. More...
#include "clang/Basic/TargetCXXABI.h"
The basic abstraction for the target C++ ABI.
Definition at line 24 of file TargetCXXABI.h.
The basic C++ ABI kind.
Definition at line 27 of file TargetCXXABI.h.
When is record layout allowed to allocate objects in the tail padd... | https://clang.llvm.org/doxygen/classclang_1_1TargetCXXABI.html | CC-MAIN-2018-51 | en | refinedweb |
Implements Graded reverse lexicographic order. More...
#include <drake/common/symbolic_monomial_util.h>
Implements Graded reverse lexicographic order.
We first compare the total degree of the monomial; if there is a tie, then we use the lexicographical order as the tie breaker, but a monomial with higher order in lexic... | https://drake.mit.edu/doxygen_cxx/structdrake_1_1symbolic_1_1_graded_reverse_lex_order.html | CC-MAIN-2018-51 | en | refinedweb |
In this article, I intend to create a
GraphSheet control in .NET, using GDI+. It's a plain simple control using all available features of the
Graphics object. We create the
GraphSheet control as a 'Windows User Control' project. More on the control and its usage in 'Why? When? How?' below...
The code is self explanator... | http://www.codeproject.com/KB/GDI-plus/graphsheetcontrol.aspx | crawl-002 | en | refinedweb |
This is the third and final part in my series of articles about my .NET State Machine Toolkit. In Part I, I introduced the classes that make up the toolkit and demonstrated how to create a simple, flat state machine. In Part II, I discussed some of the advanced features of the toolkit and demonstrated how to create a h... | http://www.codeproject.com/KB/cs/statemachinetoolkitprtiii.aspx | crawl-002 | en | refinedweb |
This is part of a larger project on speech recognition we developed at ORT Braude college. The aim of the project is to activate programs on your desktop or panel by voice.
We planned to make some common tasks that every user does on his/her computer (opening/ closing programs, editing texts, calculating) possible not ... | http://www.codeproject.com/KB/audio-video/tambiSR.aspx | crawl-002 | en | refinedweb |
A four line algorithm in MC++ for converting a decimal value to three separate pieces: units, numerator, denominator. Their results are suitable to format a string.
The basic formula is to divide the right side of the decimal value by the decimal equivalent of the fractional measure and round to an integer. This become... | http://www.codeproject.com/KB/mcpp/DecimalToFraction.aspx | crawl-002 | en | refinedweb |
Vol. 12, Issue 5, 1189-1198, May 2001
Department of Biochemistry, Hebrew
University-Hadassah Medical School, Jerusalem 91120, Israel;
Department of Biological Sciences, University of
Alberta, Edmonton, Alberta, Canada T6G 2E9; and §Institut
für Physiologische Chemie, der Universität München,
80336 München, Germany
Tom4... | http://www.molbiolcell.org/cgi/content/full/12/5/1189 | crawl-002 | en | refinedweb |
A common need for Windows forms is to remember the last position, size and state of the form. One way to do this is to call a function when your form loads and closes. I decided to do it the Object Oriented way. If your form inherits this class, it will automatically load and save the the form settings; Left, Top, Heig... | http://www.codeproject.com/KB/cs/persistentform_class.aspx | crawl-002 | en | refinedweb |
This control, we can eliminate the necessity of controlling logon through IIS, and enable it through our code. This opens up a considerable area of control through code. We can hence have a control on which user login is requested, and on which domain and all that.
We will discuss the creation of the project and the lo... | http://www.codeproject.com/KB/web-security/ASPdotnet_LoginControl.aspx | crawl-002 | en | refinedweb |
Windows Forms databinding has greatly improved in .NET 2.0. Microsoft has enhanced our object-oriented toolbox by allowing Windows Forms controls to databind to our custom objects' properties. This new functionality is centered around the new
BindingSource component. Although this component takes a lot of the leg-work ... | http://www.codeproject.com/KB/vb/DatabindingReadOnlyProps.aspx | crawl-002 | en | refinedweb |
DataSets in .NET are a powerful tool for manipulating data locally. However, despite their flexibility, they can be time consuming and difficult to use. I am sure I am not alone in wishing many times that I could just "execute some SQL" against a
DataSet and have the result presented in a new
DataSet. As it stands, I h... | http://www.codeproject.com/KB/database/DataSetSQL.aspx | crawl-002 | en | refinedweb |
Imagine the scenario where you have multiple users viewing a page in your web application. You want to have each client page updated automatically when there are changes to the data the page is displaying.
Because of the request/response nature of web applications, we can not simply get our application to communicate d... | http://www.codeproject.com/KB/aspnet/xmlhttpsync.aspx | crawl-002 | en | refinedweb |
Sometimes you'd want to limit your application to a single instance. In Win32
we had the
CreateMutex API function using which we could create a named
mutex and if the call failed, we assume that the application is already running.
Well the .NET SDK gives us the
Mutex class for
inter-thread/inter-process synchronization... | http://www.codeproject.com/KB/mcpp/mcppsingleinst.aspx | crawl-002 | en | refinedweb |
This.
I wanted to be able to save a strongly-typed collection class to an XML file, but because of the way
XmlSerializer works (briefly described later) and the fact that one of the properties being serialized was a base class, I couldn't do this out of the box because I wanted to store not the base class itself but th... | http://www.codeproject.com/KB/XML/xmlserializerforunknown.aspx | crawl-002 | en | refinedweb |
Whenever a new technology comes along, I personally find that the best way to get to grips with its functionality is to try and create something you have done in another language. To this end, this article will describe how to create a custom control in WPF which will raise custom events. The custom control will then b... | http://www.codeproject.com/KB/WPF/WPF_CustomerControl.aspx | crawl-002 | en | refinedweb |
Automated and Dictionary attacks to login is a security threat that every IT is quite aware of. There are many techniques that help address this problem, one of which is the CAPTCHA - an image that contains characters and/or numbers that presumably only humans can read; its value is then entered by the user manually. T... | http://www.codeproject.com/KB/web-security/NoAutoLogin.aspx | crawl-002 | en | refinedweb |
There are tons of articles and sample code on how to do something with ATL. Usually they teach how to only add feature to your component and you have to dig a lot of tutorials in order to build something rich-featured.
In this article, I try to cover how to create COM server, expose it to scripting languages, make it a... | http://www.codeproject.com/KB/atl/BuildingRichComponents.aspx | crawl-002 | en | refinedweb |
The C++ language invites for object oriented programming. The Win32 API is entirely based on the C programming language. Writing software for the Windows platform always requires the use of the Win32 API. Many developers who prefer C++ and object oriented programming would wish to have available appropriate C++ class l... | http://www.codeproject.com/KB/threads/ThreadClass.aspx | crawl-002 | en | refinedweb |
Figure 1. Image of the
HelloCli sample program.
Welcome to Step 7 of our DCOM tutorial. This is the last step!,.
We're currently on Step 7 of this tutorial (the last!), where we put together a little MFC program, called
HelloCli, to test our server. Let's plunge in:
HelloCliClient to Test the Server
As you can see from... | http://www.codeproject.com/KB/COM/hellotutorial7.aspx | crawl-002 | en | refinedweb |
The new .NET technologies, Remoting and Web Services has made life much easier than the days of trying to get DCOM to work. Although with anything that has been made easier there are some details that have been made too easy. In the case of Remoting or calling a web service, the Microsoft .NET Framework includes an aut... | http://www.codeproject.com/KB/cs/datetimeissuexmlser.aspx | crawl-002 | en | refinedweb |
Can you imagine the programming process without the possibility of debugging program code at run-time? It is obvious that such programming may exist, but programming without debugging possibility is too complicated when we are working on big and complex projects. In addition to standard approaches of debugging program ... | http://www.codeproject.com/KB/debug/LogDispatch.aspx | crawl-002 | en | refinedweb |
Recently there was a need to connect to a SSH server from my C# code. I needed to perform a simple task: login to a remote Linux device, execute a command and read the response. I knew there were a number of free Java SSH libraries out there and I hoped to find a free .NET one that will allow me to do just that, but al... | http://www.codeproject.com/KB/IP/sharpssh.aspx | crawl-002 | en | refinedweb |
Re: Decompiler.NET reverse engineers your CLS compliant code
From: Shawn B. (leabre_at_html.com)
Date: 09/24/04
- ]
Date: Fri, 24 Sep 2004 11:28:43 -0700
> > see it as tying to a specific machine. What happens if you go out of
> > business in 2 years?
>
> That won't happen. We're also only charging $500, not 5 million.... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vb/2004-09/4817.html | crawl-002 | en | refinedweb |
David Vriend noted a problem in Example 3-3
of Java I/O,
StreamCopier, as well as several similar examples from that
book. The
copy() method attempts to synchronize on
the input and output streams to "not allow other threads to read from the
input or write to the output while copying is
taking place". Here's the releva... | http://www.cafeaulait.org/questions/06031999.html | crawl-002 | en | refinedweb |
Package::Alias - alias one namespace into another
use Package::Alias Foo => 'main', P => 'Really::Long::Package::Name', 'A::B' => 'C::D', Alias => 'Existing::Namespace';
This module aliases one package name to another. After running the SYNOPSIS code,
@INC and
@Foo::INC reference the same memory.
$Really::Long::Package... | http://search.cpan.org/~joshua/Package-Alias-0.04/Alias.pm | crawl-002 | en | refinedweb |
Win32::FileOp - 0.14.1
Module for file operations with fancy dialog boxes, for moving files to recycle bin, reading and updating INI files and file operations in general.
Unless mentioned otherwise all functions work under WinXP, Win2k, WinNT, WinME and Win9x. Let me know if not.
Version 0.14.1
GetDesktopHandle
GetWind... | http://search.cpan.org/~jenda/Win32-FileOp-0.14.1/FileOp.pm | crawl-002 | en | refinedweb |
QWizard - Display a series of questions, get the answers, and act on the answers.
# #izard's doesn't.
A pseudo-code walk-through of the essential results of the magic() routine above is below. In a CGI script, for example, the magic() routine will be called multiple times (once per screen) but the results will be the s... | http://search.cpan.org/~hardaker/QWizard-3.04/QWizard.pm | crawl-002 | en | refinedweb |
Vol. 11, Issue 6, 2085-2102, June 2000
*Department of Biology, Graduate School of Science, Kyushu
University, Fukuoka 812-8581, Japan;
CREST, Japan Science
and Technology Corporation, Tokyo 170-0013, Japan
Rat cDNA encoding a 372-amino-acid peroxin was isolated, primarily by functional complementation screening, using ... | http://www.molbiolcell.org/cgi/content/full/11/6/2085 | crawl-002 | en | refinedweb |
Xml Serialization Handler
[editor's editor's note: I made another minor change. local-name() is a function, Jef. A function. That's what I get for not having a seamless publishing mechanism for my code straight from VS.NET.]
[editor's note: I made a minor mod to the code below after posting it, changing the xpath to ig... | http://integralpath.blogs.com/thinkingoutloud/2004/07/xml_serializati.html | crawl-002 | en | refinedweb |
Rosetta::Language - Design document of the Rosetta D language
The native command language of a Rosetta DBMS (database management system) / virtual machine is called Rosetta D; this document, Rosetta::Language ("Language"), is the human readable authoritative design document for that language, and for the Rosetta virtua... | http://search.cpan.org/dist/Rosetta/lib/Rosetta/Language.pod | crawl-002 | en | refinedweb |
Re: Finding the Control Panel Applets With Change Icon Dialogue Box
From: David Candy (david_at_mvps.org)
Date: 06/29/04
- Next message: David Candy: "Re: Windows animation speed"
- Previous message: Dave Higton: "Re: address bar"
- In reply to: Chad Harris: "Re: Finding the Control Panel Applets With Change Icon Dialo... | http://www.tech-archive.net/Archive/WinXP/microsoft.public.windowsxp.customize/2004-06/2345.html | crawl-002 | en | refinedweb |
Re: Visual Basic for Autorun?
From: J French (erewhon_at_nowhere.com)
Date: 06/08/04
- ]
Date: Tue, 8 Jun 2004 08:38:16 +0000 (UTC)
On Tue, 8 Jun 2004 16:11:44 +1000, "Michael Culley"
<mculley@NOSPAMoptushome.com.au> wrote:
>"J French" <erewhon@nowhere.com> wrote in message news:40c542bc.78643818@news.btclick.com...
>>... | http://www.tech-archive.net/Archive/VB/microsoft.public.vb.general.discussion/2004-06/1449.html | crawl-002 | en | refinedweb |
Timothy William Bray is a Canadian software developer and entrepreneur. He co-founded Open Text Corporation and Antarctica Systems. Currently, Tim is the Director of Web Technologies at Sun Microsystems.
Early life
Tim was born on June 21, 1955 in Alberta, Canada. He grew up in Beirut, Lebanon and graduated in 1981 wit... | http://www.answers.com/tim%20bray | crawl-002 | en | refinedweb |
Re: SBS R2 Premium - Monitoring & Reports Broken.
- From: Phil E. <PhilE@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Feb 2007 15:24:05 -0800
I should have been a little more clear in my language as far as timelines are
concerned.
It is a fresh install, however the server has been running for about two or
three weeks now... | http://www.tech-archive.net/Archive/Windows/microsoft.public.windows.server.sbs/2007-02/msg02132.html | crawl-002 | en | refinedweb |
SQL Server and .NET Interview questions free download
- From: "Jobs" <jobatyourdoorstep@xxxxxxxxxxx>
- Date: 27 Oct 2006 23:20:54 ?
Reporting Services
Can you explain how can we make a simple report in reporting services?
How do I specify stored procedures in Reporting Services?
What is the architecture for "Reporting ... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.languages.vb/2006-10/msg02574.html | crawl-002 | en | refinedweb |
RE: Windows Client using Generated WS Proxy
From: Tomas (Tomas_at_discussions.microsoft.com)
Date: 09/15/04
- ]
Date: Wed, 15 Sep 2004 06:11:05 -0700
Hi Gravy,
I have just completed a contract where I ran into the situation I just
described.
I was using several class that were to be shared across the presentation and
b... | http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.framework.aspnet.webservices/2004-09/0217.html | crawl-002 | en | refinedweb |
Plastic editor for Asp.Net Mvc ready to betaasp.net, geek, microsoft, mvc, opensource, plastic, programming, tech May 4th, 2008
Anyone out there with Visual Studio 2008 installed is welcome to try out an open source utility I’ve put together. If you have feedback or bug reports those would be greatly appreciated.
It’s ... | http://whereslou.com/2008/05/04/plastic-editor-for-asp-net-mvc-ready-t-beta | crawl-002 | en | refinedweb |
Today we will take a look at Sparks's module for MLlib or its built-in machine learning library Sparks MLlib Guide . KMeans is a popular clustering method. Clustering methods are used when there is no class to be predicted but instances are divided into groups or clusters. The clusters hopefully will represent some mec... | https://blogs.msdn.microsoft.com/bigdatasupport/2015/09/24/a-kmeans-example-for-spark-mllib-on-hdinsight/ | CC-MAIN-2017-30 | en | refinedweb |
Hledger.Utils.UTF8IOCompat
Description
UTF-8 aware string IO functions that will work across multiple platforms and GHC versions. Includes code from Text.Pandoc.UTF8 ((C) 2010 John MacFarlane).
Example usage:
import Prelude hiding (readFile,writeFile,appendFile,getContents,putStr,putStrLn) import UTF8IOCompat (readFile... | https://hackage.haskell.org/package/hledger-lib-0.23.2/docs/Hledger-Utils-UTF8IOCompat.html | CC-MAIN-2017-30 | en | refinedweb |
VISUAL MEDIA ALLIANCE
SUMMER 2017
THE CONTENTS
04 Sights and Sounds of the Conference
08
11
12
Feature: Endangered Species
Expert Column: Strategic Sales
Expert Column: Human Resources
Will production workers become extinct?
Explore Your Sales Commitment Level
Help for the tough issues
03 10 13 14
Member News VMA Event... | https://issuu.com/visualmediaalliance/docs/vma_connected_magazine_summer_2017_ | CC-MAIN-2017-30 | en | refinedweb |
from numpy import * from scipy.linalg import toeplitz import pylab def forward(size): """ returns a toeplitz matrix for forward differences """ r = zeros(size) c = zeros(size) r[0] = -1 r[size-1] = 1 c[1] = 1 return toeplitz(r,c) def backward(size): """ returns a toeplitz matrix for backward differences """ r = zeros(s... | http://glowingpython.blogspot.it/2012_02_01_archive.html | CC-MAIN-2017-30 | en | refinedweb |
LDLREAD(3X) LDLREAD(3X)
NAME
ldlread, ldlinit, ldlitem - manipulate line number entries of a COFF
file function
SYNOPSIS
#include <<stdio.h>>
#include <<filehdr.h>>
#include <<linenum.h>>
#include <<ldfcn.h>>
int ldlread(ldptr, fcnindx, linenum, linent)
LDFILE *ldptr;
long fcnindx;
unsigned short linenum;
LINENO *linen... | http://modman.unixdev.net/?sektion=3&page=ldlread&manpath=SunOS-4.1.3 | CC-MAIN-2017-30 | en | refinedweb |
import java.util.*;17 18 import org.apache.commons.logging.Log;19 import org.apache.commons.logging.LogFactory;20 21 public class TodayDate {22 private static Log log = LogFactory.getLog(TodayDate.class);23 24 private Date date = null; 25 26 public Date getDate() {27 return (new Date());28 }29 30 }
Java API By Example... | http://kickjava.com/src/TodayDate.java.htm | CC-MAIN-2017-30 | en | refinedweb |
.component.ComponentContext;20 import javax.jbi.messaging.MessageExchange;21 import javax.jbi.servicedesc.ServiceEndpoint;22 23 /**24 * A simple selection policy where the first endpoint is chosen.25 *26 * @version $Revision: 426415 $27 */28 public class RandomChoicePolicy implements EndpointChooser {29 30 public Servi... | http://kickjava.com/src/org/apache/servicemix/jbi/resolver/RandomChoicePolicy.java.htm | CC-MAIN-2017-30 | en | refinedweb |
SwapChainPanel SwapChainPanel SwapChainPanel Class
Definition.
public : class SwapChainPanel : Grid, ISwapChainPanel
public class SwapChainPanel : Grid, ISwapChainPanel
Public Class SwapChainPanel Inherits Grid Implements ISwapChainPanel
<SwapChainPanel .../>
- Inheritance
- SwapChainPanelSwapChainPanelSwapChainPanel
-... | https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.SwapChainPanel | CC-MAIN-2017-30 | en | refinedweb |
Support » Programming Orangutans and the 3pi Robot from the Arduino Environment » 5. Arduino Libraries for the Orangutan and 3pi Robot »
5.a. OrangutanAnalog - Analog Input Library
Overview
This library provides a set of methods that can be used to read analog voltage inputs, as well as functions specifically designed ... | https://www.pololu.com/docs/0J17/5.a | CC-MAIN-2017-30 | en | refinedweb |
As I said a couple posts ago, there are other topics I’d like to consider during this attempt at the 180Days challenge. One of them is the idea of Test Driven Development, or in other words, ‘test before you publish’. Getting into a good habit of testing everything before it goes out the door is important for a number ... | https://jasondotstar.com/Day-6-Toying-With-TDD.html | CC-MAIN-2020-29 | en | refinedweb |
NAME
Perform a basic read of the clock.
SYNOPSIS
#include <zircon/syscalls.h> zx_status_t zx_clock_read(zx_handle_t handle, zx_time_t* now);
RIGHTS
handle must be of type ZX_OBJ_TYPE_CLOCK and have ZX_RIGHT_READ.
DESCRIPTION
Perform a basic read of the clock object and return its current time in the now out parameter.
... | https://fuchsia.dev/fuchsia-src/reference/syscalls/clock_read | CC-MAIN-2020-29 | en | refinedweb |
Hi,
I think you could use timer to achieve that. In processFunction you could register a
timer at specific time (event time or processing time) and get callbacked at that point. It
could be registered like
ctx.timerService().registerEventTimeTimer(current.lastModified + 60000);
More details on timer could be found in [... | http://mail-archives.apache.org/mod_mbox/flink-user/202005.mbox/%3C6b9c4662-69b2-4d6f-91fe-15e3e2a2072a.yungao.gy@aliyun.com%3E | CC-MAIN-2020-29 | en | refinedweb |
QuickObserver 2.0
A quick way to enable observable behavior on any object.
Why Should I Use This?
If you are looking for a way to decouple the logic of your app from the front end, this is a good way to help. It allows for classes to be lightly coupled and for information to quickly pass in both directions. Either from... | https://tryexcept.com/articles/cocoapod/quickobserver | CC-MAIN-2020-29 | en | refinedweb |
Getting Size and Position of an Element in React
Introduction.
Getting the Size and Position
You can use
Element.getClientRects() and
Element.getBoundingClientRect() to get the size and position of an element. In React, you’ll first need to get a reference to that element. Here’s an example of how you might do that.
fu... | https://www.pluralsight.com/tech-blog/getting-size-and-position-of-an-element-in-react/ | CC-MAIN-2020-29 | en | refinedweb |
Enable capturing of events streaming through Azure Event Hubs
Azure Event Hubs Capture enables you to automatically deliver the streaming data in Event Hubs to an Azure Blob storage or Azure Data Lake Storage Gen1 or Gen 2 account of your choice.
You can configure Capture at the event hub creation time using the Azure ... | https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture-enable-through-portal | CC-MAIN-2020-29 | en | refinedweb |
We often need to use a randomly generated number for certain situations; using Math.random() * n will usually do the trick, but it will only calculate a number from 0 to n. What if we need a number that doesn't give 0 as the minimum value? How can you generate a random number between 100 and 1000? I'll show you how to ... | https://code.tutsplus.com/tutorials/quick-tip-get-a-random-number-within-a-specified-range-using-as3--active-3142 | CC-MAIN-2020-29 | en | refinedweb |
Let's Refactor My Personal Website and Portfolio using Gatsby, Part Four: CSS in JS Using Emotion
Michael Caveney
Updated on
・4 min read
Part One
Part Two
Part Three
Welcome to the latest entry in my portfolio refactor blog series! Today I'm going to discuss how you can make CSS architecture in your applications easier... | https://dev.to/dylanesque/let-s-refactor-my-personal-website-and-portfolio-using-gatsby-part-four-css-in-js-using-emotion-fc4 | CC-MAIN-2019-47 | en | refinedweb |
DtMmdbSectionGetShortTitle(library cDatlMlm)dbSectionGetShortTitle(library call)
NAME [Toc] [Back]
DtMmdbSectionGetShortTitle - obtains the short title for a section
SYNOPSIS [Toc] [Back]
#include <DtMmdb.h>
const char* DtMmdbSectionGetShortTitle(
DtMmdbInfoRequest* request,
unsigned int* length);
DESCRIPTION [Toc] [Ba... | http://nixdoc.net/man-pages/HP-UX/man3/DtMmdbSectionGetShortTitle.3.html | CC-MAIN-2019-47 | en | refinedweb |
I try to do ascould-i-manage-multiple-hbase-cluster-in-the-same, the "HBASE2" solution.
I have changed params.py, params_linux.py. When I install the regienserver, it always run by ''/usr/bin/yum -d 0 -e 0 -y install hbase_lv''.
I tracd the code about this. Found the argvs passed to hbaseregionserver.execute method inc... | https://community.cloudera.com/t5/Support-Questions/where-is-the-code-about-var-lib-ambari-agent-data-command/m-p/194517 | CC-MAIN-2019-47 | en | refinedweb |
Manage virtual machines
This section provides an overview of how to create Virtual Machines (VMs) using templates. It also explains other preparation methods, including physical to virtual conversion (P2V), cloning templates, and importing previously exported VMs.
What is a virtual machine?What is a virtual machine?
A ... | https://docs.citrix.com/en-us/citrix-hypervisor/vms.html | CC-MAIN-2019-47 | en | refinedweb |
import "github.com/Yelp/fullerite/src/fullerite/util"
Package util is catchall for all utilities that might be used throughout the fullerite code.
iptools.go: It includes functionality to determine the ip address of the machine that's running a fullerite instance.
mesos_leader.go: Detects the leader from amongst a set ... | https://godoc.org/github.com/Yelp/fullerite/src/fullerite/util | CC-MAIN-2019-47 | en | refinedweb |
import "gopkg.in/src-d/go-git.v4/utils/merkletrie/noder"
Package noder provide an interface for defining nodes in a merkletrie, their hashes and their paths (a noders and its ancestors).
The hasher interface is easy to implement naively by elements that already have a hash, like git blobs and trees. More sophisticated ... | https://godoc.org/gopkg.in/src-d/go-git.v4/utils/merkletrie/noder | CC-MAIN-2019-47 | en | refinedweb |
In some cases, special functions need to be predefined in a software application to enhance the functionality of various applications. There are many Microsoft Excel add-ins to improve the functionality of MS Excel. Similarly, SAP facilitates some predefined functions by providing Business Add-Ins known as BADIs.
A BAD... | https://www.tutorialspoint.com/sap_abap/sap_abap_business_add_ins.htm | CC-MAIN-2019-47 | en | refinedweb |
EmberEndpointDescription Struct Reference
Endpoint information (a ZigBee Simple Descriptor).
#include <
stack-info.h>
Endpoint information (a ZigBee Simple Descriptor).
This is a ZigBee Simple Descriptor and contains information about an endpoint. This information is shared with other nodes in the network by the ZDO.
F... | https://docs.silabs.com/zigbee/6.6/em35x/structEmberEndpointDescription | CC-MAIN-2019-47 | en | refinedweb |
/>
Getting back to the basics of Bayes' Theorem using Python.
Thomas Bayes and Bayesianism
Thomas Bayes was a rather obscure 18th Century English clergyman and it is not even certain when and where he was born, but it was around 1701 and possibly in Hertfordshire just north of London. His only mark on history is the ep... | https://www.codedrome.com/the-fundamentals-of-bayes-theorem-in-python/ | CC-MAIN-2021-25 | en | refinedweb |
Tweepy is an easy to use library to Python that will make your life easy. In a terminal type.
pip install tweepy
You might be using pip3 and you might need to be admin or install it locally.
Now to the fun stuff.
import tweepy # You need to replace all these with your tokens. consumer_key = "Replace this with your API ... | https://www.learnpythonwithrune.org/create-a-twitter-bot-in-python-an-easy-step-through-guide/ | CC-MAIN-2021-25 | en | refinedweb |
method enforces use on the UI thread with UIApplication.EnsureUIThread (), but why? Whats the problem with constructing one in a background thread exactly?
Full definition below:
[Export ("layoutAttributesForCellWithIndexPath:"), CompilerGenerated]
public static UICollectionViewLayoutAttributes CreateForCell (NSIndexP... | https://bugzilla.xamarin.com/11/11049/bug.html | CC-MAIN-2021-25 | en | refinedweb |
’ve been working with Task.Factory.FromAsync() methods and have been experiencing severe memory leakage. I’ve used the profiler and it shows that a lot of objects just seem to be hanging around after use:
Heap shot 140 at 98.591 secs: size: 220177584, object count: 2803125, class count: 98, roots: 666
Bytes Count Avera... | https://bugzilla.xamarin.com/12/12236/bug.html | CC-MAIN-2021-25 | en | refinedweb |
PivotCustomDrawCellBaseEventArgs Class
Provides data for custom painting events invoked for particular data cells.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v21.1.dll
Declaration
public class PivotCustomDrawCellBaseEventArgs : PivotCellEventArgs
Public Class PivotCustomDrawCellBaseEventArgs... | https://docs.devexpress.com/WindowsForms/DevExpress.XtraPivotGrid.PivotCustomDrawCellBaseEventArgs | CC-MAIN-2021-25 | en | refinedweb |
7. June 2011, 16:15 17:15
Empa, Dübendorf, Theodor-Erismann-Auditorium, VE102
Organic light emitting diodes are commercially successful products, and the development of organic semiconductors for electronic, photovoltaic and thermoelectric applications has made significant progress too. At the same time numerous open q... | https://events.empa.ch/Veranstaltungsarchiv/2011/event.php?vnr=55f9fee-12a | CC-MAIN-2021-25 | en | refinedweb |
I made a method that would do alpha beta pruning on a tree. However there is a time limit on a single move of 20 seconds. I am to play against a player and his opponent method. I tried going down 6 levels deep but I would lose. I tried going down 7 levels and I was taking too long.
Is there a way to make my code run fa... | https://extraproxies.com/optimisations-in-alpha-beta-pruning/ | CC-MAIN-2021-25 | en | refinedweb |
I currently am able to include an arbitrary binary blob of data in my code using the PROGMEM keyword, and have code working that can access that data. However, manipulating the data is cumbersome at best. I’m relatively new to C and have little experience with the C preprocessor itself, but I do understand the theory b... | https://forum.arduino.cc/t/include-an-external-binary-file-as-a-progmem-variable/665246 | CC-MAIN-2021-25 | en | refinedweb |
I try to create app in rails, which would be regular web application and also an api for mobile application written in react native. I take advantage of "devise token auth" gem along wiht "devise".
I added gems to Gemfile and ran bundle. Next I ran
rails g devise_token_auth:install User auth
Rails.application.routes.dr... | https://codedump.io/share/M6OXJADqIq6w/1/devise-token-auth-can39t-verify-csrf-token-authenticity | CC-MAIN-2021-25 | en | refinedweb |
Programming Tutorial:Implementing a Signal Processing Filter
This tutorial shows you how to derive a new filter class from GenericFilter, how to check preconditions, initialize your filter, and process data. It will also show you how to visualize the output signal of the filter and present it to the operator user.
Cont... | https://www.bci2000.org/wiki/index.php/Programming_Tutorial:Implementing_a_Signal_Processing_Filter | CC-MAIN-2021-25 | en | refinedweb |
Unable to return a tuple when mocking a function
python unittest mock return tuple
python mock variable in function
python mock exception
python mock tuple return values
python mock reset
python mock function return value
pytest-mock
I'm trying to get comfortable with mocking in Python and I'm stumbling while trying to... | https://thetopsites.net/article/53665653.shtml | CC-MAIN-2021-25 | en | refinedweb |
Abstract base class for camera nodes. More...
#include <Inventor/nodes/SoCamera.h>
Abstract base class for camera nodes.
This is the abstract base class for all camera nodes. It defines the common methods and fields that all cameras have. Cameras are used to view a scene. When a camera is encountered during rendering, ... | https://developer.openinventor.com/refmans/latest/RefManCpp/class_so_camera.html | CC-MAIN-2021-25 | en | refinedweb |
Qt Positioning C++ Classes
The Positioning module provides positioning information via QML and C++ interfaces. More...
Classes
Detailed Description
To load the Qt Positioning module, add the following statement to your .qml files
import QtPositioning 5.2
For C++ projects include the header appropriate for the current u... | https://doc.qt.io/archives/qt-5.10/qtpositioning-module.html | CC-MAIN-2021-25 | en | refinedweb |
, C# code cannot be called directly from JavaScript however you can call Objective C objects directly from JavaScript. This is made available via the JSExport protocol. This protocol class is exposed to C# thus it should work since the class is available.
The way it should work is that you inherit this protocol class a... | https://bugzilla.xamarin.com/23/23474/bug.html | CC-MAIN-2021-25 | en | refinedweb |
How to randomize blocks in OpenSesame (a solution not a question)
Hello everyone,
I've had this problem where I wanted to randomize blocks of trials (i.e., randomize the presentation of the blocks, not the trials within a block). After some researching, I found Sebastian's youtube video on how to counterbalance blocks,... | https://forum.cogsci.nl/discussion/2580/how-to-randomize-blocks-in-opensesame-a-solution-not-a-question | CC-MAIN-2021-25 | en | refinedweb |
Feb 28 2020 06:14 AM
Hello Team,
I have download the "Microsoft-Win32-Content-Prep-Tool-master" from the link and i am trying to use the file: Intunewinapputil.exe in windows 10 1803 32 bit operating system. It gives me an error stating the file is not supported. Please help me in resolving this issue and how to launch... | https://techcommunity.microsoft.com/t5/microsoft-intune/unable-to-open-intune-app-utility/td-p/1200704 | CC-MAIN-2021-25 | en | refinedweb |
- Adding Client-Side Behavior Using the ExtenderControlBase
- Adding Design-Time Support to Your Extender Control
- Adding Animations to Your Extender Control
- Summary Experience
The ImageRotatorDesigner class and ImageList properties that appear in the Properties window while the image control has focus in the design... | https://www.informit.com/articles/article.aspx?p=1224619&seqNum=2 | CC-MAIN-2021-25 | en | refinedweb |
AWS Elastic Kubernetes Service (EKS).
Overview
Pulumi Crosswalk for AWS simplifies the creation, configuration, and management of EKS clusters, in addition to offering a single programming model and deployment workflow that works for your Kubernetes application configuration, in addition to infrastructure. This support... | https://www.pulumi.com/docs/guides/crosswalk/aws/eks/ | CC-MAIN-2021-21 | en | refinedweb |
A replacement for setInterval() and setTimeout() which works in unfocused windows.
A replacement for setInterval() and setTimeout() which works in unfocused windows.
For scripts that rely on WindowTimers like setInterval() or setTimeout() things get confusing when the site which the script is running on loses focus. Ch... | https://xscode.com/chrisguttandin/worker-timers | CC-MAIN-2021-21 | en | refinedweb |
Important: Please read the Qt Code of Conduct -
How to handle a change of the current widget in QStackedWidget?
I found the following signal:
void QStackedWidget::currentChanged(int index).
But I don’t understand how it works or how I use it. Index holds the index of the new current widget. What it means? What am I sup... | https://forum.qt.io/topic/124968/how-to-handle-a-change-of-the-current-widget-in-qstackedwidget | CC-MAIN-2021-21 | en | refinedweb |
Where do things go?
Now that we know how to define a class, and how to implement its methods, lets look at where things go.
Note: These things are conventions in real life, but for me (and that means for you in this class) they are unbreakable rules!
Rules:
The class defintion belongs in a header file (.h), that has th... | https://max.berger.name/teaching/s06/script/ch11s02.html | CC-MAIN-2021-21 | en | refinedweb |
read ASCII Gaussian Cube Data files More...
#include <vtkGaussianCubeReader.h>
read ASCII Gaussian Cube Data files
vtkGaussianCubeReader is a source object that reads ASCII files following the description in The FileName must be specified.
Definition at line 36 of file vtkGaussianCubeReader.h.
Definition at line 40 of ... | https://vtk.org/doc/nightly/html/classvtkGaussianCubeReader.html | CC-MAIN-2021-21 | en | refinedweb |
This morning I came into work and went through my usual 100 or so emails. One of the emails was from MSSQLTips.com, it was on how to monitor SQL Server Database mirroring with email alerts. By Alan Cranfield. While agree with Alan that every DBA should monitor their database mirroring with email alerts I disagreed with... | https://blogs.lessthandot.com/index.php/datamgmt/dbadmin/how-to-monitor-database-mirroring/ | CC-MAIN-2021-21 | en | refinedweb |
SYSPAGE_ENTRY()
Return an entry from the system page
Synopsis:
#include <sys/syspage.h> #define SYSPAGE_ENTRY( entry )...
Arguments:
- entry
- The entry to get; see below.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:.
- uint64_t cycl... | https://developer.blackberry.com/playbook/native/reference/com.qnx.doc.neutrino.lib_ref/topic/s/syspage_entry.html | CC-MAIN-2021-21 | en | refinedweb |
Originally posted on Twitter as a thread:
Huge Update: Video Version Now Available!
👉 YouTube Playlist - Only 13 minutes in total! 🥳
Always wanted to check out Svelte (aka. "the next big thing in web dev") but never got time for it? ⏰
🔥 I've got a 10-minute crash course for you! 👇
(Spoiler alert: Svelte is so intui... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/methodcoder/svelte-crash-course-with-pics-27cc | CC-MAIN-2021-21 | en | refinedweb |
firebase_event_service 0.0.3+3
firebase_event_service: ^0.0.3+3 copied to clipboard
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add firebase_event_service
With Flutter:
$ flutter pub add firebase_event_service
This will add a line like this to your package's pubspec.yaml (and run ... | https://pub.dev/packages/firebase_event_service/install | CC-MAIN-2021-21 | en | refinedweb |
This site uses strictly necessary cookies. More Information
Hello, I am still fairly new to unity. I am trying to create a 3rd person FPS game, and I looked at some guides on the internet and on Youtube but couldn't find an answer to my issue.
My issue right now is that I can get the spheres to fire from an empty game ... | https://answers.unity.com/questions/1186728/bullets-falling-through-the-terrain.html | CC-MAIN-2021-21 | en | refinedweb |
Comment on Tutorial - Getting Started with Android By Emiley J
Comment Added by : ovdetowpofoka
Comment Added at : 2017-09-17 06:44:44
Comment on Tutorial : Getting Started with Android By Emiley J
ovdetowpofoka. Simple Example. Understood. Thanx.
In aksha
View Tutorial By: Amila Nadanda at 2011-07-28 06:21:05
2. The t... | https://www.java-samples.com/showcomment.php?commentid=41963 | CC-MAIN-2021-21 | en | refinedweb |
android
/
kernel
/
mediatek
/
android-6.0.0_r0.6
/
.
/
Documentation
/
DMA-API-HOWTO.txt
blob: 14129f149a75432589f3bc925f7776a59354ef62 [, see
DMA-API.txt. (e.g. pci_dma_*).
First of all, you should make sure
#include <linux/dma-mapping.h>
is in your driver. This file will obtain for you the definition of the
dma_addr_... | https://android.googlesource.com/kernel/mediatek/+/android-6.0.0_r0.6/Documentation/DMA-API-HOWTO.txt | CC-MAIN-2021-21 | en | refinedweb |
Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 16/07/2015 at 11:09, xxxxxxxx wrote:
From time to time I run up aga... | https://plugincafe.maxon.net/topic/8933/11863_message-to-getvirtualobjects-communicationsolved | CC-MAIN-2021-21 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.