text stringlengths 20 1.01M | url stringlengths 14 1.25k | dump stringlengths 9 15 ⌀ | lang stringclasses 4
values | source stringclasses 4
values |
|---|---|---|---|---|
Warning: This guide is out of date. Please visit gorails.com for a more up-to-date, simple deployment walkthrough or one of digital oceans many how-to's.
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh root@123.123.123.123
Add ssh fingerprint and enter password provided ... | https://coderwall.com/p/yz8cha/deploying-rails-app-using-nginx-unicorn-postgres-and-capistrano-to-digital-ocean | CC-MAIN-2016-07 | en | refinedweb |
switchcache 0.1.0
Utils for testing with/without cache
====
Test utils for testing with memcache
## with_cache/no_cache decorators
```python
from switchcache import init, with_cache, no_cache
class Configure:
HOSTS = ['127.0.0.1:11211']
CACHE = {
'foo': 'bar',
'fuga': 'hoge'
}
init(Configure)
@with_cache
def test_with_... | https://pypi.python.org/pypi/switchcache/0.1.0 | CC-MAIN-2016-07 | en | refinedweb |
Spring Integration's XML support extends the Spring Integration Core with
implementations of splitter, transformer, selector and router. Where greater control of the document being created is required an appropriately
configured instance of
DocumentBuilder should be provided.
This section will explain the workings of
U... | http://static.springsource.org/spring-integration/docs/2.0.x/reference/html/xml.html | CC-MAIN-2013-20 | en | refinedweb |
10 September 2009 22:59 [Source: ICIS news]
HOUSTON (ICIS news)--US exports of methyl isobutyl ketone (MIBK) fell 58% to 977 tonnes in July from 2,325 tonnes during the same month last year, according to US International Trade Commission (ITC) data released on Thursday.
Export destinations were led by ?xml:namespace>
H... | http://www.icis.com/Articles/2009/09/10/9246677/us+july+mibk+exports+fall+58+year+on+year.html | CC-MAIN-2013-20 | en | refinedweb |
Hello,
I'd like to start learning python, so I chose Sublime text editor. Are there any tutorials available to get python working with Sublime? Thanks for any suggestions.
Win7 32
-adabo
x = 1
def func():
print 'Function works.'
if x == 1:
print 'If statement works.'
func()
raw_input('This is raw_input text')
Writing f... | http://www.sublimetext.com/forum/viewtopic.php?p=7548 | CC-MAIN-2013-20 | en | refinedweb |
« TPAC 2007 - Making Video a First-Class Citizen of the Web | Main | TPAC 2007 - HTML Working Group holds first face-to-face meeting »
TPAC 2007 - Cracks and Mortar
Tim Berners-Lee is taking the floor: "The world is a mess of interconnected communities and it is why it is working."
- Content-Type: is a way to define th... | http://www.w3.org/QA/2007/11/tpac-2007-cracks-and-mortar.html | CC-MAIN-2013-20 | en | refinedweb |
wuench Wrote:My thoughts were to have one interface for playback and direct commands to the active player. If I can get some sort of indicator that an external player is active (even better if I knew which one) then a play button, for example, could send the play command to the active player.
One could just send all co... | http://forum.xbmc.org/printthread.php?tid=68263&page=70 | CC-MAIN-2013-20 | en | refinedweb |
get_wch, mvget_wch, mvwget_wch, wget_wch - get a wide character from a terminal
#include <curses.h> int get_wch(wint_t *ch); int mvget_wch(int y, int x, wint_t *ch); int mvwget_wch(WINDOW *win, int y, int x, wint_t *ch); int wget_wch(WINDOW *win, wint_t *ch);
These functions read a character from the terminal associate... | http://pubs.opengroup.org/onlinepubs/7990989775/xcurses/wget_wch.html | CC-MAIN-2013-20 | en | refinedweb |
--------
The link to the old httperf page wasn't working anymore. I updated it and pointed it to the new page at HP. Here's a link to a PDF version of a paper on httperf written by David Mosberger and Tai Jin: "httperf -- a tool for measuring Web server performance".
Also, openload is now OpenWebLoad, and I updated the... | http://agiletesting.blogspot.com/2005/04/http-performance-testing-with-httperf.html?showComment=1172522280000 | CC-MAIN-2013-20 | en | refinedweb |
hi all thx for reading and i hope you can help
I am creating a game for kids, which shows them how to tell the time
I need to put two random numbers into a textfield one for hours and one for minutes
so that I can get the app to say show me 13:45 for example
however I do not want to include the time of 12:00 as this is... | http://forums.adobe.com/message/4013941 | CC-MAIN-2013-20 | en | refinedweb |
{- arch-tag: Path utilities name manipulation code -} {- | Module : System.Path.NameManip Copyright : Copyright (C) 2004 Volker Wysk License : GNU LGPL, version 2.1 or above Maintainer : John Goerzen <jgoerzen@complete.org> Stability : provisional Portability: portable Low-level path name manipulations. Written by Volk... | http://hackage.haskell.org/packages/archive/MissingH/1.0.2.1/doc/html/src/System-Path-NameManip.html | CC-MAIN-2013-20 | en | refinedweb |
Suresh Siddha wrote:>:>>> > I am referring to this latest patch only. We are calling the interrupt> handler manually and not doing the callbacks in that context. In future,> we might see other side affects if we miss some of these smp ipi's.> um, maybe you are right.> Clean solution is to ensure that there are no unhan... | http://lkml.org/lkml/2009/9/16/689 | CC-MAIN-2013-20 | en | refinedweb |
It has been a while since I posted to the blog. The long break gave me a chance to work on some of the requests I had received to my previous posting. The posting referred to creating alert descriptions for Web application monitors.
Many people wrote to me that this was a fine solution, but how can you change these set... | http://blogs.technet.com/b/dhan/archive/2008/12/31/bulk-editing-monitor-alert-settings-and-adding-descriptions-for-web-applications.aspx | CC-MAIN-2013-20 | en | refinedweb |
A Hack for Approaching Haskell Libraries
One of the most difficult problems I find in learning new libraries and modules is where to start. If you start in the obvious places, there are inevitably zillions of abstractions that just don’t make sense yet. As a quick kludge, I write the following Haskell code; it examines... | http://cdsmith.wordpress.com/2007/06/21/a-hack-for-approaching-haskell-libraries/?like=1&_wpnonce=5e79d40c83 | CC-MAIN-2013-20 | en | refinedweb |
sigblock()
Add to the mask of signals to block
Synopsis:
#include <unix.h> int sigblock( int mask );
Arguments:
- mask
- A bitmask of the signals that you want to block.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The sigblock() fun... | http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.neutrino.lib_ref/topic/s/sigblock.html | CC-MAIN-2013-20 | en | refinedweb |
Before I dive into details of details I found in each framework I think it would be best to highlight features of each framework. In case you’ve been living under a rock, a javascript framework makes it easier for you to write complex javascript code. Almost all of them provide an effects framework for snazzy visual ef... | http://lostechies.com/seanchambers/2007/12/16/choosing-a-javascript-framework/ | CC-MAIN-2013-20 | en | refinedweb |
after the extra -rc release last weekend, now the final 3.3 is out
there in the usual locations.).
---
Al Viro (1):
restore smp_mb() in unlock_new_inode()
Alan Cox (1):
drm/gma500: Fix Cedarview boot failures in 3.3-rc
Alan Stern (1):
Block: use a freezable workqueue for disk-event polling
Alexandre Bounine (1):
rapid... | http://lwn.net/Articles/487085/ | CC-MAIN-2013-20 | en | refinedweb |
15 June 2010 19:29 [Source: ICIS news]
WASHINGTON (ICIS news)--President Barack Obama on Tuesday is expected to call on BP to establish a special relief fund for coastal communities hurt by the Gulf of Mexico spill, and he will urge US voters to press their representatives in Congress for tough climate legislation.
Sou... | http://www.icis.com/Articles/2010/06/15/9368134/obama-to-call-for-climate-bill-and-special-bp-spill-fund.html | CC-MAIN-2013-20 | en | refinedweb |
QSsl Configuration in VS2013 strange error
Hi all,
I have Qt 4.8.6 custom build with Vs 2013. In my project every thing it works fine except the QSslConfiguration.
I have this in my header :
#include <QSslConfiguration>
HTTPDataReader::HTTPDataReader(){
QSslConfiguration sslconfigure(QSslConfiguration::defaultConfigura... | https://forum.qt.io/topic/68134/qssl-configuration-in-vs2013-strange-error/9 | CC-MAIN-2020-10 | en | refinedweb |
PushkaPushka
Pushka is a serialization library implemented without any runtime reflection. It created to reach well human readability of output JSON and good performance. Pushka works well both on Scala (2.10, 2.11, 2.12) and Scala.js.
MotivationMotivation
The most of serialization libraries write case classes "as is".... | https://index.scala-lang.org/fomkin/pushka/pushka-core/0.8.0?target=_2.12 | CC-MAIN-2020-10 | en | refinedweb |
How to Create a Addon in Nodejs
Writing your backend API in server side JavaScript is great, and we always do such kind of work using some predefined built-in library but if you want to use a function which is not feasible to use in Node.js or no module is available for that in node package manager but it is available ... | https://www.tothenew.com/blog/how-to-create-a-addon-in-nodejs/comment-page-1/ | CC-MAIN-2020-10 | en | refinedweb |
Suppose we have a sealed internal class
C with a member
M intended to be accessed from throughout the assembly:
internal sealed class C { ??? void M() { ... } }
Should the accessibility modifier at
??? be
internal or.
There are several pro-public arguments. First, let’s state the meanings of the different accessibility... | https://ericlippert.com/2014/09/15/internal-or-public/comment-page-1/ | CC-MAIN-2020-10 | en | refinedweb |
SYNOPSIS
#include <nng/nng.h> #include <nng/protocol/pubsub0/sub.h>
DESCRIPTION
The sub protocol is one half of a publisher/subscriber pattern. In this pattern, a publisher sends data, which is broadcast to all subscribers. The subscribing applications only see the data to which they have subscribed.
The topics that su... | https://nng.nanomsg.org/man/v1.2.2/nng_sub.7.html | CC-MAIN-2020-10 | en | refinedweb |
Spiced Up
When the first version of the Internet Message Access Protocol 4 (IMAP 4) appeared in 1994, mobile phones looked more like bones you would give your dog than phones – and they couldn’t do much more than bones either. Digital data trickled off the Internet through modems in homeopathic doses. The Universal Mob... | http://www.admin-magazine.com/index.php/Articles/Mail-Helpers-Improve-Your-Email-Experience-with-These-Handy-IMAP-Extensions/(tagID)/536 | CC-MAIN-2020-10 | en | refinedweb |
pthread_setschedparam()
Set thread scheduling parameters
Synopsis:
#include <pthread.h> int pthread_setschedparam( pthread_t thread, int policy, const struct sched_param *param );
Since:
BlackBerry 10.0.0
Arguments:
- thread
- The ID of the thread that you want to get the scheduling parameters for. You can get a thread... | https://developer.blackberry.com/native/reference/core/com.qnx.doc.neutrino.lib_ref/topic/p/pthread_setschedparam.html | CC-MAIN-2020-10 | en | refinedweb |
Subject: Re: [boost] Clang 3.4 failing to compile boost 1.57 headers
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-17 21:48:00
> Robert Dailey wrote:
> > I'm including <boost/format.hpp> and getting this error from Clang 3.4
> > on Ubuntu 12:
> ...
> > /home/fe/frontend/Core/ThirdParty/boost/include/boost/smart_p... | https://lists.boost.org/Archives/boost/2015/01/219345.php | CC-MAIN-2020-10 | en | refinedweb |
Odoo Help
Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Calling onchange product_id_change() method
Hello,
I'm trying to call a product_id_change method becouse i'd like to change the c... | https://www.odoo.com/forum/help-1/question/calling-onchange-product-id-change-method-103908 | CC-MAIN-2017-43 | en | refinedweb |
StringBuilder Class
Represents a mutable string of characters. This class cannot be inherited.
To browse the .NET Framework source code for this type, see the Reference Source.
Assembly: mscorlib (in mscorlib.dll)
System.Text.StringBuilder
This class represents a string-like object whose value is a mutable sequence of ... | https://msdn.microsoft.com/library/windows/apps/system.text.stringbuilder.aspx?cs-save-lang=1&cs-lang=fsharp | CC-MAIN-2017-43 | en | refinedweb |
I've two signals, from which I expect that one is responding on the other, but with a certain phase shift.
Now I would like to calculate the coherence or the normalized cross spectral density to estimate if there is any causality between the input and output to find out on which frequencies this coherence appear.
See f... | https://codedump.io/share/xKManM2oQBlA/1/how-to-use-the-cross-spectral-density-to-calculate-the-phase-shift-of-two-related-signals | CC-MAIN-2017-43 | en | refinedweb |
Problem
A prior tipdemonstrated a highly secure way to extract historical stock prices for a single ticker symbol programmatically with Python from Google Finance for use inside SQL Server. However, I need the prior tip's scope expanded to perform the same task for a batch of different ticker symbols. Additionally, I n... | http://ctolib.com/topics-124873.html | CC-MAIN-2017-43 | en | refinedweb |
#include <wx/protocol/protocol.h>
Represents a protocol for use with wxURL.
Note that you may want to change the default time-out for HTTP/FTP connections and network operations (using SetDefaultTimeout()) since the default time-out value is quite long (60 seconds).
Detach the existing logger without deleting it.
The c... | http://docs.wxwidgets.org/trunk/classwx_protocol.html | CC-MAIN-2017-43 | en | refinedweb |
Talk:Proposal process
Contents
- 1 Tag messiness
- 2 marine-tagging approved now?
- 3 Sign your comments on Proposed features sub-pages?
- 4 Moved page
- 5 Template for sub pages / actually doing something
- 6 Approved features
- 7 Ordering
- 8 Procedure to add a new proposed feature
- 9 different signs for different n... | http://wiki.openstreetmap.org/wiki/Talk:Proposed_map_features | CC-MAIN-2017-43 | en | refinedweb |
/* * telnet.h * * TELNET Socket: telnet.h,v $ * Revision 1.24 2005/11/30 12:47:37 csoutheren * Removed tabs, reformatted some code, and changed tags for Doxygen * * Revision 1.23 2002/11/06 22:47:24 robertj * Fixed header comment (copyright etc) * * Revision 1.22 2002/09/16 01:08:59 robertj * Added #define so can selec... | http://pwlib.sourcearchive.com/documentation/1.10.10-3.1/telnet_8h_source.html | CC-MAIN-2017-43 | en | refinedweb |
*
Printing Arrays
john don
Greenhorn
Joined: May 01, 2008
Posts: 2
posted
May 03, 2008 16:02:00
0
I've been looking online seeing if i could find out myself.. no luck though
. I need to figure out how i can print each element. I started it but not sure if it looks right. And really just unsure how i could print it out... | http://www.coderanch.com/t/410322/java/java/Printing-Arrays | CC-MAIN-2014-52 | en | refinedweb |
07 October 2010 07:48 [Source: ICIS news]
SINGAPORE (ICIS)--Asia butadiene (BD) prices are expected to strengthen further and could even rise to $1,900-2,000/tonne (€1,368-1,440/tonne) on the back of rising upstream crude and naphtha prices and increased China demand, industry players said on Thursday.
“We anticipate i... | http://www.icis.com/Articles/2010/10/07/9399321/asia-bd-to-continue-uptrend-on-strong-crude-naphtha.html | CC-MAIN-2014-52 | en | refinedweb |
NOTE-xml-ql-19980819
This document is a submission to the World Wide Web Consortium (see Submission Request, W3C Staff Comment)..
There are many potential applications of XML. One important application is interchange of electronic data (EDI) between two or more data sources on the Web. This problem is increasingly impo... | http://www.w3.org/TR/1998/NOTE-xml-ql-19980819/ | CC-MAIN-2014-52 | en | refinedweb |
Overview
The SCTP API is defined in the com.sun.nio.sctp package and is built into rt.jar, therefore it is available on all OpenJDK supported platforms. Code completion, API documentation, etc, should work in your favorite editor. However, the implementation only provides support on Solaris and Linux. So you can use pl... | http://openjdk.java.net/projects/sctp/html/gettingstarted.html | CC-MAIN-2014-52 | en | refinedweb |
28 December 2010 13:30 [Source: ICIS news]
By Nel Weddle
LONDON (ICIS)--The European butadiene (BD) supply-and-demand balance will depend on cracker economics but the underlying tendency is likely to be tight, driven by growth in domestic consumption and expectations that export demand will remain strong.
Market source... | http://www.icis.com/Articles/2010/12/28/9421535/outlook-11-europe-butadiene-to-hinge-on-cracker-economics.html | CC-MAIN-2014-52 | en | refinedweb |
JSP forwarding
JSP forwarding What is JSP forwarding?
Hi,
You can use the JSP forward tag for jsp forwarding. This will help you forward your request to some other page on the same server.
Here is the code for jsp forwarding
problem in forwarding response
problem in forwarding response My response is not getting displa... | http://www.roseindia.net/tutorialhelp/comment/85559 | CC-MAIN-2014-52 | en | refinedweb |
This is my program.
It does some really crazy things. The output I get on part c is something like -854892179.It does some really crazy things. The output I get on part c is something like -854892179.Code:
#include <stdio.h>
int main ()
{
int num1, num2;
int num3;
char letter;
/* part a */
scanf("%d", &num1);
scanf("%d... | http://cboard.cprogramming.com/c-programming/151944-some-reason-my-program-keeps-newline-integer-printable-thread.html | CC-MAIN-2014-52 | en | refinedweb |
Install Azure BizTalk Services SDK
Updated: November 3, 2014
This topic lists the steps to install Microsoft Azure BizTalk Services. Microsoft Azure BizTalk Services has three main components: Developer SDK, BizTalk Adapter Service Runtime, and Windows PowerShell cmdlet Tools. In this topic:
BizTalk Service SDK Compone... | http://msdn.microsoft.com/nl-nl/library/hh689760.aspx | CC-MAIN-2014-52 | en | refinedweb |
Please see link for more details (...), but basically, if I have multiple selection islands, I would like to create fills for those islands based on the average color within each selection island. If just select and blur (large), you just get a single color. That's not what I want. Hopefully someone here (RobA?) can he... | http://registry.gimp.org/comment/7792 | CC-MAIN-2014-52 | en | refinedweb |
02 February 2011 06:03 [Source: ICIS news]
SINGAPORE (ICIS)--Nalco’s fourth-quarter net profit jumped 44% year on year to $55.4m (€40m) as sales improved across its three businesses, the ?xml:namespace>
Net sales rose 11% to $1.12bn, led by double-digit sales growths recorded in North America and increase in
“Global up... | http://www.icis.com/Articles/2011/02/02/9431468/us-nalco-q4-net-profit-jumps-44-on-higher-sales.html | CC-MAIN-2014-52 | en | refinedweb |
27 June 2012 06:46 [Source: ICIS news]
SINGAPORE (ICIS)--?xml:namespace>
“We plan to reduce the operating rate to around 80% in July from [the] current 90-95%, because the demand is very weak,” the source said.
The market situation is not expected to improve in the next two months, the source said.
Some regional | http://www.icis.com/Articles/2012/06/27/9572879/frances-rhodia-mulls-ada-output-cuts-in-s-korea-on-weak-demand.html | CC-MAIN-2014-52 | en | refinedweb |
Social is now an important aspect of many games, and Scoreloop has provided a great platform to integrate those features with ease. We are pleased to announce that Unity game developers can now add social gaming features to their BlackBerry 10 games using the new Scoreloop Social Unity Plugin. The plugin is available f... | http://devblog.blackberry.com/2013/09/make-your-unity-games-scoreloop-social/?relatedposts_exclude=10709 | CC-MAIN-2014-52 | en | refinedweb |
just worked? Where's the fun in that?
int sensorPin1 = 4;long result = 0;unsigned long time1=0;unsigned long time2=0;long readingsPer=20.0;long readDelay=200.0;#define RH1(time) ((.1667*time)-67)void setup() // run once, when the sketch starts{ Serial.begin(9600); Serial.println("start"); // a personal quirk }void loop... | http://forum.arduino.cc/index.php?topic=55812.msg540186 | CC-MAIN-2014-52 | en | refinedweb |
What's New in Visual Studio 2012
You can find information about new features and enhancements in Visual Studio 2012 by reviewing the following sections of this topic and the topics to which they link:
Understand the basics of Windows Store apps.
For more information, see Getting started with Windows Store apps.
Build a... | http://msdn.microsoft.com/en-us/library/bb386063(VS.110).aspx | CC-MAIN-2014-52 | en | refinedweb |
This is your resource to discuss support topics with your peers, and learn from each other.
08-23-2013 07:35 AM
hello guys.
I am trying to implement this into my code :
But once run, the program doesn't do anything.
It is not a large file that has to be downloaded ( 984 KB )
I just want a way to download the file once ... | http://supportforums.blackberry.com/t5/Java-Development/Downloading-a-file/m-p/2553181 | CC-MAIN-2014-52 | en | refinedweb |
CMPAPI - Enumeration definitions for Citrix Mobility Pack. More...
#include <cmpresult.h>
Go to the source code of this file.
CMPAPI - Enumeration definitions for Citrix Mobility Pack.
All picker control support flags.
Combination of all valid viewport flags.
Combination of all image formats.
Encoding technique used wi... | http://www.citrix.com/mobilitysdk/docs/cmpenum_8h.html | CC-MAIN-2014-52 | en | refinedweb |
Originally posted by Michael Sullivan: class SuperClass{ public float getNumericValue(){ return 9.5f; } } public class SubClass extends SuperClass{ public void getNumericValue(){ } } It says that I cannot override the method getNumericValue, why is that? Thanks!
Originally posted by Michael Sullivan: Obviously I need a... | http://www.coderanch.com/t/244260/java-programmer-SCJP/certification/compile | CC-MAIN-2014-52 | en | refinedweb |
07 May 2013 23:11 [Source: ICIS news]
(Updates throughout)
HOUSTON (ICIS)--Four people were injured on Tuesday when a freight train crashed into a truck carrying anhydrous ammonia in western ?xml:namespace>
The collision involved a Burlington Northern Santa Fe (BNSF) train traveling east that struck the rear of a semi ... | http://www.icis.com/Articles/2013/05/07/9665872/minnesota-train-collision-with-ammonia-tanker-injures-four.html | CC-MAIN-2014-52 | en | refinedweb |
Service-oriented design has proven to be a successful solution for a huge variety of different distributed systems. When used properly, it has a lot of benefits. But as number of services grows, it becomes more difficult to understand what is deployed and where. And because we are building reliable and highly-available... | http://www.javacodegeeks.com/2013/11/coordination-and-service-discovery-with-apache-zookeeper.html | CC-MAIN-2014-52 | en | refinedweb |
Hi, I am using notepad++ b/c faster than using eclipse IDE, so how do I have to add junit to path variables. I'm using Windows 7 64 bit.
Here is error when I try to run my school assignment that uses Junit in Windows command prompt
error: package org.junit does not exist
Here is the import statements I am using:
import... | http://www.javaprogrammingforums.com/%20whats-wrong-my-code/14601-how-do-i-add-junit-package-printingthethread.html | CC-MAIN-2014-52 | en | refinedweb |
On Sunday 20 August 2006 18:16, Solar Designer wrote:> On Sun, Aug 20, 2006 at 10:34:43AM +0200, Andi Kleen wrote:> > In general I don't think it makes sense to submit stuff for 2.4 > > that isn't in 2.6.> > In general I agree, however right now I had the choice between> submitting these changes for 2.4 first and not s... | http://lkml.org/lkml/2006/8/20/148 | CC-MAIN-2014-52 | en | refinedweb |
Getting started with the Office 365 Reporting web service
The Office 365 Reporting web service enables developers to integrate information about email and spam, antivirus activity, and compliance-related events into their custom service reporting applications and web portals. All the reports available in the admin cent... | http://msdn.microsoft.com/en-us/library/jj984321(v=office.15).aspx | CC-MAIN-2014-52 | en | refinedweb |
22 October 2009 16:24 [Source: ICIS news]
LONDON (ICIS news)--Arkema has stopped production at its 90,000 tonne/year methyl methacrylate (MMA) facility in Carling, France, because of a serious technical problem, a company source said on Thursday.
“We have technical issues in Carling and we stopped on 21 October,” the s... | http://www.icis.com/Articles/2009/10/22/9257411/arkema-halts-production-at-carling-france-mma-facility.html | CC-MAIN-2014-52 | en | refinedweb |
Internationalization¶
Multilingual URLs¶
If you use more than one language, django CMS urls need to be referenced via i18n_patterns(). For more information about this see the official django documentation.
Main urls.py example:
from django.conf import settings from django.conf.urls )
Language Chooser
page_language_url¶... | http://docs.django-cms.org/en/latest/advanced/i18n.html | CC-MAIN-2014-52 | en | refinedweb |
#include <sys/neti.h> int net_getmtu(const net_data_t net, const phy_if_t ifp);
Solaris DDI specific (Solaris DDI).
value returned from a successful call to net_protocol_lookup(9F).
value returned from a successful call to net_phylookup(9F) or net_phygetnext(9F).
The net_getmtu() function receives information about the... | http://docs.oracle.com/cd/E36784_01/html/E36886/net-getmtu-9f.html | CC-MAIN-2014-52 | en | refinedweb |
Environment variables can be your friend when you don't want things to happen in productions. You can put WING_DEBUG into your environment where you develop. When you run the process under mod_wsgi, or on a machine you don't develop on, this won't be in the environment, and you won't import it. I use this one in my Dja... | http://wingware.com/pipermail/wingide-users/2013-January/010079.html | CC-MAIN-2014-52 | en | refinedweb |
Copy file from XAP package to IsolatedStorage in Windows Phone 82/14/2013 | Tags: windows-phone
Please, tell us what you think about this news by voting
source: diaryofamsp.azurewebsites.net
In my last project i needed to copy a file (SQLite database) from my XAP package to the isolated storage directory of my phone. T... | http://www.geekchamp.com/news/copy-file-from-xap-package-to-isolatedstorage-in-windows-phone-8 | CC-MAIN-2014-52 | en | refinedweb |
This manual page is part of the POSIX Programmer’s Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
fnmatch.h — filename-matching types
#include <fnmatch.h>
The .
None.
The System ... | http://man.sourcentral.org/MGA6/0p+fnmatch.h | CC-MAIN-2021-21 | en | refinedweb |
Subject: [Boost-users] Serialization building on VS2010
From: Zoltán Lengyel (katzlengyel_at_[hidden])
Date: 2011-07-14 03:22:40
Hello,
I am having a LINK error when I try to include stuff for serialization:
*
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
1>LINK : fatal error LNK... | https://lists.boost.org/boost-users/2011/07/69370.php | CC-MAIN-2021-21 | en | refinedweb |
Created on 2013-02-05 00:55 by gvanrossum, last changed 2013-02-25 15:59 by eric.araujo. This issue is now closed.
The profile module exports convenience functions for run() and runctx(), which wrap the corresponding methods of the Profile object. But perhaps the most useful method, runcall(), is not wrapped. :-(
While... | https://bugs.python.org/issue17130 | CC-MAIN-2021-21 | en | refinedweb |
Position of the transform relative to the parent transform.
If the transform has no parent, it is the same as Transform.position.
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { // Move the object to the same position as the parent: transform.localPosition = new... | https://docs.unity3d.com/kr/2018.1/ScriptReference/Transform-localPosition.html | CC-MAIN-2021-21 | en | refinedweb |
GREPPER
SEARCH
SNIPPETS
USAGE DOCS
INSTALL GREPPER
All Languages
>>
Shell/Bash
>>
ubuntu run multiple commands in one line and let them run after close shell
“ubuntu run multiple commands in one line and let them run after close shell” Code Answer
ubuntu run multiple commands in one line and let them run after close sh... | https://www.codegrepper.com/code-examples/shell/ubuntu+run+multiple+commands+in+one+line+and+let+them+run+after+close+shell | CC-MAIN-2021-21 | en | refinedweb |
I am learning how to code with Java. What is the difference between a class and a method, and which is which in the following code?
package template;
public class Template {
/**
* @param args the command line arguments
*/
private static class BGCode {
public BGCode() {
}
}
}
The second question is easy to answer: the t... | https://codedump.io/share/dYi7U5B8GzPD/1/difference-between-classes-and-methods-in-java | CC-MAIN-2021-21 | en | refinedweb |
roberta-base-squad2 for QA on COVID-19
Overview
Language model: deepset/roberta-base-squad2
Language: English
Downstream-task: Extractive QA
Training data: SQuAD-style CORD-19 annotations from 23rd April
Code: See example in FARM
Infrastructure: Tesla v100
Hyperparameters
batch_size = 24 n_epochs = 3 base_LM_model = "d... | https://huggingface.co/deepset/roberta-base-squad2-covid | CC-MAIN-2021-21 | en | refinedweb |
XML Parsing
XML documents can be parsed efficiently and more critically because XML is a widely accepted language. It is extremely crucial to programming for the web that XML data be parsed efficiently, especially in cases a where the applications that are required to handle huge volumes of data. When parsing is improp... | https://www.exforsys.com/tutorials/xml/xml-parsing.html | CC-MAIN-2021-21 | en | refinedweb |
Shake to send feedback for Android.
Shake-to-feedback plugin for Android.
Inspired by Google Maps' Shake to feedback and based on Square's seismic.
Download the latest .aar via Maven:
xml com.linkedin.shaky shaky 3.0.2
or Gradle:
implementation 'com.linkedin.shaky:shaky:3.0.2'
Add the following to your
AndroidManifest.... | https://xscode.com/linkedin/shaky-android | CC-MAIN-2021-21 | en | refinedweb |
Grand Canyon
Table of Contents
2 General Information
3 Getting to Grand Canyon
4 Weather
5–6 South Rim
7–8 North Rim
9–10 Tours and Trips
11 Hiking Map
12 Day Hiking
13 Hiking Tips
14–15 Backpacking
16 Get Involved
17 Sustainability
18 Beyond The Rims
19 Park Partners
Navigating Trip Planner
This document uses links to... | https://www.yumpu.com/en/document/view/10561889/trip-planner-grand-canyon-inn | CC-MAIN-2021-21 | en | refinedweb |
A small library for adding total orderings to enums
Project description
ordered_enum
ordered_enum is a small library for adding (total) orderings to
enum.Enums.
It provides two ordering behaviors:
ordered_enum.OrderedEnum: total ordering by definition
ordered_enum.ValueOrderedEnum: "total" ordering by member values
Ins... | https://pypi.org/project/ordered-enum/ | CC-MAIN-2021-21 | en | refinedweb |
Action represent user actions such as “Run”, “Debug”, “Save to file”, “Search” or “Go to marker”. Actions are attached to buttons, tool/menu bars in an eclipse application. Actions run method is called whenever end user clicks on menu item or button. This chapter covers all this with examples that show how to use actio... | http://wideskills.com/eclipse-plugin-tutorial/getting-started-actions | CC-MAIN-2018-34 | en | refinedweb |
1, microsoft website, enterprise manager, sql2000, edition database, data warehousing systems, performance enterpriseAugust 2, enterprise version, microsoft website, enterprise manager, sql2000, data warehousing systems, performance enterpriseAugust 2
Problems: use to create a windows mobile project vs2005 debugging, a... | http://www.quweiji.com/tag/microsoft-website/ | CC-MAIN-2018-34 | en | refinedweb |
Hive Developer FAQ
Developing
How do I move some files?
Post a patch for testing purposes which simply does add and deletes. SVN will not understand these patches are actually moves, therefore you should actually upload the following, in order so the last upload is the patch for testing purposes:
- A patch which has on... | https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ | CC-MAIN-2018-34 | en | refinedweb |
Creating Threads
The CreateThread function creates a new thread for a process. The creating thread must specify the starting address of the code that the new thread is to execute. Typically, the starting address is the name of a function defined in the program code (for more information, see ThreadProc). This function ... | https://docs.microsoft.com/en-us/windows/desktop/ProcThread/creating-threads | CC-MAIN-2018-34 | en | refinedweb |
utmp,
wtmp,
lastlog—
#include <utmp.h>
<utmp.h>file declares the structures used to record information about current users in the
utmpfile, logins and logouts in the
wtmpfile, and last logins in the
lastlogfile. The timestamps of date changes, shutdowns, and reboots are also logged in the
wtmpfile.
wtmpcan; };
lastlogf... | http://man.openbsd.org/OpenBSD-6.1/utmp.5 | CC-MAIN-2018-34 | en | refinedweb |
Model:
A model is the single, definitive source of data about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a single database table. And an instance of that class represents a particular record in the database table.
1. Each model(database table) is ... | https://micropyramid.com/blog/django-model-managers-and-properties/ | CC-MAIN-2018-34 | en | refinedweb |
Developing.
Setup
This project will use a more advanced maven structure than the simple one used in the developing a custom processor post. If you have looked at the processor post you’ll see that most of the setup for services is very similar.
Apache Nifi Controller Servcie Folder Structure
./sample-bundle ├── pom.xml... | https://www.nifi.rocks/developing-a-custom-apache-nifi-controller-service/ | CC-MAIN-2018-34 | en | refinedweb |
JBoss.orgCommunity Documentation
Sep 2010
Abstract
This book is the JBoss Application Server 6 Security Guide.
Security is a fundamental part of any enterprise application. You need to be able to restrict who is allowed to access your applications and control what operations application users may perform.
The Java Ente... | http://docs.jboss.org/jbosssecurity/docs/6.0/security_guide/html_single/ | CC-MAIN-2016-36 | en | refinedweb |
If you read many of my TechRepublic App Builder blog posts, you know I write a lot of tutorials on customizing various UI elements. My reasoning is twofold.
First, when it comes to wrinkling UI widgets, the Google documentation is sparse. This makes sense; the framework team at Google has a vested interest in encouragi... | http://www.techrepublic.com/blog/software-engineer/androids-seekbar-your-way/ | CC-MAIN-2016-36 | en | refinedweb |
in reply to Re^2: What defines "Pure Perl"?in thread What defines "Pure Perl"?
It's not that the distributions appear in the Module List, which is unmaintained and dead, but that people have registered their namespaces in PAUSE so they can more PAUSE maintenance features and can set some meta-data in PAUSE. Most of the... | http://www.perlmonks.org/?node_id=709805 | CC-MAIN-2016-36 | en | refinedweb |
This file contains the changes for the SSLeay library up to version 0.9.0b. For later changes, see the file "CHANGES". SSLeay CHANGES ______________ Changes between 0.8.x and 0.9.0b 10-Apr-1998 I said the next version would go out at easter, and so it shall. I expect a 0.9.1 will follow with portability fixes in the ne... | http://opensource.apple.com//source/OpenSSL/OpenSSL-26.1/openssl/CHANGES.SSLeay | CC-MAIN-2016-36 | en | refinedweb |
realmagick.com The shrine of knowledge.
Ramon Magsaysay Biography
A selection of articles related to ramon magsaysay biography.
Original articles from our library related to the Ramon Magsaysay Biography. See Table of Contents for further available material (downloadable resources) on Ramon Magsays
Ramon Magsaysay Biog... | http://www.realmagick.com/ramon-magsaysay-biography/ | CC-MAIN-2016-36 | en | refinedweb |
How would I go about setting F8 key to toggle between "draw_white_space" : "all" and "draw_white_space" : "selection"
I tried several things and gaze at default ones to figure out pattern but now I rather ask and wait...
import sublime
import sublime_plugin
class ToggleWhiteSpaceCommand(sublime_plugin.ApplicationComman... | https://forum.sublimetext.com/t/keybinding-draw-white-space-toggle/5122/3 | CC-MAIN-2016-36 | en | refinedweb |
I have the plugin OpenRelated (github.com/vojtajina/sublime-OpenRelated) installed in Sublime 2.0.1. Worked nicely untill somewhere last week. When looking in the console, now I get the following error
Reloading plugin C:\Users...\AppData\Roaming\Sublime Text 2\Packages\Open Related\open_related.pyTraceback (most recen... | https://forum.sublimetext.com/t/solved-valueerror-attempted-relative-import-in-non-package/9830/1 | CC-MAIN-2016-36 | en | refinedweb |
Google Groups
Use data outside of placeholder
Tijs
Mar 28, 2012 7:12 AM
Posted in group:
django CMS users
I was wondering if the following would be possible:
1. have a search plugin which has fills a variable 'results' with results
2. this plugin is shown on a page in a placeholder 'search'
3. on this page there is oth... | https://groups.google.com/forum/?_escaped_fragment_=msg/django-cms/NYAHhwQyQkM/8-aMTygxI38J | CC-MAIN-2016-36 | en | refinedweb |
We’re happy to announce the arrival of Parallel Programming with Microsoft Visual Studio 2010 Step by Step (ISBN 9780735640603; 256 pages) by Donis Marshall.
As chip speed flattens out and multi-core chips become ubiquitous, developers can no longer rely on clock rate advances to improve the speed of software. Instead,... | https://blogs.msdn.microsoft.com/microsoft_press/2011/09/07/new-book-parallel-programming-with-microsoft-visual-studio-2010-step-by-step/ | CC-MAIN-2016-36 | en | refinedweb |
Now that the Office Interop API Extensions have been released, I thought I would post a complete walkthrough of a simple LINQ to DASL application. Let’s start with my fictitious Outlook calendar:
This calendar shows that I have four appointments today. The appointments have been categorized as either “Work” (blue) or “... | https://blogs.msdn.microsoft.com/philliphoff/2008/02/25/linq-to-dasl-walkthrough/ | CC-MAIN-2016-36 | en | refinedweb |
the single responsibility principal
- has uses singleton pattern summarised by a getInstance() factory method,
- has an init() method that must be called before any other method,
- loads its data using direct access to the database rather than using a DAO,
- uses an complex map of maps to store its data,
- accesses th... | https://www.javacodegeeks.com/2011/11/creating-stubs-for-legacy-code-testing.html | CC-MAIN-2016-36 | en | refinedweb |
On Thu, Mar 01, 2007 at 10:31:26AM -0600, Serge E. Hallyn wrote:> we've already had some trouble with nsproxy holding things with> different lifetimes. As it happens the solution this time was to put> the pid namespace where it belongs - not in nsproxy - so maybe moving> this info into nsproxies will be fine, it just r... | http://lkml.org/lkml/2007/3/1/251 | CC-MAIN-2016-36 | en | refinedweb |
.-.
|o,o|
,| _\=/_ .-""-.
||/_/_\_\ /[] _ _\
|_/|(_)|\\ _|_o_LII|_
\._./// / | ==== | \
|\_/|"` |_| ==== |_|
|_|_| ||" || ||
|-|-| ||LI o ||
|_|_| ||'----'||
/_/ \_\ /__| |__\
Brisingr Aerowing wrote:Clicky no linky.
The report of my death was an exaggeration - Mark Twain
Simply Elegant Designs JimmyRopes Designs
I'm o... | http://www.codeproject.com/Lounge.aspx?msg=4812490 | CC-MAIN-2016-36 | en | refinedweb |
On Wed, 11 Oct 2006 12:20:05 +0100, Yan <inetuid@yahoo.co.uk> said: > Ian Jackson wrote: >> Furthermore, the SELinux patches I have seen in various >> applications have given me an extremely poor impression of the code >> quality[1]. This will probably extend to other areas of SELinux. >> >> I say, ditch SELinux. >> >>... | https://lists.debian.org/debian-devel/2006/10/msg00480.html | CC-MAIN-2016-36 | en | refinedweb |
mailjet 1.4.0
mailjet is a django app to implement the mailjet REST API
Introduction
Mailjet is a real-time Cloud Emailing platform and this is a python library to access the Mailjet Web API.
NOTE It should be noted that Mailjet has since wrote a separate mailjet library which uses a newer API and is incompatible with ... | https://pypi.python.org/pypi/mailjet/1.4.0 | CC-MAIN-2016-36 | en | refinedweb |
/* * interfaces to the symbols defined int the crt modules. ** 3 April 1995 ** Matt Watson (mwatson@next.com) ** */ #if defined(__DYNAMIC__) #include "mach-o/dyld.h" /* defines _dyld_lookup_and_bind() */ #define STRINGIFY(a) # a #define DECLARE_VAR(var, type) \ static type * var ## _pointer = 0 #define SETUP_VAR(var) ... | http://opensource.apple.com//source/Libc/Libc-186/crt_externs.c | CC-MAIN-2016-36 | en | refinedweb |
/* Copyright (C) 1996 N.M. Maclaren Copyright (C) 1996 The University of Cambridge This includes code that really should have been part of ANSI/ISO C, but was left out for historical reasons (despite requests to define ftty), plus the get_lock() and log_message() functions. */ #include "header.h" #include <sys/types.h>... | http://opensource.apple.com/source/ntp/ntp-45.1/ntp/sntp/unix.c | CC-MAIN-2016-36 | en | refinedweb |
Maybe it's trying to encourage you to specify the return value explicitly...
Actually, exactly the opposite. It says you shouldn't explicitly return undef because you might actually mean return (), and that return; dwims.
-Paul
In reply to Re^3: Module Announcement: Perl-Critic-1.01
by jettero
in thread Module Announce... | http://www.perlmonks.org/?parent=596755;node_id=3333 | CC-MAIN-2016-36 | en | refinedweb |
697/src/compiler/generic
Modified Files:
primtype: primtype.lisp
===================================================================
RCS file: /cvsroot/sbcl/sbcl/src/compiler/generic/primtype.lisp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- primtype.lisp 9 Sep 2005 14:16:18 -0000 1.... | https://sourceforge.net/p/sbcl/mailman/sbcl-commits/thread/E1FH3jU-0008AY-KU@sc8-pr-cvs1.sourceforge.net/ | CC-MAIN-2016-36 | en | refinedweb |
On Tue, Jan 23, 2001 at 05:46:05AM +0100, peter karlsson wrote: > > Currently, when the makefiles install the pages, it links xxx.html -> > xxx.en.html. How do I set it up to link xxx.html -> xxx.sv.html for > that directory? > You need to override the following section of webwml/Makefile.common: ifndef NOGENERICINSTDE... | https://lists.debian.org/debian-www/2001/01/msg00139.html | CC-MAIN-2014-15 | en | refinedweb |
Course 6436B: Designing Windows Server 2008 Active Directory Infrastructure and ServicesLength:5 DaysPublished:April 25, 2012Language(s):EnglishAudience(s):IT ProfessionalsLevel:300Technology:Windows Server 2008Type:CourseDelivery Method:Instructor-led (classroom)Show all itemsHide all itemsOverview About this CourseDu... | http://www.microsoft.com/learning/en-us/course.aspx?ID=6436B | CC-MAIN-2014-15 | en | refinedweb |
On Mar 21, 2007, at 8:22 PM, Keith Dart ♂ wrote: > It's so general, I think it should be a built-in function and not in a > GUI toolkit. For what it's worth, Ruby's Array class has just such a "flatten" method. > Speaking of that, how do people here feel about inserting general > purpose functions like that into the __... | https://mail.python.org/pipermail/baypiggies/2007-March/002007.html | CC-MAIN-2014-15 | en | refinedweb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.