I had the correct repository name and I still get a 404 error a solution is to push to the repository.
I pushed an empty commit and refresh the page. It worked.
You might be aware of command ls the list command and use it frequently to view the contents of a folder but because of miss-typing sometimes you would result in sl, how about getting a little fun in terminal and nocommand not fo.
vim /etc/profiles.d/motd.sh
exec /usr/games/fortune | /usr/games/cowsay -n
login using ssh to your account and see a simple message like:
Wed Nov 30 18:32:05 IRST 2016
He that is giddy thinks the world turns round.
-- William Shakespeare, "The Taming of the Shrew"
_______________________________________________________________________________
< Green light in A.M. for new projects. Red light in P.M. for traffic tickets. >-------------------------------------------------------------------------------\ ^__^
\ (oo)\_______
(__)\ )\/\||----w |
||||
user@jessie:~$
PhantomJS is one of the best headless Webkits. To install on ubuntu follow these instructions:
install phantomjs (2.1.1)
npm install phantomjs
install selenium
pip install selenium
run a sample
importplatformfromseleniumimportwebdriverfromselenium.webdriver.common.keysimportKeys# PhantomJS files have different extensions
# under different operating systems
ifplatform.system()=='Windows':PHANTOMJS_PATH='./phantomjs.exe'else:PHANTOMJS_PATH='/usr/local/bin/phantomjs'driver=webdriver.PhantomJS(PHANTOMJS_PATH)driver.set_window_size(1120,550)driver.get("https://duckduckgo.com/")driver.find_element_by_id('search_form_input_homepage').send_keys("realpython")driver.find_element_by_id("search_button_homepage").click()print(driver.current_url)driver.quit()~
The LXC packages in Ubuntu ships enable LXC networking properly. This is basically done by a init script called lxc-net which setups the lxcbr0 bridge and a number of iptables rule to set up networking. In this post I describe how to use network in debian jessie.(Debian Jessie ships with an updated version of LXC 1.06 but does not set up the LXC networking by default)
First download the lxc-net script here and follow the instructions below.
Jekyll is a simple, blog-aware, static site generator. It takes a template directory containing raw text files in various formats, runs it through a converter (like Markdown) and our Liquid renderer, and spits out a complete, ready-to-publish static website suitable for serving with your favorite web server. Jekyll also happens to be the engine behind GitHub Pages, which means you can use Jekyll to host your project’s page, blog, or website from GitHub’s servers for free.
Install ruby version 2
To install jekyll version 2 and later you need to install ruby version 2 or later. So you can use this way to install that on ubuntu:
sudo apt-get -y update
sudo apt-get -yinstall build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p481.tar.gz
tar-xvzf ruby-2.0.0-p481.tar.gz
cd ruby-2.0.0-p481/
./configure --prefix=/usr/local
make
sudo make install
after installing requirement you can install last version of jekyll.
From today I will write some posts daily.
I am using github and jekyll to blogging. In future’s posts I will explain how to install a blog in 10 minutes!