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
| import java.util.Random; | |
| public class ShellArray { | |
| public static void main (String args[]) { | |
| int[] data = new int[100]; | |
| Random rng = new Random(); | |
| //Fill the array | |
| for (int i = 0; i < data.length; i++) { |
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
| import java.util.Random; | |
| public class ShellArray { | |
| public static void main (String args[]) { | |
| int[] data = new int[100]; | |
| Random rng = new Random(); | |
| for (int i = 0; i < data.length; i++) { | |
| data[i] = rng.nextInt(200); | |
| } |
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 <lua.h> | |
| #include <lauxlib.h> | |
| #include <lualib.h> | |
| #include <stdlib.h> | |
| int map_create(lua_State *lua); | |
| int map_slice(lua_State *lua); | |
| int main(int argc, char **argv){ | |
| lua_State *lua = lua_open(); |
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
| sudo apt-get install texlive-full xzdec | |
| tlmgr option repository ftp://tug.org/historic/systems/texlive/2015/tlnet-final | |
| tlmgr update --self | |
| tlmgr install fancyhdr setspace |
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
| apt-get install x11-xkb-utils | |
| setxkbmap -layout us -variant dvorak |
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
| # A continuous 110hz sine wave, great for studying or focusing | |
| # when music isn't an option but you still need to block out | |
| # external noises. Enjoy! | |
| speaker-test -l 0 -p 500 -P 500 -t sine --frequency 110 |
NewerOlder