This file contains 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
So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
* Off the top of my head * | |
1. Fork their repo on Github | |
2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
git remote add my-fork git@github...my-fork.git |
This file contains 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
NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
Download the following ZIPs: | |
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
Download the correct GApps for your Android version: | |
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |
This file contains 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
1. Crie uma conta no Digital Ocean; | |
2. Crie um droplet Ubuntu (estas instruções são baseadas em Ubuntu) | |
3. Escolha o pacote LEMP para ser instalado com seu Ubuntu | |
4. Escolha ou associa sua chave publica para acesso ao servidor | |
5. Acesse seu server usando SSH (ssh root@<ip informado pelo DO>) |
This file contains 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
@servers(['staging' => 'root@192.168.0.99', 'production' => 'root@192.168.0.100']) | |
<?php | |
$app_name = 'l5eka'; | |
$app_path = '/var/www/vhosts/'.$app_name; | |
$repo = 'https://github.com/vedovelli/l5eka'; | |
$branch = 'aula4'; | |
$keep = 6; | |
$timezone = 'America/Sao_Paulo'; |
This file contains 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
<?php | |
trait HasRandomStatementTrait | |
{ | |
/** | |
* Random Statements by driver name. | |
* @var array | |
*/ | |
protected $randomStatements = [ | |
'mysql' => 'RAND()', |
My environment development after install Linux.
Everytime I format my linux, I need search all tools again Urgh.
So, I decided create a List of Best Things after install Linux, I hope help you too.
I currently use elementary OS 0.3 Freya
Index
This file contains 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
[{"id":1,"name":"(512) Brewing Company","address1":"407 Radam, F200","address2":"","city":"Austin","state":"Texas","code":"78745","country":"United States","phone":"512.707.2337","website":"http:\/\/512brewing.com\/","filepath":"","descript":"(512) Brewing Company is a microbrewery located in the heart of Austin that brews for the community using as many local, domestic and organic ingredients as possible.","add_user":0,"last_mod":"2010-07-22 20:00:20","beers":[{"id":5735,"brewery_id":1,"name":"(512) Wit","cat_id":5,"style_id":67,"abv":5.2,"ibu":0,"srm":0,"upc":0,"filepath":"","descript":"Made in the style of the Belgian wheat beers that are so refreshing, (512) Wit is a hazy ale spiced with coriander and domestic grapefruit peel. 50% US Organic 2-row malted barley and 50% US unmalted wheat and oats make this a light, crisp ale well suited for any occasion.","add_user":0,"last_mod":"2010-07-22 20:00:20"},{"id":5736,"brewery_id":1,"name":"(512) Pale","cat_id":3,"style_id":26,"abv":5.8,"ibu":0,"srm":0,"upc":0," |
This file contains 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
#!/bin/sh | |
# This script must be executed in the repo where | |
# the *.ts files are. | |
# It will concatenate the segments into one temp | |
# file which ffmpeg will reencode the audio track. | |
# By default the ouptup filename is output.mp4 | |
# but can be changed by providing the name as parameter. | |
# | |
# ffmpeg is required |
This file contains 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 Unauthorised from './Unauthorised' | |
export default function() { | |
return { | |
response: function(response) { | |
switch (response.status) { | |
case 401: return Unauthorised.handle(); | |
} | |
return response; |
OlderNewer