Shows use of .transition()
with .transform()
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
(function (window, jQuery) { | |
var div = document.getElementById("ChatOutput"); | |
function fixIt() { | |
div.scrollTop = div.scrollHeight; | |
} | |
if (div) { | |
window.setInterval(fixIt, 100); | |
} | |
})(window, jQuery); |
I hereby claim:
- I am aaaronic on github.
- I am ahansen (https://keybase.io/ahansen) on keybase.
- I have a public key whose fingerprint is 51A3 8E3C 20B3 BA59 FA56 733B 56B6 F5C3 EFC6 ADEB
To claim this, I am signing this object:
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
// I rand this with gcc -std=c99 main.c && ./a.exe on Windows (cygwin) | |
// Mac/Linux people would probably prefer gcc -std=c99 main.c && ./a.out | |
#include <stdlib.h> | |
#include <stdio.h> | |
int main() { | |
printf("The size of an int is %d\n\n", sizeof(int)); | |
int* ptr1 = malloc(1000*sizeof(*ptr1)); |
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
// compiled and run via gcc on Linux/Mac: gcc main.c && ./a.out | |
// on windows (Cygwin)... gcc main.c && ./a.exe | |
#include <stdio.h> | |
#include <limits.h> | |
#include <stdlib.h> | |
#define SUCCESS 0 | |
#define MALLOCFAIL 1 | |
#define INDEXOUTOFBOUNDS INT_MAX |