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
| (Ubuntu 14.xx) | |
| # Files to download | |
| sudo apt-get install git-core gnupg flex bison gperf build-essential \ | |
| zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \ | |
| lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \ | |
| libgl1-mesa-dev libxml2-utils xsltproc unzip | |
| # Java (java 6) | |
| sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\* |
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
| #!/bin/bash | |
| # java | |
| export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
| export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g" | |
| # ccache | |
| export USE_CCACHE=1 | |
| export CCACHE_DIR=/home/firelord/.ccache/ | |
| prebuilts/misc/linux-x86/ccache/ccache -M 50G |
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
| Using secure store: com.google.gerrit.server.securestore.DefaultSecureStore | |
| [2016-05-04 18:38:32,750] [main] INFO com.google.gerrit.server.config.GerritServerConfigProvider : No /home/gerrit/./etc/gerrit.config; assuming defaults | |
| *** Gerrit Code Review 2.12.2 | |
| *** | |
| *** Git Repositories | |
| *** |
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
| { | |
| "logs": [ | |
| "1. blah", | |
| "2. blah", | |
| "3. blah" | |
| ] | |
| } |
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 <stdio.h> | |
| int main() | |
| { | |
| int a[20], b[20], c[20]; | |
| int i, j, k = 0, m, n; | |
| // first array | |
| printf("Enter size of first array: "); | |
| scanf("%d", &n); |
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 <stdio.h> | |
| int a[4] = {0, 0, 1, 1}; | |
| int b[4] = {0, 1, 0, 1}; | |
| int c[4], d[4], e[4], f[4]; | |
| int i, j, k, n = 4; | |
| int main() | |
| { | |
| printf("Table A: "); |
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 <stdio.h> | |
| #include <stdlib.h> | |
| #define MAX 5 | |
| typedef struct stk | |
| { | |
| int TOP; | |
| int A[MAX]; | |
| }stack; |
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 <stdio.h> | |
| #include <stdlib.h> | |
| #define MAX 100 | |
| typedef struct stk | |
| { | |
| int TOP; | |
| int A[MAX]; | |
| } stack; |
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 <stdio.h> | |
| int N; | |
| int Linear_Search(int A[], int N, int value) | |
| { | |
| int i, flag = 1; | |
| for (i = 0; i < N; i++) | |
| { | |
| if (A[i] == value) |
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 <stdio.h> | |
| #include <stdlib.h> | |
| // Aman 35 | |
| typedef struct list | |
| { | |
| int info; | |
| struct list *next; | |
| } node; |
OlderNewer