doc_id stringlengths 22 27 | text large_stringlengths 77 830k | n_tok3 int32 32 258k | n_tok35 int32 32 281k | n_chars int32 77 830k | lang stringclasses 1
value | flags stringclasses 15
values | source stringclasses 1
value |
|---|---|---|---|---|---|---|---|
cccode:part_000102:4:36803 | # Jakarta EE Platform API v9.0.0
## Class: `PostConstructCustomScopeEvent`
### Hierarchy
- `java.lang.Object`
- `java.util.EventObject`
- `jakarta.faces.event.SystemEvent`
- `jakarta.faces.event.PostConstructCustomScopeEvent`
### Implemented Interfaces
- `Serializable`
### Description
This class allo... | 676 | 704 | 3,305 | cccode | ||
cccode:part_000094:0:83227 | # C82's Latest Works and Words
By Nicholas Rougeux, posted on December 17, 2005 in CSS, Web
Usability and accessibility are increasingly important, improving the web. However, some elements, like the `<select>` element with the `multiple` attribute, fall short in these areas. Let's explore an alternative: a scrollabl... | 1,201 | 1,268 | 4,722 | cccode | ||
cccode:part_000077:0:47597 | **Kris by Frank Decker**
Kris is a type of single-edged Scandinavian knife with a distinctive design and historical significance. The knife is characterized by its long, slender blade and a mid-rib, known as a fuller, along the length of the blade. Traditionally, it served both as a tool and a weapon.
### Historical ... | 666 | 689 | 2,818 | cccode | ||
cccode:part_000114:4:86588 | # Emoji and CakePHP
A while back, I received reports that one of my older websites had issues with emoji smileys. When browsing it with a mobile device and entering a native mobile smiley, the emoji and all the following text would be lost when saving. This was especially problematic for longer conversations that user... | 688 | 709 | 2,718 | cccode | ||
cccode:part_000001:4:46858 | # Proxy This Extension Overview
## Overview
Proxy This is a Chrome extension which allows you to easily select sites that should be proxied. It supports wildcard hostnames (e.g., `*.netflix.com`, `*.com`). With Proxy This, you can define multiple proxies and select what sites go through which proxy by simply right-cl... | 167 | 177 | 791 | meta_tail | cccode | |
cccode:part_000041:0:160651 | # What would Clippy say?
Stack Exchange Network consists of 176 Q&A communities, including Stack Overflow, the largest and most trusted online community for developers to learn, share their knowledge, and build their careers.
## What would Clippy say?
We have a question closure rate of ~30%. This is a significant bu... | 1,560 | 1,611 | 7,236 | cccode | ||
cccode:part_000163:4:123038 | # About Python Regular Expressions
In this tutorial, we will explore how to use Python regular expressions, specifically focusing on extracting pagination links from a webpage.
## Example Code
```python
import re
import requests
def get(name):
baseurl = "https://tieba.baidu.com/f?ie=utf-8&kw{}&fr=search".format... | 483 | 497 | 2,162 | cccode | ||
cccode:part_000102:4:122712 | # Freezed Package Documentation
## Welcome to Freezed
Freezed is a code generator for creating immutable objects with advanced features and a simple syntax. It addresses the trade-offs found in other code generators by supporting both simple syntax and advanced use cases without compromising readability.
### Motivat... | 2,267 | 2,424 | 8,005 | cccode | ||
cccode:part_000001:4:89525 | # Ordinateur portable qui bloque après installation d'Ubuntu 16.04
## Le 06/09/2016, à 15:43
### shokin
Salut à toutes et à tous,
Il y a quelques jours, j'ai installé Ubuntu 16.04 à partir du CD où j'avais gravé le fichier ISO. C'était sur un ordinateur portable d'un colocataire qui ne s'y connaît pas trop en infor... | 1,858 | 1,791 | 6,109 | cccode | ||
cccode:part_000027:3:100963 | # Array Merge without Duplicates
**Ask Question**
Asked 6 years, 1 month ago
Active 1 year ago
Viewed 31k times
## Challenge
Your challenge is to create an algorithm with less complexity than O(n^2) for merging two arrays and removing duplicates. The winning criteria is the solution with the least complexity... | 2,476 | 2,625 | 7,954 | cccode | ||
cccode:part_000010:0:190709 | # Django Ajax Form Submit - Dojo
**Posted by jayapal**
## Introduction
A simple way to implement Ajax in Django using the Dojo toolkit.
### 1. Models.py
Create a model for Book:
```python
class Book(models.Model):
name = models.CharField(max_length=50)
author = models.CharField(max_length=60)
year = m... | 560 | 613 | 2,336 | cccode | ||
cccode:part_000077:0:45100 | # SpringServe
## Log Level Data
Created by Ben Leonhardt, last modified by Kat Mareck on Nov 25, 2019
## Fields
| Index | Field Name | Field Data Type | Field Description |
|-------|----------------------|-----------------|-------------------... | 2,756 | 2,848 | 13,848 | cccode | ||
cccode:part_000052:0:236416 | # Help with VBA Code on Access Form
**Thread: Help with VBA Code on Access Form**
---
### 1. 05-11-12, 14:24 #1 jck256
**Unanswered: Help with VBA Code on Access Form**
Hello guys,
I am trying to write a VBA Access code that will help with displaying an error message to a user trying to input a new record into a t... | 943 | 987 | 3,437 | cccode | ||
cccode:part_000026:1:182252 | # "Start: Applet Not Initialized" Error
### Discussion on Programming Forums
#### Problem Description
Aalyiah7492 posted on 19 October 2011, seeking assistance with a "Start: Applet Not Initialized" error encountered while attempting to run an applet using the Applet Viewer. Aalyiah7492 included the applet's code, m... | 3,245 | 3,448 | 12,602 | cccode | ||
cccode:part_000114:4:216023 | # FenwickTree: Data Structure for Fast Query and Update of Cumulative Sums
Fenwick trees are a \(\mathcal{O}(\log N)\) data structure for updating cumulative sums. This implementation includes an operation to find the least element for which a real-valued cumulative sum reaches a certain value and allows for the stora... | 552 | 561 | 1,684 | cccode | ||
cccode:part_000127:1:65180 | # OK, I HAVE to learn this stuff!
## Main Content
dc dalton, a hardcore Java developer, expresses frustration with PHP, despite being able to build simple sites using it. He aims to transition his Java server-side applications to PHP to broaden his skill set and professional value. However, he finds PHP confusing, es... | 1,549 | 1,627 | 7,162 | cccode | ||
cccode:part_000003:4:32183 | # General Support
## htaccess in 3.0.62 doesn't work in later version
### Issue Description
The following `.htaccess` rule works in ProcessWire 3.0.62 but not in version 3.0.98:
```apache
RewriteEngine on
RewriteRule ^(.*)$ /subdirectory/$1 [L]
```
This rule redirects root requests to a subdirectory where ProcessW... | 564 | 580 | 2,452 | cccode | ||
cccode:part_000003:4:166403 | # BuddyPress Global Search toont niet alle leden
**28 augustus 2016**
**Categorie: Websites**
Ik heb gebruik gemaakt van de BuddyBoss BuddyPress Global Search plug-in, een gratis download. Deze plug-in combineert de zoekfunctionaliteit van WordPress en BuddyPress. De plug-in is simpel in gebruik omdat je in het wp-... | 464 | 438 | 1,711 | cccode | ||
cccode:part_000133:3:16330 | # NOvA Production
## Overview
The OPOS group runs several keepup jobs for NOvA. These jobs are managed by service-desk requests. Presently, the keepup jobs run by OPOS are:
### Reconstruction Keepup
- **FD Keepup:** Uses S15-12-07. Only NuMI trigger stream files are processed. Reconstruction with this version began ... | 5,724 | 5,802 | 18,094 | cccode | ||
cccode:part_000071:0:207595 | # Oracle9i XML API Reference - XDK and Oracle XML DB
Release 2 (9.2)
Part Number A96616-01
## Part II: XDK for C Packages
This section contains the following chapters:
- **Chapter 13: "XML Parser for C"**
- **Chapter 14: "XSLT Processor for C"**
- **Chapter 15: "XML Schema Processor for C"**
---
Oracle
Copyri... | 176 | 180 | 682 | cccode | ||
cccode:part_000077:0:18085 | # Parsec-3.1.1: Monadic Parser Combinators
## Portability: Portable
## Stability: Provisional
## Maintainer: derek.a.elkins@gmail.com
### Text.ParserCombinators.Parsec.Language
#### Description
Parsec compatibility module.
#### Synopsis
```haskell
haskellDef :: LanguageDef st
haskell :: TokenParser st
mond... | 849 | 890 | 3,671 | cccode | ||
cccode:part_000010:0:15280 | # Double Clicking `input()` in `list()` in Bug Reports
**ID: 91848**
**Posted on:** February 20, 2010, 10:47 pm by Ripiz
**BYOND Version:** 462
**Operating System:** Windows 7 Ultimate 64-bit
**Web Browser:** Firefox 3.5.8
**Status:** Not a bug
---
## Descriptive Problem Summary
Making a choice in `"input()... | 571 | 593 | 2,063 | cccode | ||
cccode:part_000114:4:1734 | # Talk:Euler Problems
## From HaskellWiki
### Revision as of 21:28, 23 February 2008
As one of the team members of Project Euler, I must say that you are doing Project Euler no great favor by maintaining this site. How is it possible that you are so blinded by your enthusiasm for a particular programming environment... | 1,334 | 1,356 | 5,986 | cccode | ||
cccode:part_000014:1:29039 | # R Package Documentation: crmPack
## Object-Oriented Implementation of CRM Designs
### Package Overview
crmPack provides an object-oriented implementation of CRM (Continual Reassessment Method) designs. This package is designed to support various functions related to dose-finding studies, particularly those focusin... | 682 | 719 | 2,623 | cccode | ||
cccode:part_000014:1:123467 | # P1132R6: out_ptr - A Scalable Output Pointer Abstraction
**Published Proposal, 2019-10-07**
**Authors:**
- JeanHeyd Meneide
- Todor Buyukliev
- Isabella Muerte
**Audience:**
- Library Working Group (LWG)
**Project:**
- ISO/IEC JTC1/SC22/WG21 14882: Programming Language — C++
**Target:**
- C++23... | 14,029 | 14,452 | 57,609 | meta_tail | cccode | |
cccode:part_000001:4:234001 | ### Goals
The primary goal is to ensure that the PHP QA process is streamlined, efficient, and effective in identifying and addressing potential issues within the PHP codebase.
### What is RC?
RC stands for Release Candidate. It is a pre-release version of software that is potentially final unless significant bugs e... | 506 | 533 | 2,164 | cccode | ||
cccode:part_000014:1:199355 | # SHCreateDirectory: identifier not found
This is a discussion on the error `SHCreateDirectory: identifier not found` within the Windows Programming forums, part of the Platform Specific Boards category. The error occurs during compilation.
### User Discussion
#### XunTric (07-27-2007)
XunTric is seeking help with ... | 830 | 891 | 2,876 | cccode | ||
cccode:part_000112:2:23937 | # R Package Documentation: lmec
## Linear Mixed-Effects Models with Censored Responses
### Description
This generic function fits a linear mixed-effects model in the formulation described in Laird and Ware (1982) but allows for censored normal responses. In this version, the within-group errors are assumed independen... | 1,726 | 1,782 | 4,700 | cccode | ||
cccode:part_000020:3:110980 | # The Global Statement in Python
**Hubert's Blog**
**Tag: scope**
When writing code, encountering issues due to misunderstanding the `scope` can lead to unexpected behavior. The following example demonstrates this:
```python
#!/usr/bin/env python
flag = True
def test():
flag = False
print(flag)
test()
print(... | 246 | 259 | 1,176 | cccode | ||
cccode:part_000133:3:83423 | # 공변성과 반공변성은 무엇인가?
Stephan Boyer의 "What are covariance and contravariance?"을 번역한 글입니다.
공변성과 반공변성은 무엇인가?
서브타이핑은 프로그래밍 언어 이론에서 까다로운 주제입니다. 공변성과 반공변성은 오해하기 쉬운 주제이기 때문에 까다롭습니다. 이 글에서는 이 용어를 설명하려고 합니다.
이 글에서는 다음과 같은 표기법을 사용합니다.
- \( A <: B \)는 A가 B의 서브타입이라는 뜻입니다.
- \( A \rightarrow B \)는 함수 타입으로, 함수의 인자 타입은 A이고 반환 타입은 B... | 1,482 | 1,322 | 3,070 | cccode | ||
cccode:part_000114:4:86860 | # Why is `char[]` Preferred Over `String` for Passwords in Java?
## Introduction
In Java, when dealing with passwords, the `char[]` array is often recommended over the `String` class. This preference is primarily due to security considerations.
## Main Content
### Swing Password Field
In Swing, the password field ... | 505 | 522 | 2,362 | cccode | ||
cccode:part_000127:1:144448 | # Atom RSS2.0 oEmbed Profile of テキストファイルの全部を読んで行単位にする
## プログラミング言語 C でテキスト処理をしようと思うと何かと面倒なことは多い
ただ行ごとに読むというだけのことにでもひどく手間をかけさせられてしまう。それをなんとか工夫して実装しようとしている記事を読んだ。
## もう 20 年ほど前のことになるが、私はチャット CGI を C で書いたことがあり、その中で似たようなことをやったというのを思い出した
そのときの技法 (というほど大したものではないが) を紹介したいと思う。
### 考え方
結局ファイル全部を読むのだから一度に読んでしまえば良いではないかというのが基本... | 1,078 | 1,068 | 2,782 | cccode | ||
cccode:part_000155:1:177741 | # Code Better with Google HTML CSS Style Guide
**By P Chandra**
*Posted 2014, Updated 30-11-2014*
*Categories: Blogging • Tutorials*
Did you know Google has published an HTML and CSS Style Guide to help new coders understand good coding practices? We all edit CSS and HTML in our blogs, but do we do it the right w... | 1,024 | 1,060 | 3,771 | cccode | ||
cccode:part_000094:0:239526 | # Dolibarr: Activer le SSL
**25 juillet 2019** par ouest info
Dans `htdocs` créer le fichier `.htaccess` avec le contenu suivant pour forcer le SSL :
```apache
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L... | 388 | 379 | 1,245 | cccode | ||
cccode:part_000133:3:30401 | # JBoss Portal: How to Put Two Portlets Horizontally (Single Row) in Region
**Discussion Feed**
**Ritesh Newbie**
*Ritesh May 28, 2007 3:31 AM*
Hi,
I need to create a page with three portlets in the center region: one portlet in the first row and two portlets in the second row in a single region. I know that add... | 811 | 871 | 3,050 | cccode | ||
cccode:part_000001:4:183497 | # Woody by Phil Johnston
Woody is a classic character from the Toy Story franchise, created by Pixar Animation Studios. First introduced in the 1995 film "Toy Story," Woody is a pull-string cowboy doll and one of the main protagonists. He is known for his leadership qualities, loyalty, and deep sense of responsibility... | 580 | 590 | 2,811 | cccode | ||
cccode:part_000041:0:122326 | # PrintBreakType Element - On Premises 6.4
## Description
Allows you to choose the type of break that will be inserted into the document just before this topic. If you choose "Section Break", you must select a Media object to define the next section.
The PrintBreakType element corresponds to the "Insert break" field... | 230 | 237 | 1,034 | cccode | ||
cccode:part_000019:1:70159 | ```html
<style>
div {
width: 100px;
height: 100px;
background: red;
position: relative;
/* Chrome, Safari, Opera */
-webkit-animation-name: myfirst;
-webkit-animation-duration: 5s;
-webkit-animation-timing-function: linear;
-webkit-animation-delay: 2s;
-webkit-animation-iteration... | 464 | 506 | 1,404 | cccode | ||
cccode:part_000001:4:69708 | **Appcan寮-甯灞甯哥**
This document outlines the integration of Appcan with SmallByte.cn, focusing on the technical aspects and code necessary for implementation.
### Overview
The integration involves utilizing the Appcan framework to enhance the functionality of SmallByte.cn. Below is a detailed breakdown of t... | 475 | 517 | 1,752 | meta_tail | cccode | |
cccode:part_000117:4:160263 | # Running Presto with Alluxio
This guide describes how to run Presto with Alluxio, so that you can easily use Presto to query Hive tables in Alluxio’s tiered storage.
## Prerequisites
The prerequisite for this part is that you have Java. The Java version must be Java 8 Update 60 or higher (8u60+), 64-bit. The Alluxi... | 1,533 | 1,584 | 6,014 | cccode | ||
cccode:part_000165:0:123034 | # QuickBooks Desktop Sync Conflicts
### Method Reference Guide
**How to Troubleshoot Sync Conflicts**
Updated this week
**Table of Contents**
#### Method doesn't allow for a 5-line address block
QuickBooks returned an error when adding/modifying a [transaction] record. The error was: "There was an error when compo... | 4,043 | 4,169 | 18,719 | cccode | ||
cccode:part_000112:2:210454 | # 教你如何在WordPress中设置cookie
## WP其他
奇跡の海 2年前 (2017-08-25) 366次浏览 已收录 0个评论
Cookie是由服务器端生成,发送给User-Agent(一般是浏览器),浏览器会将Cookie的key/value保存到某个目录下的文本文件内。下次请求同一网站时就发送该Cookie给服务器(前提是浏览器设置为启用cookie)。Cookie名称和值可以由服务器端开发自己定义,对于JSP而言也可以直接写入jsessionid,这样服务器可以知道该用户是否合法用户以及是否需要重新登录等。服务器可以利用Cookies包含信息的任意性来筛选并经常性维护这些信息,以判断在HTTP传输中的状态... | 866 | 839 | 2,037 | cccode | ||
cccode:part_000153:4:152132 | # Two Remote EJB Calls to Two Different Servers in the Same Transaction
**Daniel Fb Newbie**
*Posted on Apr 27, 2018, 6:11 PM*
It is possible to invoke two remote EJBs targeting two remote servers (each EJB on its own server) in the same distributed transaction? The container only invokes the first EJB correctly, t... | 1,268 | 1,357 | 5,372 | cccode | ||
cccode:part_000120:4:122857 | ## hmPython3ライブラリのインストールと使用に関する注意点
### 概要
このセクションでは、hmPython3でのモジュールのインストール方法について説明しますが、特定のライブラリはhmPython3では使用できないことがあります。
### 使用できないライブラリ
- **numpy**
- **pythonnet**
hmPython3の特性上、一つのプロセス内でプロセスを終了せずに「複数回」実行する必要があり、各実行ごとに実行状態を初期化する必要があります。Pythonに付属するライブラリはこの初期化に対応していますが、サードパーティ製のライブラリは対応していない場合があります。例えば、numpyやpyth... | 779 | 686 | 1,615 | cccode | ||
cccode:part_000020:3:147896 | # Start Object
The start parameter specifies which menu or content is loaded at startup. It must start with `menu:` or `content:` to specify the JSON type. This property is mandatory because without it, no start menu or content can be loaded.
## Versions and Features
- **Since version 0.1.65**, you can set a start p... | 633 | 647 | 2,911 | cccode | ||
cccode:part_000094:0:52859 | # Problems Upgrading from 4.5 to 5.0
## Thread: Problems upgrading from 4.5 to 5.0
### 1. 01-13-2008, 05:07 PM
#### deus
- **Junior Member**
- Join Date: Jun 2007
- Posts: 5
- Rep Power: 9
**OS:** Fedora 7
When upgrading to ZCS-5 from 4.5, I accidentally killed the upgrade script. After retrying, I get the... | 568 | 569 | 1,505 | cccode | ||
cccode:part_000052:0:171340 | # Getting Started
## Introduction
PHP is a popular scripting language that is especially suited for web development. It is fast, flexible, and pragmatic, designed to be easy to use and powerful.
## A Simple Tutorial
This section will guide you through the basics of PHP, including setting up your development environme... | 3,750 | 3,990 | 16,375 | cccode | ||
cccode:part_000163:4:127092 | # QCoro
## QTcpServer
### Module: QCoroNetwork
**Include**
```cpp
#include <QCoroTcpServer>
```
**CMake**
```cmake
target_link_libraries(myapp QCoro::QCoroNetwork)
```
QTcpServer really only has one asynchronous operation worth co_awaiting, and that's `waitForNewConnection()`. Since QTcpServer doesn't provide th... | 424 | 448 | 1,603 | cccode | ||
cccode:part_000114:4:122413 | # MetadataOnBuffer
## Difference: MetadataOnBuffer (r17 vs. r16)
**Metadata on Buffer (aka MoB)**
### Concept
The goal of Metadata on Buffer (MoB) is to allow storing any kind of data related to an audio track in the main buffer while the track is playing. This will facilitate a clean implementation of AlbumArt and... | 2,188 | 2,261 | 9,581 | cccode | ||
cccode:part_000108:1:108138 | # Image Uploads with CKEditor, CKFinder, and Laravel 5.x
This post hasn't been updated for 2 years.
**Series: Exploring Laravel & Building an E-commerce Website with Laravel 5.x**
- Part 1: Blade Template, Building User Interface
- Part 2: User Authentication, Building Login Page
- Part 3: Back-end: Category Manageme... | 1,096 | 1,147 | 4,577 | cccode | ||
cccode:part_000003:4:226710 | # #5156d2 Hex Color Code
#5156d2 is a hexadecimal color code for a shade of blue. In the RGB color model, #5156d2 is composed of 31.76% red, 33.73% green, and 82.35% blue. In the HSL color space, #5156d2 has a hue of 238 degrees, 59% saturation, and 57% lightness. The estimated wavelength of this color is 465.3 nm.
#... | 3,237 | 3,258 | 5,468 | cccode | ||
cccode:part_000127:1:232139 | # Re: impossible to write type signature
**Sender:** jeff p mutjida at gmail.com
**Date:** Sat Jul 14 02:24:12 EDT 2007
Hello,
I finally found the thread I was looking for:
[Original Thread](http://www.haskell.org/pipermail/haskell-cafe/2006-December/020481.html)
Sorry for the noise.
-Jeff
On 7/14/07, jeff p <... | 227 | 237 | 856 | cccode | ||
cccode:part_000098:1:118782 | # HTML-Widgets-NavMenu - MetaCPAN
## Recent CPAN Uploads
### HTML-Widgets-NavMenu-1.0900 by Shlomi Fish (2021-04-25)
#### Changes for version 1.0900 - 2021-04-25
- Add the experimental `coords_stop` option (false by default).
## Modules
- **HTML::Widgets::NavMenu**: A Perl Module for Generating HTML Navigation Men... | 878 | 924 | 3,157 | cccode | ||
cccode:part_000017:3:196659 | # Plugin Oracle?
## 7 February 2007, 09:04
Bonjour à tous,
Voici, j'ai installé Nagios avec tous les services que je souhaitais mettre en place, et tout fonctionne parfaitement. Cependant, il me reste un service à surveiller : la base Oracle. J'aimerais savoir s'il existe un autre plugin, en plus de "check_oracle", ... | 1,530 | 1,523 | 6,207 | cccode | ||
cccode:part_000129:4:47609 | # Kernel ABIs and Kernel ABI White Lists
This document provides an overview of the kernel ABIs and the associated white lists. The content includes source code and configuration files, along with detailed explanations and examples.
## Overview
The kernel ABI (Application Binary Interface) is crucial for ensuring com... | 524 | 555 | 2,089 | meta_tail | cccode | |
cccode:part_000014:1:180310 | # Atom Feed
## Converted from sourceforge/svn Sir Walter Raleigh
**About Summary Refs Log Tree Commit Diff**
**Path:** `root/signal/streamin~.c`
**Blob:** `39446c90cff332566e97c3fd76a5fae343954b97 (plain)`
```c
/* Written by Guenter Geiger <geiger@xdv.org> © 1999 */
/* Thanks to Anthony Lee for Windows bug fixes *... | 2,765 | 3,054 | 8,918 | cccode | ||
cccode:part_000003:4:3030 | # Performance SQL - 11g
**user8897201**
*Jan 16, 2013 4:41 AM*
Hi,
(Database version: 11gR2)
I'm executing an SQL query using SQL*Plus with the following options:
```sql
set timing on
set autotrace trace
```
Why am I getting the following elapsed time:
Elapsed: 00:00:00.00
but in explain plan I see high... | 1,167 | 1,190 | 3,851 | cccode | ||
cccode:part_000035:0:7231 | # Curses Library Functions
The Curses library is a programming library that facilitates the creation of text-based user interfaces in a terminal-independent manner. It provides various functions to manipulate windows, handle input, and control output in terminal environments.
## Function Overview
Below is a comprehe... | 9,891 | 10,450 | 30,331 | cccode | ||
cccode:part_000102:4:99264 | # PHP: Add Additional URL to Existing Script
## Problem Description
I have a script that displays a "DEMO" image in the header of every page except the home page. I would like to add another page (URL) where the "DEMO" image doesn't show (i.e., the DEMO page). This is probably very simple; I just don't know the syntax... | 988 | 1,050 | 3,527 | cccode | ||
cccode:part_000064:0:11872 | ```php
<?php
class Model_Doc_Howto extends Model_Table {
public $entity_code = 'doc_howto';
function defineFields(){
parent::defineFields();
$this->newField('title')
->mandatory(true);
$this->newField('keywords');
$this->newField('inherit');
$this->newFie... | 170 | 186 | 759 | cccode | ||
cccode:part_000077:0:179010 | # PHP/QA Team
## The PHP/QA Team
The PHP/QA Team is a small group of developers whose primary goal is to support the PHP core developers by providing them with timely quality assurance.
## Projects & Goals
Find more information about PHP/QA Team's current projects and future goals.
## Release Candidates
What are rel... | 10,927 | 11,300 | 34,858 | cccode | ||
cccode:part_000052:0:167298 | ```python
# name_function.py
def get_formatted_name(first, last):
"""Generate a neatly formatted full name."""
full_name = first + ' ' + last
return full_name.title()
# names.py
from name_function import get_formatted_name
print("Enter 'q' at any time to quit.")
while True:
first = input("\nPlease g... | 573 | 612 | 2,441 | cccode | ||
cccode:part_000108:1:21331 | # Write Custom Functions Functions Earth Data Science - Earth Lab Feed
## Earth Analytics Bootcamp: Week 10. Functions
### Intro to Functions
**Authors**: Jenny Palomino, Leah Wasser, Software Carpentry
Welcome to the first lesson in the Intro to Writing Custom Functions in Python module. This tutorial walks you th... | 1,408 | 1,445 | 7,010 | cccode | ||
cccode:part_000020:3:145903 | # Encycolorpedia
## Paint Chip Color Code #a2b37a
### Overview
The color #a2b37a is a yellow-green shade. In the RGB color model, it is composed of 63.53% red, 70.2% green, and 47.84% blue. In the HSL color space, this color has a hue of 78 degrees, 27% saturation, and 59% lightness. The wavelength of this color is a... | 8,900 | 9,068 | 15,384 | cccode | ||
cccode:part_000001:4:247884 | # Trasa w góry na Mazury
## Odpowiedź 30 dnia: 17 Grudnia 2005, 13:11:23
Cytat: "tokarekdawid"
No nie idzie. Próbowałem równo o 12 i nic. Jak ktoś może to proszę przesłać na maila dawid_999@op.pl Bo ja już chyba nic nie wrzucę.
Widzę, że macie problemy ze sciągnięciem trasy. Wrzuciłem ją więc do siebie na serwer. Ws... | 4,519 | 4,249 | 11,147 | cccode | ||
cccode:part_000101:3:185894 | # InputBox Functionality Sanity Check
**By UtahTechDad, May 30, 2008, in AutoIt General Help and Support**
Am I "up in the night," or should not the value in the "Default" field be passed if the timeout threshold is reached? Specifically, the following line returns a NULL if nothing is entered in fifteen seconds, but... | 704 | 728 | 2,366 | cccode | ||
cccode:part_000145:1:180403 | # Apple Wireless Keyboard Paired to Mac and Windows at the Same Time. Possible?
### Started by badluck, Sep 20, 2012, 03:15 PM
#### Post #1
**badluck**
*Posted 20 September 2012 - 03:15 PM*
*InsanelyMac Protégé*
*Poland*
Hello!
I have a fully working hackintosh with an Apple Wireless Keyboard paired with mac... | 641 | 661 | 2,285 | cccode | ||
cccode:part_000133:3:68769 | # BackTrack 4 R1 Development Release
The BackTrack Dev team have released an UNOFFICIAL DEVELOPMENT build of BT4 R1. We need help from the community to test hardware support, especially in the wireless driver arena. For more information about this release, please check: [BackTrack Information Security Distribution - R... | 7,709 | 7,838 | 20,442 | cccode | ||
cccode:part_000010:0:25217 | # WonderPush Documentation
## WEB PUSH QUICKSTART
### Web Push Notifications
- **What are Web Push Notifications?**
- **Subscription Prompts**
- **Subscribe to topics**
- **Migrating to a new domain name, host name, or site URL**
- **Service Worker Integration**
- **Website SDK Reference**
- **Importing Web Push Subs... | 3,343 | 3,571 | 12,887 | cccode | ||
cccode:part_000077:0:154158 | # API Manual Reference Card
## Modules
- Ansi
- Binary
- Bitwise
- Bool
- Buffer
- Cactutf
- Client_code
- Closure
- Continuation
- CoreProfiler
- Core_client_code
- Core_server_code
- Cps
- Debug
- Deprecated
- Exception
- ExecInit
- FiniteSingleThreadLazy
- Float
- Hashtbl
- Int
- Int32
- Int64
- Itextrator
- JsAst... | 1,801 | 1,884 | 6,587 | unwrap | cccode | |
cccode:part_000120:4:66275 | # Google Webmaster Tools: Robots.txt Does Not Seem to Be Working for Staging Site
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.
## Question
I've added `robots.txt` on my staging site at `staging.mydomain.com` as:
```
User-agent: *
Disallow: /
``... | 725 | 754 | 3,108 | meta_tail | cccode | |
cccode:part_000077:0:172492 | # Données d'événements post-installation (PIE)
**Avatar:** Julia Randall
**Date:** 29 avril 2020 08:24
## Introduction
Ce point de terminaison permet aux publicitaires d'envoyer des données Vungle concernant chaque événement au niveau de l'utilisateur lorsqu'il se produit. Le but de l'API des données de l'événemen... | 2,312 | 2,226 | 8,746 | cccode | ||
cccode:part_000041:0:112062 | # Sun Cluster Data Service for N1 Grid Service Provisioning System for Solaris OS
## Procedure: How to Verify the Installation and Configuration of N1 Grid Service Provisioning System Local Distributor
This procedure is for the installation verification of the N1 Grid Service Provisioning System Local Distributor.
1... | 388 | 394 | 1,562 | cccode | ||
cccode:part_000001:4:27537 | # Characteristics of the Samsung Galaxy Z Fold 2 (2020)
**Updated January 13, 2022**
## Viewport Resolution (CSS Rules)
The resolution is crucial for designers and developers as it determines breakpoints and the definition of media queries. For the Samsung Galaxy Z Fold 2 (2020), the viewport resolution is:
- 884 pix... | 474 | 490 | 1,972 | cccode | ||
cccode:part_000165:0:8275 | # Установка Ntopng на Debian
**Автор**: Deo
**Дата**: 16 ноября 2016
**Категории**: Linux, Интересно
Несколько дней я старался установить NTOPNG 2016 на Debian Wheezy, но столкнулся с проблемой зависимостей. Оказалось, что проблема была в `sources.list`, где не был добавлен:
```plaintext
deb http://ftp.debian.or... | 1,614 | 1,620 | 5,003 | cccode | ||
cccode:part_000014:1:154690 | # Work Opportunities / TWNIC Seeks a Technical Engineer (Full-Time)
**Posted on:** 2007-05-31 10:32
**Code:** [Choose]
- **Age Limit:** None
- **Educational Requirements:** College or above
- **Major Restriction:** Information Engineering, Engineering disciplines, other engineering-related majors
- **Work Experienc... | 22,452 | 22,595 | 71,909 | cccode | ||
cccode:part_000129:4:70574 | # Copy and Paste from tmux to OSX Clipboard
## Steps to Copy and Paste
1. **Terminate the session** (Important: tmux must be restarted)
```bash
tmux kill-session
```
2. **Install necessary tools**
```bash
brew install reattach-to-user-namespace
```
3. **Edit configuration**
```bash
Edit ~/.t... | 441 | 461 | 1,673 | cccode | ||
cccode:part_000019:1:126370 | # Gtk
**API Version:** 4.0
**Library Version:** 4.13.1
## Type
- Gesture
## Signals
- begin
- cancel
- end
- sequence-state-changed
- update
**Generated by gi-docgen 2023.2**
### Signal
**GtkGesture::update**
#### Declaration
```c
void
update (
GtkGesture* self,
GdkEventSequence* sequence,
gpointer use... | 211 | 219 | 793 | cccode | ||
cccode:part_000165:0:86557 | # Index Search Documenting your Package Python Packaging Guide
## Minimal package layout
To start off, we will take a look at the minimal set of files you will need to create an installable Python package. Once you have set these up, your package directory should look like:
```
├── LICENSE
├── my_package
│ └── __i... | 2,080 | 2,152 | 8,884 | cccode | ||
cccode:part_000108:1:123670 | # mudsmith
Node.js Server Monitoring for awesome people.
## Installation
```bash
npm install mudsmith
```
## Overview
mudsmith is a Node.js server monitoring tool designed for developers who want to keep track of their server's performance and health. It provides various monitoring features to help you manage and ... | 498 | 516 | 2,185 | cccode | ||
cccode:part_000027:3:36950 | # An Implementation of Top-Down Splaying with Sizes
This is an implementation of top-down splaying with sizes by D. Sleator <sleator@cs.cmu.edu>, January 1994. This extends the `top-down-splay.c` to maintain a size field in each node. This field represents the number of nodes in the subtree rooted at that node. This m... | 1,766 | 1,895 | 6,165 | cccode | ||
cccode:part_000017:3:259639 | # Active Record Query Interface
This guide covers different ways to retrieve data from the database using Active Record.
After reading this guide, you will know:
- How to find records using a variety of methods and conditions.
- How to specify the order, retrieved attributes, grouping, and other properties of the fou... | 7,025 | 7,349 | 27,326 | cccode | ||
cccode:part_000020:3:200252 | # How to Generate a CSR for a Wildcard SSL/TLS Certificate
When generating a CSR for a wildcard TLS/SSL certificate, ensure the domain is in the correct format. A wildcard certificate secures unlimited sub-domains. You must generate the CSR specifying the wildcard sub-domain using an asterisk (`*`).
For example, to g... | 240 | 246 | 1,048 | cccode | ||
cccode:part_000153:4:78062 | # How to Change Height of Tab
**fsoft**
*Active Member*
Hello,
I have a shop on the Journal 2 theme (http://www.svetposteli.sk), and I am experiencing an issue with the large height of the product banner on the homepage. I would like to adjust it to match the width of the black highlight in the selected table. Ca... | 367 | 374 | 1,269 | cccode | ||
cccode:part_000127:1:50329 | # Getting Started with Rally
## Quickstart
- Installation
- Running Rally with Docker
- Configuration
- Run a Benchmark: Races
- Compare Results: Tournaments
- Tips and Tricks
## Extending Rally
- Define Custom Workloads: Tracks
- Developing Rally
# Reference Documentation
## Elasticsearch Version Support
### Comm... | 2,270 | 2,382 | 9,543 | cccode | ||
cccode:part_000017:3:106738 | ```cpp
#include <iostream>
#include <vector>
// Function to calculate the sum of elements in a vector
int sum(const std::vector<int>& v) {
int total = 0;
for (int num : v) {
total += num;
}
return total;
}
int main() {
std::vector<int> numbers = {1, 2, 3, 4, 5};
int result = sum(number... | 370 | 395 | 1,194 | cccode | ||
cccode:part_000120:4:190053 | # C#/WPF: Event Handler Triggered Only When Over Child Element
**Stack Overflow Feed for question 'C#/WPF: Event handler triggered only when over child element'**
**C#/WPF: Event Handler Triggered Only When Over Child Element**
I have attached Event Handlers to a `Border` but it seems they only work when I drag over... | 413 | 423 | 1,735 | cccode | ||
cccode:part_000155:1:169492 | ```markdown
## Class JMSMessageFactoryImpl
`JMSMessageFactoryImpl` is a final class extending `Object` and implementing the `WLMessageFactory` interface. This class provides various methods to create different types of JMS messages.
### Implemented Interfaces
- `WLMessageFactory`
### Method Summary
- **createBytesM... | 851 | 868 | 3,427 | meta_tail | cccode | |
cccode:part_000155:1:241058 | # IF Statement in VBA
## How to code an IF statement in VBA
To execute different actions based on whether today is Monday, you can use the following VBA code:
```vba
If Weekday(Now()) = vbMonday Then
' Have Outlook prepare 3 emails
Else
' Have Outlook prepare 2 emails
End If
```
This script checks if today ... | 494 | 509 | 1,842 | cccode | ||
cccode:part_000017:3:105510 | # PHP 5.3: What's New and Unpleasant
## Forum Discussion: PHP for Beginners
### Overview
This forum thread discusses the transition from PHP 5.2 to PHP 5.3, highlighting issues and insights from various users.
### Participants
- **vasa_c**: With 3,131 messages, vasa_c reports a smooth transition of a large website... | 436 | 448 | 1,969 | cccode | ||
cccode:part_000117:4:167341 | Assign eDiscovery Permissions in the Microsoft 365 Compliance Center
**Date:** 11/18/2021
**Reading Time:** 11 minutes
**Authors:** m, a, l, D, m
If you want people to use any of the eDiscovery-related tools in the Microsoft 365 compliance center, you have to assign them the appropriate permissions. The easiest wa... | 2,067 | 2,098 | 9,712 | cccode | ||
cccode:part_000020:3:128447 | # YouTube Video Won’t Stop When I Go to Another Page?
## Problem Description
How can I stop a YouTube video from playing when navigating away from the page? Currently, the video only stops when manually paused, but I want it to stop automatically when I leave the page.
## Solution
### Workaround in Sencha Touch 2.x... | 1,006 | 1,075 | 4,253 | cccode | ||
cccode:part_000017:3:207034 | # Register URLs in Mobile Safari Dynamically?
Advice from an experienced Appreneur, Mentor, and Coach.
## Register URLs in Mobile Safari Dynamically?
We all know about the feature to register a custom URL scheme in Info.plist so that when Safari tries to open `myapp://some?parameters`, your app will be launched. Thi... | 1,597 | 1,691 | 6,890 | cccode | ||
cccode:part_000064:0:72125 | # PHP Fast Cache Class: Cache a Script Output to Avoid Running It Again
This package can cache a script output to avoid running it again. It can check if a given cache file exists in a given cache directory. If the file does not exist or it was created after a time more than the cache expiry time, the class starts cap... | 580 | 587 | 2,392 | cccode | ||
cccode:part_000019:1:180846 | # Space Invaders Celebrates Its 35th Anniversary
*Space Invaders* celebrated its 35th anniversary on July 2, 2013. It wasn't the first shoot 'em up game, but it became the most influential of all time. *Space Invaders* was released in arcade halls in June 1978, and it quickly became one of the most popular games from ... | 451 | 455 | 2,087 | cccode | ||
cccode:part_000020:3:107855 | # ColorHexa
## #013523 hex color
The hexadecimal color #013523 is composed of 0.4% red, 20.8% green, and 13.7% blue. In a CMYK color space, it is composed of 98.1% cyan, 0% magenta, 34% yellow, and 79.2% black. It has a hue angle of 159.2 degrees, a saturation of 96.3%, and a lightness of 10.6%. The #013523 color hex... | 2,663 | 2,750 | 4,293 | cccode | ||
cccode:part_000020:3:194850 | # 生活物联网平台
## 产品简介
### 什么是生活物联网平台
生活物联网平台是一个集成了智能设备管理、云端服务、用户体验等多方面功能的平台,旨在为用户提供便捷的智能生活解决方案。
### 产品架构
平台的架构设计包括前端用户界面、中间件服务层以及后端数据存储,确保系统的可扩展性和安全性。
### 全球化部署
支持多地区部署,提供全球化服务,满足不同市场的需求。
### 基本概念
涉及设备管理、数据流转、用户交互等基本概念,帮助用户理解平台的工作机制。
### 使用限制
平台在使用时有一定的限制,包括数据传输速率、设备连接数等,以确保系统的稳定性。
## 快速入门
### 开发自有品牌项目的产品
#### 创建项... | 8,374 | 8,299 | 19,468 | cccode | ||
cccode:part_000114:4:89522 | # 3d6 vs a d20: What is the effect of a different probability curve?
**What is the effect on game play of replacing d20 rolls with 3d6 rolls in a D&D 4e campaign?**
The idea of replacing d20 rolls with 3d6 rolls in a D&D 4e campaign arose after reading about playing a d20 system with 3d8. The goal is to explore how t... | 2,809 | 2,874 | 10,687 | cccode | ||
cccode:part_000026:1:214179 | ## Upgraded to Rails 3.2.0 and Get SSLError with Devise & tlsmail Gem for Google Apps?
**Question Overview:**
I recently upgraded to Rails 3.2.0 and encountered an error after signing up to send a welcome email. The error is as follows:
```
OpenSSL::SSL::SSLError in Devise::RegistrationsController#create
SSL_conne... | 663 | 698 | 2,303 | cccode | ||
cccode:part_000101:3:224959 | # NASA Science Mars Exploration Program
## Sol 1730: Right Navigation Camera
NASA's Mars rover Curiosity acquired this image using its Right Navigation Camera on Sol 1730, at drive 612, site number 64. This image was taken by Right Navigation Camera onboard NASA's Mars rover Curiosity on Sol 1730 (2017-06-18 18:43:49... | 608 | 615 | 2,054 | cccode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.