Sort access by Response Codes
cat access.log | cut -d '"' -f3 | cut -d ' ' -f2 | sort | uniq -c | sort -rn
awk '{print $9}' access.log | sort | uniq -c | sort -rn
| {{> UI.ContentBlock }} |
| /** | |
| Snippets showing how to configure Apollo with Meteor in two different ways: | |
| 1 - Using DDP (websocket connection) | |
| 2 - Using HTTP (post requests) | |
| I'm using a regular HTTP post approach when isAPIModule() returns true | |
| and DDP approach when returns false. I control isAPIModule changing | |
| a setting in the deployment settings.json | |
| That is not necessary for almost every application but in my case I have |
| Session.set('modalData', {template: "modal-backups", title: "Backup", files: [{name: "blah", date: new Date()}]}); | |
| $('#myModal').modal(); |
| export const timezones = [ | |
| { | |
| id: 1, | |
| label_text: '(GMT-12:00) International Date Line West', | |
| muted_text: '', | |
| daylight_saving: 0, | |
| value: '-12', | |
| active: true, | |
| }, | |
| { |
| /** | |
| * Clozer's Javascript linting configuration | |
| * | |
| * Documentation on rules can be found at: | |
| * http://eslint.org/docs/rules/ <- Optionally append the rule name | |
| */ | |
| { | |
| 'parser': 'babel-eslint', | |
| 'parserOptions': { | |
| 'allowImportExportEverywhere': true |
| //server/main.js | |
| import { Meteor } from 'meteor/meteor'; | |
| import express from 'express'; | |
| const app = express(); | |
| app.get('/api', (req, res) => { | |
| res.status(200).json({ message: 'Hello World!!!'}); | |
| }); |
| #!/usr/bin/env bash | |
| git branch -r | grep -v '\->' | grep -v 'master' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done |
Sort access by Response Codes
cat access.log | cut -d '"' -f3 | cut -d ' ' -f2 | sort | uniq -c | sort -rn
awk '{print $9}' access.log | sort | uniq -c | sort -rn
| import fs from 'fs'; | |
| import Grid from 'gridfs-stream'; | |
| import { MongoInternals } from 'meteor/mongo'; | |
| //collections | |
| import { Images } from '/imports/api/collections/Images/Images.js'; | |
| import { ImagesV2 } from '/imports/api/collections/Images/ImagesV2.js'; | |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |