Skip to content

Instantly share code, notes, and snippets.

View astroDev18's full-sized avatar
🕹️
Learning C++

Isa astroDev18

🕹️
Learning C++
  • Atlanta, Georgia
  • 21:15 (UTC -12:00)
View GitHub Profile
@astroDev18
astroDev18 / Main.TEX
Last active February 17, 2024 05:42
Latex File
%-------------------------
% Resume in Latex
% Author : Jake Gutierrez
% Based off of: https://github.com/sb2nov/resume
% License : MIT
%------------------------
\documentclass[letterpaper,11pt]{article}
\usepackage{latexsym}
@astroDev18
astroDev18 / source.cpp
Created February 11, 2024 19:57
my code
#include <iostream> // cout, cerr
#include <cstdlib> // EXIT_FAILURE
#define GLEW_STATIC
#include <GL/glew.h> // GLEW library
#include <GLFW/glfw3.h> // GLFW library
// GLM Math Header inclusions
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
@astroDev18
astroDev18 / Source.cpp
Created January 31, 2024 19:01
fixed P Issue
#include <iostream> // cout, cerr
#include <cstdlib> // EXIT_FAILURE
#define GLEW_STATIC
#include <GL/glew.h> // GLEW library
#include <GLFW/glfw3.h> // GLFW library
// GLM Math Header inclusions
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
@astroDev18
astroDev18 / Source.cpp
Created January 31, 2024 18:50
P Key Issue
#include <iostream> // cout, cerr
#include <cstdlib> // EXIT_FAILURE
#define GLEW_STATIC
#include <GL/glew.h> // GLEW library
#include <GLFW/glfw3.h> // GLFW library
// GLM Math Header inclusions
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
@astroDev18
astroDev18 / Source.cpp
Created January 31, 2024 15:26
Camera movement
#include <iostream> // cout, cerr
#include <cstdlib> // EXIT_FAILURE
#define GLEW_STATIC
#include <GL/glew.h> // GLEW library
#include <GLFW/glfw3.h> // GLFW library
// GLM Math Header inclusions
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
package com.example.trial;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
@astroDev18
astroDev18 / MainActivity.java
Created October 3, 2022 20:41
MainActivity.java
package com.example.trial;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
@astroDev18
astroDev18 / MergeSort.java
Created August 17, 2022 13:57
Merge Sort Algorithm
public class MergeSort
{
public static void main(String[] args)
{
int arr[] = {38, 27, 43, 3, 9, 82, 10};
System.out.println("Unsorted Array");
printArray(arr);
MergeSort ms = new MergeSort();
ms.sort(arr, 0, arr.length-1);
System.out.println("\nSorted array");
@astroDev18
astroDev18 / Driver.java
Created June 5, 2022 16:57
Monkey intake function
public static void intakeNewMonkey(Scanner scanner) {
System.out.println("Enter Name.");
String name = new Scanner(System.in).nextLine();
for (Monkey monkey : monkeyList) {
if (monkey.getName().equalsIgnoreCase(name)) {
System.out.println("\n\nThis monkey is already in our system\n\n");
return; //returns to menu
}
}
package petshop;
import java.util.Scanner;
import java.util.Dictionary;
import java.util.HashMap;
import java.util.Map;
public class Pet {
private String petType;
private String petName;
private int petAge;