This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
McpServer | |
} from "@modelcontextprotocol/sdk/server/mcp.js"; | |
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; | |
import { z } from 'zod'; | |
const server = new McpServer({ | |
name: "dice", | |
version: "1.0.0", | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function getLinesArray(file) { | |
return new Promise((resolve) => { | |
const readLines = file.readLines(); | |
const lines = []; | |
readLines.on('line', input => lineValues.push()); | |
readLines.on('close', () => resolve(lines)); | |
}) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const BATCH_SIZE = 50; | |
const BASE_NAME = 'Liz-iCloud-'; | |
const DESTINATION = Path('/Users/joeattardi/Desktop/export-test'); | |
const Photos = Application('Photos'); | |
const Finder = Application('Finder'); | |
const System = Application('System Events'); | |
const photos = Photos.mediaItems(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.thinksincode.prboard; | |
import android.content.Intent; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.support.constraint.Group; | |
import android.support.v7.app.AppCompatActivity; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.ProgressBar; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Base - Background Patterns", | |
"application_config_id": "653e6d2a-56ce-4212-a58f-99a4b659b792", | |
"template_id": "f5f7a623-29d2-4418-8b8e-25bd039f4e2c", | |
"state": { | |
"document": { | |
"id": "724e3fa0-b003-11e6-8930-7317df9f7bf4", | |
"state": { | |
"_galileo": { | |
"asset": "galileo-email-document-editor-background-patterns-4.12.12", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Todo extends React.Component { | |
render() { | |
const { todo } = this.props; | |
return ( | |
<li className={todo.completed ? 'todo-completed' : ''}> | |
<input type="checkbox" onClick={this.props.onToggle.bind(null, todo)}/> | |
{todo.text} | |
</li> | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original: | |
xxxxxxxx | |
x x | |
x xxxx x | |
x x x x | |
x x x x | |
x xxxx x | |
x x | |
xxxxxxxx |