https://medium.com/@PaulWritesCode/ruby-on-rails-with-visual-studio-code-bc5681a2c098\
heroku keys:add
: useful command to add SSH Keys to heroku
#!/bin/bash | |
# Get TC-*** code and append to commit message | |
function commit_message() { | |
git commit -m "[$(git branch | grep -oP 'TC-\d*')] $1" | |
} |
https://medium.com/@PaulWritesCode/ruby-on-rails-with-visual-studio-code-bc5681a2c098\
heroku keys:add
: useful command to add SSH Keys to heroku#!/usr/bin/env bash | |
# packer dependencies | |
sudo pacman -Sy git automake autoconf clang cmake fakeroot jshon expac base-devel unzip | |
# Install Yay instead of Packer using this link: https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/ | |
#Yay | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si |
# initialization file (not found) |
from settings import * | |
LOCAL_SETTINGS = True | |
DEBUG = True | |
TEMPLATE_DEBUG = True | |
ALLOWED_HOSTS = [] | |
DATABASES = {} |
#Copyright padrão Beagle Ship https://jsfiddle.net/f6sz2z1m/
/node_modules | |
### Laravel ### | |
/bootstrap/compiled.php | |
.env.*.php # Can be removed if your repo is private, if you can't set env variables via console | |
.env.php # Can be removed if your repo is private, if you can't set env variables via console | |
/vendors # Is basically composer and dependencies folders | |
Homestead.yaml | |
Homestead.json |
/** | |
* Reparse with facebook container width to responsive width | |
* @param {string} link Facebook Page link | |
* @param {string} title Page title | |
* @return {mixed} Return facebook plugin with new size | |
*/ | |
function facebookResize(link, title) { | |
var FB_TITLE = title'; | |
var FB_LINK = link'; | |
var $FB_CONTAINER = $('.fb-container'); |
function traceRouteMap() { | |
var mapElement = document.getElementById('google-map'); | |
var directionsService = new google.maps.DirectionsService(); | |
var startLatLng = new google.maps.LatLng(-29.687306,-53.815477); | |
var directionsDisplay= new google.maps.DirectionsRenderer(); | |
var geocoder = new google.maps.Geocoder(); | |
var markers = []; | |
var center; | |
var mapOptions = { | |
zoom: 12, |