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
| <html> | |
| <body> | |
| <script> | |
| window.fbAsyncInit = function() { | |
| FB.init({ | |
| appId : 'lalalalalala', | |
| xfbml : true, | |
| version : 'v2.5' | |
| }); |
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
| disable_ec2_metadata: True | |
| datasource_list: [ "ConfigDrive", "None"] | |
| datasource: | |
| None: | |
| userdata_raw: | | |
| #!/bin/bash | |
| groupadd vagrant | |
| useradd -d /home/vagrant -s /bin/bash -m -g vagrant -G wheel vagrant | |
| echo "root:vagrant" | chpasswd |
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
| proxy_cache_path /usr/local/Cellar/nginx-full/1.8.0/cache levels=1 keys_zone=STATIC:50m inactive=200d max_size=12g; | |
| server { | |
| listen 8080 default_server; | |
| server_name localhost _; | |
| root /usr/local/var/www; | |
| # location /content/dist/r:hel/server/7/7Server/x86_64/ { | |
| # proxy_cache STATIC; |
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
| class Test { | |
| private static int hello = 1; | |
| public static void main(String[] args) { | |
| System.out.println(hello); // prints 1 | |
| int hello = 2; | |
| System.out.println(hello); // prints 2 | |
| } | |
| } | |
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
| class Main { | |
| public static void main(String[] args) { | |
| final int MAXRANDOM = 130; | |
| int[] arrayToBeSorted = new int[1000]; | |
| fillArrayWithRandomIntegers(arrayToBeSorted, MAXRANDOM); | |
| int[] arrayToBeSortedWithMergeSort = new int[1000]; | |
| System.arraycopy(arrayToBeSorted, 0, arrayToBeSortedWithMergeSort, 0, arrayToBeSorted.length); |
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
| ERROR [c.c.v.VirtualMachineManagerImpl] (Work-Job-Executor-3:ctx-b08e5308 job-12/job-13 ctx-fe905c59) Failed to start instance VM[User|i-2-3-VM] | |
| java.lang.NumberFormatException: For input string: "Mon" | |
| at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) | |
| at java.lang.Long.parseLong(Long.java:441) | |
| at java.lang.Long.parseLong(Long.java:483) | |
| at com.cloud.maint.Version.compare(Version.java:36) | |
| at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.checkRouterVersion(VirtualNetworkApplianceManagerImpl.java:4390) | |
| at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.sendCommandsToRouter(VirtualNetworkApplianceManagerImpl.java:3752) | |
| at com.cloud.network.router.VirtualNetworkApplianceManagerImpl$7.execute(VirtualNetworkApplianceManagerImpl.java:3175) | |
| at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:4038) |
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
| { | |
| "description": "This box is a Xenserver 6.2 installation.\r\n\r\nThe packer files can be found at https://github.com/imduffy15/packer-xenserver", | |
| "short_description": "Xenserver 6.2", | |
| "name": "duffy/xenserver", | |
| "versions": [ | |
| { | |
| "version": "0.0.3", | |
| "status": "active", | |
| "description_html": "<p>Add SP1</p>\n", | |
| "description_markdown": "Add SP1", |
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
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:context="http://www.springframework.org/schema/context" | |
| xmlns:aop="http://www.springframework.org/schema/aop" | |
| xmlns:util="http://www.springframework.org/schema/util" | |
| xsi:schemaLocation="http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
| http://www.springframework.org/schema/aop | |
| http://www.springframework.org/schema/aop/spring-aop-3.0.xsd |
As part of Google Summer of Code 2014 (GSoC) I worked with Apache Cloudstack. The project revolved around automating different environments to ease development, testing and production installation.
During the period I was exposed to many different technologies including:
- Chef: Configuration management tool.
- Packer: Open Source tool for creating identical machine images from a single source configuration.
- XenServer: Hypervisor that is supported by Apache Cloudstack.
- Vagrant: Wrapper around VirtualBox and Configuration management utilities.