Built with blockbuilder.org
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
~/Desktop/spreadit: jitsu deploy --debug | |
info: Welcome to Nodejitsu kevmo | |
info: jitsu v0.13.2, node v0.10.15 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in make start | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean', | |
debug: headers: | |
debug: { Authorization: '*************************************************************', |
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
~/Desktop/spreadit: jitsu deploy --debug | |
info: Welcome to Nodejitsu kevmo | |
info: jitsu v0.13.2, node v0.10.15 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in make start | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/kevmo/mean', | |
debug: headers: | |
debug: { Authorization: '*************************************************************', |
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
<!doctype html> | |
<html> | |
<head> | |
<style> | |
.hidden { display: none; } | |
#dead-drop { height: 200px; width: 200px; border: 1px solid #333; } | |
</style> | |
</head> | |
<body> | |
<form enctype="multipart/form-data" action="#" method="post"> |
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 sys | |
import urllib2 | |
import contextlib | |
from bs4 import BeautifulSoup | |
if len(sys.argv) < 2: | |
print 'Error: Please provide a URL to scrape.' | |
sys.exit(1) |
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
Vagrant.configure(2) do |config| | |
config.vm.define "webserver" do |webserver| | |
webserver.vm.box = "ubuntu/trusty64" | |
webserver.vm.network "private_network", ip: "192.168.0.2" | |
webserver.vm.hostname = "webserver" | |
end | |
config.vm.define "ansible" do |ansible| | |
ansible.vm.box = "ubuntu/trusty64" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at |
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 yum install -y libxml2 libxml2-devel libxslt libxslt-devel |
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
Vagrant.configure(2) do |config| | |
config.vm.define "webserver" do |webserver| | |
webserver.vm.box = "bento/centos-7.1" | |
webserver.vm.network "private_network", ip: "192.168.0.2" | |
webserver.vm.hostname = "webserver" | |
end | |
config.vm.define "ansible" do |ansible| | |
webserver.vm.box = "bento/centos-7.1" | |
webserver.vm.network "private_network", ip: "192.168.0.254" |
Magic words:
sudo -su postgres
psql -U postgres
If run with -E
flag, it will describe the underlaying queries of the \
commands (cool for learning!).
Most \d
commands support additional param of __schema__.name__
and accept wildcards like *.*
\q
: Quit/Exit
OlderNewer