- 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.
/** | |
* Used to read a delimited file. | |
*/ | |
public class SSSCsvReader { | |
private String delim = ','; | |
// the input data | |
private String[] buffer; | |
public SSSCsvReader(String data){ | |
this.buffer = data.split('\n'); |
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() |
<!-- TODO: Review Ant v1.8 local properties --> | |
<project xmlns:sf="antlib:com.salesforce"> | |
<!-- Download from Salesforce Tools page under Setup --> | |
<typedef | |
uri="antlib:com.salesforce" | |
resource="com/salesforce/antlib.xml" | |
classpath="${basedir}/lib/ant-salesforce.jar"/> | |
<!-- Download from http://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ --> |
//for loop to find Opportunity Stages that are Closed and Won | |
for(OpportunityStage oppstage : oppstages){ | |
if(oppstage.IsClosed == True && oppstage.IsWon == True){ | |
wonstages.add(oppstage.MasterLabel); | |
} | |
} | |
Integer currentFY; | |
Integer currentFYMonth; | |
Integer CurrentFYDays; | |
Date today; |
//oauth2 auth | |
chrome.identity.getAuthToken( | |
{'interactive': true}, | |
function(){ | |
//load Google's javascript client libraries | |
window.gapi_onload = authorize; | |
loadScript('https://apis.google.com/js/client.js'); | |
} | |
); |
public class AutocompleteController { | |
@AuraEnabled | |
public static List<sObject> getSuggestions(String sObjectType, String term, String fieldsToGet, Integer limitSize) { | |
// could add in logic to remove possible duplicate fields | |
String fields = fieldsToGet.length() > 0 ? ',' + fieldsToGet : ''; | |
String soql = | |
' SELECT Name, Id ' + String.escapeSingleQuotes(fields) + | |
' FROM ' + String.escapeSingleQuotes(sObjectType) + | |
' WHERE Name Like \'' + String.escapeSingleQuotes(term) + '%\'' + |
If you have multiple applications on Heroku and would like to use a single Logentries account for all of them, this is how you do it. Basically, do not use add-ons, and send all drains to your account.
- In your Logentries account, click on
Add Log
- Select
Manual
- In the form that appears, input the following:
- Log Name:
access.log
- Select Set:
new
set namedmyapp-{environment}
, for instancemyapp-staging
(at least, this is how I like to name my entries) - Select the
Plain TCP, UDP - logs are sent via syslog
option
- Log Name:
- Click on
Create Log Token
This gist was essentially created out of my own rant about Netflix being hostile to IPv6 tunnel services since June 2016. You are welcome to read my opinion on the matter, this is the more technical side to the issue and how to combat it within your own network.
Since I wrote this, various GitHub users have contributed their thoughts and ideas which has been incorporated into this gist. Thank you to everyone who have contributed their own methods and implementations.
Netflix now treats IPv6 tunnel brokers (such as Hurricane Electric) as proxy servers. A while ago it became apparent to users and Netflix that somewhat by accident, IPv6 tunnel users were being served content outside of their geolocation because of the way Netflix was identifyi
#! /bin/bash | |
# | |
# Requires jq - see https://stedolan.github.io/jq/ | |
# | |
# Assumes that the following env vars are set: | |
# | |
# CLIENT_ID - the client ID for your OAuth 2 app | |
# JWT_KEY_FILE - path to the private key for creating a JWT | |
# HUB_USERNAME - authentication username |