What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-02 20:05:29
C# bitwise operation
ulong x = 73473458374534587UL; //0 0 0 0 0 0 0 1 //0 0 0 0 0 1 0 1 //0 0 0 0 0 1 1 1 //1 0 1 1 1 0 0 0 //1 0 0 1 1 0 1 0 //1 1 0 1 0 1 0 1 //0 1 1 0 0 1 0 1 //1 0 1 1 1 0 1 1 ulong y = 635528292UL; //0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 //0 0 0 0 0 0 0 0 //... Add solution -
VBA 2022-03-02 18:35:20
vba left shift operator
'Many programming languages have a bitwise left-shift operator: << 'VBA does not. However, it can be emulated in a performant function: Function ShiftLeft1&(ByVal n&) ShiftLeft1 = 2& * (n And 1073741823): If n And 1073741824 Then Sh... Add solution -
Other 2022-03-02 05:00:03
opengl sdl resize window
void ResizeWindow() { screen_width = event.resize.w; screen_height = event.resize.h; SDL_SetVideoMode(screen_width, screen_height, bpp, SDL_OPENGL | SDL_RESIZABLE | SDL_DOUBLEBUF); glViewport(0, 0, screen_width, screen_height); glMat... Add solution -
Python 2022-03-01 08:50:13
how to sum numbers of a list in python without sum
please subscribe my channel - https://bit.ly/2Me2CfB # METHOD 1 (without using the sum function) : def list_sum(list_name): value = 0 for values in list_name: value += values print(value) # -------------------... Add solution -
SQL 2022-02-28 13:50:18
deadlock table in mysql
1 141013 6:06:22 2 *** (1) TRANSACTION: 3 TRANSACTION 876726B90, ACTIVE 7 sec setting auto-inc lock 4 mysql tables in use 1, locked 1 5 LOCK WAIT 9 lock struct(s), heap size 1248, 4 row lock(s), undo log entries 4 6 MySQL thread id 155118366, OS thread ha... Add solution -
Javascript 2022-02-27 06:40:12
javascript carousel
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * {box-sizing: border-box} body {font-family: Verdana, sans-serif; margin:0} .mySlides {display: n... Add solution