Skip to content

Instantly share code, notes, and snippets.

View JOELwindows7's full-sized avatar
๐Ÿ 
Working from home

Joel Robert Justiawan JOELwindows7

๐Ÿ 
Working from home
View GitHub Profile
@jgranick
jgranick / gist:1763850
Created February 8, 2012 01:05
NMML File Specification
<?xml version="1.0" encoding="utf-8"?>
<project>
<!-- <meta />
Use meta nodes to set metadata for your application. The description is ignored
on most targets, but is useful for packaging like Chrome Apps or Opera Widgets.
For compatibility with Android and webOS, the package name must include at least
@tugberkugurlu
tugberkugurlu / bcdedit.ps1
Created June 2, 2012 13:32
bcdedit examples
##################################################
#resources
##################################################
#http://technet.microsoft.com/en-us/library/cc721886(v=ws.10).aspx
#http://technet.microsoft.com/en-us/library/cc709667(v=ws.10).aspx
##################################################
#resources
##################################################
####################################################################################
@prabirshrestha
prabirshrestha / detect-os.sh
Created July 10, 2012 02:04
detect os in bash
#!/bin/sh
UNAME=$(uname)
if [ "$UNAME" == "Linux" ] ; then
echo "Linux"
elif [ "$UNAME" == "Darwin" ] ; then
echo "Darwin"
elif [[ "$UNAME" == CYGWIN* || "$UNAME" == MINGW* ]] ; then
@felipernb
felipernb / BowlingGame.java
Created October 30, 2012 17:05
Bowling Game in Java
package com.feliperibeiro.bowling;
public class BowlingGame {
int[] rolls;
int currentRoll;
public BowlingGame() {
this.rolls = new int[21];
}
@japboy
japboy / oculus-rift-notes.md
Last active August 14, 2017 18:44
Oculus Rift ใซใคใ„ใฆใ€‚

Oculus Rift ใƒกใƒข

ๆฆ‚่ฆ

2012 ๅนด 8 ๆœˆใซ Kickstarter ไธŠใง็ซ‹ใกไธŠใ’ใ‚‰ใ‚ŒใŸใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใ€‚ๆ–ฐใ—ใ„ใ‚ฒใƒผใƒ ็”จใƒใƒผใƒใƒฃใƒซใƒชใ‚ขใƒชใƒ†ใ‚ฃ (VR) ใƒ˜ใƒƒใƒ‰ใ‚ปใƒƒใƒˆใจใ—ใฆ้ซ˜ใ„ๆณจ็›ฎใ‚’้›†ใ‚ใ€ๅŒๅนด 9 ๆœˆใซ 250,000 USD ่ณ‡้‡‘่ชฟ้”็›ฎๆจ™ใ‚’ๅคงใใไธŠๅ›žใ‚‹ 2,437,429 USD ใฎ่ณ‡้‡‘่ชฟ้”ใซๆˆๅŠŸใ—ใ€ใƒ—ใƒญใ‚ธใ‚งใ‚ฏใƒˆใฎใ‚นใ‚ฟใƒผใƒˆใ‚’ๅˆ‡ใ‚‹ใ€‚

ๅŒ็จฎใฎใƒ‡ใƒใ‚คใ‚นใจใ—ใฆใฏ Sony ใฎใƒ˜ใƒƒใƒ‰ใƒžใ‚ฆใƒณใƒˆใƒ‡ใ‚ฃใ‚นใƒ—ใƒฌใ‚ค (HMD) ใงใ‚ใ‚‹ HMZ ใ‚ทใƒชใƒผใ‚บใชใฉใŒ่€ƒใˆใ‚‰ใ‚Œใ‚‹ใ ใ‚ใ†ใŒใ€Oculus Rift ใฏใ“ใ‚Œใ‚’ใฏใ‚‹ใ‹ใซใ—ใฎใๆฉŸ่ƒฝใจๆ€ง่ƒฝใ‚’ๅ…ผใญๅ‚™ใˆใฆใ„ใ‚‹ใ€‚

@imaya
imaya / gist:7350326
Created November 7, 2013 07:10
XG ๅฏพๅฟœใฎ SoundFont ใƒ‡ใƒผใ‚ฟ่ชฟๆŸป

Yamaha XG Sound Set.sf2

SoundFont Information

sf2.bank sf2.prog name range
64 10 Orgel 0-127
12 SineMrmb 0-127
125 0 Sfx_CuttngNz 0-127
1 Sfx_CttngNz2 0-127
@rxaviers
rxaviers / gist:7360908
Last active May 19, 2025 17:07
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@gerbenvandijk
gerbenvandijk / OldBrowser.js
Created November 19, 2013 09:56
Detect if the user has an old browser and if so, it inserts a friendly notification that not all features on the site will work, and that an upgrade is recommended.
// The code - first bit is all the UserAgent library.
(function(wndw) {
var Browsers, OS, Platform, Versions, browser_name, browser_version, os, platform;
Versions = {
Firefox: /firefox\/([\d\w\.\-]+)/i,
IE: /msie\s([\d\.]+[\d])/i,
Chrome: /chrome\/([\d\w\.\-]+)/i,
Safari: /version\/([\d\w\.\-]+)/i,
Ps3: /([\d\w\.\-]+)\)\s*$/i,
Psp: /([\d\w\.\-]+)\)?\s*$/i
@shakesoda
shakesoda / fix-ratings.py
Last active March 6, 2016 22:58
A quick script to fix DDRX ratings in .sm files (difficulty / 1.5). It saves backup files in case something really goes wrong. Place this in the song group you want fixed and run the script, or pass it the folder you want fixed on the command line (i.e. $ fix-ratings.py ~/Songs/Bleh)
#!/usr/bin/env python2
"""
.SM rating fixer thingy!
========================
Usage:
Just put the file in the folder with the things you need fixed and run it!
You can also give it an argument on the command line to specify the path.
@rdb
rdb / js_linux.py
Last active November 23, 2024 13:51
Access joysticks/game controllers from Python in Linux via the joystick driver. See https://discourse.panda3d.org/t/game-controllers-on-linux-without-pygame/14128
# Released by rdb under the Unlicense (unlicense.org)
# Based on information from:
# https://www.kernel.org/doc/Documentation/input/joystick-api.txt
import os, struct, array
from fcntl import ioctl
# Iterate over the joystick devices.
print('Available devices:')