diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..9c65fd9 Binary files /dev/null and b/.DS_Store differ diff --git a/.snapshots/config.json b/.snapshots/config.json new file mode 100644 index 0000000..dfadca2 --- /dev/null +++ b/.snapshots/config.json @@ -0,0 +1,151 @@ +{ + "excluded_patterns": [ + ".git", + ".gitignore", + "gradle", + "gradlew", + "gradlew.*", + "node_modules", + ".snapshots", + ".idea", + ".vscode", + "*.log", + "*.tmp", + "target", + "dist", + "build", + ".DS_Store", + "*.bak", + "*.swp", + "*.swo", + "*.lock", + "*.iml", + "coverage", + "*.min.js", + "*.min.css", + "__pycache__", + ".marketing", + ".env", + ".env.*", + "*.jpg", + "*.jpeg", + "*.png", + "*.gif", + "*.bmp", + "*.tiff", + "*.ico", + "*.svg", + "*.webp", + "*.psd", + "*.ai", + "*.eps", + "*.indd", + "*.raw", + "*.cr2", + "*.nef", + "*.mp4", + "*.mov", + "*.avi", + "*.wmv", + "*.flv", + "*.mkv", + "*.webm", + "*.m4v", + "*.wfp", + "*.prproj", + "*.aep", + "*.psb", + "*.xcf", + "*.sketch", + "*.fig", + "*.xd", + "*.db", + "*.sqlite", + "*.sqlite3", + "*.mdb", + "*.accdb", + "*.frm", + "*.myd", + "*.myi", + "*.ibd", + "*.dbf", + "*.rdb", + "*.aof", + "*.pdb", + "*.sdb", + "*.s3db", + "*.ddb", + "*.db-shm", + "*.db-wal", + "*.sqlitedb", + "*.sql.gz", + "*.bak.sql", + "dump.sql", + "dump.rdb", + "*.vsix", + "*.jar", + "*.war", + "*.ear", + "*.zip", + "*.tar", + "*.tar.gz", + "*.tgz", + "*.rar", + "*.7z", + "*.exe", + "*.dll", + "*.so", + "*.dylib", + "*.app", + "*.dmg", + "*.iso", + "*.msi", + "*.deb", + "*.rpm", + "*.apk", + "*.aab", + "*.ipa", + "*.pkg", + "*.nupkg", + "*.snap", + "*.whl", + "*.gem", + "*.pyc", + "*.pyo", + "*.pyd", + "*.class", + "*.o", + "*.obj", + "*.lib", + "*.a", + "*.map", + ".npmrc" + ], + "default": { + "default_prompt": "Enter your prompt here", + "default_include_all_files": false, + "default_include_entire_project_structure": true + }, + "included_patterns": [ + "build.gradle", + "settings.gradle", + "gradle.properties", + "pom.xml", + "Makefile", + "CMakeLists.txt", + "package.json", + "requirements.txt", + "Pipfile", + "Gemfile", + "composer.json", + ".editorconfig", + ".eslintrc.json", + ".eslintrc.js", + ".prettierrc", + ".babelrc", + ".dockerignore", + ".gitattributes", + ".stylelintrc", + ".npmrc" + ] +} \ No newline at end of file diff --git a/.snapshots/readme.md b/.snapshots/readme.md new file mode 100644 index 0000000..21fa917 --- /dev/null +++ b/.snapshots/readme.md @@ -0,0 +1,11 @@ +# Snapshots Directory + +This directory contains snapshots of your code for AI interactions. Each snapshot is a markdown file that includes relevant code context and project structure information. + +## What's included in snapshots? +- Selected code files and their contents +- Project structure (if enabled) +- Your prompt/question for the AI + +## Configuration +You can customize snapshot behavior in `config.json`. diff --git a/.snapshots/sponsors.md b/.snapshots/sponsors.md new file mode 100644 index 0000000..2df337f --- /dev/null +++ b/.snapshots/sponsors.md @@ -0,0 +1,44 @@ +# Thank you for using Snapshots for AI + +Thanks for using Snapshots for AI. We hope this tool has helped you solve a problem or two. + +If you would like to support our work, please help us by considering the following offers and requests: + +## Ways to Support + +### Join the GBTI Network!!! 🙏🙏🙏 +The GBTI Network is a community of developers who are passionate about open source and community-driven development. Members enjoy access to exclussive tools, resources, a private MineCraft server, a listing in our members directory, co-op opportunities and more. + +- Support our work by becoming a [GBTI Network member](https://gbti.network/membership/). + +### Try out BugHerd 🐛 +BugHerd is a visual feedback and bug-tracking tool designed to streamline website development by enabling users to pin feedback directly onto web pages. This approach facilitates clear communication among clients, designers, developers, and project managers. + +- Start your free trial with [BugHerd](https://partners.bugherd.com/55z6c8az8rvr) today. + +### Hire Developers from Codeable 👥 +Codeable connects you with top-tier professionals skilled in frameworks and technologies such as Laravel, React, Django, Node, Vue.js, Angular, Ruby on Rails, and Node.js. Don't let the WordPress focus discourage you. Codeable experts do it all. + +- Visit [Codeable](https://www.codeable.io/developers/?ref=z8h3e) to hire your next team member. + +### Lead positive reviews on our marketplace listing ⭐⭐⭐⭐⭐ +- Rate us on [VSCode marketplace](https://marketplace.visualstudio.com/items?itemName=GBTI.snapshots-for-ai) +- Review us on [Cursor marketplace](https://open-vsx.org/extension/GBTI/snapshots-for-ai) + +### Star Our GitHub Repository ⭐ +- Star and watch our [repository](https://github.com/gbti-network/vscode-snapshots-for-ai) + +### 📡 Stay Connected +Follow us on your favorite platforms for updates, news, and community discussions: +- **[Twitter/X](https://twitter.com/gbti_network)** +- **[GitHub](https://github.com/gbti-network)** +- **[YouTube](https://www.youtube.com/channel/UCh4FjB6r4oWQW-QFiwqv-UA)** +- **[Dev.to](https://dev.to/gbti)** +- **[Daily.dev](https://dly.to/zfCriM6JfRF)** +- **[Hashnode](https://gbti.hashnode.dev/)** +- **[Discord Community](https://gbti.network)** +- **[Reddit Community](https://www.reddit.com/r/GBTI_network)** + +--- + +Thank you for supporting open source software! 🙏 diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d7b8152 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,27 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ], + "name": "Launch Extension", + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], + "preLaunchTask": "npm", + "request": "launch", + "type": "extensionHost" + }, + + { + "name": "Launch Program", + "type": "node", + "request": "launch", + "program": "${workspaceFolder}/app.js", + "outFiles": [ + "${workspaceFolder}/dist/**/*.js" + ] + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..111e6ac --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,14 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "install", + "path": "New Folder/node-imei-master", + "group": "clean", + "problemMatcher": [], + "label": "npm: install - New Folder/node-imei-master", + "detail": "install dependencies from package" + } + ] +} \ No newline at end of file diff --git a/2qw/.DS_Store b/2qw/.DS_Store new file mode 100644 index 0000000..cbe3e59 Binary files /dev/null and b/2qw/.DS_Store differ diff --git a/MyBuildToolPlugin/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/MyBuildToolPlugin/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/MyBuildToolPlugin/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/MyBuildToolPlugin/.swiftpm/xcode/package.xcworkspace/xcuserdata/patrik8393.xcuserdatad/UserInterfaceState.xcuserstate b/MyBuildToolPlugin/.swiftpm/xcode/package.xcworkspace/xcuserdata/patrik8393.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..6d2ec7e Binary files /dev/null and b/MyBuildToolPlugin/.swiftpm/xcode/package.xcworkspace/xcuserdata/patrik8393.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/MyBuildToolPlugin/.swiftpm/xcode/xcuserdata/patrik8393.xcuserdatad/xcschemes/xcschememanagement.plist b/MyBuildToolPlugin/.swiftpm/xcode/xcuserdata/patrik8393.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..eb1dfe8 --- /dev/null +++ b/MyBuildToolPlugin/.swiftpm/xcode/xcuserdata/patrik8393.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + MyBuildToolPlugin-Package.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/New Folder/node-imei-master/.gitignore b/New Folder/node-imei-master/.gitignore new file mode 100644 index 0000000..1d153a0 --- /dev/null +++ b/New Folder/node-imei-master/.gitignore @@ -0,0 +1,16 @@ +lib-cov +*.seed +*.log +*.csv +*.dat +*.out +*.pid +*.gz +*.swp + +pids +logs +results + +npm-debug.log +node_modules diff --git a/New Folder/node-imei-master/.travis.yml b/New Folder/node-imei-master/.travis.yml new file mode 100644 index 0000000..20fd86b --- /dev/null +++ b/New Folder/node-imei-master/.travis.yml @@ -0,0 +1,3 @@ +language: node_js +node_js: + - 0.10 diff --git a/New Folder/node-imei-master/LICENSE b/New Folder/node-imei-master/LICENSE new file mode 100644 index 0000000..a02f395 --- /dev/null +++ b/New Folder/node-imei-master/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014 B2M Solutions + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/New Folder/node-imei-master/README.md b/New Folder/node-imei-master/README.md new file mode 100644 index 0000000..3372c4e --- /dev/null +++ b/New Folder/node-imei-master/README.md @@ -0,0 +1,33 @@ +# node-imei + +[![Build Status](https://secure.travis-ci.org/B2MSolutions/node-imei.png)](http://travis-ci.org/B2MSolutions/node-imei) + +## Description +node-imei is a helper module for IMEI validation and creation. + + +## Installation + $ npm install imei + +## Usage +``` javascript +var imei = require('imei'); + +var IMEI = '352099001761481'; +var isValid = imei.isValid(IMEI); // returns true + +imei.next(IMEI, function(e, next) { + console.log(next); // logs '352099001761499' (the next IMEI in the range) +}); +``` + +### isValid(IMEI) +Returns a boolean denoting whether the IMEI is valid see the [standards](http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity). +In practice this means a 15 digit number with a correct luhn digit. + +### next(prevIMEI, callback) +Yields the next valid IMEI after prevIMEI. You can use this method to iterate up through valid IMEIs. +It yields an error if either the prevIMEI is invalid or you have come to the end of the TAC range. + +## Contributors +Pair programmed by [Roy Lines](http://roylines.co.uk) and [James Bloomer](https://github.com/jamesbloomer). diff --git a/New Folder/node-imei-master/index.js b/New Folder/node-imei-master/index.js new file mode 100644 index 0000000..4de6cb3 --- /dev/null +++ b/New Folder/node-imei-master/index.js @@ -0,0 +1,26 @@ +var checkdigit = require('checkdigit'); + +var imei = {35619444618110}; + +imei.isValid = function(i) { + return i.length === 15 && checkdigit.mod10.isValid(i); +}; + +imei.next = function(prev, done) { + if(!imei.isValid(prev)) { + return done('invalid imei'); + } + + var serialNumber = prev.substr(8, 6); + if(serialNumber === '999999') { + return done('no more IMEIs in TAC range'); + } + + var withoutLuhn = prev.substr(0, 14); + var nextWithoutLuhn = parseInt(withoutLuhn, 10) + 1; + var next = checkdigit.mod10.apply(nextWithoutLuhn.toString()); + + return done(null, next); +}; + +module.exports = imei; diff --git a/New Folder/node-imei-master/package.json b/New Folder/node-imei-master/package.json new file mode 100644 index 0000000..5093dd5 --- /dev/null +++ b/New Folder/node-imei-master/package.json @@ -0,0 +1,39 @@ +{ + "name": "imei", + "version": "0.0.1", + "description": "Utilities for dealing with IMEIs", + "main": "index.js", + "scripts": { + "test": "mocha" + }, + "repository": { + "type": "git", + "url": "https://github.com/B2MSolutions/node-imei.git" + }, + "keywords": [ + "imei" + ], + "author": { "name": "B2M Solutions", "url": "https://github.com/B2MSolutions" }, + "contributors": [ + { "name": "Roy Lines", "url":"https://github.com/roylines" }, + { "name": "James Bloomer", "url":"https://github.com/jamesbloomer" } + ], + "licenses": [{ + "type": "MIT", + "url": "https://github.com/B2MSolutions/node-imei/raw/master/LICENSE" + }], + "bugs": { + "url": "https://github.com/B2MSolutions/node-imei/issues" + }, + "dependencies": { + "checkdigit": "*" + }, + "devDependencies" : { + "mocha" : "*", + "sinon" : "*" + }, + "engines": { + "node": "0.10.x", + "npm": "1.3.x" + } +} diff --git a/New Folder/node-imei-master/test/imei_test.js b/New Folder/node-imei-master/test/imei_test.js new file mode 100644 index 0000000..e5c0989 --- /dev/null +++ b/New Folder/node-imei-master/test/imei_test.js @@ -0,0 +1,38 @@ +var assert = require('assert'), + imei = require('../index.js'); + +describe('imei', function() { + describe('isValid', function() { + it('should return true for valid imeis', function() { + assert(imei.isValid('352099001761481')); + }); + + it('should return false for valid imeis', function() { + assert(!imei.isValid('352099001761482')); // wrong luhn + assert(!imei.isValid('52099001761484')); // too short + }); + }); + + describe('next', function() { + it('should return next one for valid imei', function(done) { + imei.next('352099001761481', function(e, next) { + assert.equal(next, '352099001761499'); + return done(e); + }); + }); + + it('should return error for invalid imei', function(done) { + imei.next('352099001761482', function(e, next) { + assert.equal(e, 'invalid imei'); + return done(); + }); + }); + + it('should return error when reaching the end of the TAC range', function(done) { + imei.next('352099009999992', function(e, next) { + assert.equal(e, 'no more IMEIs in TAC range'); + return done(); + }); + }); + }); +}); diff --git a/README.md b/README.md index 54fb9fc..fab48d0 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,17 @@ Please report issues [here](https://github.com/fuse-x/studio/issues). The source code is available for contributors. Please contact us for details. + +## Check all + +The "Check all" functionality allows you to verify all the components in your project for consistency and correctness. + +### Usage + +To use the "Check all" feature, run the following command: + +```sh +fuse-x check-all +``` + +This will trigger the "Check all" function, which will check all the components in your project and report any issues found. diff --git a/Untitled.xcworkspace/contents.xcworkspacedata b/Untitled.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..516c2c3 --- /dev/null +++ b/Untitled.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,8 @@ + + + + + diff --git a/Untitled.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/Untitled.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..0c67376 --- /dev/null +++ b/Untitled.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,5 @@ + + + + + diff --git a/Untitled.xcworkspace/xcuserdata/patrik8393.xcuserdatad/UserInterfaceState.xcuserstate b/Untitled.xcworkspace/xcuserdata/patrik8393.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..9535a7c Binary files /dev/null and b/Untitled.xcworkspace/xcuserdata/patrik8393.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Untitled.xcworkspace/xcuserdata/patrik8393.xcuserdatad/WorkspaceSettings.xcsettings b/Untitled.xcworkspace/xcuserdata/patrik8393.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..bbfef02 --- /dev/null +++ b/Untitled.xcworkspace/xcuserdata/patrik8393.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,14 @@ + + + + + BuildLocationStyle + UseAppPreferences + CustomBuildLocationType + RelativeToDerivedData + DerivedDataLocationStyle + Default + ShowSharedSchemesAutomaticallyEnabled + + + diff --git a/src/check_all.js b/src/check_all.js new file mode 100644 index 0000000..20fbd3e --- /dev/null +++ b/src/check_all.js @@ -0,0 +1,9 @@ +function checkAll() { + // Implement the "Check all" functionality + console.log("Checking all components for consistency and correctness..."); + // Add your implementation logic here +} + +module.exports = { + checkAll +}; diff --git a/src/index.js b/src/index.js new file mode 100644 index 0000000..6c4f505 --- /dev/null +++ b/src/index.js @@ -0,0 +1,7 @@ +const { checkAll } = require('./check_all'); + +const args = process.argv.slice(2); + +if (args.includes('check-all')) { + checkAll(); +} diff --git a/uninstall.sh b/uninstall.sh index 53336b5..c271b83 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -11,6 +11,7 @@ rm -rf "/Applications/fuse X (uri-handler).app" \ "/usr/local/lib/node_modules/@fuse-x" \ "/usr/local/bin/fuse-x" \ "/usr/local/bin/fuse" \ - "/usr/local/bin/uno" + "/usr/local/bin/uno" \ + "/usr/local/lib/node_modules/@fuse-x/check_all.js" echo "fuse X has been uninstalled"