Email icons
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
package snippets.model; | |
public class Person { | |
private String id; | |
private String name; | |
private int age; | |
public Person(String id, String name, int age) { | |
this.id = id; |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "aws" | |
config.vm.synced_folder ".", "/vagrant", disabled: true | |
config.vm.provider :aws do |aws, override| | |
aws.access_key_id = ENV['AWS_ACCESS_KEY'] | |
aws.secret_access_key = ENV['AWS_SECRET_KEY'] |
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
package sumitramteke; | |
import java.io.File; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.regex.Pattern; | |
import java.util.stream.Stream; | |
public class ListOfMethod { |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
"time" | |
) | |
type HttpResp struct { | |
Id string |
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
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Users struct { | |
ID string | |
FirstName string |
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
var Person = function(firstName) { | |
this.firstName = firstName; | |
}; | |
Person.prototype.sayHello = function() { | |
console.log("Hello, I'm " + this.firstName); | |
}; | |
var person1 = new Person("Alice"); | |
var person2 = new Person("Bob"); |
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
function setCoordinates() { | |
var coordinateCell = "Q"; | |
var addressCell = "P"; | |
var companyCell = "A"; | |
var coordColNum = 16; | |
var addrColNum = 15; | |
var compColNum = 0; | |
// if true then it will replace coord with new values |
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
{ | |
"items": [ | |
{ | |
"tags": [ | |
"java", | |
"enums" | |
], | |
"owner": { | |
"reputation": 684, | |
"user_id": 1831052, |
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
Vagrant.configure("2") do |config| | |
# instance identifier for future use | |
config.vm.box = "vanilaUbuntux64" | |
# preconfigured Vagrant box, later just use only vanilaUbuntux64 | |
# size is 447 MB | |
config.vm.box_url = "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box" | |
# shared folder for whithin local system and VM | |
config.vm.synced_folder "./app" , "/rezoomex", create:true | |
# static IP for machine | |
config.vm.network :private_network, ip: "192.168.2.25" |
NewerOlder