- Algorithms - Level 1
- Algorithms - Level 2
- Computer Networking - Level 1
- Computer Networking - Level 2
- Computer Programming - Level 1
- Computer Programming - Level 2
- Computer System Organization
- Data Structures - Level 1
- Data Structures - Level 2
- Digital Logics - Level 1
This file contains 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
#!/usr/bin/bash | |
# Make sure to export $PREFIX as full path name | |
# ex. export PREFIX=/home/ironmaniiith/caffe_installation | |
if [ -z "$PREFIX" ]; then | |
echo "error: PREFIX variable not found" | |
exit 1 | |
fi | |
if [ ! -d "$PREFIX" ]; then | |
echo "No such directory: $PREFIX. Directory will be created" | |
fi |
This file contains 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
## Refer to http://caffe.berkeleyvision.org/installation.html | |
# Contributions simplifying and improving our build system are welcome! | |
# cuDNN acceleration switch (uncomment to build with cuDNN). | |
USE_CUDNN := 1 | |
# CPU-only switch (uncomment to build without GPU support). | |
# CPU_ONLY := 1 | |
# uncomment to disable IO dependencies and corresponding data layers |
This file contains 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() { | |
var SCROLL_HEIGHT = 1e20; | |
function scrollToBottom(el, cb) { | |
// Scroll to the bottom of target el | |
var x = setInterval(function() { | |
console.log('Scrolling to bottom!'); | |
var isScrolledToBottom = el.scrollHeight - el.clientHeight <= el.scrollTop + 1; | |
el.scrollTop = SCROLL_HEIGHT; | |
if (isScrolledToBottom) { |
This file contains 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
Notification.requestPermission(); | |
function createNotification(theTitle, theIcon, theBody){ | |
var options = { | |
icon: theIcon, | |
body: theBody, | |
}; | |
var notification = new Notification(theTitle, options); | |
setTimeout(notification.close.bind(notification), 10000); | |
} |
This file contains 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
M[16],X=16,W,k;main(){T(system("stty cbreak") | |
);puts(W&1?"WIN":"LOSE");}K[]={2,3,1};s(f,d,i | |
,j,l,P){for(i=4;i--;)for(j=k=l=0;k<4;)j<4?P=M | |
[w(d,i,j++)],W|=P>>11,l*P&&(f?M[w(d,i,k)]=l<< | |
(l==P):0,k++),l=l?P?l-P?P:0:l:P:(f?M[w(d,i,k) | |
]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d | |
-1,j,3-i):4*i+j;}T(i){for(i=X+rand()%X;M[i%X] | |
*i;i--);i?M[i%X]=2<<rand()%2:0;for(W=i=0;i<4; | |
)s(0,i++);for(i=X,puts("\e[2J\e[H");i--;i%4|| | |
puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2 |
####52°North Initiative for Geospatial Open Source Software GmbH####
- Skill(s): javascript, java, ogc standards, web services
####aimacode####
- Skill(s): python, java, javascript
This file contains 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
var Nightmare = require('nightmare'); | |
var nightmare = Nightmare({ show: false }) | |
nightmare | |
// .useragent('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0') | |
.goto('https://www.practo.com/bangalore/doctor/dr-shankar-kumar-diabetologist-1/') | |
.wait(5000) | |
.click("#reviewsNavLink") | |
.wait(5000) | |
.evaluate(function(){ |
This file contains 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
cd | |
DIR=`pwd` | |
USER=`who | head -1 | cut -d " " -f1` | |
export http_proxy="http://proxy.iiit.ac.in:8080" | |
export https_proxy="http://proxy.iiit.ac.in:8080" | |
export ftp_proxy="http://proxy.iiit.ac.in:8080" | |
export socks_proxy="http://proxy.iiit.ac.in:8080" | |
export HTTP_PROXY="http://proxy.iiit.ac.in:8080" | |
export HTTPS_PROXY="http://proxy.iiit.ac.in:8080" |
This file contains 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
var x = document.getElementsByClassName('uiButton _1sm'); | |
for(var i=0;i<x.length;i++){ | |
if(x[i].innerHTML.indexOf("Invite") > 0){ | |
x[i].click(); | |
} | |
} |
NewerOlder