Welcome! This page is using CodeRay 1.1.2.

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

Page 1, 10 entries

erb 3 lines of ERb by taro 89 Bytes Show Edit Expand
1
2
3
<h1>New blog</h1>
<p>title: <%= @blog.title %></p>
<p>content: <%= @blog.content %></p>
test 38 lines of C++ 1.34 KB Show Edit Expand
1
2
3
4
5
struct enum_modules_t {
    template<class Subsystem, class Callback>
    NTSTATUS operator()(void* handle, Callback cb, std::uint64_t peb_address) const
    {
        using ptr_t = typename Su...
adf 1 line of JSON by asdf 117 Bytes Show Edit Expand
1
{ "id": "", "hw": "asdf", "type": "env", "version": "0.12", "temperature": 22.3, "humidity": 23, "pressure": 1013 }
abc 1 line of Plain text by abc 1018 Bytes Show Edit Expand
1
[2020-08-13 20:36:07] INFO WEBrick 1.3.1 ,[2020-08-13 20:36:07] INFO ruby 2.4.7 (2019-08-28) [x86_64-darwin18] ,== Sinatra (v2.0.8.1) has taken the stage on 4567 for development with backup from WE...
tece to shopify 81 lines of Ruby 2.19 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
10
p_new = product
if r1.nil?
  puts "!! #{item_id} no product found in ERP"
  return ""
end

if r1["Vintage"].to_i > 1000
  p_new.title = r1["Vintage"] + " " + r1["LongTitle"]
else
  p_new.title...
x 2 lines of Python by sdsa 20 Bytes Show Edit Expand
1
2
def ref():
    pass
sqefsqdfdsqf 6 lines of Java 121 Bytes Show Edit Expand
1
2
3
4
5
6
#
# APPLICATION
#
spring.application.name=exemple
summer.application.st=HELLOWORLD
summer.application.version=1.0 
test 48 lines of JSON 1.37 KB Show Edit Expand
1
2
3
4
5
6
7
8
{
   "clientAbbr":"hlc_hlc",
   "jobs":[
      {
         "layoutName":"ecw_biometric_delimited_12_v01",
         "vendorName":"ecw",
         "dataType":"biometric",
         "inputDataPath...
test 32 lines of Ruby 1.09 KB Show Edit Expand
1
2
3
4
5
6
7
def update_dynamic_templates(model)
  index = model.table_name  
  doc_type = ElasticSearch::GlobalSearch::Sync.els_type_for_class(model)
  body =
    {
      doc_type => {
        dynamic_te...
C# test 11 lines of Java by Noman 165 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
public class ClientActivity
{
    public void ClearStatistics()
    {
        //...
    }
    public void CalculateStatistics()
    {
        //...
    }
}

Page 1, 10 entries