Skip to content

Instantly share code, notes, and snippets.

View edlvj's full-sized avatar
💭
👨‍💼

Eduard Horiach edlvj

💭
👨‍💼
View GitHub Profile
@btroncone
btroncone / todo-item.ts
Last active February 20, 2019 19:48
Ng2 Observable Todo-Service
import {Component, Input, Output, EventEmitter} from "angular2/core";
import {Todo} from "../services/Todo-Service";
@Component({
selector: 'todo-item',
styles: [
`
.complete{
text-decoration: line-through;
}
@roman01la
roman01la / nginx.conf
Last active May 18, 2019 07:00
Node.js Express Nginx
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://127.0.0.1:3000;
}
location ~ ^/(images/|scripts/|styles/|robots.txt|humans.txt|favicon.ico) {
root /your/app/public/folder;
@shicholas
shicholas / funding.js
Created July 5, 2013 21:36
Gon and AngularJS in a Rails 4 App
// app/assets/javascripts/controllers/funding.js
var FundingCtrl = ['$scope', function($scope) {
$scope.funding = gon.funding;
}
];
@steveclarke
steveclarke / capybara.md
Created April 10, 2012 17:32
RSpec Matchers

Capybara

save_and_open_page

Matchers

have_button(locator)