text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Flogger is a fluent logging API for Java. It supports a wide variety of features, and has many benefits over existing logging APIs.
Come for more self-documenting log statements:
logger.atInfo().withCause(exception).log("Log message with: %s", argument);
Stay for additional features that help you manage your logging be... | https://www.programcreek.com/java-api-examples/?project_name=google%2Fflogger | CC-MAIN-2022-21 | en | refinedweb |
The.
Generate new Auth Key
You can create a new Base64 Auth Key by running the code snippet below locally:
var base64Key = System.Convert.ToBase64String(ServiceStack.AesUtils.CreateKey()); appsettings.json or Web.config
<appSettings/> following the
jwt.{PropertyName} format:
appsettings.json
{ "jwt.AuthKeyBase64": "{Ba... | https://docs.servicestack.net/jwt-authprovider | CC-MAIN-2022-21 | en | refinedweb |
Mission1_Blink
As you get a new board, if you don't have some previous knowledge, you might not be able to get it to work out of the box. It is so discouraging. So this first project would like to get everyone started with electronic stuff and the Swift language. You will start with the hello world project - blink the ... | https://docs.madmachine.io/tutorials/swiftio-maker-kit/mission1 | CC-MAIN-2022-21 | en | refinedweb |
On Fri, 27 Apr 2001, Mike Galbraith wrote:>> ran itself into the ground. Methinks I was sent the wrooong patch :)Mike,Please apply this patch on top of Rik's v2 patch otherwise you'll get thelivelock easily:--- linux.orig/mm/vmscan.c Fri Apr 27 04:32:52 2001+++ linux/mm/vmscan.c Fri Apr 27 04:32:34 2001@@ -644,6 +644,7... | https://lkml.org/lkml/2001/4/27/38 | CC-MAIN-2022-21 | en | refinedweb |
Here’s the task:
Generate 20 random integers ranging from -5 to 4, write them to the array cells. Count how many of them are positive, negative and zero values. Display array elements and counted quantities.
Here is the error text:
a [i] = int (a [i])
TypeError: ‘int’ object is not subscriptable.
How to fix it? Thank y... | https://computicket.co.za/python-how-to-fix-it-int-object-is-not-subscriptable/ | CC-MAIN-2022-21 | en | refinedweb |
Mission2_RGB_LED
After successfully get an LED to work, why not try more LEDs? In this project, let's build a circuit for the first time and make the LEDs blink one after another repeatedly.
What you need
The parts you will need are all included in the Maker kit.
- SwiftIO board
- Breadboard
- Red, green, and blue LEDs... | https://docs.madmachine.io/tutorials/swiftio-maker-kit/mission2 | CC-MAIN-2022-21 | en | refinedweb |
Linux
2019-03-06
NAME
chroot - change root directory
SYNOPSIS
#include <unistd.h>
int chroot(const char *path);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
chroot(): in its user namespace) may call chroot().
This call changes an ingredient in the pathname resolution process and does nothing ... | https://reposcope.com/man/en/2/chroot | CC-MAIN-2022-21 | en | refinedweb |
Securing WMI Namespaces
Access to WMI namespaces and their data is controlled by security descriptors. You can protect data in your namespaces by adjusting the namespace security descriptor to control who has access to the data and methods. For more information, see Access to WMI Securable Objects.
The following topics... | https://docs.microsoft.com/en-us/windows/desktop/WmiSdk/securing-wmi-namespaces | CC-MAIN-2019-18 | en | refinedweb |
From: hugo_duncan (hugo.duncan_at_[hidden])
Date: 2002-02-04 11:15:59
shared_ptr seems to use unqualified references to detail namespace. I am not sure if this is a problem specifically for MSVC 7, or a general issue.
While compiling code on MSVC 7 (which compiled fine using the boost CVS version last week) I get the f... | https://lists.boost.org/Archives/boost/2002/02/24452.php | CC-MAIN-2019-18 | en | refinedweb |
On 14/10/2016 15:44, Anil Madhavapeddy wrote:
> On 14 Oct.
>>
>> Initially I kept minting my own infix operators (like `>>*=` `>>|=`) but it
>> quickly got confusing for me and I probably didn't name them uniformly
>> across projects. Recently I've stuck to `>>=` and have put different ones in
>> different modules like... | https://lists.xenproject.org/archives/html/mirageos-devel/2016-10/msg00053.html | CC-MAIN-2019-18 | en | refinedweb |
Sql
Personalization
Sql Provider Personalization
Sql Provider Personalization
Sql Provider Personalization
Class
Provider
Definition
Implements a personalization provider that uses Microsoft SQL Server.
public ref class SqlPersonalizationProvider : System::Web::UI::WebControls::WebParts::PersonalizationProvider
public ... | https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.webparts.sqlpersonalizationprovider?redirectedfrom=MSDN&view=netframework-4.7.2 | CC-MAIN-2019-18 | en | refinedweb |
How to: Create the User Control and Host in a Dialog Box
The procedure in this topic assumes you are creating a new dialog-based (CDialog Class) in the Properties window and change the TabStop property to True.
Configure the project.
In Solution Explorer, right-click the MFC01 project0101 project directory so that the ... | https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2008/b1kyh79x%28v%3Dvs.90%29 | CC-MAIN-2019-18 | en | refinedweb |
Bummer! This is just a preview. You need to be signed in with a Pro account to view the entire video.
Behavior-Driven Development with Cucumber57:38 with Andrew Chalkley.
Related Links
- 0:00
[? music ?] [treehouse workshops]
- 0:02
Hello and welcome to this Treehouse Workshop.
- 0:05
I'm Andrew, and today we're going ... | https://teamtreehouse.com/library/behaviordriven-development-with-cucumber-2 | CC-MAIN-2019-18 | en | refinedweb |
Slim yet handsome validation library
Project description
Good
Slim yet handsome validation library.
Core features:
- Simple
- Customizable
- Supports nested model validation
- Error paths (which field contains the error)
- User-friendly error messages
- Internationalization!
- Robust: 10 000 validations per second
- Py... | https://pypi.org/project/good/ | CC-MAIN-2019-18 | en | refinedweb |
Even though there is a nice build set up now, where did all the CSS go? As per configuration, it has been inlined to JavaScript! Even though this can be convenient during development, it doesn't sound ideal.
The current solution doesn't allow cache CSS. You can also get a Flash of Unstyled Content (FOUC). FOUC happens ... | https://survivejs.com/webpack/styling/separating-css/ | CC-MAIN-2019-18 | en | refinedweb |
'
Also, add the following package to enable debug logging in the output window via the Package Manager Console:
Install-Package Microsoft.Extensions.Logging -Version 1.0.1
Next, under the Tools dropdown menu, locate NuGet Package Manager and click Manage NuGet Packages for Solution. Under the Updates tab, select the Up... | https://www.programmableweb.com/news/add-programmable-sms-to-your-net-apps/sponsored-content/2017/09/12?qt-top_most_menu_other_directories=2 | CC-MAIN-2019-18 | en | refinedweb |
What would I change my top mxd line to have it open in any mxd. I don't need parameters I just need it to run in any mxd I open.
import arcpy, traceback mxd = arcpy.mapping.MapDocument(r"K:\TASS\2 - GEO-DATA PROCESSING SUPPORT\MICHELLE'S WORK_ENTER NOT!!\Work Folder\Python Programming\Wayne's Tools\Abilene_Base_Map.mxd... | https://community.esri.com/thread/73043-opening-python-codescript-in-any-mxd | CC-MAIN-2019-18 | en | refinedweb |
In this quick and easy Raspberry Pi project, you’ll learn how to make a Gmail email notification light. If you have any unread emails, a Python script turns the LED on. This project requires very few parts, and can be completed in under an hour! You can of course dress up your LED any way you like, such as a MineCraft ... | http://www.makeuseof.com/tag/make-raspberry-pi-gmail-notification-light/ | CC-MAIN-2017-22 | en | refinedweb |
I]
That's it. Thanks!
Any chance in getting formatted into the clipboard?
Here's a couple links that I found that may be of some use:CoffeeGhost - Pyperclip -- A cross-platform clipboard module for PythonHTML Clipboard Format (MSDN) grabbed the following code from the Python docs and ran it (Windows 7) and it sent an e... | https://forum.sublimetext.com/t/exporthtml-plugin-rename-from-printhtml/5386/51 | CC-MAIN-2017-22 | en | refinedweb |
I was developing a small Windows app using C#, and I decided that it would be nice to save the window's position and size when the app exited so it would be the same the next time the app was run. Having come from the MFC world, I searched for something equivalent to GetProfile and WriteProfile methods of the CWinApp c... | https://www.codeproject.com/Articles/5304/Read-Write-XML-files-Config-files-INI-files-or-the?msg=3664692 | CC-MAIN-2017-22 | en | refinedweb |
In today’s Programming Praxis exercise, our goal is to list all the potential ways a knight on a chess board can get from one position to another. Let’s get started, shall we?
import Data.Ix
A knight can move to 8 positions, assuming they fit on the board. Each move is a combination of moving one square in one directio... | https://bonsaicode.wordpress.com/2013/03/08/programming-praxis-knight-moves/ | CC-MAIN-2017-22 | en | refinedweb |
Adds C-style preprocessor directive support to JS brunch compilations. This allows you to have the same source files, but multiple config.coffee files to compile for different environments.
Add
"jspreprocess-brunch": "x.y.z" to
package.json of your brunch app.
In each
config.coffee file of your brunch app, add a line t... | https://www.npmjs.com/package/jspreprocess-brunch | CC-MAIN-2017-22 | en | refinedweb |
Timed effects handling. More...
#include "player.h"
#include "list-player-timed.h"
Go to the source code of this file.
Timed effects handling.
Copyright (c) 1997 Ben Harrison Copyright (c) 2007 A Sidwell andi@.nosp@m.takk.nosp@m.aria..nosp@m.org_set_food().
Referenced by player_regen_hp(), player_set_food(), process_wo... | http://buildbot.rephial.org/builds/master/doc/player-timed_8h.html | CC-MAIN-2017-22 | en | refinedweb |
struct myStruct{ int x, y, z; int operator [](int index){ return (&x)[index]; } } myStruct s; s.x = 0;
and
struct myStruct{ int a[3]; int operator [](int index){ return a[index]; } int x(void){ return a[0]; } int y(void){ return a[1]; } int z(void){ return a[2]; } }; myStruct s; s.a[0] = 0;
are nearly equivalent in ter... | https://www.gamedev.net/topic/635794-vector-math-class-storage-array-vs-separate-members/ | CC-MAIN-2017-22 | en | refinedweb |
The information in this article applies to Windows NT, Win2K/XP. There is no specific Win32 API that retrieves the CPU usage. An undocumented API, NtQuerySystemInformation in ntdll.dll, would help us retrieve the CPU usage. However, CPU usage can be retrieved by using performance counters. Since PDH.dll (Performance Da... | https://www.codeproject.com/Articles/3413/How-to-get-CPU-usage-by-performance-counters-witho?msg=2511166 | CC-MAIN-2017-22 | en | refinedweb |
SCALABLE ARCHITECTURE FOR INTEGRATED BATCH AND STREAMING ANALYSIS OF BIG DATA
- Ralf Grant
- 1 years ago
- Views:
Transcription
1 SCALABLE ARCHITECTURE FOR INTEGRATED BATCH AND STREAMING ANALYSIS OF BIG DATA Xiaoming Gao Submitted to the faculty of the University Graduate School in partial fulfillment of the requiremen... | http://docplayer.net/1953640-Scalable-architecture-for-integrated-batch-and-streaming-analysis-of-big-data.html | CC-MAIN-2017-22 | en | refinedweb |
allocate_voice man page
allocate_voice — Allocates a sound card voice for a sample. Allegro game programming library.
Synopsis
#include <allegro.h>
int allocate_voice(const SAMPLE *spl);
Description
Alloc
Returns the voice number, or -1 if no voices are available.
See Also
deallocate_voice(3), reallocate_voice(3), rele... | https://www.mankier.com/3/allocate_voice | CC-MAIN-2017-22 | en | refinedweb |
Q:
Q:
Q:. The programmer must make sure that arguments match, or must manually insert explicit casts.
In the case of printf-like functions, some compilers (including gcc) and some versions of lint are able to check the actual arguments against the format string, as long as the format string is an immediate string liter... | http://c-faq.com/~scs/cgi-bin/faqcat.cgi?sec=varargs | CC-MAIN-2017-22 | en | refinedweb |
Welcome to the Parallax Discussion Forums, sign-up to participate.
DavidZemon wrote: »
No Linux offering? Also coming soon? Or was there a problem during compilation/packaging?
What’s New?
If you have used a previous version of SimpleIDE, this section explains what differences to expect with
the new version of the soft... | http://forums.parallax.com/discussion/165928/simpleide-wifi | CC-MAIN-2017-22 | en | refinedweb |
for loop questionreplace while loop with while(num>=0)
=Hope it helped you
[code]#include <fstream>
#include <iostream>
#include <string>
using namesp...
Array PointerThere are three ways to intialize array to default value
- Using fill function std::fill(starting...
Requesting C++ Project ReformatWhere is your assignm... | http://www.cplusplus.com/user/vintho/ | CC-MAIN-2017-22 | en | refinedweb |
.
@echo off xps2pdf.exe C:\in\*.xps C:\out\*.pdf for /f "delims=?" %%f in ('dir C:\out\*.pdf /b') do ( AcroRd32.exe /t "%%f" "\\servername\printername" del %%f )
@echo off for /f "delims=?" %%f in ('dir *.xps /b') do ( xpsrchvw "%%f" -p )
@echo off :: create kix script for print dialog :: download from >"%temp%\xpsprt.... | https://www.experts-exchange.com/questions/26401994/Print-XPS-documents-from-command-line.html | CC-MAIN-2017-22 | en | refinedweb |
tag:blogger.com,1999:blog-44428615646580291352017-01-30T05:25:22.577-07:00Grinding-IT-OutYour basic ITPro blog... What's going on at work, what I'm interested in.Derek MangrThank you for visiting. If I can be a resource to you in any way, please comment on an entry and let me know.tag:blogger.com,1999:blog-444286156465... | http://feeds.feedburner.com/Grinding-it-out | CC-MAIN-2017-22 | en | refinedweb |
On Llu, 2004-11-22 at 07:58, Jens Axboe wrote:> > > + spin_unlock_irqsave(&ide_lock, flags);> > > return (*handler) (drive);> > > }> > btw alan, have you attempted to compile this? It averages 2 errors out> of 4 lines :)Guess why it said "for comment". The one that does compile is in current-acbut the fixes are kind of... | https://lkml.org/lkml/2004/11/26/181 | CC-MAIN-2015-14 | en | refinedweb |
As in other object-oriented programming languages, the functionality of a C# program is implemented in one or more classes. The methods and properties of a class contain the code that defines how the class behaves.
C# classes support information hiding by encapsulating functionality in properties and methods and by ena... | http://en.m.wikibooks.org/wiki/C_Sharp_Programming/Classes | CC-MAIN-2015-14 | en | refinedweb |
NAME
rdma_get_request - Retrieves the next pending connection request event.
SYNOPSIS
#include <rdma/rdma_cma.h> int rdma_get_request (struct rdma_cm_id *listen, struct rdma_cm_id **id);
ARGUMENTS
listen Listening rdma_cm_id. id rdma_cm_id associated with the new connection.
DESCRIPTION
Retrieves a connection request e... | http://manpages.ubuntu.com/manpages/precise/man3/rdma_get_request.3.html | CC-MAIN-2015-14 | en | refinedweb |
Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Hello,
I have a C functions for doing binary writes to fastcgi: just a
wrapper of fwrite:
#include "fcgi_stdio.h"
size_t fcgi_write_bin(uint * buf, int len) {
size_t nact = 0;
return fwrite(buf, 1, len, stdout);
}
On ... | http://sourceforge.net/p/clisp/mailman/clisp-list/thread/47CC5ABB01651443A88DB8EC5B4D657B7401A3@S4DE8PSAANK.mitte.t-com.de/ | CC-MAIN-2015-14 | en | refinedweb |
j
JDBC Steps ? Basic steps in writing a JDBC Application
JDBC Steps – Basic steps in writing a JDBC Application... you brief description of JDBC Steps for making connection with the database.... Here are the JDBC Steps to be followed while writing JDBC program
retrieve the value from database into dropdown list using J... | http://www.roseindia.net/tutorialhelp/comment/16166 | CC-MAIN-2015-14 | en | refinedweb |
audiolazy 0.05
Real-Time Expressive Digital Signal Processing (DSP) Package for Python!
Laziness and object representation
There are several tools and packages that let the Python use and expressiveness look like languages such as MatLab and Octave. However, the eager evaluation done by most of these tools make it diff... | https://pypi.python.org/pypi/audiolazy/0.05 | CC-MAIN-2015-14 | en | refinedweb |
Step-by-Step Guide to Understanding the Group Policy Feature Set
Group Policy is the central component of the Change and Configuration Management features of the Microsoft® Windows® 2000 operating system. Group Policy specifies settings for groups of users and of computers, including registry-based policy settings, sec... | https://technet.microsoft.com/it-it/library/Bb742376.aspx | CC-MAIN-2015-14 | en | refinedweb |
Trying Out LAB.js For Asynchronous JavaScript (Script) Loading
The other weekend, I watched Kyle Simpson talk about Script Loaders at the New York City GothamJS conference. Script loaders (hopefully) provide an API for optimal, asynchronous JavaScript loading with options for dependency management. If this sounds compl... | http://www.bennadel.com/blog/2229-trying-out-lab-js-for-asynchronous-javascript-script-loading.htm?_rewrite | CC-MAIN-2015-14 | en | refinedweb |
Hi,
I am developing an Eclipse plugin ( ) which will offer Subclipse
integration . This integration mainly involves posting a diff to a
remote code review server.The single case which I am unable to handle
correctly is a renamed file. When renaming a Java class, named Second:
package com.example;
public class Second {
... | http://svn.haxx.se/subdev/archive-2011-10/0001.shtml | CC-MAIN-2015-14 | en | refinedweb |
This is the 12th article in our "Bring the clouds together: Azure + Bing Maps"
series. You can find a preview of live demonstration on. For a list of articles in the series,
please refer to.
In our previous post, we created a Silverlight client which accesses our
cloud service, and verified the service doesn't need to ... | http://blogs.msdn.com/b/windows-azure-support/archive/2010/12/24/azure-bing-maps-creating-a-windows-phone-client.aspx | CC-MAIN-2015-14 | en | refinedweb |
ddbmock -- a DynamoDB mock implementation.
Presentation
DynamoDB is a minimalistic NoSQL engine provided by Amazon as a part of their AWS product.
DynamoDB allows you to store documents composed of unicode, number or binary data as well are sets. Each tables must define a hash_key and may define a range_key. All other ... | https://bitbucket.org/jamesob_/dynamodb-mock/src/57affa499ee7?at=v0.3.0 | CC-MAIN-2015-14 | en | refinedweb |
Sunday, June 8th: Felicia McQuaid "Freedom through Forgiveness"
Expand Messages
- Program Date: June 8,2008
Program Time: 11:00-12:00
Fellowship: 10:30-11:00; 12:00-12:30
Website:
SPEAKER and TOPIC:
Felicia McQuaid of Evolve..Yoga & Reiki Services
"Freedom through Forgiveness"
Felicia has been working in the Yoga indus... | https://groups.yahoo.com/neo/groups/CenterForNonDualism/conversations/topics/77?xm=1&m=p&tidx=1 | CC-MAIN-2015-14 | en | refinedweb |
10 February 2009 22:44 [Source: ICIS news]
MEXICO CITY (ICIS news)--?xml:namespace>
The government had initially wanted to cut all tariffs to zero, but the private sector reaction was so strong that the government implemented lesser cuts, said Alfredo Lopez Machorro, director of international affairs at the National Pl... | http://www.icis.com/Articles/2009/02/10/9191703/tariffs-cuts-spark-worry-for-mexico-plastics-petchems.html | CC-MAIN-2015-14 | en | refinedweb |
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- USING AND EXAMPLES
- Changing logging level
- Changing default level
- Changing per-output level
- Setting default per-output level
- Enabling/disabling output
- Changing log level of cron scripts
- Changing log file name/location
- Changing other output parameters
- Logging ... | https://metacpan.org/pod/release/SHARYANTO/Alt-Log-Any-App-FWR-0.08/lib/Log/Any/App.pm | CC-MAIN-2015-14 | en | refinedweb |
gdshortener 0.0.2
A module that provides access to .gd URL Shortener
Python Module for is.gd - v.gd URL Shortener.
What is this?
GD Shortener allow Python software to access is.gd - v.gd URL shortener service.
Using this module you could shorten an URL to a small one like Twitter does for its link.
This service is prov... | https://pypi.python.org/pypi/gdshortener | CC-MAIN-2015-14 | en | refinedweb |
This function and all functions beginning with am_properties_get retrieve values from the properties map. The following parameters and exceptions are common to all functions in the am_propteries_get collection. Additional return values may be specified some functions.
#include "am_properties.h" AM_EXPORT am_status_t am... | http://docs.oracle.com/cd/E19636-01/819-2140/gbbmn/index.html | CC-MAIN-2015-14 | en | refinedweb |
Hi,
I tried to run numpy, but get several problems.
I work with the following s/w:
OS - Window 7 professional
Python v.3.3.2
Numpy 1.7.0
I installed Numpy and after python setup.py install
copied a new folder Bulid\Numpy into C:\Python33\Lib\dite-packages
But when I run any module from numpy:
for example:
import fft
I ... | http://forums.devshed.com/python-programming-11/numpy-946466.html | CC-MAIN-2015-14 | en | refinedweb |
18 March 2011 20:23 [Source: ICIS news]
LONDON (ICIS)--Disruptions at oil refineries and smelters in Japan are threatening supplies of sulphur and sulphuric acid, pressuring prices for these products, market sources said on Friday.
The earthquake and tsunami, which hit Japan on 11 March, has led to disruptions to refin... | http://www.icis.com/Articles/2011/03/18/9445383/japan-disaster-shutdowns-cause-sulphur-sulphuric-acid-shortages.html | CC-MAIN-2015-14 | en | refinedweb |
table of contents
NAME¶
pmemlog_create(), pmemlog_open(), pmemlog_close(), pmemlog_check() - create, open, close and validate persistent memory resident log file
SYNOPSIS¶
#include <libpmemlog.h> PMEMlogpool *pmemlog_open(const char *path); PMEMlogpool *pmemlog_create(const char *path, size_t poolsize, mode_t mode); vo... | https://manpages.debian.org/unstable/libpmemlog-dev/pmemlog_open.3.en.html | CC-MAIN-2021-49 | en | refinedweb |
I finally took a little time to get my head around POSIX process groups and sessions.
Fair warning: if you don’t know what a PID is in the context of a POSIX process — or, indeed, you think “POSIX” sounds like some type of screw head - then you probably don’t need to bother reading this post.
Right, assuming there’s an... | https://www.andy-pearce.com/blog/posts/2013/Aug/process-groups-and-sessions/ | CC-MAIN-2021-49 | en | refinedweb |
Generate Random Inverse Gaussian in R
[This article was first published on Lindons Log ».
Needed to generate draws from an inverse Gaussian today, so I wrote the following Rcpp code:
#include <RcppArmadillo.h> // [[Rcpp::depends(RcppArmadillo)]] using namespace Rcpp; using namespace arma; // [[Rcpp::export]] Col<double... | https://www.r-bloggers.com/2014/09/generate-random-inverse-gaussian-in-r/ | CC-MAIN-2021-49 | en | refinedweb |
How to tell if mysensors library starts up successfully?
I would like to turn on a LED if a node cannot find the gateway (e.g. if the distance is too large) when the node is powered up. How can that be done?
I understand that the send command returns a Boolean that tells whether a message reached the gateway. However, ... | https://forum.mysensors.org/topic/7858/how-to-tell-if-mysensors-library-starts-up-successfully/7?lang=en-US | CC-MAIN-2021-49 | en | refinedweb |
by Bob
In the previous part of this series we built a toy system that could add a new Issue to an IssueLog, but had no real behaviour of its own, and would lose its data every time the application restarted. We’re going to extend it a little by introducing some patterns for persistent data access, and talk a little mor... | https://io.made.com/blog/2017-09-08-repository-and-unit-of-work-pattern-in-python.html | CC-MAIN-2021-49 | en | refinedweb |
table of contents
NAME¶
set_field_opts, field_opts_on, field_opts_off, field_opts - set and get field options
SYNOPSIS¶
#include <form.h>
int set_field_opts(FIELD *field, Field_Options
opts);
Field_Options field_opts(const FIELD *field);
int field_opts_on(FIELD *field, Field_Options
opts);
int field_opts_off(FIELD *fie... | https://manpages.debian.org/testing/ncurses-doc/field_opts.3form.en.html | CC-MAIN-2021-49 | 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).
So it was announced that scripts will now get access to an on/off stat... | https://plugincafe.maxon.net/topic/10994/r20-script-state-function | CC-MAIN-2021-49 | en | refinedweb |
AWS SDK for iOSAWS SDK for iOS
The AWS SDK for iOS provides a library and documentation for developers to build connected mobile applications using AWS.
Features / APIsFeatures / APIs
- Authentication: APIs and building blocks for developers who want to create user authentication experiences.
- Analytics: Easily collec... | https://cocoapods.org/pods/AWSAuthCore | CC-MAIN-2021-49 | en | refinedweb |
Why Gatsby & Sanity?
As I've spent more time developing, one thing I have been doing more often is building personal sites for other people. It's an easy way to keep practicing new frontend skills and techniques, as well as build up a portfolio that shows what you can do. One of the most annoying things about this, how... | https://dev.to/doylecodes/making-new-projects-with-gatsby-sanity-30nh | CC-MAIN-2021-49 | en | refinedweb |
Although the JDK Tools and Utilities pages for the javadoc tool describe the rules of Javadoc method comment reuse by implementing and inheriting methods, it is easy to unnecessarily explicitly describe comment inheritance with
{@inheritDoc} when it's not really needed because the same comments would be implicitly inhe... | https://marxsoftware.blogspot.com/2016/11/inheriting-javadoc-method-comments.html | CC-MAIN-2021-49 | en | refinedweb |
Apache Camel Tutorial
Ride the Camel! Learn the basics of Apache Camel and create your first Camel on Spring Boot project with this tutorial.
Tags: Apache Camel • Comments
Wanting to get started with Apache Camel? Here’s my tutorial on this popular integration framework for Java.
I’ve written this Apache Camel tutorial... | https://tomd.xyz/camel-tutorial/ | CC-MAIN-2021-49 | en | refinedweb |
Introducing the Factory
Now we're down to the really fun part. We've got our interface (Ferret) defined, and we've got at least two classes (GoogleFinder and GoogleSpecificFinder) that implement it. We've got an application that can use one or the other to instantiate a Ferret object and use it to perform an analysis.
... | http://www.informit.com/articles/article.aspx?p=28283&seqNum=7 | CC-MAIN-2019-04 | en | refinedweb |
tzset man page
Prolog
Synopsis
#include <time.h> extern int daylight; extern long timezone; extern char *tzname[2]; void tzset(void);
Description POSIX.1-2008,.
Return Value
The tzset() function shall not return a value.
Errors
No errors are defined.
The following sections are informative.
Examples
Example TZ variables... | https://www.mankier.com/3p/tzset | CC-MAIN-2019-04 | en | refinedweb |
- Overall Application
- Ferret Interface
- Implementing the Ferret
- Instantiating the Ferret
- A Second Ferret
- Introducing the Factory
- Enabling the Factory to Use Different Classes
- Allowing the User to Choose at Runtime
- Moving On from Here
Allowing the User to Choose at Runtime
The ultimate goal is to have an ... | http://www.informit.com/articles/article.aspx?p=28283&seqNum=9 | CC-MAIN-2019-04 | en | refinedweb |
No, BeOS is not dead as many will speed to the forums and proclaim. YellowTAB‘s Zeta is the true inheritor of BeOS 5’s fortune, as it is based directly on Dano/EXP’s codeline (which was supposed to be BeOS 6 but was never finished as Be sold its IP to Palm). At last, I got my hands on Zeta Beta-5a, and here is what I f... | https://www.osnews.com/story/3692/world-exclusive-first-look-at-yellowtabs-zeta/ | CC-MAIN-2019-04 | en | refinedweb |
6.1. Sequence Models¶
Imagine that you’s anchoring, based on someone else’s opinion. For instance after the Oscar awards, ratings for the corresponding movie go up, even though it’s still the same movie. This effect persists for a few months until the award is forgotten. Wu et al., 2017 showed that the effect lifts rat... | http://gluon.ai/chapter_recurrent-neural-networks/sequence.html | CC-MAIN-2019-04 | en | refinedweb |
Building a Jekyll Watcher with FSSM
Travis Tilley’s File System State Monitor provides a fantastic API for monitoring a filesystem and
performing actions when changes occur. It has multiple, platform-specific backends for dealing efficiently
with filesystems and will resort to polling if it has to. I have already integ... | http://chriseppstein.github.io/blog/2009/09/07/building-a-jekyll-watcher-with-fssm/ | CC-MAIN-2019-04 | en | refinedweb |
Hey!
I have to do CAN communication between OpenMV and AT90CAN128. Is there anyone who can help me out. Any sample code or built in commands.
CAN communication between OPenMV M7 and AT90CAN128 (Atmel family)
OpenMV related project discussion.
4 posts • Page 1 of 1
- Posts: 7
- Joined: Tue Jul 18, 2017 4:27 am
Re: CAN c... | http://forums.openmv.io/viewtopic.php?f=5&t=385&p=2609&sid=bbcd04a6d2c9cf0b2513f6dd32407ce6 | CC-MAIN-2019-04 | en | refinedweb |
Question::
- Make the instance globally accessible.
- Make sure that there is never more than one instance of that class..
- The second version is simpler to implement and less error prone. In the first variant the private copy constructor is missing on purpose to demonstrate this. In the second variant there is no way... | http://www.toontricks.com/2018/11/tutorial-singleton-why-use-classes.html | CC-MAIN-2019-04 | en | refinedweb |
ccosh man page
Prolog
Synopsis
#include <complex.h> double complex ccosh(double complex z); float complex ccoshf(float complex z); long double complex cc cosine of z.
Return Value
These functions shall return the complex hyperbolic cosine value.
Errors
No errors are defined.
The following sections are informative.
Exam... | https://www.mankier.com/3p/ccosh | CC-MAIN-2019-04 | en | refinedweb |
.signalsSignals and slots etc)
signals or slots. License:
Boost License 1.0. Authors:
Walter Bright Source:
std/signals.d
- template Signal(T1...)
- Mixin to create a signal within a class object. Different signals can be added to a class by naming the mixins. Example:
import std.signals; import std.stdio; class Observ... | https://docarchives.dlang.io/v2.066.0/phobos/std_signals.html | CC-MAIN-2019-04 | en | refinedweb |
Automatic transformation of XML namespaces/The moderated site with transformations
It may be not always possible to put needed RDF files at namespace URLs.
As such, we should create a site to which everyone would be able to upload their connections from URLs (of namespaces) to RDF resources.
It should be a user option ... | https://en.wikiversity.org/wiki/Automatic_transformation_of_XML_namespaces/The_moderated_site_with_transformations | CC-MAIN-2019-04 | en | refinedweb |
Hi, I’m trying to implement sentry in my project and I cant get it to work.
I’m using angular 6 , I run
npm install @sentry/browser and then copied the code from the instructions into my main module (app.module.ts).
import * as Sentry from "@sentry/browser"; Sentry.init({ dsn: "" }); @Injectable() export class SentryEr... | https://forum.sentry.io/t/angular-following-the-instructions-does-not-seem-to-activate-sentry/5503 | CC-MAIN-2019-04 | en | refinedweb |
sem_getvalue man page
Prolog
Synopsis
#include <semaphore.h> int sem_getvalue(sem_t *restrict sem, int *restrict sval);
Description.
Return Value
Upon successful completion, the sem_getvalue() function shall return a value of zero. Otherwise, it shall return a value of -1 and set errno to indicate the error.
Errors
The... | https://www.mankier.com/3p/sem_getvalue | CC-MAIN-2019-04 | en | refinedweb |
Formatting Your Output with C++ Streams
If you do a great deal of C++ programming, sooner or later you'll end up having to format some text data. This might be the case if you're writing text to the screen (such as in a console program) or if you're writing text to a file.
Thanks to the beauty of an important part of t... | http://www.informit.com/articles/article.aspx?p=170770&seqNum=7 | CC-MAIN-2016-44 | en | refinedweb |
i'm trying to read the output from one function into another one.
if i break things down into two steps, call the first function(journal.py) from the command line, and then call the second(ip_list.py) i get the results that i'm looking for.
if i try to import the first and run it in the second the resulting list is emp... | https://codedump.io/share/76FOtZ8MB3w7/1/incomplete-reads-from-file-written-by-popen-based-subprocess | CC-MAIN-2016-44 | en | refinedweb |
In this section, we originally started writing about the typical management scenarios such as how to back up and restore a database, how to manage indexes, or how to administer security. However, we soon realized that we were just reiterating the scenarios that are already described in product documentation. Instead, w... | http://www.yaldex.com/sql_server_tutorial_3/ch04lev1sec2.html | CC-MAIN-2016-44 | en | refinedweb |
SharePoint 2007/SharePoint Designer 2007
Microsoft's KB972225 gives me these instructions to perform in SharePoint Designer (I assume):
"Change the query string parameter from ID to CustomID. Then change the details page from QueryString(ID) to QueryString(CustomID). Once this is done the page will display with no erro... | http://www.dotnetspark.com/links/62402-how-to-find-query-string_.aspx | CC-MAIN-2016-44 | en | refinedweb |
Further to Some thoughts around the "is Perl code maintainable" discussion, today I inherited some code written by an external contractor. Here is one of his functions that caught my eye:
sub file_mode {
my ($file) = @_;
if( ! -f $file ) {
return -1;
}
my $dummy;
my $mode;
($dummy,$dummy, $mode, $dummy, $dummy, $dummy,... | http://www.perlmonks.org/index.pl?parent=632152;node_id=3333 | CC-MAIN-2016-44 | en | refinedweb |
Copyright © 2005 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
This document specifies the Compound Document Framework. November 2005 W3C Working Draft of the Compound Documents by Reference Framework. This is the first publication of the specification in this form... | http://www.w3.org/TR/2005/WD-CDR-20051121/ | CC-MAIN-2016-44 | en | refinedweb |
Getopt::GUI::Long
use Getopt::GUI::Long; # pass useful config options to Configure Getopt::GUI::Long::Configure(qw(display_help no_ignore_case capture_output)); GetOptions(\%opts, ["GUI:separator", "Important Flags:"], ["f|some-flag=s", "A flag based on a string"], ["o|other-flag", "A boloean"], ); # or use references ... | http://search.cpan.org/~hardaker/Getopt-GUI-Long-0.92/Long.pm | CC-MAIN-2016-44 | en | refinedweb |
Timeline
Jul 30, 2008:
- 4:27 PM Changeset [15084] by
- added geometry type merger
- 3:36 PM Changeset [15083] by
- In VRTDerivedRasterBand::IRasterIO() don't call RasterIO() on sources …
- 2:03 PM Ticket #2517 (feature request: ogr_merge) created by
- Hello, I would like to ask whether it is possible to include a prog... | http://trac.osgeo.org/gdal/timeline?from=2008-07-30T00%3A54%3A03-0700&precision=second | CC-MAIN-2016-44 | en | refinedweb |
For the class cs50, I have to read in jpeg files byte by byte from a memory card in order to look at the header information. The file compiles well, but whenever I execute the file, it returns a "segmentation fault(core dumped)" message.
Edit) Okay, now I know why I have to use an "unsigned char" instead of "int*". Can... | https://codedump.io/share/e7iln5Z8QmlI/1/reading-a-jpeg-file-byte-by-byte | CC-MAIN-2016-44 | en | refinedweb |
A.
Oracle WebCenter Portal's Pagelet Producer (previously known as Oracle WebCenter Ensemble) provides a collection of useful tools and features that facilitate dynamic pagelet development. This chapter includes detailed information about pagelet development and configuration using the Pagelet Producer.
Section 63.1, "... | http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_pagelet.htm | CC-MAIN-2016-44 | en | refinedweb |
pthread_mutex_consistent - mark state protected by robust mutex as consistent
#include <pthread.h>
int pthread_mutex_consistent(pthread_mutex_t *mutex);
If mutex is a robust mutex in an inconsistent state, the pthread_mutex_consistent() function can be used to mark the state protected by the mutex referenced by mutex a... | http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_consistent.html | CC-MAIN-2016-44 | en | refinedweb |
Copyright © 2002 W3C ® (MIT, INRIA, Keio), All Rights Reserved. W3C liability, trademark, document use, and software licensing rules apply.
The World Wide Web is a networked information system. Web Architecture is the set of principles that all agents in the system follow that result in the large-scale effect of a shar... | http://www.w3.org/2001/tag/2002/0826-archdoc | CC-MAIN-2016-44 | en | refinedweb |
On Sat, 26 Jul 2003 15:20:24 GMT, Paul Paterson <paulpaterson at users.sourceforge.net> wrote: >Stefan Schwarzer wrote: > >> Hi Paul >> >> Paul Paterson wrote: >> >>> This is a very interesting (and Pythonic) approach, thanks for >>> suggesting it! This is certainly what I would try to do if I were >>> writing the code... | https://mail.python.org/pipermail/python-list/2003-July/177511.html | CC-MAIN-2016-44 | en | refinedweb |
-- _, embed.Reader import Control.Monad.State import Control.Monad.Trans import Data.Unique -- ask return $ runCHPProgramWith t . f -- | A convenient version of embedCHP1 that ignores the result embedCHP1_ :: (a -> CHP b) -> CHP (a -> IO ()) embedCHP1_ = liftM (\m x -> m x >> return ()) . embedCHP1 -- |). ()) -- | = li... | http://hackage.haskell.org/package/chp-1.6.0/docs/src/Control-Concurrent-CHP-Monad.html | CC-MAIN-2013-48 | en | refinedweb |
sec_login_purge_context_exp-Destroy expired network credentials
#include <dce/sec_login.h> void sec_login_purge_context_exp ( unsigned32 count, byte buf[], signed32 purge_time, error_status_t *status );
Input
- count
Number of bytes in the buf array. This number specifies the length of buf.
- buf[]
Buffer containing th... | http://pubs.opengroup.org/onlinepubs/9696989899/sec_login_purge_context_exp.htm | CC-MAIN-2013-48 | en | refinedweb |
Bugtraq
mailing list archives
Hello there,
we've installed the NCSA HTTPD 1.3 on our WWW server (HP9000/720, HP-UX 9.01)
and I've found, that it can be tricked into executing shell commands.
Actually, this bug is similar to the bug in fingerd exploited by the internet
worm. The HTTPD reads a maximum of 8192 characters ... | http://seclists.org/bugtraq/1995/Feb/109 | CC-MAIN-2013-48 | en | refinedweb |
:[code]compc -namespace manifest.xml -source-path .-include-namespaces -include-classes mx.containers.MyWindow-include-file MyWindow.png mx/containers/MyWindow.png-output='MyWindow.swc'[/code]Here is the manifest.xml file:[code][/codemxmlc compiler optionsmanifest files
How is it possible to compile an AS3 SWC for use ... | http://blogs.adobe.com/mesh/2006/05/quick_example_u.html | CC-MAIN-2013-48 | en | refinedweb |
(2012-03-18 01:55)hams1000 Wrote: This is awesome. Maybe it's my skin , but ShareSocial renders my timeline in all caps.
(2012-03-18 02:48)ruuk Wrote: (2012-03-18 01:55)hams1000 Wrote: This is awesome. Maybe it's my skin , but ShareSocial renders my timeline in all caps.
Yeah, that would be the skin. What skin btw?
Whi... | http://forum.xbmc.org/showthread.php?tid=125837&pid=1048641 | CC-MAIN-2013-48 | en | refinedweb |
changes.mady.by.user Rolly Noel
Saved on Jul 06, 2011
Here are some samples of working with files
import System.IO
import System.Reflection
testfile = "newtestfile.txt"
try:
if File.Exists(testfile):
File.Delete(testfile)
//"using" will dispose of (and close) the file stream for you
using out = StreamWriter(testfile):
... | http://docs.codehaus.org/pages/diffpages.action?pageId=8356560&originalId=228170924 | CC-MAIN-2013-48 | en | refinedweb |
) Example: Execute a finder that reads 150 projects. Read the first 50 as singles, then, read the next 50 in bulk. This simulates a screen paging down.
import oracle.toplink.ejb.cmp.*;
import java.util.*;
CursoredIterator cursoredIterator;
ProjectHome projectHome = getProjectHome();
//begin a transaction. Leave this op... | http://docs.oracle.com/cd/E21764_01/apirefs.1111/b32476/oracle/toplink/ejb/cmp/CursoredIterator.html | CC-MAIN-2013-48 | en | refinedweb |
Al is DDJ's senior contributing editor. He can be contacted at astevens@ddj.com.
I wrote last month about an editor problem with Linux and the KDE 2.x GUI operating environment. None of the GUI text editors has a font that people can read, and you can't change their fonts. Turns out the problem exists only with more cu... | http://www.drdobbs.com/i-almost-get-a-linux-editor-and-compiler/184404693 | CC-MAIN-2013-48 | en | refinedweb |
On December 17, 2010, President Obama signed the “Tax Relief, Unemployment Insurance Reauthorization, and Job Creation Act of 2010.” A product of a compromise forged primarily by President Obama and a bipartisan group of Senators, the Act temporarily extends a wide variety of tax rate cuts and tax benefits for individu... | http://www.lexology.com/library/detail.aspx?g=63ab34b0-f223-4b20-bda7-c2a2914d0b2a | CC-MAIN-2013-48 | en | refinedweb |
Wishing can get benefitted deliver these sessions to you. The details of these sessions are provided below.
Delivery Date : 1/7/2013Delivery Time : 9:00 AMTitle : Microsoft Dynamics CRM 2011 Momentum Workshop: Client-Side Customizations with JScriptDescription : This workshop helps developers customize the Microsoft Dy... | http://blogs.technet.com/b/dynamicspts/archive/2012/12/29/1-many-and-practice-accelerators-for-january-2013.aspx | CC-MAIN-2013-48 | en | refinedweb |
?>>>> --->> From: Michal Hocko<mhocko@suse.cz>>> Subject: Implement isolated cgroups>>>> This patch adds a new per-cgroup knob (isolated) which controls whether>> pages charged for the group should be considered for the global reclaim>> or they are reclaimed only during soft reclaim and under per-cgroup>> memory pressu... | http://lkml.org/lkml/2011/10/21/34 | CC-MAIN-2013-48 | en | refinedweb |
문의자
Hands-on Labs of Reactive Extensions for .NET (Rx) doesn't work
Hi,
I am using the Hands-on Labs of Reactive Extensions for .NET (Rx) PDF.
Most of the examples are not working anymore.
I'm getting some weird kind of errors.
Till Excersie 2, However I made it work.
But from Exercise 3 – Importing .NET events into Rx... | http://social.msdn.microsoft.com/Forums/ko-KR/8709bd67-2a26-4acc-b1c0-a4e75db5421f/handson-labs-of-reactive-extensions-for-net-rx-doesnt-work?forum=rx | CC-MAIN-2013-48 | en | refinedweb |
I am writing a program using complex numbers. By #including the <complex> library in my .cpp file I can work with it just fine. If I want to define a function in a header file like this:
int Matrixmult((complex<double>)* , (complex<double>)* , (complex<double>)* );
I get an error C2065: 'complex': undeclared identifier... | http://cboard.cprogramming.com/windows-programming/125154-%27complex%27-undeclared-identifier.html | CC-MAIN-2013-48 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.