Code Monkey home page Code Monkey logo

snippet_app's Introduction

Snippet

Snippet is a web application for collecting useful snippets of code.

Snippet was built by Charles Jarrett and Errin Larsen for use by developers and administrators at their job. It will (hopefully) continue to grow!

Snippet is licensed under the MIT License, so feel free to fork, play, and have fun.

Resources

let( :lua_snippet ) do

lua_snippet_text = <<EOS

#local position = {x=100, y=100, z=7}

#function onUse(cid, item, fromPosition)

doSendMagicEffect(fromPosition, 12)

doTeleportThing(cid, position)

doSendMagicEffect(position, 12)

return true

#end #EOS

mock_model( 'Snippet',

:name => 'Lua snippet',

:type => :lua,

:description => 'A sample Lua snippet',

:tags => 'lua test',

:text => lua_snippet_text )

end

let( :c_snippet ) do

c_snippet_text = <<EOS

##include<stdio.h> #Int main(void) #{

Int a = 14;

Int b = 73;

Subtr = 73 - 14;

Printf("Tirando %i de %i resulta em %i\n",a,b,subtr);

Return 0;

#} #EOS

mock_model( 'Snippet',

:name => 'C snippet',

:type => :c,

:description => 'A sample C snippet',

:tags => 'c test',

:text => c_snippet_text )

end

snippet_app's People

Contributors

cjarrett avatar

Stargazers

Errin Larsen avatar

Watchers

Errin Larsen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.