One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| #!/bin/bash | |
| set -euo pipefail | |
| echo "-------------------------------------------" | |
| echo "------ forking our repositories --------" | |
| echo "-------------------------------------------" | |
| links=( | |
| "[email protected]:luizalabs/cain.git" |
| rm -rf ~/firefox-59.0a1.en-US.linux-x86_64.tar.bz2 | |
| nightly_url="https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-59.0a1.en-US.linux-x86_64.tar.bz2" | |
| wget $nightly_url | |
| cd /opt | |
| sudo rm -rf firefox/ | |
| sudo tar -xvjf ~/firefox-59.0a1.en-US.linux-x86_64.tar.bz2 |
| nightly_url="https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-59.0a1.en-US.linux-x86_64.tar.bz2" | |
| wget $nightly_url | |
| cd /opt | |
| sudo rm -rf firefox/ | |
| sudo tar -xvjf ~/firefox-59.0a1.en-US.linux-x86_64.tar.bz2 |
| " Dracula Theme v1.2.7 | |
| " | |
| " https://github.com/zenorocha/dracula-theme | |
| " | |
| " Copyright 2016, All rights reserved | |
| " | |
| " Code licensed under the MIT license | |
| " http://zenorocha.mit-license.org | |
| " | |
| " @author Trevor Heins <@heinst> |
| #!/bin/bash | |
| source "$(dirname $(readlink $BASH_SOURCE))/../os/utils.sh" | |
| # ---------------------------------------------------------------------- | |
| # | Colors | | |
| # ---------------------------------------------------------------------- | |
| enable_color_support() { |
| def install_and_import(package): | |
| import importlib | |
| try: | |
| importlib.import_module(package) | |
| except ImportError: | |
| import pip | |
| pip.main(['install', package]) | |
| finally: | |
| globals()[package] = importlib.import_module(package) |
| #!/bin/bash | |
| sudo rm /tmp/update.txt; tput setaf 6; echo "Initializing.. Please Wait" | |
| sudo apt-get update >> /tmp/update.txt 2>&1; awk '( /W:/ && /launchpad/ && /404/ ) { print substr($5,26) }' /tmp/update.txt > /tmp/awk.txt; awk -F '/' '{ print $1"/"$2 }' /tmp/awk.txt > /tmp/awk1.txt; sort -u /tmp/awk1.txt > /tmp/awk2.txt | |
| tput sgr0 | |
| if [ -s /tmp/awk2.txt ] | |
| then | |
| tput setaf 1 | |
| printf "PPA's going to be removed\n%s\n" "$(cat /tmp/awk2.txt)" | |
| tput sgr0 | |
| while read -r line; do echo "sudo add-apt-repository -r ppa:$line"; done < /tmp/awk2.txt > out |
| var express = require('express'); | |
| var cookieParser = require('cookie-parser'); | |
| var session = require('express-session'); | |
| var flash = require('express-flash'); | |
| var handlebars = require('express-handlebars') | |
| var app = express(); | |
| var sessionStore = new session.MemoryStore; | |
| // View Engines |
| # Install | |
| # via http://askubuntu.com/questions/510056/how-to-install-google-chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt-get update | |
| sudo apt-get install google-chrome-stable | |
| # Update |