This file contains 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
$ git log origin/master..origin/develop --oneline | grep "Merge pull request" | grep -v "from refuel4/master" | sed "s/.*from [^\/]*\//Branch: /g" | |
# Example output: | |
# Branch: fix/4031-batman-hits-a-car | |
# Branch: feature/3953-iron-man-works-hard | |
# Branch: fix/3995-global-warming | |
# Branch: feature/3953-deploy-rocket-to-mars | |
# Branch: fix/4024-deadpool-got-cancer |
This file contains 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
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/id_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/github_rsa | |
ssh-keygen -t rsa -b 4096 -N '' -C "[email protected]" -f ~/.ssh/mozilla_rsa |
This file contains 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
... | |
grunt.registerTask('serve', 'Compile then start a connect web server', function (target) { | |
if (target === 'dist') { | |
return grunt.task.run(['build', 'connect:dist:keepalive']); | |
} | |
grunt.task.run([ | |
'gitinfo', | |
'clean:server', | |
'ngconstant', |
This file contains 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
/** | |
* dynamically loading all stories with .stories.js extension | |
*/ | |
import { configure } from '@kadira/storybook'; | |
require('es6-promise').polyfill(); | |
import 'babel-polyfill'; | |
const stories = require.context('../app/js/components', true, /.stories.js$/); | |
function loadStories() { |
This file contains 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
/* CSS Helper ver 1.1.1 */ | |
/* FLEX from Google Polymer 0.5.2 */ | |
html | |
[layout] | |
&[horizontal], &[vertical] | |
display: -ms-flexbox | |
display: -webkit-flex | |
display: flex |
This file contains 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
.hide-axis-x | |
.nvd3 .nv-axis.nv-x path | |
opacity: 0 | |
.hide-axis-y | |
.nvd3 .nv-axis.nv-y path | |
opacity: 0 | |
.dashed-userInteractiveGuideLine | |
.nvd3 .nv-interactiveGuideLine .nv-guideline | |
stroke-dasharray: 5,3 |
This file contains 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
require 'net/http' | |
require 'json' | |
require 'uri' | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { | |
token: @token, |
This file contains 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
'use strict'; | |
/** | |
* @ngdoc service | |
* @name app.services.service:RestService | |
* | |
* @description | |
* The common service to quickly setup other services to expose a restful-like interface | |
* | |
* How to use in a factory |
This file contains 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 | |
[layout] | |
&[horizontal], &[vertical] | |
display: -ms-flexbox | |
display: -webkit-flex | |
display: flex | |
&[horizontal][inline], &[vertical][inline] | |
display: -ms-inline-flexbox | |
display: -webkit-inline-flex | |
display: inline-flex |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>My Rails App</title> | |
<%- if protect_against_forgery? -%> | |
<meta name="authenticity-token" id="authenticity-token" content="<%= form_authenticity_token %>" /> | |
<%- end -%> | |
<%= javascript_include_tag 'jquery', 'rails' %> | |
</head> | |
<body> |
NewerOlder