Skip to content

Instantly share code, notes, and snippets.

Warning: Missing sshPrivateKey, "deis run" will be unavailable. Use:
deisctl config platform set sshPrivateKey=<path-to-key>
● ▴ ■
■ ● ▴ Installing Deis...
▴ ■ ●
Storage subsystem...
deis-store-daemon.service: loaded
deis-store-volume.service: loaded
deis-store-metadata.service: loaded
deis-store-monitor.service: loaded
@pnegri
pnegri / management-mesh-user-data
Created September 3, 2015 22:04
Management Cluster Cloud Config
#cloud-config
---
coreos:
fleet:
# We have to set the public_ip here so this works on Vagrant -- otherwise, Vagrant VMs
# will all publish the same private IP. This is harmless for cloud providers.
public-ip: $private_ipv4
# allow etcd to slow down at times
etcd_request_timeout: 3.0
metadata: controlPlane=true,routerMesh=true
<?php
// Interest Example
$our_interest_rate = 2.50;
// When passing the interest to the customer, remember that the calculation must always be done with the
// base value (The total invoice or the invoice - transaction costs) (Transaction Costs = 4.5% + 30 cents for example)
$invoice_total = 100.0;
$installments = 12;
<!doctype html>
<html>
<head>
<title>The Dolus Project</title>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css', media: 'all' %>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css', media: 'all' %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'https://code.jquery.com/jquery-1.11.1.min.js' %>
<%= javascript_include_tag '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js' %>
<%= javascript_include_tag 'https://maps.googleapis.com/maps/api/js?v=3.exp' %>
@pnegri
pnegri / gist:39779e79df3bf2fbdd8e
Created November 27, 2014 10:42
Códigos de Erro de Operadora
0
Transaction Approved
1
Refer to Issuer
2
// Call super
SCompoundWidget::Tick(AllottedGeometry, InCurrentTime, InDeltaTime);
if (!OwnerHUD.IsValid()) return;
if (!OwnerHUD->PlayerOwner) return;
if (!OwnerHUD->PlayerOwner->GetPawn()) return;
AGameCharacter *hCharacter = Cast<AGameCharacter>(OwnerHUD->PlayerOwner->GetPawn());
if (!hCharacter) return;
hActorInstance = hCharacter;
@pnegri
pnegri / gist:f32f0cf0922609abdd2d
Created August 27, 2014 23:10
DefaultGameUserSettings.ini
[/Script/Engine.GameUserSettings]
bUseVSync=True
ResolutionSizeX=800
ResolutionSizeY=600
LastUserConfirmedResolutionSizeX=1360
LastUserConfirmedResolutionSizeY=768
WindowPosX=0
WindowPosY=0
bUseDesktopResolutionForFullscreen=False
LastConfirmedFullscreenMode=2
RunUAT BuildCookRun -project=%~dp0/Netherdeep.uproject -noP4 -platform=Win64 -clientconfig=Shipping -serverconfig=Shipping -build -cook -server -serverplatform=Win64 -noclient -stage -pak -archive -archivedirectory=%~dp0/Final
C:\Desenvolvimento\UE\Unreal Engine\4.3\Engine\Source\Runtime\Launch\Public\RequiredProgramMainCPPInclude.h(14): fatal error C1083: Cannot open include file: 'LaunchEngineLoop.cpp': No such file or directory
TSharedRef<ITableRow> OnGenerateRowForList(TSharedPtr<FString> InItem, const TSharedRef<STableViewBase>& OwnerTable)
{
return SNew(STableRow< TSharedPtr<SWidget> >, OwnerTable)
[
SNew(STextBlock).Text(FText::FromString(*InItem))
];
}