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
final _credentials = new ServiceAccountCredentials.fromJson(r''' | |
{ | |
"private_key_id": "***", | |
"private_key": "***", | |
"client_email": "***", | |
"client_id": "***", | |
"type": "***" | |
} | |
'''); |
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 'package:cloud_firestore/cloud_firestore.dart'; | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:firebase_database/firebase_database.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:rxdart/rxdart.dart'; | |
import 'dart:async'; | |
void main() { |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<gpx> | |
<!--Created from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreLocation.framework/Support/SimulationScenarios/City Run.plist--> | |
<trk> | |
<trkseg> | |
<trkpt lat="37.33182081" lon="-122.03038642"></trkpt> | |
<trkpt lat="37.33181965" lon="-122.03043332"></trkpt> | |
<trkpt lat="37.33181512" lon="-122.03048154"></trkpt> | |
<trkpt lat="37.33180957" lon="-122.03053391"></trkpt> | |
<trkpt lat="37.33180031" lon="-122.03058102"></trkpt> |
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
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home | |
export ANDROID_HOME="$HOME/Library/Android/sdk" | |
export ANDROID_HOME_PLATFORM_TOOLS="$ANDROID_HOME/platform-tools" | |
export FASTLANE_HOME="$HOME/.fastlane/bin" |
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
[user] | |
name = Alex Korovyansky | |
email = alexkorovyansky@gmail.com | |
[core] | |
excludesfile = /Users/akorovyansky/.gitignore_global | |
editor = mcedit | |
autocrlf = input | |
[push] |
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
.DS_Store | |
/local.properties | |
# IDEA/Android Studio project files, because | |
# the project can be imported from settings.gradle | |
.idea | |
*.iml | |
# Old-style IDEA project files | |
*.ipr |
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
String.prototype.startsWith=function(str){return this.indexOf(str) == 0;} | |
String.prototype.trim=function(){return this.replace(/^\s\s*/, '').replace(/\s\s*$/, '');}; | |
var tag = "devfest14_registration"; | |
var spreadSheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var metaSheetResponses = makeMetaSheet(spreadSheet.getSheetByName("Responses"), 2, 0); | |
var metaRowFlatRange = metaSheetResponses.getMetaRowFlatRange(1); | |
var emailPositionInDataRange = metaRowFlatRange.positionOf("EMAIL^"); | |
var invitationCodePositionInRange = metaRowFlatRange.positionOf("MERGE_INVCODE^"); | |
var invitationCodeStatusPositionInRange = metaRowFlatRange.positionOf("MERGE_INVSTAT"); | |
var responseStatusPositionInRange = metaRowFlatRange.positionOf(":STATUS"); |
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
Rename branch: | |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote | |
// To be continued |
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
... | |
NewRelic.withApplicationToken(getString(R.string.my_new_relic_application_token).start(this); | |
... |
NewerOlder