text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Navigate between screens use react-navigation
navigating between screens react native example
react native button click move to another screen
react-navigation/stack
react-navigation navigate to another stack
react-navigation example
react-native-screens
react navigation expo
I want to use react-navigation to navigate ... | http://thetopsites.net/article/54686916.shtml | CC-MAIN-2020-50 | en | refinedweb |
import "github.com/rogpeppe/go-internal/internal/textutil"
package textutil contains text processing utilities.
This package came to life as a result of refactoring code common to internal packages we have factored out of the Go repo.
Diff returns a formatted diff of the two texts, showing the entire text and the minim... | https://godoc.org/github.com/rogpeppe/go-internal/internal/textutil | CC-MAIN-2020-50 | en | refinedweb |
)
More User Interface
Alright, so we are currently here:
This is nice, but it doesn't actually lets the user choose between the two buttons, now, does it? We'd need to add some sort of input element to allow the user to pick a button variant.
Since this is an OR relation, i.e. you have to pick one - and exactly one - v... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/redcaptom/shopify-app-from-scratch-12-user-interface-2-3327 | CC-MAIN-2020-50 | en | refinedweb |
User Details
- User Since
- Jun 3 2020, 7:09 PM (24 w, 5 d)
Aug 20 2020
Apply requested changes
Aug 18 2020
Fix clang-format error
Modify the reduction node transform space to use a bool vector with the transformed indices marked as true.
Remove unused headers in OpReducer.h
Change mlir-reduce.cpp to use new OpReducer
... | http://reviews.llvm.org/p/msifontes/ | CC-MAIN-2020-50 | en | refinedweb |
...one of the most highly
regarded and expertly designed C++ library projects in the
world. — Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
If a divide by zero error occurs in a program, it's detected by hardware. The way this manifests itself to the program can and will depend upon
data type - int, float, ... | https://www.boost.org/doc/libs/develop/libs/safe_numerics/doc/html/tutorial/8.html | CC-MAIN-2020-50 | en | refinedweb |
US5870724A - Targeting advertising in a home retail banking delivery service - Google PatentsTargeting advertising in a home retail banking delivery service Download PDF
Info
- Publication number
- US5870724AUS5870724A US08469354 US46935495A US5870724A US 5870724 A US5870724 A US 5870724A US 08469354 US08469354 US 0846... | https://patents.google.com/patent/US5870724 | CC-MAIN-2018-17 | en | refinedweb |
Spark
Basic Usage
The following example demonstrates the Sparkline in action.
import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: ` <p> A sparkline is a very small chart <kendo-sparkline [data]="data"> </kendo-sparkline> , drawn without axes, coordinates or other supportive elements. <... | https://www.telerik.com/kendo-angular-ui/components/charts/sparkline/ | CC-MAIN-2018-17 | en | refinedweb |
Dialogs
Message dialog with own image
For working with dialogs in Java you need use this include:
import javax.swing.JOptionPane;When you need own image in your message box, you can use class ImageIcon.
ImageIcon icon = new ImageIcon( "c:\\add_white_page.png" ); JOptionPane.showMessageDialog( null, "This is message.", ... | http://www.josefpirkl.com/javaexamplecenter/dialogs/jmessage_own_image.php | CC-MAIN-2018-17 | en | refinedweb |
Mark Pollack on Spring.NET 1.3 and 2.0
Recorded at:
- |
-
-
-
-
-
-
Read later
Reading List
- Download
- MP3
- |
- Android app. Mark Pollack who is the founder and lead of Spring.NET project and also a Microsoft MVP. Mark, why don't you tell us a little bit about Spring.NET? What does is provide for the .NET community?... | https://www.infoq.com/interviews/Spring.NET-1.3-2.0 | CC-MAIN-2018-17 | en | refinedweb |
Did you know that asp.net will html encode your server control attributes as from .NET 4.0? This is done for security reasons and prevent cross site scripting attacks. Going forward, you will need to work around this if the need arises as a security enhancement is more likely not to be backwards compatible.
I came acro... | http://avinashsing.sunkur.com/2010/10/ | CC-MAIN-2018-17 | en | refinedweb |
How. So, I had a need to modify that's value to something bigger. And everything is fine besides the fact that this property is read only, and doesn't have a setter. Take a look what JetBrains decompiler says about it:
public int DefaultQueryTimeout { get { if (this.queryTimeout <= 0) return 30; return this.queryTimeou... | http://blog.zaletskyy.com/how-to-modify-query-timeout-in-acumatica | CC-MAIN-2018-17 | en | refinedweb |
Introduction: Personal Gait Analysis Wearable Device
Marathons and Half-Marathons are more popular than ever before. The large number of injuries, especially among beginner and intermediate runners, is a big cause for concern. There are large number of studies that show that foot form (how your foot contacts with the g... | http://www.instructables.com/id/Personal-Gait-Analysis-Wearable-Device/ | CC-MAIN-2018-17 | en | refinedweb |
Hi all,
Those (two) of my regular readers will know I frequently curse my fool-of-a-took laptop. With this in mind I’ve been meaning to write a tutorial on working with Amazon’s web services for when you don’t have the hardware you need. This isn’t that post but I will assume you’ve already got a cluster to hand with a... | http://dogdogfish.com/tag/mahout/ | CC-MAIN-2018-17 | en | refinedweb |
When I start a new VR project in Unity 5 I always map the Recenter function to both the ‘R’ key and the XBox Controller Right Joystick button (which is the stick for rotating the user). It does not need the Oculus Utilities SDK.
It’s quick and easy.
1. Add a new Input item for pressing a key or joystick button named “R... | http://talesfromtherift.com/recenter-position-tracking/ | CC-MAIN-2018-17 | en | refinedweb |
/* -*- sINameSpaceManager_h___ #define nsINameSpaceManager_h___ #include "nsISupports.h" #include "nsAString_XHTML2_Unofficial 12 #define kNameSpaceID_WAIRoles 13 #define kNameSpaceID_WAIProperties 14 #define kNameSpaceID_LastBuiltin 14 // last 'built-in' namespace #define NS_NAMESPACEMANAGER_CONTRACTID "@mozilla.org/c... | http://xulrunner.sourcearchive.com/documentation/1.8.0.15~pre080614d-0etch1/nsINameSpaceManager_8h-source.html | CC-MAIN-2018-17 | en | refinedweb |
Sharing the goodness…
Beth Massi is a Senior Program Manager on the Visual Studio team at Microsoft and a community champion for .NET developers. Learn more about Beth.
More videos »
NOTE: This is the Visual Studio 2012 version of the popular Beginning LightSwitch article series. For other versions see:
Welcome to Part... | http://blogs.msdn.com/b/bethmassi/archive/2012/08/15/beginning-lightswitch-in-vs-2012-part-6-go-beyond-the-box-customizing-lightswitch-apps-with-extensions.aspx | CC-MAIN-2015-35 | en | refinedweb |
GuiFactory Class Reference
#include <GuiFactory.hh>
Detailed DescriptionThe gui factory
Member Function Documentation
Register all known guis.
Register a gui class (called by gui registration function).
Create a new instance of a gui. Used by the world when reading the world file.
The documentation for this class was g... | http://playerstage.sourceforge.net/doc/Gazebo-manual-0.8.0-pre1-html/classgazebo_1_1GuiFactory.html | CC-MAIN-2015-35 | en | refinedweb |
A Deep Dive into Flash Builder 4
In this article we are going to take a look at Adobe’s Flash Builder tool. Flash Builder 4 is part of the Adobe Flash Platform, and the latest release of Adobe's commercially available integrated development environment (IDE) for building Flex and AIR applications. The popular Eclipse-b... | https://dzone.com/articles/flash-builder-4-deep-dive | CC-MAIN-2015-35 | en | refinedweb |
- NAME
- SYNOPSIS
- DESCRIPTION
- SUBROUTINES/METHODS
- CLASSES
- DATES AND TIMES
- DIAGNOSTICS
- GLOBAL VARIABLES
- CAVEATS
- BUGS
- SUPPORT
- LICENSE AND COPYRIGHT
- CREDITS
- SEE ALSO
- AUTHOR
NAME
RPC::XML - A set of classes for core data, message and XML handling
SYNOPSIS
use RPC::XML; $req = RPC::XML::request->ne... | https://metacpan.org/pod/release/RJRAY/RPC-XML-0.77/lib/RPC/XML.pm | CC-MAIN-2015-35 | en | refinedweb |
the Members of Outlook Distribution Lists
Last week we featured a script that not only showed how you can use a script to retrieve a list of all the contacts in your Outlook Contacts folder, but also showed how you can export that list to Microsoft Excel.
Thank you, thank you. But please, hold your applause until the ... | https://technet.microsoft.com/en-us/library/ee692878.aspx | CC-MAIN-2015-35 | en | refinedweb |
This blog has moved to please update your links!
WCF Data Services provides a very simple model driven way to expose data using REST and the OData format. As I was preparing my talk for Tech-Ed on Implementing REST in .NET I was asking myself if there would be any value in using Windows Server AppFabric with WCF Data S... | http://blogs.msdn.com/b/endpoint/archive/2010/06/09/tracking-wcf-data-services-with-windows-server-appfabric.aspx | CC-MAIN-2015-35 | en | refinedweb |
XDR library also provides primitive routines for C floating-point types.
bool_t xdr_float(xdrs, fp) XDR *xdrs; float *fp; bool_t xdr_double(xdrs, dp) XDR *xdrs; double *dp;
The first parameter, xdrs, is an XDR stream handle. The second parameter is the address of the floating-point number that provides data to the st... | http://docs.oracle.com/cd/E26502_01/html/E35597/xdrnts-7.html | CC-MAIN-2015-35 | en | refinedweb |
While the JDO2 spec introduced being able to specify a 1-1 relation as having
the related object as embedded, it doesn't appear to handle how to persist
inherited embedded objects.
public class A {
@Embedded
B b;
}
public class B {...}
public class C extends B {...}
So we embed an object, that may be a B or may be a C.... | http://mail-archives.apache.org/mod_mbox/db-jdo-dev/201111.mbox/%3C201111211149.16414.andy@datanucleus.org%3E | CC-MAIN-2015-35 | en | refinedweb |
The Anti-Thesaurus: Unwords For Web Searches 148
Nicholas Carroll writes: ."
Sounds Good But... (Score:3, Insightful)
Re:Sounds Good But... (Score:2, Interesting)
On the other hand, any potential customer who find the page as a result of a broader match than warranted by the page might also remeber the site as one that... | http://developers.slashdot.org/story/01/11/20/0331231/the-anti-thesaurus-unwords-for-web-searches | CC-MAIN-2015-35 | en | refinedweb |
Advice for Normal File I/O
In the previous subsection, we looked at providing advice on memory mappings. In this section, we will look at providing advice to the kernel on normal file I/O. Linux provides two interfaces for such advice-giving: posix_fadvise() and readahead().
The posix_fadvise( ) System Call
The first a... | http://www.devshed.com/c/a/braindump/advising-the-linux-kernel-on-file-io/1/ | CC-MAIN-2015-35 | en | refinedweb |
using in xml namespace defined in schema
Discussion in 'XML' started by Dominique,:
- 1
- Views:
- 631
- George Bina
- Jul 20, 2006
- Replies:
- 3
- Views:
- 3,870
Validation with XSD using XML::LibXML::Schema, and XML::Validator::Schema, Nov 28, 2006, in forum: Perl Misc
- Replies:
- 5
- Views:
- 1,352
- Brian McCaule... | http://www.thecodingforums.com/threads/using-in-xml-namespace-defined-in-schema.167388/ | CC-MAIN-2015-35 | en | refinedweb |
iofunc_devctl_default()
Default handler for _IO_DEVCTL messages
Synopsis:
#include <sys/iofunc.h> int iofunc_devctl_default( resmgr_context_t *ctp, io_devctl_t *msg, iofunc_ocb_t *ocb );
Since:
BlackBerry 10.0.0
Arguments:
- ctp
- A pointer to a resmgr_context_t structure that the resource-manager library uses to pass ... | http://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/i/iofunc_devctl_default.html | CC-MAIN-2015-35 | en | refinedweb |
Issues
ZF-961: Proposed Feature: Enable Zend_Date::now() / Zend_TimeSync to interoperate
Description
I suggest we consider another integration point between Zend_TimeSync() and Zend_Date(). All code using Zend_Date::now() might potentially benefit, if this function returned an "adjusted" date made more accurate by usin... | http://framework.zend.com/issues/browse/ZF-961?focusedCommentId=13155&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel | CC-MAIN-2015-35 | en | refinedweb |
LIO.Delegate
Contents
Description
Synopsis
Delegating privileges
delegate :: SpeaksFor p => Priv p -> p -> Priv pSource
delegate allows you to create a new privilege object that is
less powerful than an existing privilege object. The first
argument supplies actual privileges. The second argument is a
PrivDesc describin... | http://hackage.haskell.org/package/lio-0.11.4.0/docs/LIO-Delegate.html | CC-MAIN-2015-35 | en | refinedweb |
Hi
hi
online multiple choice examination hi i am developing online multiple choice examination for that i want to store questions,four options,correct answer in a xml file using jsp or java?can any one help me?
Please
Struts Hi i am new to struts. I don't know how to create struts please in eclipse <p>hi here is my cod... | http://www.roseindia.net/tutorialhelp/comment/22738 | CC-MAIN-2015-35 | en | refinedweb |
In Parts 1 thru 6 we created a custom Read/Only provider over an in memory list of Products.
Now it’s time to add update support.
To do that we need to add an implementation of IDataServiceUpdateProvider.
But first lets talk about the…
The IDataServiceUpdateProvider interface is designed to support Batching, allowing c... | http://blogs.msdn.com/b/alexj/archive/2010/02/11/creating-a-data-service-provider-part-7-update.aspx?Redirected=true&title=Creating%20a%20Data%20Service%20Provider%20%E2%80%93%20Part%207%20%E2%80%93%20Update&summary=&source=Microsoft&armin=armin | CC-MAIN-2015-35 | en | refinedweb |
Aight... well, I still think that brief change context should be
included in svn commits. I have said it before... and no doubt I
will say it again sometime.
Anyways, nothing personal, not picking on you... was just providing
some comments to help improve the ability to provide oversight of svn
via change log emails.
-... | http://mail-archives.apache.org/mod_mbox/geronimo-dev/200611.mbox/%3C463EA20A-118B-4E99-8935-857584A619AE@planet57.com%3E | CC-MAIN-2015-35 | en | refinedweb |
core
threads
threads what are threads? what is the use in progarmming
Threads
threads
CoreJava Project
CoreJava Project Hi Sir,
I need a simple project(using core Java, Swings, JDBC) on core Java... If you have please send to my account
Corejava Interview,Corejava questions,Corejava Interview Questions,Corejava
threads... | http://www.roseindia.net/tutorialhelp/comment/49303 | CC-MAIN-2015-35 | en | refinedweb |
On Mon, 03 May, 1999, Joseph Carter wrote: > On Mon, May 03, 1999 at 10:31:07AM +0000, Edward Betts wrote: > > This would be useful for one of my packages xfig. The only problem is that as > > an X program it can't just run sensible-browser and be done with it. > > sensible-browser can either run, lynx or netscape, if ... | https://lists.debian.org/debian-devel/1999/05/msg00150.html | CC-MAIN-2015-35 | en | refinedweb |
As promised, we’re publishing a general ReSharper 5.0 overview, elaborating on its feature set.
Please keep in mind that this is a preliminary document. The general picture will stay unchanged, but local amendments cannot be ruled out at this point, and many user interface items will probably change.
Features
- Externa... | http://blog.jetbrains.com/dotnet/2009/10/12/resharper-50-overview/ | CC-MAIN-2015-35 | en | refinedweb |
This article is in the Book Review chapter. Reviews are intended to provide you with information on books - both paid and free - that others consider useful and of value to developers. Read a good programming book? Write a review!
The .NET Framework SDK and Visual Studio .NET make it easy to use legacy COM components f... | http://www.codeproject.com/Articles/4203/NET-and-COM-The-Complete-Interoperability-Guide?fid=15588&df=10000&mpp=10&noise=1&prof=True&sort=Position&view=Expanded&spc=Relaxed | CC-MAIN-2015-35 | en | refinedweb |
For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:
error whilst executing through vscode
Exception has occurred: ImportError
cannot import name 'feeds'
Hi I am getting this issue with backtrader. Its running on a server and works fine in jupyter but wehn i ... | https://community.backtrader.com/topic/2604/error-whilst-executing-through-vscode | CC-MAIN-2022-21 | en | refinedweb |
Read digital input
In this example, let's try to read digital signals using a pushbutton. When you press or release the button, the input value will change accordingly, either true or false. You can see the result in the serial monitor..
note
In a breadboard, the holes beside the blue horizontal line are all connected.... | https://docs.madmachine.io/tutorials/general/getting-started/read-digital-input | CC-MAIN-2022-21 | en | refinedweb |
Excelify
Easily export
pandas objects to Excel spreadsheets with IPython magic.
Install
pip install excelify
or
pip install
then:
%load_ext excelify
Example
%excel
%load_ext excelify data = [ {'name' : 'Greg', 'age' : 30}, {'name' : 'Alice', 'age' : 36} ] df = pd.DataFrame(data) %excel df -f spreadsheet.xlsx -s sample... | https://excelexamples.com/post/ipython-magic-for-exporting-pandas-objects-to-excel/ | CC-MAIN-2022-21 | en | refinedweb |
The Laravel team released 9.5 with partial queue faking, a freezeTime() test helper, a storage assertDirectoryEmpty() assertion, closures in assertJsonPath(), and more:
Callback Support on Collections Implode Method
@Lito contributed callback support on
Collect::implode() to simplify
->map()->implode() calls:
1{{-- Bef... | https://laravel-news.com/laravel-9-5-0 | CC-MAIN-2022-21 | en | refinedweb |
C++ Modules conformance improvements with MSVC in Visual Studio 2019 16. We finally feel it is time to share some of the progress we have made on the conformance front for Modules.
What’s new?
- Header units are a new form of translation unit which act like portable PCHs.
- Context sensitive
moduleand
importkeywords pr... | https://devblogs.microsoft.com/cppblog/c-modules-conformance-improvements-with-msvc-in-visual-studio-2019-16-5/ | CC-MAIN-2022-21 | en | refinedweb |
Offline JWT Validation with Go
Modern authentication systems use and generate JSON Web Tokens (JWT). There are many different ways that JWTs are used but, in this post, we will concentrate on JWTs that are used as OIDC access tokens. When a user successfully logs in to an application using a service like Okta, an OIDC ... | https://developer.okta.com/blog/2021/01/04/offline-jwt-validation-with-go | CC-MAIN-2022-21 | en | refinedweb |
Hi,
I have implemented an ensemble consisting of 3-layer MLPs with the following architecture:
super(MLP, self).__init__() self.linear1 = torch.nn.Linear(D_in, H) self.relu1 = torch.nn.ReLU() self.batch1 = torch.nn.BatchNorm1d(H) self.hidden1 = torch.nn.Linear(H, H) self.relu2 = torch.nn.ReLU() self.batch2 = torch.nn.B... | https://discuss.pytorch.org/t/ensemble-loss-not-going-down-proportionally/100637 | CC-MAIN-2022-21 | en | refinedweb |
Below is the source code of _register_state_dict_hook I quoted from official Pytorch nn.Module
def _register_state_dict_hook(self, hook): r"""These hooks will be called with arguments: `self`, `state_dict`, `prefix`, `local_metadata`, after the `state_dict` of `self` is set. Note that only parameters and buffers of `se... | https://discuss.pytorch.org/t/invoking-time-of-nn-module-register-state-dict-hook/108163 | CC-MAIN-2022-21 | en | refinedweb |
RxJS and auth token expiration timers
Recently in my work, I stumbled upon an interesting problem to solve. I needed to inform users that they have a valid token only for the next 10 minutes and after that 10 minutes logout them. You can see the user flow with more details on the illustration below.
For this use case, ... | https://krzysztofzuraw.com/blog/2020/rxjs-auth-expiration-timers/ | CC-MAIN-2022-21 | en | refinedweb |
This notebook illustrates how to access the Universal Sentence Encoder and use it for sentence similarity and sentence classification tasks..
Setup
This section sets up the environment for access to the Universal Sentence Encoder on TF Hub and provides examples of applying the encoder to words, sentences, and paragraph... | https://tensorflow.google.cn/hub/tutorials/semantic_similarity_with_tf_hub_universal_encoder | CC-MAIN-2022-21 | en | refinedweb |
I was trying to add a dockerconfigjson secret to pull images from my private github repo docker.pkg.github.com. I was following the docs on I created the secret and updated my deployment to read from it on the imagePullSecrets block. Everything seems to work fine on my DOKS 1.19. I can successfully pull my private ima... | https://www.digitalocean.com/community/questions/problems-setting-imagepullsecrets-on-doks-1-20-and-1-21 | CC-MAIN-2022-21 | en | refinedweb |
Freek Van der Herten (from Spatie ) and Marcel Pociot (from BeyondCode ) have published a package called Laravel WebSockets which provides an alternative to services like Pusher .
In this post I want to explain how to get started with realtime broadcasting in Laravel using WebSockets. The stepwise guide will explain ho... | https://dev.to/johnbraun/websockets-in-laravel-2n62 | CC-MAIN-2022-21 | en | refinedweb |
Commandline User Tools for Input Easification
Project description
CUTIE
Command line User Tools for Input Easification
A tool for handling common user input functions in an elegant way. It supports asking yes or no questions, selecting an element from a list with arrow keys, forcing the user to input a number and secur... | https://pypi.org/project/cutie/ | CC-MAIN-2022-21 | en | refinedweb |
I have this code in my list item component:
import { NavHashLink as NavLink } from 'react-router-hash-link'; const navigationItem = props => { return <li> <NavLink smooth to= {props.link} exact={props.exact} > {props.children} </NavLink> </li> };
And in the other component which imports this component I have this:
cons... | https://forum.freecodecamp.org/t/react-highlighting-active-anchor-link-when-jumping-to-anchor-section/351473 | CC-MAIN-2022-21 | en | refinedweb |
GREPPER
SEARCH
WRITEUPS
DOCS
INSTALL GREPPER
All Languages
>>
Shell/Bash
>>
restart bashrc
“restart bashrc” Code Answer’s
restart bashrc
shell by
woreom
on Aug 21 2020
Comment
5
. ~/.bashrc
reload restart bashrc
shell by
Careful Cowfish
on Mar 27 2021
Comment
0
source ~/.bashrc
Source:
stackoverflow.com
linux refresh .... | https://www.codegrepper.com/code-examples/shell/restart+bashrc | CC-MAIN-2022-21 | en | refinedweb |
#include <stdio.h> FILE *popen(const char *command, const char *type); int pclose(FILE *stream);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
popen(), pclose(): pclose() function returns -1 if wait4(2) returns an error, or some other error is detected. In the event of an error, these function... | https://www.commandlinux.com/man-page/man3/popen.3.html | CC-MAIN-2022-21 | en | refinedweb |
Following code segments shows how to display a message dialog in Java Swing:
import javax.swing.JOptionPane; JOptionPane.showMessageDialog(mainFrame, “Data processing has been completed”);
where, mainFrame = the parent frame in which the dialog should be displayed. mainFrame can also be replaced with null.
If you noti... | http://www.askmeaboutlinux.com/?cat=27&paged=2 | CC-MAIN-2019-13 | en | refinedweb |
Overview
Atlassian Sourcetree is a free Git and Mercurial client for Windows.
Atlassian Sourcetree is a free Git and Mercurial client for Mac.
Gradle Mercurial Mq Plugin
A plugin for Gradle supporting basic Mercurial operations, including those related to MQ, Mercurial's patch queue manager. It has been released under ... | https://bitbucket.org/coherentsoftware/gradle-mercurialmqplugin | CC-MAIN-2019-13 | en | refinedweb |
Service Lane Hackerrank
Calvin is driving his favorite vehicle on the 101 freeway. He notices that the check engine light of his vehicle is on, and he wants to service it immediately to avoid any risks. Luckily, a service lane runs parallel to the highway. The length of the service lane is N units. The service lane con... | https://coderinme.com/service-lane-hackerrank-problem-solution/ | CC-MAIN-2019-13 | en | refinedweb |
Miguel Richardson2,450 Points
4 attempts; sys module does not seems to be working
note: I'm running this program on my local IDE
import sys MASTER_PASSWORD = 'opensesame' password = input("Please enter the super secret password: ") attempt_count = 1 while password != MASTER_PASSWORD: if attempt_count > 3: sys.exit("Too... | https://teamtreehouse.com/community/4-attempts-sys-module-does-not-seems-to-be-working | CC-MAIN-2020-10 | en | refinedweb |
As discussed in the introduction, the samples we are going to show will demonstrate a Java client taking a document created in Microsoft Word and sending it to a .NET-based Web service. When the Web service receives this document, it will be stored in a directory named Files. We'll then show how a .NET client can make ... | https://flylib.com/books/en/1.62.1.93/1/ | CC-MAIN-2020-10 | en | refinedweb |
Package org.eclipse.ui
Class ResourceWorkingSetFilter
- java.lang.Object
- org.eclipse.jface.viewers.ViewerFilter
- org.eclipse.ui.ResourceWorkingSetFilter
public class ResourceWorkingSetFilter extends ViewerFilterA resource working set filter filters resources from a view that are neither a parent nor children of a wo... | https://help.eclipse.org/2019-09/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/ResourceWorkingSetFilter.html | CC-MAIN-2020-10 | en | refinedweb |
.
I hope that you consider yourself familiar with basic Laravel concepts and the Artisan command-line tool to generate the scaffolding code. Of course, a working installation of the latest Laravel application allows you to run the examples provided in this article straight away.
What Is Middleware in Laravel?
We could ... | https://code.tutsplus.com/tutorials/understand-the-basics-of-laravel-middleware--cms-29147?ec_unit=translation-info-language | CC-MAIN-2020-10 | en | refinedweb |
is it possible to extract the data in a buffer as an array? I have saved an audiofile into an buffer and now would like o extract the data. The code is:
import UIKit import AVFoundation
//importing audio
let audioFileURL = Bundle.main.url(forResource: "Morning", withExtension: "wav")
let audioFile = try AVAudioFile(for... | https://forums.developer.apple.com/message/198692 | CC-MAIN-2020-10 | en | refinedweb |
rich:fileUpload and RF 3.3.3-BETA1John Leed Feb 8, 2010 9:56 AM
Has anyone had any problems with rich:fileUpload in RF 3.3.3 BETA 1? I've been trying to get it working, but my listener method isn't even getting called. The J5EE version of the code (session instead of conversation scope, no weld) works fine with RF 3.3.... | https://developer.jboss.org/message/525396?tstart=0 | CC-MAIN-2020-10 | en | refinedweb |
polypointpolypoint
A Python 3 package for classifying geolocation data.
InstallationInstallation
pip3 install polypoint
Example UseExample Use
Unless you provide a correctly formatted XML sheet (see states.xml for an example), polypoint defaults to using the 50 states of America as its polygons.
from polypoint import p... | https://libraries.io/pypi/polypoint | CC-MAIN-2020-10 | en | refinedweb |
Assumptions and Initial Setup
Detailed steps to set up Airflow have been covered in the previous article. This time we’ll cut some corners and get robust by using Docker Containers. This article assumes familiarity with Docker.
To use Docker on Windows/Mac you need Docker Desktop. It requires Hyper-V and therefore Wind... | https://www.xplenty.com/blog/etl-with-apache-airflow/ | CC-MAIN-2020-10 | en | refinedweb |
Fazle Khan
- Total activity 7
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
Fazle Khan created a post,
using Activemq's custom Spring namespaceActivemq uses a custom Spring namespace to aid deployment, unfortunately IntelliJ doesn't seem to support this extension a... | https://intellij-support.jetbrains.com/hc/en-us/profiles/2147960145-Fazle-Khan | CC-MAIN-2020-10 | en | refinedweb |
In this blog you will get a quick overview of our Flutter Radial Gauge and its features by designing a speedometer mobile application.
The Radial Gauge for Flutter is a data visualization widget written in Dart that displays numerical values on a circular scale. It has a rich set of features such as axes, ranges, point... | https://www.syncfusion.com/blogs/post/speedometer-using-flutter-radial-gauge.aspx | CC-MAIN-2020-10 | en | refinedweb |
Jasc Another Service ContainerJasc Another Service Container
FeaturesFeatures
- Circular Dependency detection
- Lazy loading of services
- the Service callback function is called once when the service is resolved
- Services are served as properties on the container
InstallationInstallation
npm i jasc
UsageUsage
Basic u... | https://www.npmjs.com/package/jasc | CC-MAIN-2021-39 | en | refinedweb |
table of contents
- buster 7.64.0-4+deb10u2
- buster-backports 7.74.0-1.2~bpo10+1
- testing 7.74.0-1.2
- unstable 7.74.0-1.3
NAME¶CURLOPT_CONNECT_TO - Connect to a specific host and port instead of the URL's host and port
SYNOPSIS¶
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_CONNECT_TO, struc... | https://manpages.debian.org/buster-backports/libcurl4-doc/CURLOPT_CONNECT_TO.3.en.html | CC-MAIN-2021-39 | en | refinedweb |
Follow me on Twitter at @tim_deschryver | Subscribe to the Newsletter | Originally published on timdeschryver.dev.
Read the TLDR on timdeschryver.dev CLI..
{ "lint-staged": { "*.{js,ts,json,svelte}": ["eslint --fix", "git add"], "*.{prettier}": ["prettier --write", "git add"], "*.{jpg,jpeg,png,gif}": ["node ./scripts/o... | https://practicaldev-herokuapp-com.global.ssl.fastly.net/timdeschryver/automagically-optimize-your-images-with-squoosh-5fn3 | CC-MAIN-2021-39 | en | refinedweb |
On Tuesday 05 February 2008 11:51:58 pm Kelly Miller wrote: > Ignacio Vazquez-Abrams wrote: > > > > So, something like this? Something like that, but I'd suggest a few enhancements. > %if 0%{?fedora} <= 8 > BuildRequires: kdelibs-devel >= 3.0.0, kdebase-devel >= 3.0.0 > Requires: kdebase All supported distros have kdef... | https://listman.redhat.com/archives/fedora-devel-list/2008-February/msg00290.html | CC-MAIN-2021-39 | en | refinedweb |
table of contents
- buster 4.16-2
- buster-backports 5.04-1~bpo10+1
- testing 5.10-1
- unstable 5.10 are required (see the description of the EPERM error, below). The size argument specifies the number of supplementary group IDs in the buffer pointed to by list.
RETURN VALUE¶On success, getgroups() returns the number o... | https://manpages.debian.org/buster/manpages-dev/getgroups.2.en.html | CC-MAIN-2021-39 | en | refinedweb |
Front-End Web & Mobile building microsites under different subdomains of your primary domain, a monorepo strategy gives each team the flexibility to pick their frontend tech stack (e.g. angular vs react), while allowing shared functionality to be stored in common libraries in the same repository.
With today’s launch, A... | https://aws.amazon.com/blogs/mobile/set-up-continuous-deployment-and-hosting-for-a-monorepo-with-aws-amplify-console/ | CC-MAIN-2021-39 | en | refinedweb |
- Spring Boot contains a number of features to help you monitor and debug a production application.
- In other words, it enables production-ready features in a Spring Boot Application.
- Monitoring the crucial information of an Application like run time metrics, health, traffic, state of the Database etc.. becomes very... | https://www.tutorialcup.com/spring-boot/spring-boot-actuators.htm | CC-MAIN-2021-39 | en | refinedweb |
- Author:
- humphreymurray
- Posted:
- January 10, 2011
- Language:
- Python
- Version:
- Not specified
- generic-views permissions class-based
- Score:
- 3 (after 3 ratings)
Simple wrappers around the new class-based generic views (introduced in Django 1.3) that also check permissions.
Example Usage (views.py):
from m... | https://djangosnippets.org/snippets/2317/ | CC-MAIN-2019-13 | en | refinedweb |
In TFS 2008, we had a lot of requests to make the Build Details View customizable. In 2010, we have taken the first step in that direction. In this post, I will explain how to change the Log View of the new Build Details View to show custom build information.
For reference you may want to check out Patrick’s blog post ... | https://blogs.msdn.microsoft.com/jpricket/2009/12/21/tfs-2010-displaying-custom-build-information-in-visual-studio/ | CC-MAIN-2017-17 | en | refinedweb |
With 350 points and a description as follows:.
Note: Multiple collisions are possible, but only one of them is a valid flag.
You will realize you’ve gotten it once you do.
The hash is given as follows:
So, we start off by looking at the binary. Using Hopper, we obtain the following pseudo code by decompilation:
int has... | https://grocid.net/2016/06/05/backdoorctf16-collision-course/ | CC-MAIN-2017-17 | en | refinedweb |
By Nathan Totura (Intel), Added.
Contents
- Charts and Graphs
- iOS Charts and Graphs
- Quartz 2D and Core Graphics
- Core Plot
- Windows 8 Store UI Charts and Graphs
- XAML Charts and Graphs
- DirectX* Charts and Graphs
- Conclusion
- About the Author
Charts and Graphs
One common element in applications is the use of ... | https://software.intel.com/en-us/articles/porting-ios-custom-charts-and-graphs-to-windows-8-ui | CC-MAIN-2017-17 | en | refinedweb |
IMO we need to go ahead with the first approach since there may be some cases we need to have some additional properties, headers, or host, etc. which are not common for all connectors. These are depend on the backend service.
Thanks, Keerthika. On Thu, Oct 13, 2016 at 3:55 PM, Rajjaz Mohammed <raj...@wso2.com> wrote: ... | https://www.mail-archive.com/architecture@wso2.org/msg12258.html | CC-MAIN-2017-17 | en | refinedweb |
Sometimes its hard to determine whether to use a property or a method in C#. There are however guidelines to help you choose the right feature to use.
Month: March 2011
Link Directly to a Sitecore Item in a Custom Editor
Learn how to make a custom Sitecore editor link directly to an item using the built-in JavaScript t... | http://firebreaksice.com/2011/03/ | CC-MAIN-2017-17 | en | refinedweb |
I've been inserting a few <hr /> tags into posts recently. In order to do this, I've had to switch to HTML view and move the cursor to the right spot, and type the tag. Then switch back and reset focus. Grr!
Well, easily enough, I've created a Windows Live Writer Plug-in to do this. Rick Strahl had the winning post tha... | http://jeffhandley.com/archive/2008/01/23/windows-live-writer-insert-horizontal-rule.aspx | CC-MAIN-2017-17 | en | refinedweb |
Red Hat Bugzilla – Bug 19462
Internal compiler error in expand_shift, at expmed.c :2026
Last modified: 2007-04-18 12:29:25 EDT
Since I don't think the people at gcc-bugs@gcc.gnu.org support Red Hat's
gcc 2.96-54, and because I've made more good than bad experience with that
particular snapshot, I post this here...
The ... | https://bugzilla.redhat.com/show_bug.cgi?id=19462 | CC-MAIN-2017-17 | en | refinedweb |
New security APIs in WebSphere Portal
Editor's note: Know a lot about this topic? Want to share your expertise? Participate in the IBM Lotus software wiki program today.
Although WebSphere Portal provides many ways to configure a variety of security scenarios, it is often necessary to customize or extend the default pr... | https://www.ibm.com/developerworks/websphere/library/techarticles/0905_buchwald/0905_buchwald.html | CC-MAIN-2017-17 | en | refinedweb |
xdf_define_arrays man page
xdf_define_arrays — Specify the number of input/output arrays
Synopsis
#include <xdfio.h>
int xdf_define_arrays(struct xdf* xdf,
unsigned int narrays, const size_t *strides);
Description
xdf_define_arrays() specifies the number of arrays and its strides for upcoming calls to xdf_write(3) and ... | https://www.mankier.com/3/xdf_define_arrays | CC-MAIN-2017-17 | en | refinedweb |
by Glynn Foster
Published November 2011 (updated June 2013)
Oracle Solaris 11 takes a new approach to lifecycle and package management to greatly simplify the process of managing system software helping reduce the risk of operating system maintenance, including reducing unplanned and planned downtime. With Image Packag... | http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-097-create-pkg-ips-524496.html | CC-MAIN-2017-17 | en | refinedweb |
Hey guys
I know I have posted this type of question before but I want to get to the nitty-gritty of this. I have the following program that sorts ten numbers enter by the user. The program work but I am not able to see the results because the program closes as soon as it done displaying. If i use
system("pause");
the p... | https://www.daniweb.com/programming/software-development/threads/107099/make-the-program-stop | CC-MAIN-2017-17 | en | refinedweb |
in reply to Re^3: brian's Guide to Solving Any Perl Problemin thread brian's Guide to Solving Any Perl Problem.
I think you've totally missed my points here. Im not saying that you shouldnt be able to do things that can blow your foot off. Im saying that if you want to avoid certain problems you should use the techniqu... | http://www.perlmonks.org/index.pl?node_id=428704 | CC-MAIN-2017-17 | en | refinedweb |
/* * conchan.h * * Asynchronous serial: conchan.h,v $ * Revision 1.4 2003/09/17 01:18:03 csoutheren * Removed recursive include file system and removed all references * to deprecated coooperative threading support * * Revision 1.3 2002/09/16 01:08:59 robertj * Added #define so can select if #pragma interface/implementa... | http://pwlib.sourcearchive.com/documentation/1.10.3-0ubuntu1/unix_2ptlib_2conchan_8h-source.html | CC-MAIN-2017-17 | en | refinedweb |
When implementing DNS on your network, you need to choose at least one server to be responsible for maintaining your domain. This is referred to as your primary name server, and it gets all the information about the zones it is responsible for from local files. Any changes you make to your domain are made on this serve... | http://www.yaldex.com/tcp_ip/0672325659_ch11lev1sec5.html | CC-MAIN-2017-17 | en | refinedweb |
Pledge of Allegiance Ruled Unconstitutional 2722
VUSE g-EE-k and entirely too many other people wrote in about an Appeals Court decision holding that the Pledge of Allegiance, as recited in its current form in various public schools (often by law), is unconstitutional. The court's decision (PDF) is available.
$$, too (... | https://slashdot.org/story/02/06/26/1935246/pledge-of-allegiance-ruled-unconstitutional?sbsrc=thisday | CC-MAIN-2017-17 | en | refinedweb |
working trafficlight!
Kelsey kelskjs
Ranch Hand
Joined: Nov 07, 2003
Posts: 36
posted
Feb 09, 2004 13:45:00
0
Hello. I am new to
JAVA
and I am really confused by this problem that I am trying to work on..I am supposed to write a program using BlueJ to create a stoplight with a black rectangle as its base and three ind... | http://www.coderanch.com/t/372865/java/java/Creating-working-trafficlight | CC-MAIN-2014-52 | en | refinedweb |
Namespaces exist in many languages, including C++ and the Java™ programming language. They came about to help with the organization of large codebases, where oftentimes, there was a concern for overlapping function or class names with the application and the problems that having that would cause. The use of namespaces ... | http://www.ibm.com/developerworks/library/os-php-5.3new3/index.html?S_TACT=105AGY75 | CC-MAIN-2014-52 | en | refinedweb |
Man Page
Manual Section... (2) - page: mq_unlink
NAMEmq_unlink - remove a message queue
SYNOPSIS
#include <mqueue.h> mqd_t mq_unlink(const char *name);
DESCRIPTIONmq_unlink() removes the specified message queue name. The message queue name is removed immediately. The queue itself is destroyed once any other processes t... | http://linux.co.uk/documentation/man-pages/system-calls-2/man-page/?section=2&page=mq_unlink | CC-MAIN-2014-52 | en | refinedweb |
Changes/Php56
From FedoraProject
PHP 5.6
Summary
Update the PHP stack to new version 5.6.
Owner
- Name: Remi Collet
- Release notes owner:
Current status
Upstream releases:
- PHP 5.6.0alpha3 released Mar 6th 2014
- PHP 5.6.0beta1 released Apr 11th 2014
- PHP 5.6.0beta2 released May 2nd 2014
- PHP 5.6.0beta3 released Ma... | http://fedoraproject.org/w/index.php?title=Changes/Php56&oldid=383283 | CC-MAIN-2014-52 | en | refinedweb |
>>:Javascript is actually a great language (Score:3, Insightful)
Or maybe more like Oxygen, poisonous in high concentrations (re: pressures).
Better Idea (Score:3, Insightful)
Re:My thoughts (Score:4, Insightful)
What what most sites use Javascript for... (Score:1, Insightful)
... the browser might just as well support... | http://developers.slashdot.org/story/09/12/01/1548221/Trying-To-Bust-JavaScript-Out-of-the-Browser/insightful-comments | CC-MAIN-2014-52 | en | refinedweb |
On Sun, 4 Oct 1998 address@hidden wrote: > > My win32 problem was as simple as the value not being memcpy'd into the > > soc_in structure. I just figured it out though so now I need to thread > > through why. My brain is molasses though... > ok - then we'll see a patch soon, I hope. (That will leave the NSL_FORK > prob... | http://lists.gnu.org/archive/html/lynx-dev/1998-10/msg00147.html | CC-MAIN-2014-52 | en | refinedweb |
31 January 2012 03:30 [Source: ICIS news]
By Heng Hui
SINGAPORE (ICIS)--Some Asian traders are using creative methods to obtain Iranian petrochemical products as US and EU-led international sanctions imposed on Tehran tighten, industry sources said on Tuesday.
The US and Europe have increased the pressure on Iran's gov... | http://www.icis.com/Articles/2012/01/31/9524325/asia-buyers-resort-to-novel-means-to-pay-for-iran-petchems.html | CC-MAIN-2014-52 | en | refinedweb |
Man Page
Manual Section... (3) - page: putenv
NAMEputenv - change or add an environment variable
SYNOPSIS
#include <stdlib.h> int putenv(char *string);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
putenv(): _SVID_SOURCE || _XOPEN_SOURCE
DESCRIPTIONThe VALUEThe putenv() function returns zero o... | http://linux.co.uk/documentation/man-pages/subroutines-3/man-page/?section=3&page=putenv | CC-MAIN-2014-52 | en | refinedweb |
DesignerSerializationManager Class
Assembly: System.Design (in system.design.dll)
The IDesignerSerializationManager interface is designed to be a format-independent interface to an object that controls serialization. It essentially provides context and services to serializers, which actually perform the deserialization... | http://msdn.microsoft.com/en-us/library/system.componentmodel.design.serialization.designerserializationmanager(v=vs.80).aspx | CC-MAIN-2014-52 | en | refinedweb |
28 September 2011 08:29 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
“The company restarted the plant [late on 27 September] and has achieved on-spec product,” the source said.
The producer shut the plant on 22 September for five days because of a mechanical issue.
Yisheng Dahua Petrochemical is a joint ventur... | http://www.icis.com/Articles/2011/09/28/9495629/chinas-yisheng-dahua-runs-dalian-pta-plant-at-100-after.html | CC-MAIN-2014-52 | en | refinedweb |
Earlier this week I wrote a post detailing the application framework that I’ve been working on, which I’m calling AgFx. I wanted that post to be a bit of an introductory overview,. Now I’m going to dig into detail a bit more, as well as show a bit about how you can use the free Windows Phone 7 Developer tools to quickl... | http://blogs.msdn.com/b/sburke/archive/2011/03/17/tutorial-building-a-connected-phone-app-with-agfx.aspx | CC-MAIN-2014-52 | en | refinedweb |
One of the things that you may need to do - particularly if you are tying to automate the creation of a deployment server in a lab environment - is install the Windows Automated Installation Kit. You may think that because Windows AIK is supplied as .msi files that this would be a simple process, however there is a req... | http://blogs.technet.com/b/deploymentguys/archive/2008/04/30/useful-script-number-4-silent-installation-of-windows-aik-1-1.aspx | CC-MAIN-2014-52 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.