This file contains 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
using Azure.Storage.Blobs; | |
using Microsoft.AspNetCore.Mvc; | |
using System.IO; | |
namespace BlobStorageAPI.Controllers | |
{ | |
[ApiController] | |
[Route("api/[controller]")] | |
public class ImageController : ControllerBase | |
{ |
This file contains 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
// removes the shifting of the arm when crouching down. | |
cl_viewmodel_shift_left_amt "0" | |
cl_viewmodel_shift_right_amt "0" | |
cl_bob_lower_amt "0" | |
cl_bobamt_lat "0.1" | |
cl_bobamt_vert "0.1" | |
cl_bobcycle "0.1" |
This file contains 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
#Use CMake for syntax highlight | |
[MAINTHEMES] | |
#UINT... | |
#An array of IDs, see Audio::AudioType | |
[/] | |
[SCENESIZE] | |
#UINT UINT | |
#Width #Height | |
[/] |
This file contains 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
enum class GameObjectType { | |
//Players | |
GAMEOBJECT_TYPE_MARIO = 0, | |
GAMEOBJECT_TYPE_LUIGI = 1, | |
//NPCs | |
GAMEOBJECT_TYPE_GOOMBA = 100, | |
GAMEOBJECT_TYPE_PARAGOOMBA = 101, | |
GAMEOBJECT_TYPE_KOOPA = 102, | |
GAMEOBJECT_TYPE_PARAKOOPA = 103, | |
GAMEOBJECT_TYPE_PIRANHAPLANT = 104, |
This file contains 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
#include <iostream> | |
#include <vector> | |
#include <cmath> | |
class Polynomial { | |
private: | |
int base, var; | |
std::vector<int> constants; | |
char signature; | |
public: |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
int default_seq[] = { 1, 8, 5, 2, 0, 3, 9, 8, 0, 0, 7 }, seq[100], frames[100]; | |
int seq_size, frame_size, page_faults; | |
char hit_pf[100]; | |
const char* indent = " "; | |
const int default_len = sizeof(default_seq) / sizeof(default_seq[0]); | |
//0: true 1: false |
This file contains 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 java.util.Random; | |
import java.util.Scanner; | |
public class Main { | |
//Create input stream | |
protected static final Scanner scanner = new Scanner(System.in); | |
//Random generator | |
protected static Random random = new Random(); | |
private static int range = 3; |