Welcome! This page is using CodeRay 1.1.2.

We currently have 3066 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 91, 10 entries

FindGLEW 38 lines of Plain text 1.35 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#.rst:
# FindGLEW
# --------
#
# Find the OpenGL Extension Wrangler Library (GLEW)
#
# This module defines the following variables:
#
# ::
#
#   GLEW_INCLUDE_DIRS - include directories fo...
Boggle 177 lines of C++ by Tensai 4.42 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <list>
#include <map>
#include <cctype>
#include <math.h>
// #include...
Test 82 lines of HTML 2.44 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
<html>
<head>
<title>Simplon Kataloge</title>
</head>
<body>
  
<div class="issuu_wrapper">
  <h3 style="color:#003a78;">EINLEITUNG</h3>
    <iframe class="issuu" width="525" height="186" s...
Test 82 lines of CSS 2.44 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
<html>
<head>
<title>Simplon Kataloge</title>
</head>
<body>
  
<div class="issuu_wrapper">
  <h3 style="color:#003a78;">EINLEITUNG</h3>
    <iframe class="issuu" width="525" height="186" s...
asdfasdf 4 lines of Java 135 Bytes Show Edit Expand
1
2
3
4
String string = "004-034556";
String[] parts = string.split("-");
String part1 = parts[0]; // 004
String part2 = parts[1]; // 034556
MS Ini File 12 lines of HAML 210 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9

[mac-1]
; MAC address
mac=F4-F2-6D-05-54-05
; Number of IP addresses in this port
ip-count=1
; List of IP addresses
; list format ip-1-1 where ip-<Mac number>-<IP number>
ip-1-1=192.168.1....
asd 41 lines of Ruby 1.23 KB Show Edit Expand
1
2
3
4
5
6
7
8
require 'helpdesk'

::Helpdesk.setup do |config|
  # Class that represents the user/admin
  config.user_class = "User"

  # Method usign to display information about user for users
  config....
asD 14 lines of Ruby 408 Bytes Show Edit Expand
1
2
3
4
5
6
module SecurityGuard
  class DestroyForbidden < RuntimeError; end
    
  def destroy
    message = if [Payment, Game].include? self.class
      "#{self.class} instances could not be destroyed"...
Toto 8 lines of C++ 107 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
class A
{
public:
    int getValue() const;
    void setValue(int value);
private:
    int value;
};
ERB 7 lines of ERb by hui s gorbl 376 Bytes Show Edit Expand
1
2
3
4
5
<!-- здесь -->
<% u = User.find User.current %>
<% unless u.groups.any? { |g| g.id == 35 } %>
  <% if @issue.safe_attribute? 'assigned_to_id' %>
      <p><%= f.select :assigned_to_id, principal...

Page 91, 10 entries