Welcome! This page is using CodeRay 1.1.2.

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

Page 8, 10 entries

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...
test 27 lines of Ruby by test 717 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
@Entity
@NoArgsConstructor
@RequiredArgsConstructor
public class Application {

    @Id
    @GeneratedValue
    @Getter
    @Setter
    @Column(name = "application_id")
    private Long i...
aight 1 line of Python 12 Bytes Show Edit Expand
1
hello.run(1)
sql test 52 lines of SQL 2.48 KB Show Edit Expand
1
2
3
4
5
6
SELECT              
  S1.JOBOFFER_MANAGEMENT_NO,              
  S1.CONTRACT_GENERATION_NO,              
  S1.TRANSLATE_CORP_NAME_KNJ_ABB,              
  S1.CONTACT_TITLE,              
  S...
import statement 28 lines of JavaScript by Israel Sant'Anna 1.61 KB Show Edit Expand
1
2
3
4
5
{
    function toggleTheme() {
        var theme = document.getElementsByClassName('themeChanger');
        var bodyPic = document.getElementsByTagName('body');
        var styleChanger = docum...
mea 5 lines of C 611 Bytes Show Edit Expand
1
2
3
S.No  Scenario  Partial payment  Auto adjustment
1  Student can pay part payment and also they have provision to select the bill item to their choice. (available and currently system supports)  Yes  No
...
Python Simple Return 14 lines of Python by uknown 196 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import numpy as np


x = [3, 2, 1]


def simple_return(x):
    x = np.array(x).astype(np.float32)
    return x


if __name__ == "__main__":
    simple_return(x)
    print(f"x is {x}")
dire 13 lines of CSS 1.16 KB Show Edit Expand
1
2
3
CODE                                    # Primary code directory for all Ansible Development on a windows or linux workstation

 ansible-project-skeleton            # A ready-made project ske...
directory 13 lines of Plain text 1.16 KB Show Edit Expand
1
2
3
CODE                                    # Primary code directory for all Ansible Development on a windows or linux workstation
│
├── ansible-project-skeleton            # A ready-made project ske...

Page 8, 10 entries