This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| name = "imgui-raylib" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| imgui = "0.11.0" | |
| copypasta = "0.8.2" | |
| [dependencies.raylib] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="relative z-0 m-0 py-0"> | |
| <!-- Top triangle --> | |
| <img src="https://imgur.com/AQSfa7p.png"/> | |
| <!-- Center bit. Since buzzly has several numbers and colors in jail, we had to make an image as background that | |
| basically grows as needed, and always fills the entire section. Very hacky, hopefully works well --> | |
| <div class="relative min-w-full max-w-full w-full"> | |
| <img src="https://imgur.com/giSx522.png" class="absolute top-0 left-0 min-h-full max-h-full min-w-full z-0"/> | |
| <div class="relative text-white z-10 max-h-full min-w-11/12 max-w-11/12 w-11/12 flex justify-center px-10"> | |
| <div class="w-96"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Buzzly actually deletes comments so I'm putting them here only :D --> | |
| <div class="relative flex flex-col sm:flex-row m-4 p-2 pb-6 shadow-inner rounded bg-white overflow-hidden justify-between gap-4 text-gray-800"> | |
| <!-- This is the box where the data goes --> | |
| <div class="flex-grow-1 flex flex-col"> | |
| <div class="flex flex-col mb-2 gap-2"> | |
| <div class="flex flex-row rounded-full p-2 pr-12 self-center bg-gray-100"> | |
| <!-- Put your avatar in this img --> | |
| <img class="ring ring-blue-400 rounded-full" src="YOUR AVATAR OR IMAGE HERE" title="Avatar" alt="" width="128"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(document).ready(function(){ | |
| $('ul.pivotTabs li').click(function() { | |
| if (!$(this).hasClass("selected")) { | |
| let selectedTab = $('ul.pivotTabs li.selected'); | |
| let selectedItem = $(`ul.pivotItems li[data-id="${ $('a', selectedTab).attr('href') }"]`); // Template literals, wooo | |
| $(this).addClass("selected"); // Clarity | |
| selectedTab.removeClass("selected"); | |
| selectedItem.removeClass('selected'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int is_a(char* str) { return strcmp(str, "plan to fail");} int main(){ char edge_case = 1; | |
| return /*Failure to plan*/ is_a("plan to fail"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| int main(int argc, char** argv){ | |
| char* in = malloc(100); | |
| int j, length; | |
| puts("Input a string"); | |
| scanf("%s", in); | |
| length = j = (strlen(in)-1); |