Skip to content

Instantly share code, notes, and snippets.

View mogey's full-sized avatar

Mohsin Qureshi mogey

View GitHub Profile
"3": {"Morrowind Patch v1.6.6_beta.esm": ["0x4E1D4B52"]},
"4": {"Tamriel_Data.esm": ["0x555A334F"]},
"5": {"TR_Mainland.esm": ["0x1D0A6391"]},
"6": {"Better Heads.esm": ["0xBD85FF94"]},
"7": {"Better Heads Tribunal addon.esm": ["0x759D7372"]},
"8": {"Better Heads Bloodmoon addon.esm": ["0xB52802D4"]},
"9": {"RealSignposts.esp": ["0x027AF757"]},
"10": {"Almighty Artifacts.ESP": ["0xA1A21226"]},
"11": {"AreaEffectArrows.esp": ["0x60DEAF9A"]},
"12": {"bcsounds.esp": ["0x5BA8E852"]},
@mogey
mogey / raffle.py
Last active November 9, 2016 23:59
# Developed by Redjumpman for Redbot
# This cog requires no library installs
# If you have issues contact Redjumpman#2375 on Discord
import uuid
import os
import random
import asyncio
from .utils import checks
from discord.ext import commands
from .utils.dataIO import dataIO
package com.adsa.algorithms.mogey;
public class Node
{
int val;
Node next;
public Node(){
val=0;
next = null;
package com.adsa.algorithms.mogey;
import java.util.*;
public class IntegerList
{
Node head;
Node tail;
Node temp;
int listCount = 0;
public IntegerList()
@mogey
mogey / switchif.java
Created April 7, 2015 01:10
Switch case to ifs
if(p == 1){
w = w * .38;
}
if(p == 2){
w = w * .78;
}
if(p == 3){
w = w;
}
if(p == 4){
@mogey
mogey / bob.java
Last active August 29, 2015 14:11
/**
* ArrayListABC_2ndArrayList_Program:
*
* Given an ArrayList letterList of letters "A"-"H"
* go through the letterList and make the following changes:
* - When an "A" occurs, add another "A" right after it.
* - When a "B" occurs, change it to be a "Z".
* - When a "C" occurs, remove it from the letterList.
* - When a "D" occurs, you randomly pick another spot and SWAP it with
public class Pascal
{
public static void main()
{
int triangle[][] = new int[9][17];
int b = 0;
int q = 0;
int r = 0;
String Striangle[][] = new String[9][17];
for (int i = 0; i < triangle.length; i++){