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
<div class="wrapper" ng-app="questionaire" ng-controller="qaCtrl"> | |
<div class="qa-panel"> | |
<button type="button" class="startBtn" ng-click="openQuestions()" ng-hide="!hideInput">start</button> | |
<div class="qa-panel-label"> | |
<span ng-bind="currentLabel"></span> | |
</div> | |
<button type="button" ng-show="quizComplete" class="cancelBtn" ng-click="cancelQuestions()"> | |
restart</button> | |
<div class="qa-panel-input" ng-hide="hideInput || quizComplete"> | |
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/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
import sys | |
if (sys.version_info < (3, 0)): | |
# Python 3 code in this block | |
print('Python v3.5 or above required for Instaloader module at the moment. Exiting...') | |
quit() |
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/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from .unfollow_protocol import unfollow_protocol | |
from .userinfo import UserInfo | |
import atexit | |
import datetime | |
import itertools | |
import json |
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
$post_data = http_build_query( | |
array( | |
'secret' => CAPTCHA_SECRET, | |
'response' => $_POST['g-recaptcha-response'], | |
'remoteip' => $_SERVER['REMOTE_ADDR'] | |
) | |
); | |
$opts = array('http' => | |
array( | |
'method' => 'POST', |
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 ~ | |
sudo yum update -y | |
yum groupinstall Editors "Development Tools" "Development Libraries" -y | |
yum install pcre-devel pcre zlib zlib-devel bzip2 bzip2-devel curl -y | |
mkdir ~/tmp | |
cd ~/tmp/ | |
wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.32.tar.gz -O lighttpd.tar.gz |
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
## Lighttpd Configuration File ## | |
# Default Document Root | |
# This is the site that the server will revert to incase of an unknown Virtual Host | |
server.document-root = "/var/www/" | |
server.modules = ( | |
"mod_access", | |
"mod_accesslog", | |
"mod_fastcgi", |
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 ~ | |
sudo yum update | |
sudo yum install java-1.7.0-openjdk.i686 -y | |
wget http://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.20.2.tar.gz -O elasticsearch.tar.gz | |
tar -xf elasticsearch.tar.gz | |
rm elasticsearch.tar.gz | |
mv elasticsearch-* elasticsearch | |
sudo mv elasticsearch /usr/local/share |