Welcome! This page is using CodeRay 1.1.2.

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

Page 8, 10 entries

xxx 70 lines of diff 3.25 KB Show Edit Expand
1
2
3
4
5
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index b027d36..ef1002f 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1668,6 +1668,8 @@ void Genesis::InitializeGlobal(Han...
Server 438 lines of Python 16.6 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
import socket
import threading
import json
import tkinter as tk
from tkinter import ttk, PhotoImage
from PIL import Image,ImageTk
from socket import gethostname,gethostbyname
import time

...
ewr 6 lines of C++ by werwer 234 Bytes Show Edit Expand
1
2
3
4
5
msg = this._searchSettingDataBlo.CheckPermissionByApplTmpId(this._commonBlo.CClng(model.ApplTmpId));
 if (!string.IsNullOrEmpty(msg))
      {
         TempData["infoMsg"] = msg;
          retur...
rr 2 lines of Ruby by rr 44.8 KB Show Edit Expand
1
  "premium"=>{"notification_type"=>"DID_RENEW", "environment"=>"Sandbox", "auto_renew_product_id"=>"enterprise1", "auto_renew_status"=>"true", "unified_receipt"=>{"status"=>0, "environment"=>"Sandb...
rr 2 lines of JSON by rr 44.8 KB Show Edit Expand
1
  "premium"=>{"notification_type"=>"DID_RENEW", "environment"=>"Sandbox", "auto_renew_product_id"=>"enterprise1", "auto_renew_status"=>"true", "unified_receipt"=>{"status"=>0, "environment"=>"Sandb...
rr 2 lines of Ruby by rr 44.8 KB Show Edit Expand
1
  "premium"=>{"notification_type"=>"DID_RENEW", "environment"=>"Sandbox", "auto_renew_product_id"=>"enterprise1", "auto_renew_status"=>"true", "unified_receipt"=>{"status"=>0, "environment"=>"Sandb...
Syntax Test 1 line of Ruby 11 Bytes Show Edit Expand
1
puts "test"
erb test 3 lines of ERb by jj 31 Bytes Show Edit Expand
1
2
3
% puts 'hi'
ok
% puts 'there'
Java 2 lines of Java by asdasd 108 Bytes Show Edit Expand
1
2
String query = "SELECT * FROM users WHERE userId = ?";
queryStmt.setString( 1, request.getParameter("id"));
test2 7 lines of C 215 Bytes Show Edit Expand
1
2
3
4
5
6
#!/bin/bash
# Check the status of the Fail2Ban jails
JAILS=$(fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g')
for JAIL in $JAILS
do
    fail2ban-client st...

Page 8, 10 entries