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
acpi | |
adobe-source-code-pro-fonts | |
alsa-firmware | |
alsa-plugins | |
alsa-utils | |
apvlv | |
arandr | |
autoconf | |
automake | |
banner |
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
this |
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 BenchmarksChart { | |
constructor(type, data) { | |
this.type = type; | |
this.data = data; | |
this.chart = new Chartist.Bar(".ct-${this.type}-chart", this.data, this._options) | |
this.chart.on("draw", function(data) { | |
if(data.type === "bar") { | |
let barWidth = 40; |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2 | |
mQINBFcEF7MBEADHMrqUdUh7ANHVH1UPgoxdkhgktsK+axwEUo9O+x21CMl0v1Dc | |
jE85rXJaIATmyl5MKDMVbTn1xNWLGQt0op/Yh+NB0ahxkLLZ4Qn7iktRoWxvcrJm | |
jLuw01k4eWAz/C3FxUx2xM4mvnw4uv71OP1z3KZK/1BETUsOKjf6auEkRFz0hVpX | |
ALqnVvo5MTsNmxCfXILVOtmkVAoyuoRt1gWB5SXWvMHg1fedqUZGrle1qtskukiD | |
iwDcXNI9lUOjoWoDuObjs97CYcLQLosQENtzg7qNqDaQdsjrK5zhx3wyR/H7E2E/ | |
GP+kDjXeAverMdmBMMCRpsYNPXt4juUa0JnEbJ1ElJVMmxeBdvc0gUnW9TmCdeGk | |
SkLBWHCesECST4wER+H+EwVfjOCsjJClvi8As9VDzj4sy/wR2AOrdvHGwHqJCMLw |
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
# set gitconfig.local keys and define gpair() and gsolo() | |
gh_name=("${(s/ /)$(echo `git config user.name`)}") | |
gh_email=("${(s/@/)$(echo `git config user.email`)}") | |
gh_co_domain=$(echo `git config company.domain`) | |
# set the company email domain name in gitconfig.local, only do this once | |
if [[ $gh_co_domain == "" ]]; then | |
echo "\nPlease enter your company email domain name: [thoughtbot.com] " | |
read co_domain |
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
# set gitconfig.local keys and define gpair() and gsolo() | |
gh_name=("${(s/ /)$(echo `git config user.name`)}") | |
gh_email=("${(s/@/)$(echo `git config user.email`)}") | |
gh_co_domain=$(echo `git config company.domain`) | |
# set the company email domain name in gitconfig.local, only do this once | |
if [[ $gh_co_domain == "" ]]; then | |
echo "\nPlease enter your company email domain name: [thoughtbot.com] " | |
read co_domain |
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 _ = require('lodash'), | |
concat = require('gulp-concat'), | |
debug = require('gulp-debug'), | |
gulp = require('gulp'), | |
ignore = require('gulp-ignore'), | |
jshint = require('gulp-jshint'), | |
karma = require('karma').server, | |
htmlmin = require('gulp-htmlmin'), | |
includeSource = require('gulp-include-source'), | |
minifyCss = require('gulp-minify-css'), |
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
describe "User views settings for a form", -> | |
it "they export the form to JSON", -> | |
create('form').then (form) -> | |
visit("/f/#{form.get("id")}/edit").then -> | |
click(".ember-view a:contains('Export')").then -> | |
click(".button.export-to-json").then -> | |
expectedURL = "/f/#{form.get("id")}.json" | |
expect(currentURL()).to.equal(expectedURL, "expected #{currentURL()} to equal #{expectedURL}") |
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 SessionsController < ApplicationController | |
skip_before_action :require_login, only: [:new, :create] | |
def new | |
end | |
def create | |
@user = authenticate_session(session_params, email_or_username: [:email, :username]) | |
if sign_in(@user) |