text
stringlengths
454
608k
url
stringlengths
17
896
dump
stringclasses
91 values
source
stringclasses
1 value
word_count
int64
101
114k
flesch_reading_ease
float64
50
104
2386/print-the-line-if-it-contains-specific-string-by-using-groovy I am having a Jenkins log file and I am trying to print those lines which are having string "FOUND" in it. How do I write the code for it in Groovy as I am new to it? Can anyone help me with this? Thanks. You can try the code written below: def lines = ...
https://www.edureka.co/community/2386/print-the-line-if-it-contains-specific-string-by-using-groovy
CC-MAIN-2019-47
refinedweb
192
78.85
Find Questions & Answers Can't find what you're looking for? Visit the Questions & Answers page! Hi, I have a question of how you deal with the situation of returns in WIA (plant abroad) process. Let's say your company is located in Country_A and there you have your "main plant". In Country_B you have a plant, for whic...
https://answers.sap.com/questions/30605/plants-abroad-wia-returns.html
CC-MAIN-2018-13
refinedweb
224
73.58
1921/how-can-a-war-file-be-deployed-in-tomcat-7 In Java, you can escape quotes with \: String ...READ MORE How to manage two JRadioButtons in java ...READ MORE Here are two ways illustrating this: Integer x ...READ MORE import java.io.BufferedWriter; import java.io.IOException; import java.nio.file.Files; import java.n...
https://www.edureka.co/community/1921/how-can-a-war-file-be-deployed-in-tomcat-7?show=1922
CC-MAIN-2021-49
refinedweb
147
72.63
Feeling “bored” can result in a complete lack of motivation. You don’t have the drive to pick something from your list of chores. You can’t bring yourself to do anything except watch YouTube mindlessly. At the same time, at the back of your mind is a small sense of guilt. A sense that you should be doing something more...
https://mishacreatrix.medium.com/
CC-MAIN-2021-31
refinedweb
517
82.14
The Atlassian Community can help you and your team get more value out of Atlassian products and practices. Hi, I need suggestions for a ScriptRunner behaviour for the below condition which is based on the value of Xray "Test Repository Path" WHEN the "Test Repository Path" is "NTG7 Widgets" THEN the custom fields "Revi...
https://community.atlassian.com/t5/Adaptavist-questions/ScriptRunner-behaviour-based-on-Xray-custom-field/qaq-p/1755336
CC-MAIN-2022-27
refinedweb
366
53.31
In addition to creating the object, the members of the class that are to be accessible beyond their package need to be declared as public in the class definition. The members of this object can now be reached by using the dot operator after the instance name. In this example, the members of the object MyRectangle are x...
https://codecrawl.com/2014/11/20/java-accessing-object-members/
CC-MAIN-2019-43
refinedweb
103
52.39
Why opencv2 has two kinds of programming styles? For example cv::imshow(WINDOW, cv_ptr->image); and cvShowImage( "Image", pImg ); How to know which style should I use? Thank you~ For example cv::imshow(WINDOW, cv_ptr->image); and cvShowImage( "Image", pImg ); How to know which style should I use? Thank you~ answered 20...
https://answers.ros.org/question/12595/why-opencv2-has-two-kinds-of-programming-styles/?sort=oldest
CC-MAIN-2019-39
refinedweb
263
61.26
We’ve introduced a SplitPane control in JavaFX 2.0, and today I thought I’d point out an interesting subtlety in the API. For the longest time our SplitPane API primarily consisted of the normal ‘left’ and ‘right’ (or ‘top’ and ‘bottom’) properties (indeed, the JavaDoc as of today still refers to this API). These were ...
http://fxexperience.com/2011/06/splitpane-in-javafx-2-0/
CC-MAIN-2020-16
refinedweb
2,822
65.32
No, this isn't possible. The reason for this is that a) streams often can't be read twice and b) ZIP archives need random reading. The list of files is attached at the end, so you need to skip the data, find the file entry, locate the position of the data entry and then seek backwards. This is why code like Java WebSta...
http://www.w3hello.com/questions/Efficient-way-to-remove-all-entries-from-mongodb
CC-MAIN-2018-17
refinedweb
2,424
57.06
In C I need to make an array which contains every possible 5 letter string combination of the letters "A", "C", "G", "T". That is, AAAAA, AAAAG, AAAAC, etc. And I need these stored in an array. I'm aware there are 1024 possible combinations, and therefore the array would be allocated with that in mind. I think the memo...
https://codedump.io/share/ccVvtxSOtNYD/1/how-to-generate-every-possible-string-combination-of-4-letters-and-store-in-array-in-c
CC-MAIN-2017-43
refinedweb
278
59.03
Template:LanguageExisting/doc Contents Purpose This template is used in Template:Languages. If a page exists in a particular language, this template generates a parameter name for Template:Languages/Interface to show the existence. Don't use this for "en". "en" case has a special naming rule, then it was separated to T...
https://wiki.openstreetmap.org/wiki/Template:LanguageExisting/doc
CC-MAIN-2018-34
refinedweb
149
56.15
Bad handling of exceptions with py-execute-region Bug Description I just installed python- Let me show what I mean. Create an new Python code file called say "test.py". The only contents of this file will be this line: 5=6 Now open the interactive Python shell with 'M-x py-shell'. Mark this line in Emacs and then try t...
https://bugs.launchpad.net/python-mode/+bug/1159118
CC-MAIN-2016-18
refinedweb
439
71.55
BundlingBundling deno bundle [URL] will output a single JavaScript file for consumption in Deno, which includes all dependencies of the specified input. For example: deno bundle colors.bundle.js Bundle Download Download Emit "colors.bundle.js" (9.83KB) If you omit the out file, the bundle will be sent to stdout. The bu...
https://deno.land/manual@v1.22.0/tools/bundler
CC-MAIN-2022-40
refinedweb
180
64.2
Opened 10 years ago Closed 10 years ago Last modified 7 years ago #10335 closed (fixed) tzinfo.py should use getdefaultencoding instead of getdefaultlocale[1] Description In some locales on Mac OS X, page rendering fails with an error like: File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pack...
https://code.djangoproject.com/ticket/10335
CC-MAIN-2019-09
refinedweb
1,244
55.44
Sensory is part of a series which focuses on building simple dog behaviors in a simulation game. This week’s article looks at how to build instant conditional checks like isDogNearby in a very similar way to the other actions. Also, you’ll be able to read a few tips for how to architect the source code your game logic,...
http://aigamedev.com/open/tutorial/dynamic-choices-instant-conditions/
CC-MAIN-2018-22
refinedweb
1,308
53.21
Cycle Detection Hackerrank A linked list is said to contain a cycle if any node is visited more than once while traversing the list. Complete the function provided for you in your editor. It has one parameter: a pointer to a Node object named that points to the head of a linked list. Your function must return a boolean...
https://coderinme.com/cycle-detection-hackerrank-problem-solution/
CC-MAIN-2018-39
refinedweb
512
75.1
The QWorkspace widget provides a workspace window that can contain decorated windows, e.g. for MDI. More... #include <qworkspace.h> Inherits QWidget. List of all member functions. An MDI (multiple document interface) application has one main window with a menu bar. The central widget of this window is a workspace. The ...
http://doc.trolltech.com/3.1/qworkspace.html
crawl-001
refinedweb
321
51.85
Not everyone knows that InterSystems Caché has a built-in tool for code profiling called Caché Monitor. Its main purpose (obviously) is the collection of statistics for programs running in Caché. It can provide statistics by program, as well as detailed Line-by-Line statistics for each program. Using Caché Monitor Let’...
https://community.intersystems.com/post/profiling-code-using-cach%C3%A9-monitor
CC-MAIN-2019-43
refinedweb
851
52.8
COLOR MANAGEMENT PROFILEgiannis72str Apr 8, 2012 10:00 AM Hello! I would like to ask this: I want to export my project and in such a way that the final clip to look the same in every monitor (PC, Mac, TV, even film). The only way of achieving that is by embeding a color profile. That can be done only in After effects. ...
https://forums.adobe.com/thread/986847
CC-MAIN-2017-04
refinedweb
1,123
66.78
CodePlexProject Hosting for Open Source Software Quick start for prism 4 does not have examples of connecting to database using Entity framework. 4. Can Prism team or a prism user can provide some sample application or tutorial how to do so. Thanks in advance for help. I am using a service I put into my infrastructure ...
http://compositewpf.codeplex.com/discussions/238060
CC-MAIN-2017-39
refinedweb
208
55.44
Django Form Basics an AuthorForm class. Create a new file called forms.py, if not already exists in the blog app i.e TGDB/django_project/blog (same place where models.py file is located) and add the following code to it. TGDB/django_project/blog/forms.py from django import forms class AuthorForm(forms.Form): name = for...
https://overiq.com/django/1.10/django-form-basics/
CC-MAIN-2018-09
refinedweb
3,162
60.41
Library implementing DevAssistant PingPong protocol Library implementing protocol used for communication between DevAssistant and PingPong scripts (a.k.a. executable assistants). The protocol specification can be found at TODO:link. Note that this library implements both “server” and “client” side. The “server” side is...
https://pypi.org/project/dapp/
CC-MAIN-2017-51
refinedweb
501
57.16
The term broadcasting refers to the ability of NumPy to treat arrays of different shapes during arithmetic operations. Arithmetic operations on arrays are usually done on corresponding elements. If two arrays are of exactly the same shape, then these operations are smoothly performed. If the dimensions of two arrays ar...
http://www.tutorialtpoint.net/2021/12/broadcasting-example-program-in-python.html
CC-MAIN-2022-05
refinedweb
392
63.09
REST and the Real World February 20, 2002 In the last article I described a new model for web services construction. It is called Representational State Transfer (REST), and it applies the principles of the Web to transaction-oriented services, rather than publishing-oriented sites. When we apply the strategy in the re...
https://www.xml.com/pub/a/ws/2002/02/20/rest.html
CC-MAIN-2022-05
refinedweb
3,748
53.31
The Atlassian Community can help you and your team get more value out of Atlassian products and practices. I am new to Scriptrunner so bear with me... I am trying to set the value of a custom field based on the value of another custom field. When I make the change to the issue I can see that the secondary field is upda...
https://community.atlassian.com/t5/Jira-Core-Server-questions/Scriptrunner-Behaviour-updates-issue-immediately-but-time-delay/qaq-p/1687920
CC-MAIN-2022-40
refinedweb
900
66.54
Data::Direct - Perl module to emulate seqeuntial access to SQL tables. use Data::Direct; $dd = new Data::Direct("dbi:Informix:FBI", "bill_c", "M0n|c4", "porn_suppliers", "PRICE < 99.99", "ORDER BY PUBLICATION_DATE" || die "Failed to connect"; Last two arguments can be ommitted. while (!$dd->eof) { # Iterate over all re...
http://search.cpan.org/dist/Data-Direct/Direct.pm
CC-MAIN-2016-40
refinedweb
419
68.67
Breakup of 'Hello World' Program in Java This example explains each and every symbol & keyword used in 'Hello World' program in Java. Breakup of 'Hello World' Program (very useful to know for Java beginners) - { } - ( ) - public - class - public Class Main - public static void main() - String[] args - System.out.printl...
https://www.cppbuzz.com/java/tutorial/breakup-of-hello-world-program-in-java
CC-MAIN-2019-09
refinedweb
360
64.61
design keyboard and how to move hands on it this program is not running...how we have to do that... can you please elaborate... Post your Comment Handling Key Press Event in Java Handling Key Press Event in Java  ... the handling key press event in java. Key Press is the event is generated when you press any key to the...
http://roseindia.net/discussion/18430-Handling-Key-Press-Event-in-Java.html
CC-MAIN-2014-15
refinedweb
873
60.95
Definition of a goal region that can be sampled, but the sampling process can be slow. This class allows sampling the happen in a separate thread, and the number of goals may increase, as the planner is running, in a thread-safe manner. More... #include <ompl/base/goals/GoalLazySamples.h> Detailed Description Definitio...
http://ompl.kavrakilab.org/core/classompl_1_1base_1_1GoalLazySamples.html
CC-MAIN-2021-10
refinedweb
373
65.01
UINT64_Cmacro in C? I saw this code: bool contains_zero_byte(uint64 v) { return (((v)-UINT64_C(0x0101010101010101)) & ~(v)&UINT64_C(0x8080808080808080)); } What is UINT64_C(0x0101010101010101) doing? UINT64_C is a macro defined as: // Appends the correct suffix to a 64-bit unsigned integer literal. #define UINT64_C(c) ...
https://jameshfisher.github.io/2017/01/20/uint64_c_macro.html
CC-MAIN-2019-18
refinedweb
109
68.87
Silverlight and WPF both are User Interface technologies that allow developers and designers to create amazing user interface experiences. This apparently leads a lot of people to the conclusion that UI creation in these environments must be a complex and time consuming undertaking. I often hear, “I can do things so mu...
https://www.codemag.com/article/1011071
CC-MAIN-2019-13
refinedweb
7,354
60.85
I am trying to grasp the meaning of the different types of brackets/parentheses/braces used in C# and what the rules are or purpose of using different types in different situations. Currently I have no trouble using the brackets/parentheses/braces but I feel as though I use them on a case-by-case basis without really g...
https://codedump.io/share/fxwcGc1v0Zju/1/what-is-the-meaning-of-the-different-types-of-bracketsparenthesesbraces-used-in-c
CC-MAIN-2018-05
refinedweb
228
60.45
DLOPEN(3) Linux Programmer's Manual DLOPEN(3) dlclose, dlopen, dlmopen - open and close a shared object #include <dlfcn.h> void *dlopen(const char *filename, int flags); int dlclose(void *handle); #define _GNU_SOURCE #include <dlfcn.h> void *dlmopen (Lmid_t lmid, const char *filename, int flags); Link with -ldl... Any ...
http://man7.org/linux/man-pages/man3/dlopen.3.html
CC-MAIN-2019-13
refinedweb
217
67.15
Obtain the MAC address in C Code Hi All, As per the title can anyone assist with a method of obtaining the Onions MAC address using C code? Kind Regards, UFD - Maximilian Gerhardt @UFD One of the first Google results for "C linux get MAC": Either cross-compile the program or compile locally. No special flags needed get...
http://community.onion.io/topic/2441/obtain-the-mac-address-in-c-code
CC-MAIN-2018-51
refinedweb
440
63.9
1.3 ! jdf 1: **Contents** ! 2: ! 3: [[!toc levels=3]] ! 4: 1.1 jdf 5: # The Domain Name System 6: 1.2 jdf 1.1 jdf 12: (DNSRD) at [](). 13: 14: ## DNS Background and Concepts 15: 1.2 jdf 1.1 jdf 22: number of additional implementations available for many platforms. 23: 24: ### Naming Services 25: 1.2 jdf 26: Naming serv...
https://wiki.netbsd.org/cgi-bin/cvsweb/wikisrc/guide/dns.mdwn?annotate=1.3
CC-MAIN-2017-17
refinedweb
3,668
78.04
How to sum all the values in a dictionary? In Python 2 you can avoid making a temporary copy of all the values by using the itervalues() dictionary method, which returns an iterator of the dictionary's keys: sum(d.itervalues()) In Python 3 you can just use d.values() because that method was changed to do that (and iter...
https://codehunter.cc/a/python/how-to-sum-all-the-values-in-a-dictionary
CC-MAIN-2022-21
refinedweb
145
56.25
Getting started With Microsoft Expression Encoder, you can work with audio and video files by using the Expression Encoder object model (OM), which is based on the Microsoft .NET Object Model Framework. To work with the Expression Encoder OM, you must have Expression Encoder, and we recommend that you use Microsoft Vis...
http://msdn.microsoft.com/en-us/library/cc761462(v=expression.40).aspx
CC-MAIN-2014-52
refinedweb
1,811
57.27
Solution architect: We should start concentrating more on frameworks!! Dumb developer: Well, I think I know about the .NET Framework. You mean, something like that? After reading this article, you'll be able to: may do this process based on a scheduler - because you need to send card data to banks a few times a day (on...
http://www.codeproject.com/Articles/17062/Learn-How-to-Build-a-Provider-Framework-With-an-Ea?fid=373671&df=90&mpp=25&noise=3&prof=False&sort=Position&view=Quick&spc=Relaxed
CC-MAIN-2016-18
refinedweb
1,253
56.25
Opened 7 years ago Closed 6 years ago #2377 closed enhancement (fixed) Separate CSS stylesheet Description Actually, ProgressMeterMacro puts the required CSS styles into a wiki page every time the macro is called. Solve this by importing separate stylesheet for CSS styles used by macro. Attachments (0) Change History (...
http://trac-hacks.org/ticket/2377
CC-MAIN-2014-35
refinedweb
368
54.46
Use external libraries Where can I find documentation for using/importing other libraries on my LoPy. I want to use the Paho MQTT Python library. Should I put it somewhere in the /flash over ftp? I'm new to Pycom and the Python programming language but I'm an experienced developer in Java, C++, Arduino,... So if you ca...
https://forum.pycom.io/topic/247/use-external-libraries
CC-MAIN-2019-09
refinedweb
172
69.48
BUILD Day 3: My Summary BUILD Day 3: My Summary Join the DZone community and get the full member experience.Join For Free No keynote today, but Scott Hanselman’s 8:30AM talk was a great replacement – he himself called it an “unkeynote”. Also, before the talk Scott looped some hilarious videos, such as MacBook Wheel fro...
https://dzone.com/articles/build-day-3-my-summary
CC-MAIN-2018-30
refinedweb
1,020
52.7
I would like the preprocessor to run through my files (not to be confused with program flow) and to substitute all occurences of some #define with the next in sequence, starting from initial value. So the question has nothing to do with CPU resources - just purely dumb precompiler's txt job. Example 1 (avr asm, works):...
http://www.avrfreaks.net/forum/redefine-stamp-stamp1?name=PNphpBB2&file=viewtopic&t=110301
CC-MAIN-2014-42
refinedweb
1,023
72.76
I have the "feeling" that shrink-to-fit is somehopw broken. Printing URLs like or always draws over the right border... I forgot the build info: 2002-06-13-08-trunk on Solaris and Linux. Trying to reduce the scale to 50% does not work either... ;-( Created attachment 88459 [details] testcase The problem in the testcase...
https://bugzilla.mozilla.org/show_bug.cgi?id=153080
CC-MAIN-2017-13
refinedweb
7,129
71.44
However, for this problem, I found that in order to apply the algorithm accurately, more than the standard amounts of Double and Int precision were necessary. So, I had to use a FixedPoint package to give me access to 128-bit Integers and 256-bit fixed fractions. The use of these custom data types increased the runtime...
http://pelangchallenge.blogspot.com/2016/02/problem-66-haskell-continued-fractions.html
CC-MAIN-2020-29
refinedweb
384
59.23
Dave, The following testcase is an example of code used in a glibc testcase. I'm trying hard to shake out the bugs in the glibc testsuite for debian, and one testsuite failure looks like a compiler issue. The expected behaviour is for the testcase to print the raw IEEE754 value of -NAN. The observed behaviour, when -DA...
https://lists.debian.org/debian-hppa/2010/05/msg00014.html
CC-MAIN-2014-10
refinedweb
414
74.19
The official blog of the Microsoft SharePoint Product Group While the Program Managers are busy trying to get Beta 2 done, I thought I would post a blog entry about one of my favorite new features of Office SharePoint Server 2007: the Business Data Catalog (BDC), which enables integration with LOB and other application...
http://blogs.msdn.com/sharepoint/archive/2006/04/18/578194.aspx
crawl-002
refinedweb
2,940
63.8
By: Edwin Sarmiento | Updated: 2008-05-20 | Comments (4) | Language Integrated Query LINQ Problem Language-Integrated Query (LINQ) is a groundbreaking innovation in Visual Studio 2008 and the .NET Framework version 3.5 that bridges the gap between the world of objects and the world of data. As LINQ is part of the devel...
https://www.mssqltips.com/sqlservertip/1502/introduction-to-language-integrated-query-linq/
CC-MAIN-2019-39
refinedweb
994
64.41
Kivy - Open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps. Cross platform. Business Friendly. GPU Accelerated The graphics engine is built over OpenGL ES 2, using a modern and fast graphics pipeline. The toolkit comes with more than 20 ...
https://kivy.org/
CC-MAIN-2016-44
refinedweb
659
57.98
I. 0:000> !dumpdomain … I: - Process/Private Bytes - Process/Virtual Bytes - .NET CLR Memory/All counters – .NET heaps, time in GC etc. - .NET CLR Loading/All counters – Loader Heap, App Domains, Assemblies etc.. Domain 2: 0xf4fa0 LowFrequencyHeap: 0x000f5004 HighFrequencyHeap: 0x000f505c StubHeap: 0x000f50b4 Name: /LM...
https://blogs.msdn.microsoft.com/tess/2006/02/15/net-memory-leak-xmlserializing-your-way-to-a-memory-leak/
CC-MAIN-2016-40
refinedweb
7,213
58.08
Minimum Spanning Tree for Graph in C++ In this tutorial, we will learn about the Spanning Tree of the graph and its properties. We will also learn about the Minimum spanning tree for graph in C++ and its implementation using Prim’s algorithm and Kruskal’s algorithm. We will take some examples to understand the concept ...
https://www.codespeedy.com/minimum-spanning-tree-for-graph-in-cpp/
CC-MAIN-2019-43
refinedweb
1,638
58.55
This article walks you through how to create a simple React app using TypeScript and a Material Design framework. Prerequisites This article assumes the following: - You are editing with Visual Code - You have nodejs, npm and npx installed - You are testing using the Chrome browser - When I say "app" I am referring to ...
https://scriptable.com/blog/react-material-design-tutorial-typescript
CC-MAIN-2022-40
refinedweb
1,590
58.21
Flappy bird Hello everyone! I'm writing the game and at the beginning now from scene import * import random import time A = Action() def Ground(parent): return SpriteNode('plf:Ground_Grass', parent=parent) def ColumnBlock(parent): return SpriteNode('plc:Brown_Block', parent=parent))) ''' I realized i didnt fully implem...
https://forum.omz-software.com/topic/6319/flappy-bird/33
CC-MAIN-2022-33
refinedweb
1,855
76.01
Kenny Kerr is a software developer and entrepreneur. He is passionate about software and getting it done right. His new company recently launched Window Clippings 3, a screen capture tool designed to produce the highest quality screenshots. This is the first article in a new series about C++ for Windows. I would have l...
http://blogs.msdn.com/b/cdndevs/archive/2010/12/09/the-new-c-for-the-new-windows-part-0-putting-bugs-into-buckets-by-kenny-kerr.aspx?Redirected=true
CC-MAIN-2015-35
refinedweb
1,613
56.15
Unity UI: Ease of Building User Interface Elements Unity is a really great tool to build User Interfaces for games or for real-world applications. Everything you need you get out of the box in the Unity Editor. To create a UI element just add under Hierarchy window a new UI objects like text, image, button or other one...
https://damiandabrowski.medium.com/unity-ui-ease-of-building-user-interface-elements-4b3ef5803c47?source=post_internal_links---------5----------------------------
CC-MAIN-2021-43
refinedweb
179
63.7
news.digitalmars.com - c++.stlsoftDec 30 2007 Pantheios.COM 1.0.1 (beta 20) released (1) Dec 29 2007 Pantheios: 1.0.1 (beta 74) Released (1) Dec 29 2007 STLSoft 1.9.16 released (1) Dec 28 2007 Pantheios: 1.0.1 (beta 73) Released (1) Dec 27 2007 Request for pp feature (2) Dec 27 2007 Pantheios: 1.0.1 (beta 72) Released:...
http://www.digitalmars.com/d/archives/c++/stlsoft/index2007.html
CC-MAIN-2016-18
refinedweb
1,555
77.64
Edit Article wikiHow to Code Your First Program in C++ Coding in C++ can be very simple once you get the basics of it down. When you begin to learn C++ you are taught to code one of many fundamental programs, the most popular being the "Hello World!" prompt. Steps - 1Make sure you have a C++ compiler or IDE that you ar...
http://www.wikihow.com/Code-Your-First-Program-in-C%2B%2B
CC-MAIN-2017-30
refinedweb
493
74.59
Collision detection is an important part of most 3D games. Shooting enemies, avoiding (or failing to avoid) obstacles, even simply staying on the ground usually requires some form of collision-detection. It's a vast subject and there are many excellent articles written about it. However, most of them concern the more s...
http://www.gamedev.net/page/resources/_/technical/math-and-physics/simple-bounding-sphere-collision-detection-r1234?forceDownload=1&_k=880ea6a14ea49e853634fbdc5015a024
CC-MAIN-2016-50
refinedweb
1,232
64.54
.flow; 20 21 import java.util.Map; 22 23 import javax.faces.component.UIViewRoot; 24 25 import org.apache.myfaces.orchestra.flow.config.FlowAccept; 26 import org.apache.myfaces.orchestra.flow.config.FlowCall; 27 28 /** 29 * Holds information about a specific call to a specific flow. 30 * <p> 31 * A new instance of this...
http://myfaces.apache.org/orchestra/myfaces-orchestra-flow/xref/org/apache/myfaces/orchestra/flow/FlowInfo.html
CC-MAIN-2016-36
refinedweb
1,089
59.64
public class Solution { public List<Integer> findMinHeightTrees(int n, int[][] edges) { Map<Integer, Node> graph = new HashMap<>(); for (int i = 0; i < n; i++) { graph.put(i, new Node(i)); } for (int[] edge : edges) { graph.get(edge[0]).neighbors.add(graph.get(edge[1])); graph.get(edge[1]).neighbors.add(graph.get(edge[...
https://discuss.leetcode.com/topic/48519/java-bfs-like-ac-solution-using-user-defined-graph-node-class
CC-MAIN-2018-05
refinedweb
202
61.53
log() function in C++ In this tutorial, we will learn about log function in C++. log() function in C++ log() is the natural logarithmic function. It is the inverse of natural exponential function (e). When we use log() function, it returns the value with respect to base e. Another function similar to this is log10(). T...
https://www.codespeedy.com/log-function-in-cpp/
CC-MAIN-2020-45
refinedweb
229
77.23
Nokia 5110 LCD is a cheap and simple to use component that you can use in almost all your Arduino projects. There are lots of examples about it, but most of them are a bit complicated because it's used with other components. All I need is a simple 'Hello World' application to start with. Then I can build my complicated...
https://cuneyt.aliustaoglu.biz/en/nokia-5110-lcd-with-arduino-nano-and-u8glib/
CC-MAIN-2019-09
refinedweb
207
77.33
Sep 02, 2018 01:13 PM|born2win|LINK Hello, I am designing API which will be consumed by mobile app and website. when i create the class with properties, should i use mixed data types else all as stings. below are the two example public class PersonDto { public string Id { get; set; } public string Name { get; set; } pu...
https://forums.asp.net/t/2146335.aspx?Help+needed+in+Data+transfer+object+practice
CC-MAIN-2019-18
refinedweb
371
78.99
September updates for Microsoft Cognitive Services APIs. Computer Vision API On September 14th, the Computer Vision API will be available in China. Additions include the ability to transact in Chinese currency. Microsoft’s Computer Vision API is able to extract rich information from images to categorize and process vi...
https://azure.microsoft.com/ja-jp/blog/cognitive-service-2016-09-15/
CC-MAIN-2018-05
refinedweb
500
55.84
Wilfredo Casas6,174 Points Why is my code not working? I'm in the task 6 of 6, but my code is not passing this time, why is it? from flask import Flask from flask import render_template app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') {% extends 'layout.html' %} {% block title %} ...
https://teamtreehouse.com/community/why-is-my-code-not-working-14
CC-MAIN-2019-18
refinedweb
221
64.3
fchown - change owner and group of a file #include <unistd.h> int fchown(int fildes, uid_t owner, gid_t group); The fchown() function shall be equivalent to chown() except that the file whose owner and group are changed is specified by the file descriptor fildes. Upon successful completion, fchown() shall return 0. Oth...
http://pubs.opengroup.org/onlinepubs/009695399/functions/fchown.html
CC-MAIN-2018-05
refinedweb
119
73.58
This is much harder for computers than the output, but the .Net framework again provides ready-made functions of the class System.Speech.Recognition, over which speech recognition can be realized with little effort. In general there are 2 modes in which speech recognition can be run: This post is about the Dictation Mo...
http://csharp-tricks-en.blogspot.de/2011/03/speech-recognition-part-1-dictation-mode.html
CC-MAIN-2018-09
refinedweb
324
59.3
Transform trie to regular expression Project description Efficient keyword extraction with regex This package contains a function for efficiently representing a set of keywords as regex. This regex can be used to replace keywords in sentences or extract keywords from sentences Why use trrex? - Pure Python, no other dep...
https://pypi.org/project/trrex/
CC-MAIN-2022-21
refinedweb
260
65.62
While there is much work yet to be done on Conference Buddy on the client side, it isn’t too early to start thinking about how we’ll store data on a server. One option that might be ideal would be to use ASP.NET Web API. ASP.NET Web API is a framework for building HTTP services. ASP.NET Web API has been designed to wor...
http://jesseliberty.com/2013/01/30/windows-8-conference-buddy-and-remote-data/
CC-MAIN-2014-35
refinedweb
1,901
55.34
1 <!doctype linuxdoc system> 2 3 <!-- This is the User's Guide for Grace --> 4 5 <article> 6 7 <title>Grace User's Guide (for Grace-5.1.25)</title> 8 <author>by the Grace Team</author> 9 <date>15.02.2015</date> 10 <abstract> 11 This document explains the usage of 12 <bf>Grace</bf>, a WYSIWYG 2D plotting tool for numeri...
https://fossies.org/linux/misc/grace-5.1.25.tar.gz/grace-5.1.25/doc/UsersGuide.sgml
CC-MAIN-2020-16
refinedweb
25,407
53.34
sourcecode Adam <code> # Change the base representation of a non-negative integer use strict; sub GenerateBase { my $base = shift; $base = 62 if $base > 62; my @nums = (0..9,'a'..'z','A'..'Z')[0..$base-1]; my $index = 0; my %nums = map {$_,$index++} @nums; my $To = sub { my $number = shift; return $nums[0] if $number =...
http://www.perlmonks.org/index.pl?displaytype=xml;node_id=27148
CC-MAIN-2016-50
refinedweb
187
67.08
Some years ago (back in the early 1990's !) I bought a serial to digital input/output converter module to experiment with connecting things to my computer(s). This module was sold by Maplin, made by R.M.Electronics and was named the RM9011. As with many things I've tried in the past, I can't recall having much success ...
http://electronicsadventures.blogspot.com/2017/01/raspberry-pi-serial-interfacing-with.html
CC-MAIN-2019-35
refinedweb
1,694
63.39
Making Music with MIDI and C# WEBINAR: On-demand webcast How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER > In a previous post, I showed you how to construct a wave file manually by hand, using nothing but program code. In this post, I want to show ...
http://www.codeguru.com/columns/dotnet/making-music-with-midi-and-c.html
CC-MAIN-2017-43
refinedweb
2,926
60.55
- buster 4.20.0-2 - buster-backports 5.4.0-1~bpo10+1 - testing 5.4.0-1 - unstable 5.5.0-1 NAME¶ip-netns - process network namespace management SYNOPSIS¶¶A network namespace is logically another copy of the network stack, with its own routes, firewall rules, and network devices. By default a process inherits its network...
https://manpages.debian.org/buster/iproute2/ip-netns.8.en.html
CC-MAIN-2020-10
refinedweb
135
68.16
Pipes.Group.Tutorial Description pipes-group builds upon pipes to establish idioms for grouping streams into sub-streams without collecting elements into memory. This tutorial assumes familiarity with pipes and pipes-parse. Synopsis Motivation Dividing a stream into sub-streams is non-trivial. To illustrate the problem...
http://hackage.haskell.org/package/pipes-group-1.0.12/docs/Pipes-Group-Tutorial.html
CC-MAIN-2021-49
refinedweb
1,651
58.21
: Supplies: -Light weight, transparent container. example -Mesh Spackle tape. example -Pollyfill stuffing -Fishing line or thread to hang -Arduino -LEDs, Wires, Resistors, Infrared sensor and Remote -Battery or power source for arduino -Breadboard or blank circuit board, I used this one from Radio Shack. Tools: -Hot Gl...
http://www.instructables.com/id/IR-Remote-Controlled-Color-Changing-Cloud-Arduino/?ALLSTEPS
CC-MAIN-2015-22
refinedweb
606
74.08
Excess current draw after deepsleep I'm running ver 1.20.1.r1 on a gpy with adhoc wifi disabled (pycom.wifi_on_boot(0)) which gives me a standyby current (no program running) of about 50mA. However after I run a program that terminates with a machine.deepsleep(20000) via Atom the standby current is 50mA for ~3s after w...
https://forum.pycom.io/topic/6327/excess-current-draw-after-deepsleep
CC-MAIN-2022-33
refinedweb
580
75.71
Current Version: Linux Kernel - 3.80 Synopsis #include <sys/mman.h> void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); int munmap(void *addr, size_t length); See NOTES for information on feature test macro requirements. Description If addr is NULL, then the kernel chooses the address at w...
https://community.spiceworks.com/linux/man/2/munmap
CC-MAIN-2019-35
refinedweb
385
66.64
Hi there, I want some help on decreasing the database size. My SYSTEM Table Space size is too large. 4.09GB. How can I reduce it? Kind Regards. Printable View Hi there, I want some help on decreasing the database size. My SYSTEM Table Space size is too large. 4.09GB. How can I reduce it? Kind Regards. Hi, Please check ...
http://www.dbasupport.com/forums/printthread.php?t=33311&pp=10&page=1
CC-MAIN-2018-22
refinedweb
628
66.33
def find_best(key): ... return new_key, value key, value = find_best(key) a, b = b, a # swapInterval test if 2 < x < 4: print "x is between 2 and 4."Set membership test if val in ('foo','bar'): # or {'foo','bar'}: a setFor performance, store the tuple/set in a variable (whose name could be useful documentation), or jus...
http://c2.com/cgi/wiki?PythonIdioms
CC-MAIN-2015-35
refinedweb
472
73.68
Version 7 does offer some performance gains (especially in regards to optimized code for Pentium4 compared to GCC), but the debugger is less than stellar, LinuxJournal says. Testing the Intel C++ Compiler 2003-09-12 Intel 10 Comments Version 7 does offer some performance gains (especially in regards to optimized code f...
https://www.osnews.com/story/4524/testing-the-intel-c-compiler/
CC-MAIN-2019-51
refinedweb
827
74.29
09 November 2007 16:14 [Source: ICIS news] By Nigel Davis LONDON (ICIS news)--?xml:namespace> The Henry Hub spot price on 7 November was up about 2% on the week at $7.34/m Btu (million British thermal units). All important gas inventories are high. Working gas stocks hit a record high as of 2 November with 3,545bn cubi...
http://www.icis.com/Articles/2007/11/09/9077689/INSIGHT-High-gas-prices-add-to-Europes-oil-woes.html
CC-MAIN-2014-42
refinedweb
540
60.85
Go Unanswered | Answered Screensavers ~300 answered questions Parent Category: Software and Applications (non-game) Screensavers are applications that run when a computer is idle. Their purpose is to prevent damage to computer monitors and/or provide entertainment. 1 2 3 > How can you convert a flash file into a Window...
http://www.answers.com/Q/FAQ/17177
CC-MAIN-2017-30
refinedweb
3,604
72.16
Authenticating API calls In this example, we're showing how service accounts can be used to call the AdSense Platforms API to create and manage sub-accounts. Step 1: Create a new Google Cloud project (or use an existing one) If you have an existing Google Cloud project, feel free to use that. Otherwise, follow the guid...
https://developers.google.com/adsense/platforms/reference/authenticating-api-calls
CC-MAIN-2022-05
refinedweb
483
57.61
I'm working with someone on an app and I cloned their branch from our git repository. They added a NuGet Package called Xam.Plugin.Connectivity. However, it's not recognizing this in our utils page. It just says that the type or namespace "Plugin" could not be found. I made sure to get the most up to date version and I...
https://forums.xamarin.com/discussion/137229/vs-not-recognizing-plugin-connectivity
CC-MAIN-2020-45
refinedweb
204
74.39
OK. First of all, this will be my first post on this forum, I just found it and I'm pretty happy about it.OK. First of all, this will be my first post on this forum, I just found it and I'm pretty happy about it. Short story of why I'm posting: I study information science at a University in Sweden and recently started ...
http://www.codingforums.com/java-and-jsp/286986-sort-existing-data-new-data-external-txt-file.html?s=42d6187531d94d673e8c4e13493ce581
CC-MAIN-2016-22
refinedweb
522
61.22
Scalaz Features for Everyday Usage Part 3: State Monad, Writer Monad, and Lenses Scalaz Features for Everyday Usage Part 3: State Monad, Writer Monad, and Lenses In Part 3 of this series Monads and Lenses are introduced with code samples, with a focus on stuff that is practical to use. Join the DZone community and get ...
https://dzone.com/articles/scalaz-features-for-everyday-usage-part-3-state-mo?fromrel=true
CC-MAIN-2019-35
refinedweb
1,806
51.18
MS Dynamics CRM 3.0 and probably there are other obscure ways, but the intended way is obviously f.write nsz Diez > You should look at the mmap-module. However, numpy has a properly working memory mapped array class, numpy.memmap. It can be used for fast file access. Numpy also has a wide range of datatypes that are ef...
http://www.megasolutions.net/python/writing-to-a-file-78682.aspx
CC-MAIN-2014-52
refinedweb
334
67.76
Barcode Software generate qr code using c# Contents in visual C#.net Maker QR Code JIS X 0510 in visual C#.net Contents 5 Solutions Overview and Concepts using barcode integrating for .net control to generate, create barcode image in .net applications. syntax BusinessRefinery.com/barcode use rdlc reports net barcodes i...
http://www.businessrefinery.com/yc1/254/8/
CC-MAIN-2022-40
refinedweb
2,044
57.67
NAME g_provider_by_name - find GEOM provider with given name SYNOPSIS #include <geom/geom.h> struct g_provider * g_provider_by_name(const char *name); DESCRIPTION The g_provider_by_name() function searches for a provider called name and returns the structure g_provider bound to it. Argument name should be a name, not a...
http://manpages.ubuntu.com/manpages/lucid/en/man9/g_provider_by_name.9freebsd.html
CC-MAIN-2014-15
refinedweb
121
56.66
Source code: Lib/bisect.py This insertion point for x in a to maintain sorted order. The parameters lo and hi may be used to specify a subset of the list which should be considered; by default the entire list is used. If x is already present in a, the insertion point will be before (to the left of) any existing entries...
http://docs.python.org/dev/library/bisect.html
CC-MAIN-2013-48
refinedweb
555
58.62
List performance consolidation thread I'm building a music control application, consisting of a dedicated LAN-only HTTP server, and Sencha-based clients. The nature of this application means that I must deal gracefully with lists of data potentially in the 10,000 to 100,000 item range, with a high degree of interactivi...
https://www.sencha.com/forum/showthread.php?119185-List-performance-consolidation-thread/
CC-MAIN-2016-22
refinedweb
3,168
58.89
Intro: How to Control TV Functions Using Analog Input and Arduino Have you ever wanted to use a good old knob to control your TV volume instead of repeated button pushing? Or make it controlled by light? Do you want your remote to be replaced by an awesome arduino and let it do the hard work of using a remote for you? ...
https://www.instructables.com/id/How-to-control-TV-functions-using-Analog-input-and/
CC-MAIN-2018-43
refinedweb
1,440
65.15
Several weeks ago, I tweeted that a lot of people appear to be making their software far more complex than it needs to be. I was asked to elaborate and share details. The comment was prompted by reading dozens of forum posts by desperate developers in over their heads trying to apply enormous and complex frameworks to ...
http://csharperimage.jeremylikness.com/2011_09_01_archive.html
CC-MAIN-2015-06
refinedweb
3,606
57.61
Automating Penetration Testing in a CI/CD Pipeline: Part 2 Automating Penetration Testing in a CI/CD Pipeline: Part 2 How to use OWASP ZAP API and Python scripts to automatically start penetration testing your web applications. first post, we discussed what OWASP ZAP is, how it’s installed and automating that installat...
https://dzone.com/articles/automating-penetration-testing-in-a-cicd-pipeline-1
CC-MAIN-2018-47
refinedweb
1,559
63.29
The MinnowBoard packs a SATA, gigabit ethernet port, and PCI Express connectivity with the HDMI and USB trimmings one expects from a modern Single Board Computer (SBC). The MinnowBoard also brings an Atom CPU with Intel GMA 600 graphics, 1Gb of RAM, 4Gb of flash storage, a handful of GPIO ports to tinker with and the b...
https://www.linux.com/learn/tutorials/745700-minnowboard-the-200-atom-based-maker-board
CC-MAIN-2014-15
refinedweb
1,688
67.18
Plz provide me all the material for Java Plz provide me all the material for Java Plz provide me all the material for Java Please go through the following link: Java Tutorials java material java material Please provide option for full materials download ... i dont have internet connection in my home. plz provide offlin...
http://www.roseindia.net/tutorialhelp/comment/94568
CC-MAIN-2014-49
refinedweb
2,957
65.62
Reading a text file main.py -- put your code here! print ("In main...") import setup_wifi print ("WiFi setup...") import ReadFile ReadFile.py is: print ("In ReadFile...") file = open('02_250.txt', 'r') file.close() Getting OSError Errno 2 ENOENT on file = open('02_250.txt', 'r') I am returning to the SiPy after 6 month...
https://forum.pycom.io/topic/1879/reading-a-text-file
CC-MAIN-2019-13
refinedweb
146
89.14
> m trying to export a namespace from my file server (that is a > namespace's bootes) to my terminal (logging as a client), i tried to > do: > servname% exportfs -a -r /tmp (from file server) > but i have this error: > exportfs: auth_proxy: auth_proxy write fd: inappropriate use of fd > before doing this, i opened the ...
http://fixunix.com/plan9/553612-exporting-namespace.html
CC-MAIN-2016-30
refinedweb
167
56.32
. Yama: not so fast Posted Aug 5, 2010 5:21 UTC (Thu) by thedevil (subscriber, #32913) [Link] What would you do in your day job, if after completing your task using approach A1, your boss told you that wouldn't do, use approach A2 instead; then, after some time passed, you completed approach A2, and the same boss sugg...
http://lwn.net/Articles/398607/
CC-MAIN-2013-20
refinedweb
1,817
68.81
:) Log.h #ifndef LOG_H #define LOG_H #include <fstream> #include <stdarg.h> #include <iostream> #include <pthread.h> #define INFO "Info :" #define WARNING "Warn :" #define ERROR "Error:" #define DEBUG "Debug:" using namespace std; class Log { public: Log (char* logFilename, bool debugOn = false); virtual ~Log (); void...
http://www.daniweb.com/software-development/cpp/threads/410861/creating-thread-safe-logger
CC-MAIN-2014-15
refinedweb
615
62.17