Skip to content

Instantly share code, notes, and snippets.

🎮
Focusing

Edward Facundo toymak3r

🎮
Focusing
Block or report user

Report or block toymak3r

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@toymak3r
toymak3r / binary_gap.py
Created Dec 29, 2019
Binary Gap in Python
View binary_gap.py
def binary_gap(N):
return len(max(format(N, 'b').strip('0').split('1')))
@toymak3r
toymak3r / CMakeLists.txt
Created Aug 28, 2019
Relative Link Path to Binary With CMake
View CMakeLists.txt
set_target_properties(NAME_OF_TARGET PROPERTIES LINK_FLAGS "-Wl,-rpath,./libs")
You can’t perform that action at this time.