Various Code answers for karan's Project questions.

Overview

Projects Answers

Projects Answers is a collection of various code answers from different contributors in relation to the Projects repository.

We encourage code creativity on any answer. Certain challenges may be easy depending on the language, so how creative can you make those solutions?

This project is completely open source and available to anyone who wishes to contribute. The contribution guidelines are as follows.

Contribution

  • Be familiar with Git and GitHub.
  • When adding a code solution, place it in a folder in correspondence to the solution type and section. The name of the folder should be the same as the project.
  • When creating a folder follow a snake case format, if it contains only 1 word, keep it lowercase. Files follow the same format, either call it by the project name + extention, or main.extention. Only top level folders are allowed to have PascalCase names.
  • Have somewhat descriptive commit and PR messages.
  • If you have a different implimentation for something but do not want to build upon a previous answer, add a comment at EOF and your implimentation below that to let people know there are multiple implimentations.
Comments
  • Inconsistency

    Inconsistency

    Problem 1. Folder name varies. Some are uppercase, some lower, some snake case, some Pascal. Problem 2. Some projects have 10+ programming languages, while others have very few. Problem 3. File naming. Some project files are named main.lang, while others are names projectname.lang depending on the project Problem 4. No one else is contributing Golang solutions :(

    These are all annoying problems to fix, big thanks to anyone who decides to fix them <3

    opened by ghost 2
  • IP lookup

    IP lookup

    PR Overview


    • Created the country_ip_lookup folder
    • Created ip_lookup in Python
    • Created ip_lookup in Go

    Here's the API I recommend for the ip_lookup files --> http://ip-api.com/

    opened by ghost 1
  • MASSIVE PR. PLEASE READ.

    MASSIVE PR. PLEASE READ.

    MASSIVE PR. PLEASE READ.

    Basically, I cleaned things up and added some Go code.

    PR OVERVIEW


    - Renamed all files to main.type
    - Merged Palindrome and check_palindrome folders
    - Slightly edited some files to remove needless comments and optimize code
    - Moved site_checker.js into a site_checker folder
    - Updated README.md - Made pig_latin in Golang
    - Made count_vowels in Golang
    - Made fizz_buzz in Golang
    - Made coinflip in Golang


    69 commits. Nice.
    opened by ghost 1
  • Create vignere_cipher.c

    Create vignere_cipher.c

    Features:

    • Encryption and decryption of data using Vigenere algorithm.
    • Key generator removes non-alphabetic character from user provided key.
    • input() function to take user input, which prevents buffer overflow.

    Updates:

    • Checks for empty strings and processes data without error
    • Removed deleting non-alphabetic character from user provided key
    • Sanitization of user provided key by appending alphabetic characters in allocated space
    • Shrinks buffer size by reallocating the buffer to it's total length.

    Patch:

    • Memory leak problem optimized
    • If memory is allocated on heap, it's pushed to array of strings (vault variable)
    • At exit, dalloc() function frees all allocated memory iteratively present in vault

    Update:

    • Instead of allocating new space for sanitized key, it's modified and stored in same string

    New:

    • Vigenere cipher program implementation in golang
    opened by synacktraa 0
  • Create vigenere_cipher.c

    Create vigenere_cipher.c

    Features:

    • Encryption and decryption of data using Vigenere algorithm.
    • Key generator removes non-alphabetic character from user provided key.
    • input() function to take user input, which prevents buffer overflow.

    Closed it by mistake :(

    opened by synacktraa 0
  • Lots of Go and Rust

    Lots of Go and Rust

    PR OVERVIEW

    • Added shapes in Rust
    • Added shapes in Go
    • Added shapes in Python
    • Fixed FizzBuzz in Rust
    • Fixed FizzBuzz in Go
    • Added Collatz Conjecture in Go
    • Added Collatz Conjecture in Rust
    opened by ghost 0
Owner
Eldad Danladi
The Rust Troll 👺. Making things for C++ in Rust.
Eldad Danladi
Advent of Code 2022 - my answers

Advent of Code 2022 my answers Development occurs in language-specific directories: Haskell Kotlin Python Rust Day1.hs Day1.kt day1.py day1.rs Day2.hs

Daniel Lin 45 Jan 2, 2023
Tool that mirrors questions and resolutions from other forecasting platforms to Manifold.

Tool that mirrors questions and resolutions from other forecasting platforms to Manifold. Managram commands People can interact with the bot by sendin

Joris Kerkhoff 3 Nov 7, 2023
tmplt is a command-line interface tool that allows you to quickly and easily set up project templates for various programming languages and frameworks

tmplt A User Friendly CLI Tool For Creating New Projects With Templates About tmplt is a command-line tool that lets users quickly create new projects

Humble Penguin 35 Apr 8, 2023
🎄 Advent of Code written in various languages. (2015-2022)

?? Advent of Code This repository contains my solutions to the Advent of Code puzzles. Every year, I will try to solve the puzzles in a different lang

Tommy 2 Dec 15, 2022
SKYULL is a command-line interface (CLI) in development that creates REST API project structure templates with the aim of making it easy and fast to start a new project.

SKYULL is a command-line interface (CLI) in development that creates REST API project structure templates with the aim of making it easy and fast to start a new project. With just a few primary configurations, such as project name, you can get started quickly.

Gabriel Michaliszen 4 May 9, 2023
Command line tool to extract various data from Blender .blend files

blendtool Command line tool to extract various data from Blender .blend files. Currently supports dumping Eevee irradiance volumes to .dds, new featur

null 2 Sep 26, 2021
apkeep - A command-line tool for downloading APK files from various sources

apkeep - A command-line tool for downloading APK files from various sources Installation Precompiled binaries for apkeep on various platforms can be d

Electronic Frontier Foundation 561 Dec 29, 2022
A simple lexer which creates over 75 various tokens based on the rust programming language.

Documentation. This complete Lexer/Lexical Scanner produces tokens for a string or a file path entry. The output is a Vector for the user to handle ac

null 1 Nov 27, 2022
omekasy is a command line application that converts alphanumeric characters in your input to various styles defined in Unicode.

omekasy is a command line application that converts alphanumeric characters in your input to various styles defined in Unicode. omekasy means "dress up" in Japanese.

null 105 Nov 16, 2022
A library providing helpers for various StarkNet fees related tasks.

?? How Much ? ?? Table of Contents About Getting Started Prerequisites Installation Usage Estimate fees on network Authors & contributors Security Lic

Abdel @ StarkWare 4 Dec 15, 2022
This crate provides a set of functions to generate SQL statements for various PostgreSQL schema objects

This crate provides a set of functions to generate SQL statements for various PostgreSQL schema objects, such as tables, views, materialized views, functions, triggers, and indexes. The generated SQL statements can be useful for schema introspection, documentation, or migration purposes.

Tyr Chen 11 Apr 4, 2023
Crates.io library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.

Crates.io library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.

consumet-rs 5 Aug 13, 2023
Lets you tweak Assassin's Creed Mirage in various ways.

Mirage Tweaks Lets you tweak Assassin's Creed Mirage in various ways. Currently supports adjusting the eject height and sprint speed. Usage Get the la

Assassin's Creed Community 3 Nov 3, 2023
A CLI for analyzing the programming languages and how much code written in a project.

projlyzer A CLI for analyzing the programming languages and how much code written in a project. New features are on the way... Example Screenshot Buil

null 10 Apr 10, 2022
auto-rust is an experimental project that aims to automatically generate Rust code with LLM (Large Language Models) during compilation, utilizing procedural macros.

Auto Rust auto-rust is an experimental project that aims to automatically generate Rust code with LLM (Large Language Models) during compilation, util

Minsky 6 May 14, 2023
languagetool-code-comments integrates the LanguageTool API to parse, spell check, and correct the grammar of your code comments!

languagetool-code-comments integrates the LanguageTool API to parse, spell check, and correct the grammar of your code comments! Overview Install MacO

Dustin Blackman 17 Dec 25, 2022
ChatGPT-Code-Review is a Rust application that uses the OpenAI GPT-3.5 language model to review code

ChatGPT-Code-Review is a Rust application that uses the OpenAI GPT-3.5 language model to review code. It accepts a local path to a folder containing code, and generates a review for each file in the folder and its subdirectories.

Greg P. 15 Apr 22, 2023
Code-shape is a tool for extracting definitions from source code files

Code-shape Code-shape is a tool that uses Tree-sitter to extract a shape of code definitions from a source code file. The tool uses the same language

Andrew Hlynskyi 3 Apr 21, 2023
rehype plugin to use tree-sitter to highlight code in pre code blocks

rehype-tree-sitter rehype plugin to use tree-sitter to highlight code in <pre><code> blocks Contents What is this? When should I use this? Install Use

null 5 Jul 25, 2023