Skip to content

Instantly share code, notes, and snippets.

View MhdSyrwan's full-sized avatar

Muhammad Seyrawan MhdSyrwan

  • Istanbul, Turkey
View GitHub Profile
@MhdSyrwan
MhdSyrwan / Bonian_hm.asm
Created May 13, 2012 18:59 — forked from eyadof/Bonian_hm.s
bonian home work
.data
wmsg : .asciiz "welcome \nstudent : Mohmmad Eyad Arnabeh \nNum : 345 \n"
getmsg : .asciiz "Please Enter a statment : \n"
msg0 : .asciiz "your sentence is : "
msg1 : .asciiz "Please Enter a character :\n"
msg2 : .asciiz "your char is :\n"
msg3 : .asciiz "not found \n"
str : .space 256
chr : .space 1
@MhdSyrwan
MhdSyrwan / Connect 4
Created May 21, 2012 18:17 — forked from MhdAljuboori/Connect 4
AI homework
initializeColumn(Column) :-
Column >0,
% create empty table
assert(top(Column, 1)),
Column1 is Column-1,
initializeColumn(Column1).
initializeColumn(0).
% Create Game with Row equal to row and column equal to column
createGame(Row, Column) :-
var server=require('./server')
server.start();
@MhdSyrwan
MhdSyrwan / example.js
Last active July 18, 2018 14:16 — forked from mdellavo/jquery.ajaxify.js
A simple jQuery plugin to ajaxify a form
(function($) {
$(document).ready(function() {
$('#myform').ajaxify({
afterSend: function() {
# show progress gif
},
complete: function() {
# hide progress gif
# close or hide the form
}