Initial commit
This commit is contained in:
26
code/scratchpad/javascript/example.js
Normal file
26
code/scratchpad/javascript/example.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Example JavaScript scratchpad file
|
||||
*
|
||||
* Use this area to test JavaScript/Node.js code
|
||||
* This project uses ES modules (import/export)
|
||||
*/
|
||||
|
||||
// Example imports (uncomment to use)
|
||||
// import fs from 'fs';
|
||||
// import path from 'path';
|
||||
// import { someFunction } from './other-file.js';
|
||||
|
||||
function helloWorld() {
|
||||
console.log("Hello from Memory Palace!");
|
||||
return "Success";
|
||||
}
|
||||
|
||||
// TODO: Add your experimental code here
|
||||
|
||||
// Run the example
|
||||
const result = helloWorld();
|
||||
console.log(`Result: ${result}`);
|
||||
|
||||
// Export for use in other modules
|
||||
export { helloWorld };
|
||||
export default helloWorld;
|
||||
19
code/scratchpad/python/example.py
Normal file
19
code/scratchpad/python/example.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Example Python scratchpad file
|
||||
|
||||
Use this area to test Python code, experiment with libraries,
|
||||
or prototype features for other projects.
|
||||
"""
|
||||
|
||||
def hello_world():
|
||||
"""Example function"""
|
||||
print("Hello from Memory Palace!")
|
||||
return "Success"
|
||||
|
||||
|
||||
# TODO: Add your experimental code here
|
||||
|
||||
if __name__ == "__main__":
|
||||
result = hello_world()
|
||||
print(f"Result: {result}")
|
||||
Reference in New Issue
Block a user