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 config --global alias.cleanb "! git checkout main && git branch --merged main | grep -v '^[ *]*main$' | xargs git branch -d" |
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
version: "2" | |
plugins: | |
duplication: | |
enabled: true | |
config: | |
languages: | |
javascript: | |
mass_threshold: 50 | |
eslint: | |
enabled: true |
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
version: "2" | |
plugins: | |
brakeman: | |
enabled: true | |
bundler-audit: | |
enabled: true | |
duplication: | |
enabled: true | |
config: | |
languages: |
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
{ | |
"minimum_frequency": 261.63, | |
"notes": [ | |
{ | |
"start": 0.0464399092971, | |
"name": "C4", | |
"frequency": 261.63, | |
"relative_frequency": 0, | |
"pitches": [ | |
{ |
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
import React, { AppRegistry, Component, View, Text } from 'react-native' | |
import { Provider, connect } from 'react-redux' | |
import { createStore, applyMiddleware, combineReducers } from 'redux' | |
import thunkMiddleware from 'redux-thunk' | |
import createLogger from 'redux-logger' | |
import { Router, Route } from 'react-native-router-flux' | |
// ACTIONS | |
const fetchTodos = () => { |
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
import React, { AppRegistry, Component, Navigator, View, Text, TouchableHighlight } from 'react-native' | |
import { Router, Route, Actions } from 'react-native-router-flux' | |
class First extends Component { | |
render() { | |
return ( | |
<View style={{flex: 1, alignItems: 'center', justifyContent: 'center'}}> | |
<Text>This is shown when not signed in</Text> | |
<TouchableHighlight onPress={Actions.second}> | |
<Text>Next</Text> |
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
import React, { AppRegistry, Component, Navigator, View, Text, TouchableHighlight } from 'react-native' | |
import { Router, Route, Actions } from 'react-native-router-flux' | |
class First extends Component { | |
render() { | |
return ( | |
<View style={{flex: 1, alignItems: 'center', justifyContent: 'center'}}> | |
<Text>This is shown when not signed in</Text> | |
<TouchableHighlight onPress={Actions.second}> | |
<Text>Next</Text> |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/Cellar/node/5.4.1/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli '--verbose', | |
1 verbose cli '--save', | |
1 verbose cli 'react-native' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose install initial load of /Users/danielweinmann/projects/AwesomeProject/package.json |
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
def pay | |
backer = Backer.find params[:backer_id] | |
current_user.update_attributes params[:user] | |
current_user.reload | |
payer = { | |
:nome => current_user.full_name, | |
:email => current_user.email, | |
:logradouro => current_user.address_street, | |
:numero => current_user.address_number, | |
:complemento => current_user.address_complement, |
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 'grit' | |
require 'fileutils' | |
# Define our paths. | |
# We're gonna have 3 paths: one original, one for the fork, and yet another one for the merge | |
root_path = "#{File.dirname(__FILE__)}/documents" | |
original_path = "#{root_path}/original_repo.git" | |
fork_path = "#{root_path}/fork_repo.git" | |
merge_path = "#{root_path}/merge_repo" |
NewerOlder