Basic building blocks (you won't often use these).
Manage the visual regions of your composite application. Composite JS Apps: Regions And Region Managers
Manage one or more related Marionette.Region
objects.
Basic building blocks (you won't often use these).
Manage the visual regions of your composite application. Composite JS Apps: Regions And Region Managers
Manage one or more related Marionette.Region
objects.
#Install Gource in Ubuntu | |
======================== | |
#Go to the folder.... and | |
#see http://tylerfrankenstein.com/code/install-gource-ubuntu-1010-visualize-git-repo | |
sudo apt-get update | |
sudo apt-get install libsdl2-dev libsdl2-image-dev libpcre3-dev libfreetype6-dev libglew-dev libglm-dev libboost-filesystem-dev libpng12-dev libsdl1.2-dev libsdl-image1.2-dev libtinyxml-dev | |
./configure | |
make | |
sudo make install |
## Sublime Text 3 Serial key build is 3176 | |
> * Added these lines into /etc/hosts | |
127.0.0.1 www.sublimetext.com | |
127.0.0.1 license.sublimehq.com | |
> * Used the license key | |
----- BEGIN LICENSE ----- |
/*** | |
*https://tympanus.net/Development/NotificationStyles/ | |
*https://github.com/codrops/NotificationStyles | |
***/ | |
;( function( window ) { | |
'use strict'; | |
var docElem = window.document.documentElement, | |
support = { animations : Modernizr.cssanimations }, |
# Change to the project directory | |
cd /home/forge/domain.com | |
# Turn on maintenance mode | |
php artisan down | |
# Pull the latest changes from the git repository | |
git pull origin master | |
# Install/update composer dependecies |
######################################################################## | |
# Installing and Configuring Apache & Nginx with Multiple PHP Versions # | |
# Apache will run on port 8080 and will be behind Nginx # | |
# Nginx will serve as a reverse proxy for Apache Sites # | |
# Nginx will act as the primary web and caching server # | |
######################################################################## | |
# Update Packages | |
sudo apt update && sudo apt upgrade -y |
#!/bin/sh | |
PHP=$1 | |
if [ $# -lt 1 ] | |
then | |
echo "Usage: $0 <php-version>" | |
echo | |
echo "php-version: php7 $PHP" | |
echo |
[unix_http_server] | |
file=/tmp/supervisor.sock ; path to your socket file | |
[supervisord] | |
logfile=/var/log/supervisord/supervisord.log ; supervisord log file | |
logfile_maxbytes=50MB ; maximum size of logfile before rotation | |
logfile_backups=10 ; number of backed up logfiles | |
loglevel=error ; info, debug, warn, trace | |
pidfile=/var/run/supervisord.pid ; pidfile location | |
nodaemon=false ; run supervisord as a daemon |
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
# Baixando um arquivo remoto com rsync | |
rsync -Cravpe user@ip:/caminho/real/do/arquivo.extensao downloads/arquivo.extensao | |
# Enviando um arquivo remoto com rsync | |
rsync -Cravpe downloads/arquivo.extensao user@ip:/caminho/real/do/arquivo.extensao | |
# Caso a porta ssh seja diferente de 22, é necessário seta-la, como no exemplo onde 12345 é a porta: | |
rsync -Cravpe 'ssh -p 12345' user@ip:/caminho/real/do/arquivo.extensao downloads/arquivo.extensao |