$ ssh <mydomain.com>
$ dokku apps:create <app_name>
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import PlaygroundSupport | |
class MyViewController : UIViewController { | |
let titleLabel = UILabel() | |
let captionLabel = UILabel() | |
let coverImageView = UIImageView() | |
let backgroundImageView = UIImageView() |
export const client = new ApolloClient({ | |
link: ApolloLink.from([ | |
onError(({ graphQLErrors, networkError }) => { | |
if (graphQLErrors) { | |
graphQLErrors.map(({ message, locations, path }) => | |
console.log( | |
`[GraphQL error]: Message: ${message}, Location: ${locations}, Path: ${path}`, | |
), | |
); | |
} |
ExceptionsManager.js:73 Unhandled error GraphQL error: Unauthorized Error: GraphQL error: Unauthorized | |
at new ApolloError (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:95816:32) | |
at http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:96688:45 | |
at http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:97067:21 | |
at Array.forEach (native) | |
at http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:97066:20 | |
at Map.forEach (native) | |
at QueryManager.broadcastQueries (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:97062:26) | |
at Object.next (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:97102:35) | |
at SubscriptionObserver.next (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false:98761:22) |
# Update brew | |
brew update | |
# Need postgres | |
brew install postgresql | |
# Install elixir | |
brew install elixir | |
# Install hex package manager |
#Simple MongoDB Security Tutorial
###1 - Start mongod without any "security option"
$ mongod --port 27017
If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.
Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.
The simplest way to add an alias for a specific git command is to use a standard bash alias.
# .bashrc
People
![]() :bowtie: |
π :smile: |
π :laughing: |
---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |