Skip to content

Instantly share code, notes, and snippets.

View Melon-Bread's full-sized avatar

Rain Melon-Bread

  • United States. Ohio
View GitHub Profile
@eatonphil
eatonphil / functions.c
Last active June 26, 2025 11:24
Introduction to "Fun" C (using GCC)
/**
* This are a collection of examples for C 201.
* These combine concepts you may or may not be
* familiar with and are especially useful for
* students new to C. There is a lot of really
* cool stuff you can do in C without any cool
* languages.
*
* This is file in particular is an introduction
* to fun function usage in C.
@swarzesherz
swarzesherz / 3DSFAT16tool.py
Last active August 29, 2015 14:14
3DSFAT16tool
# -*- coding: utf-8 -*-
# version 1.0
import os
import sys
import argparse
import math
import numpy
if not sys.version_info[:2] == (2, 7):
@swarzesherz
swarzesherz / Make2.0.sh
Last active August 29, 2015 14:13
3ds to cia Batch by Katsu 2.00
#!/bin/bash
default='\033[0m'
green='\033[32m' #color a
blue='\033[34m' #color b
red='\033[91m' #color c
yellow='\033[33m' #color e
function quit {
echo -e "${default}"
@legumbre
legumbre / love2d.el
Created November 18, 2014 21:01
launch love2d app from Emacs
(defvar love2d-program "~/dev/love.app/Contents/MacOS/love")
(defun love2d-launch-current ()
(interactive)
(let ((app-root (locate-dominating-file (buffer-file-name) "main.lua")))
(if app-root
(shell-command (format "%s %s &" love2d-program app-root))
(error "main.lua not found"))))
@T31337
T31337 / CapCam.py
Last active January 11, 2017 12:49
ScreenRecorder&Microphone Audio Recorder Using FFMPEG & Python
#!/usr/bin/env python3
'''
This Script Is Mainly From A Youtube User,
I Only Modified It Slightly To Make It Python3 Compatable,
And Added Custom Microphone Recording Support
Original Source Code: http://pastebin.com/BY1t5AcC
Thanks To Youtube User NoBeansJose
License:
import pygame
from pygame import *
import random
import tiledtmxloader
class pusher:
def __init__(self, x1, y1, image, obj, do1=None, do2=None, time=0, pos_do=None,
anti_pos_do=None, infinity=0, proces=2):
self.x1, self.y1 = x1, y1
@sinistersnare
sinistersnare / JythonGameDev.md
Last active December 31, 2015 13:29
Markdown -> PDF Halp

% Creating Games With Python And Java % Davis Silverman

About Me

  • Ameteur programmer and game developer
  • High school now, College in the future
Winuser ([email protected]) has joined #anime
ChanServ gives voice to Winuser
<+Winuser> alguien en espaniol ?
<+hi117> 日本語や英語におはなしになりてください
Winuser ([email protected]) has left #anime
@1wErt3r
1wErt3r / SMBDIS.ASM
Created November 9, 2012 22:27
A Comprehensive Super Mario Bros. Disassembly
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY
;by doppelganger ([email protected])
;This file is provided for your own use as-is. It will require the character rom data
;and an iNES file header to get it to work.
;There are so many people I have to thank for this, that taking all the credit for
;myself would be an unforgivable act of arrogance. Without their help this would
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no
@PHLAK
PHLAK / autoexec.cfg
Last active August 25, 2019 20:25
Custom Dota 2 autoexec.cfg
// -------------------------------------------------------------------------- //
// -----| PERFORMANCE |------------------------------------------------------ //
// -------------------------------------------------------------------------- //
fps_max 200
@panorama_max_fps 200
@panorama_vsync 0
echo "/* ---------------------------------------------------- */"