FM Wecoc
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Search
 
 

Display results as :
 

 


Rechercher Advanced Search

Keywords

Subject  Pagination  poll  topic  example  

Latest topics
Admin
Thu Jun 18, 2020 2:48 pm
Admin
Fri Jun 12, 2020 3:05 am
Admin
Tue Aug 07, 2018 4:51 pm
Admin
Fri Aug 03, 2018 1:16 am
Admin
Wed May 16, 2018 5:12 pm
User
Fri May 11, 2018 11:57 pm
Admin
Thu Mar 29, 2018 4:51 pm
Admin
Wed Mar 28, 2018 7:29 pm
Admin
Thu Mar 15, 2018 9:55 pm
Similar topics

    Code tests

    Go down

    15032018

    Post 

    Code tests Empty Code tests




    Basic

    Code:
    Ruby

    class Scene_Title
      def main
        for i in 0...5
          # This is a comment
          print "Hello world"
        end
      end
    end

    CSS

    /* This is a (multiline)
    comment */

    .tester {
      padding: 16px;
      background-color: #800000;
      border-radius: 4px;
      color: #fff;
      transform: scale(0.7)
      display: none;
    }

    Javascript

    $(document).ready(function() {
      // This is a comment
      var btn_collapse = $('<div></div>', {
        class: 'btn-collapse'
      });
    });

    Ruby

    Code:
    Ruby

    class Scene_Title
      def main
        for i in 0...5
          # This is a comment
          print "Hello world"
        end
      end
    end

    CSS

    /* This is a (multiline)
    comment */

    .tester {
      padding: 16px;
      background-color: #800000;
      border-radius: 4px;
      color: #fff;
      transform: scale(0.7)
      display: none;
    }

    Javascript

    $(document).ready(function() {
      // This is a comment
      var btn_collapse = $('<div></div>', {
        class: 'btn-collapse'
      });
    });

    CSS

    Code:
    Ruby

    class Scene_Title
      def main
        for i in 0...5
          # This is a comment
          print "Hello world"
        end
      end
    end

    CSS

    /* This is a (multiline)
    comment */

    .tester {
      padding: 16px;
      background-color: #800000;
      border-radius: 4px;
      color: #fff;
      transform: scale(0.7)
      display: none;
    }

    Javascript

    $(document).ready(function() {
      // This is a comment
      var btn_collapse = $('<div></div>', {
        class: 'btn-collapse'
      });
    });

    Javascript

    Code:
    Ruby

    class Scene_Title
      def main
        for i in 0...5
          # This is a comment
          print "Hello world"
        end
      end
    end

    CSS

    /* This is a (multiline)
    comment */

    .tester {
      padding: 16px;
      background-color: #800000;
      border-radius: 4px;
      color: #fff;
      transform: scale(0.7)
      display: none;
    }

    Javascript

    $(document).ready(function() {
      // This is a comment
      var btn_collapse = $('<div></div>', {
        class: 'btn-collapse'
      });
    });
    Admin
    Admin
    Admin
    Admin

    Posts : 52
    Points : 106
    Reputation : 6
    Join date : 2018-03-03
    Age : 30

    Character sheet
    RPG text Field: Text

    https://fmwecoc.rpg-board.net

    Back to top Go down

    - Similar topics
    Share this post on: reddit

    Code tests :: Comments

    Admin

    Post Thu Mar 15, 2018 8:50 pm by Admin

    Ruby

    Code:
    class Scene_Title
      def main
        for i in 0...5
          # This is a comment
          print "Hello world"
        end
      end
    end
    CSS

    Code:
    /* This is a (multiline)
    comment */

    .tester {
      padding: 16px;
      background-color: #800000;
      border-radius: 4px;
      color: #fff;
      transform: scale(0.7)
      display: none;
    }
    Javascript

    Code:
    $(document).ready(function() {
      // This is a comment
      var btn_collapse = $('<div></div>', {
        class: 'btn-collapse'
      });
    });

    Back to top Go down

    Admin

    Post Thu Mar 15, 2018 9:55 pm by Admin

    Code:
    Sub Main()

    On Error GoTo Failed

     

    Dim app As Netica.Application

    app = New Netica.Application

    app.Visible = True

     

    Dim net_file_name As String

    net_file_name = System.AppDomain.CurrentDomain.BaseDirectory() & "..\..\..\ChestClinic.dne"

    Dim net As Netica.Bnet

    net = app.ReadBNet(app.NewStream(net_file_name))

    net.Compile()

     

    Dim TB As Netica.BNode

    TB = net.Nodes.Item("Tuberculosis")

    Dim belief As Double

    belief = TB.GetBelief("present")

    MsgBox("The probability of tuberculosis is " & belief)

     

    net.Nodes.Item("XRay").EnterFinding("abnormal")

    belief = TB.GetBelief("present")

    MsgBox("Given an abnormal X-Ray, the probability of tuberculosis is " & belief)

     

    net.Nodes.Item("VisitAsia").EnterFinding("visit")

    belief = TB.GetBelief("present")

    MsgBox("Given abnormal X-Ray and visit to Asia, the probability of tuberculosis is " & belief)

     

    net.Nodes.Item("Cancer").EnterFinding("present")

    belief = TB.GetBelief("present")

    MsgBox("Given abnormal X-Ray, Asia visit, and lung cancer, the probability of tuberculosis is " & belief)

     

    net.Delete()

    If Not app.UserControl Then

    app.Quit()

    End If

     

    Exit Sub

    Failed:

     

    MsgBox("NeticaDemo: Error " & (Err.Number And &H7FFFS) & ": " & Err.Description)

     

    End Sub
    Code:
    export default class App {
      createClient() {
        return new ApolloClient({
          networkInterface: createNetworkInterface({ uri: 'http://api.githunt.com/graphql' })
        });
      }

      render() {
        return (
          <ApolloProvider client={this.createClient()}>
            <View style={styles.container}>
              <FeedWithData />
            </View>
          </ApolloProvider>
        );
      }
    }

    Back to top Go down

    Post  by Sponsored content

    Back to top Go down

    Back to top


     
    Permissions in this forum:
    You cannot reply to topics in this forum