Search thousands of free JavaScript snippets that you can quickly copy and paste into your web pages. Get free JavaScript tutorials, references, code, menus, calendars, popup windows, games, and much more.
upgrade mariadb under xampp
- Shutdown MySQL in your XAMPP server from Xampp control panel or mysql under Services if it was added.
- Download the ZIP version of MariaDB (https://downloads.mariadb.org/) - you may download the winx64.zip if you are also switching to x64 variant of mariadb
- Rename the xampp/mysql folder to mysql_old
- Unzip or Extract the contents of the MariaDB ZIP file into your XAMPP folder
- Rename the MariaDB folder, called something like mariadb-10.3.14-winx64, to mysql
- Rename xampp/mysql/data to data_temp
- Copy the xampp/mysql_old/data folder to xampp/mysql/
- Copy the xampp/mysql_old/backup folder to xampp/mysql/
- Copy the xampp/mysql_old/scripts folder to xampp/mysql/
- Copy mysql_uninstallservice.bat and mysql_installservice.bat from xampp/mysql_old/ into xampp/mysql/
- Copy xampp/mysql_old/bin/my.ini into xampp/mysql/bin
- Edit xampp/mysql/bin/my.ini using a text editor like Notepad
Find skip-federated and add a # in front (to the left) of it to comment out the line if it exists
Find innodb_additional_mem_pool_size=2 and add a # in front (to the left) of it to comment out the line if it exists
Add this skip-grant-tables statement anywhere in xampp/mysql/bin/my.ini file Save and exit the editor
- Start-up XAMPP
- Run xampp/mysql/bin/mysqlcheck --repair --all-databases
- Run xampp/mysql/bin/mysql_upgrade.exe
- Shutdown and restart MySQL (MariaDB)
gamemaker Unlockable Levels Select Screen
Information about object: obj_control
Sprite:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Create Event:
execute code: global.level=1;//set current unlocked level
Step Event:
execute code: if (keyboard_check_released(vk_left)) {global.level-=1} //for testing if (keyboard_check_released(vk_right)) {global.level+=1;} //for testing if global.level==6 {global.level=5;} //keep in range if global.level==0 {global.level=1;} //keep in range
Draw Event:
execute code: draw_text(200,50,"Current Level="+string(global.level));//draw current level
Information about object: obj_unlock_levelSprite: unlocked_level Solid: false Visible: true Depth: 0 Persistent: false Parent:Children: Mask: No Physics ObjectStep Event:execute code: if position_meeting(mouse_x,mouse_y,id) && mouse_check_button_released(mb_left)//if mouse pressed over button { if my_level-1>=global.level//check local vaible against level { show_message("Unlocked"); } else { show_message("locked"); } } if my_level-1>=global.level//check local vaible against level { image_index=0;//set image index } else { image_index=1; }Draw Event:execute code: draw_self(); draw_set_halign(fa_center); draw_text(x,y,my_level);
Gamemaker Bubble Sort
Information about object: obj_sort
Sprite:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Create Event:
execute code: names=ds_list_create();//create a list ds_list_add(names,"Nick","Steve","Chris","Nigle","Bob","Alice","Ben","Harry","Katherine","Guy","Sam");//add null (not used) and add names size=ds_list_size(names); repeat(size)//repeat { for (var i = 0; i < size; i += 1)//send an position to check { if names[|i]>names[|i+1]//compare two names { //swap pairs if true temp=names[|i];//hold temp value names[|i]=names[|i+1];//swap names[|i+1]=temp;//add temp back in other poaition } } }
Draw Event:
execute code: for (var i = 1; i < 11; i += 1)//loop through { draw_text(50,50*i,names[|i]);//draw value }
Particle Fire Effect Gamemaker
Information about object: obj_fire
Sprite:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Create Event:
execute code: Sname = part_system_create(); particle1 = part_type_create(); part_type_shape(particle1,pt_shape_line); part_type_size(particle1,0.20,0.60,0,0); part_type_scale(particle1,0.65,2.50); part_type_color3(particle1,16749459,33023,255); part_type_alpha3(particle1,0.04,0.06,0.07); part_type_blend(particle1,1); part_type_speed(particle1,0.70,2.60,-0.02,0); part_type_direction(particle1,85,95,0,9); part_type_gravity(particle1,0,270); part_type_orientation(particle1,0,0,10,20,1); part_type_life(particle1,60,80);
Step Event:
execute code: emitter1 = part_emitter_create(Sname); part_emitter_region(Sname,emitter1,-200,1000,400,450,ps_shape_ellipse,1); part_emitter_stream(Sname,emitter1,particle1
Subscribe to:
Posts (Atom)
Renowned Water Expert Reynold Aquino Offers Exclusive Water Softener Discounts
Los Angeles, California - November 21, 2024 - World-renowned water expert Reynold Aquino is excited to announce exclusive discounts on prem...
-
code.gs // 1. Enter sheet name where data is to be written below var SHEET_NAME = "Sheet1" ; // 2. Run > setup // // 3....