Avem branches. Tags
git checkout tags/v5.3.3 sau git checkout -b framwork origin/develop
https://www.viget.com/articles/keeping-the-framework-for-your-application-up-to-date-with-git
git init
git remote add lumen github.com:laravel/lumen
#!/usr/bin | |
# Generate booklet from pdffile | |
# -t. -b top,botom margins | |
# -o outer margin | |
# -i inner margin | |
# -s short edge (no page flip when printing) | |
pdfbook2 -s book.pdf -t 0 -b 0 -o 20 -i 50 |
# generate ssh key | |
# public key file will be newkey.pub | |
# private key file will be newkey | |
ssh-keygen -f newkey |
FROM alpine | |
ENV \ | |
APP_DIR="/app" \ | |
APP_PORT="80" | |
# the "app" directory (relative to Dockerfile) containers your Laravel app... | |
COPY app/ $APP_DIR | |
RUN apk add --update \ |
curl -u ':uname' 'https://api.github.com/repos/:org/:repo/issues' > issues.json |
require 'octokit' | |
require 'json' | |
# !!! DO NOT EVER USE HARD-CODED VALUES IN A REAL APP !!! | |
# Instead, set and test environment variables, like below | |
client = Octokit::Client.new :access_token => ENV['MY_PERSONAL_TOKEN'] | |
client.auto_paginate = true | |
issues = client.issues 'adrianharabula/condr', { :state => 'all' } |
``` | |
docker run --name=apache -d -p 80:80 -v /c/Work/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf -v /c/Work/httpd.conf:/usr/local/apache2/conf/httpd.conf httpd:alpine | |
``` |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<h2>Introdu venitul tău</h2> |
#!/sbin/openrc-run | |
#/etc/init.d/autossh | |
name="busybox $SVCNAME" | |
command="/usr/bin/autossh" | |
command_args="-M 0 -f -T -N connection" | |
command_user="root" | |
pidfile="/run/$SVCNAME/$SVCNAME.pid" | |
command_background="yes" |
# Check GitHub pages required versions @ https://pages.github.com/versions/ | |
# GitHub Pages info page: | |
# - https://github.com/blog/1581-cutting-the-github-pages-gem/ | |
# - https://help.github.com/articles/using-jekyll-with-pages/ | |
# Ruby is installed on Raspbian by default, but its only 1.9, we need at least 2.0 | |
# Alas v2 isn't in the apt-get repo, but we can use the rvm to install it | |
# First we must add their GPG key | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 |