- http://www.proxmox.com/proxmox-ve
- http://pve.proxmox.com/wiki
- https://pve.proxmox.com/wiki/Roadmap
- Based on Debian with latest RHEL kernel, including OpenVZ kernel patches, and finally a hardware detection system.
This file contains hidden or 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
/* PRE - model declaration on vf page | |
<apex:remoteObjects> | |
<apex:remoteObjectModel name="Account" fields="Id,Name" /> | |
</apex:remoteObjects> | |
*/ | |
/* INSTANCE */ | |
// 1. W/o default properties | |
var acc = new SObjectModel.Account(); |
This file contains hidden or 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
# /usr/local/vesta/data/templates/web/apache2/laravel.stpl | |
<VirtualHost %ip%:%web_ssl_port%> | |
ServerName %domain_idn% | |
%alias_string% | |
ServerAdmin %email% | |
DocumentRoot %sdocroot%/public/ | |
ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/ | |
Alias /vstats/ %home%/%user%/web/%domain%/stats/ |
This file contains hidden or 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
apex:page controller="SiteLoginController" id="loginComponent" showheader="false" standardStylesheets="false"> | |
<h1 style="color: gray"> Community Login </h1> | |
<apex:form id="loginForm" forceSSL="true"> | |
<apex:outputPanel layout="block"> | |
<apex:pageMessages id="error"/> | |
<apex:outputLabel value="{!$Label.site.username}" for="username"/> | |
<apex:inputText id="username" value="{!username}"/> |
This file contains hidden or 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
public class DeskSample | |
{ | |
private static String OAUTH_KEY = 'youroauthkey'; | |
private static String OAUTH_SECRET = 'youroauthsecret'; | |
private static String ACCESS_TOKEN = 'youraccesstoken'; | |
private static String ACCESS_TOKEN_SECRET = 'youraccesstokensecret'; | |
public static String DESK_SITENAME = 'yoursite'; | |
public static Void doRequest() |
This file contains hidden or 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
// | |
// Author : M Hamza Siddiqui | |
// Created Date : 9/14/2018 | |
// Description : Apex Trigger to move Attachment from Task to Parent Object Record (on the basis of WHATID i.e. RelatedTo) | |
// | |
// Initializing Trigger when any new attachment get inserted in SF | |
trigger AttachtoParent on Attachment (after insert) { | |
List<Attachment> Attachments = new list<Attachment>(); | |
// Looping thorugh the attachments | |
for (Attachment a : trigger.new){ |
This file contains hidden or 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
/* | |
* Name : CJA Create Order from Opportunity | |
* Description : This Trigger will create order from opportunity and also add opporutnity products data into the order ITEMS field. | |
* Date Created : 3/4/2019 | |
* Last Date Modified : 3/4/2019 | |
* | |
*/ | |
trigger CJACreateOrderFromOpportunity on Opportunity (after update) { | |
Map<Id, Opportunity> oppIdToObjMap = new Map<Id, Opportunity>(); |
This file contains hidden or 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
public class CJA_RMtoSFAccCntcts { | |
//First part | |
List<Roadmunk_User__c> allRMCntLst = new List<Roadmunk_User__c>(); | |
List<Roadmunk_Account__c> allRMAccLst = new List<Roadmunk_Account__c>(); | |
//Excluded domains set | |
Set<String> excludDomains = new Set<String>{'gmail.com','hotmail.com', 'yahoo.com'}; | |
List<Account> accToUpsert = new List<Account>(); |
This file contains hidden or 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
trigger BatchApexErrorTrigger on BatchApexErrorEvent (after insert) { | |
List<BatchLeadConvertErrors__c> List_LeadConvertError = new List<BatchLeadConvertErrors__c>(); | |
for(BatchApexErrorEvent event: trigger.new){ | |
BatchLeadConvertErrors__c lcerror = new BatchLeadConvertErrors__c(); | |
lcerror.AsyncApexJobId__c = event.AsyncApexJobId; | |
lcerror.Records__c = event.JobScope; | |
lcerror.StackTrace__c = event.StackTrace; | |
List_LeadConvertError.add(lcerror); |