This file provides context and guidance for working with this project.
This is a multi-language project with the following languages detected: javascript and java.
| #!/usr/bin/env node | |
| const { execSync } = require('child_process'); | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const os = require('os'); | |
| // Constants | |
| const OLLAMA_MODEL = 'qwen3-coder:480b-cloud'; |
http://gistapis.etufor.ce.gov.br:8081/api/itinerario/ + idLinha
http://gistapis.etufor.ce.gov.br:8081/api/linhas/
http://gistapis.etufor.ce.gov.br:8081/api/horarios/ + idLinha + ?data= + data // data: YYYYMMDD
http://gistapis.etufor.ce.gov.br:8081/api/logradouros/
http://gistapis.etufor.ce.gov.br:8081/api/LinhasDologradouro/ + idLogradouro
| require 'fiber' | |
| require 'time' | |
| class String | |
| # colorization | |
| def colorize(color_code) | |
| "\e[#{color_code}m#{self}\e[0m" | |
| end | |
| def red |
| fib = Traversor.new do |yielder| | |
| a = b = 1 | |
| loop do | |
| yielder << a | |
| a, b = b, a + b | |
| end | |
| end | |
| simple_iterator = Traversor.new do |y| | |
| y << 1 |
| function rightMostBSearch(arr, target) { | |
| let left = 0; | |
| let right = arr.length - 1; | |
| let result = -1; // Initialize result to -1 for the case when the target is not present | |
| while (left <= right) { | |
| const mid = Math.floor(left + (right - left) / 2); | |
| if (arr[mid] === target) { | |
| // middlekey is equal to the target - update the left pointer so it continue to find the right most key |
| function rightMostBSearch(arr, target) { | |
| let left = 0; | |
| let right = arr.length - 1; | |
| let result = -1; // Initialize result to -1 for the case when the target is not present | |
| while (left <= right) { | |
| const mid = Math.floor(left + (right - left) / 2); | |
| if (arr[mid] === target) { | |
| // middlekey is equal to the target - update the left pointer so it continue to find the right most key |
| import { Location } from '@angular/common'; | |
| import { Component, OnDestroy, OnInit } from '@angular/core'; | |
| import { AlertController, Platform } from '@ionic/angular'; | |
| import { Subscription } from 'rxjs'; | |
| @Component({ | |
| selector: 'app-second', | |
| templateUrl: './second.page.html', | |
| styleUrls: ['./second.page.scss'], | |
| }) |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Mvc; | |
| using Microsoft.Extensions.Logging; | |
| namespace UploadAPI.Controllers | |
| { |