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
| package main | |
| import ( | |
| "log" | |
| "io/ioutil" | |
| "path/filepath" | |
| "time" | |
| "github.com/decred/dcrd/dcrutil" | |
| "github.com/decred/dcrd/rpcclient" |
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
| ERROR in ./src/components/App.js | |
| Module not found: Error: Can't resolve 'classnames' in '/Users/fguisso/Documents/Github/front-myaccount/src/components' | |
| @ ./src/components/App.js 51:18-39 | |
| @ ./src/routes.js | |
| @ ./src/client.js | |
| @ multi (webpack)-dev-server/client?http://localhost:8000 webpack/hot/dev-server webpack-dev-server/client?http://0.0.0.0:8000/ webpack/hot/only-dev-server react-hot-loader/patch ./client.js | |
| ERROR in ./src/components/common/header/HeaderComponent.jsx | |
| Module not found: Error: Can't resolve 'classnames' in '/Users/fguisso/Documents/Github/front-myaccount/src/components/common/header' | |
| @ ./src/components/common/header/HeaderComponent.jsx 95:18-39 |
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 express = require('express'); | |
| var test = express(); | |
| var port = process.env.PORT || 8080; | |
| //routes | |
| test.get('/api/users', function(req, res){ | |
| var user_id = req.param('id'); | |
| var token = req.param('token'); | |
| var geo = req.param('geo'); |
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
| version: 2 | |
| jobs: | |
| build: | |
| working_directory: ~/dev | |
| docker: | |
| - image: circleci/node:latest | |
| steps: | |
| - checkout | |
| - run: | |
| name: update-npm |
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
Show hidden characters
| { | |
| "bootstrapped": true, | |
| "in_process_packages": | |
| [ | |
| ], | |
| "installed_packages": | |
| [ | |
| "EditorConfig", | |
| "HTML5", | |
| "Insert Nums", |
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
| function fixdata (data) { | |
| let o = '' | |
| let l = 0 | |
| const w = 10240 | |
| for (; l < data.byteLength / w; ++l) o += String.fromCharCode.apply(null, new Uint8Array(data.slice(l * w, l * w + w))) | |
| o += String.fromCharCode.apply(null, new Uint8Array(data.slice(l * w))) | |
| return o | |
| } |
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
| # ZSH Theme, bira custom, add node version by fernandoguisso | |
| # Bira Preview: http://gyazo.com/8becc8a7ed5ab54a0262a470555c3eed.png | |
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
| if [[ $UID -eq 0 ]]; then | |
| local user_host='%{$terminfo[bold]$fg[red]%}%n@%m%{$reset_color%}' | |
| local user_symbol='#' | |
| else | |
| local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}' |
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
| FROM node:alpine | |
| RUN mkdir -p /usr/src/app | |
| WORKDIR /usr/src/app | |
| COPY . /usr/src/app/ | |
| RUN npm install | |
| EXPOSE 8080 | |
| CMD [ "npm", "start" ] |