Command | Info |
---|---|
\a |
Toggle aligned/unaligned rows (default aligned) |
\x |
Toggle expanded output (default off) |
\H |
Toggle html output (default off) |
\t |
Show only rows (default off) |
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
[{ | |
"username": "mewtwo23", | |
"message": "ouais et toi ?", | |
"avatarUrl": "https://cdn.joinbits.video/916e9b69-449c-4d86-b3e3-8314ff388a5e.png", | |
"createdAt": "2021-11-22 17:59:15.15228" | |
}, | |
{ | |
"username": "lucky_collect", | |
"message": "hello mewtwo23, ça va ?", | |
"avatarUrl": "https://cdn.joinbits.video/38564f1a-46f9-457e-98c2-474c30817f5b.png", |
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
#logging | |
logoutput: /var/log/sockd.log | |
#debug: 1 | |
#server address specification | |
internal: 192.0.2.1 port = 1080 | |
external: eth1 | |
#server identities (not needed on solaris) | |
#user.privileged: root |
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
const fs = require('fs') | |
const path = require('path') | |
const mongoose = require('mongoose') | |
const basename = path.basename(module.filename) | |
const db = {} | |
mongoose.connect(process.env.MONGODB_URI) | |
fs |
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 ! command -v brew $> /dev/null ; then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
else | |
echo "Brew already installed." | |
fi | |
function brewInstall() { | |
if command -v $1 $> /dev/null ; then | |
echo "$1 Already installed." | |
return 1 |
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
set encoding=utf-8 | |
set number | |
set ruler | |
syntax on | |
set smartindent | |
set autoindent | |
set cindent | |
set mouse=a | |
set t_Co=256 | |
set autoread |
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
'use strict'; | |
import Ember from 'ember'; | |
import SmartViewMixin from 'client/mixins/smart-view-mixin'; | |
export default Ember.Component.extend(SmartViewMixin.default, { | |
conversations: function () { | |
this.set('currentConversation', this.get('records.firstObject')); | |
this.set('currentConversation', this.get('records.firstObject')); | |
return this.get('records'); | |
}.property('records'), |
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
'use strict'; | |
import Ember from 'ember'; | |
import config from '../config/environment'; | |
export default { | |
name: 'bugsnag', | |
initialize: function(appInstance) { | |
const appController = appInstance.lookup('controller:application'); |
I hereby claim:
- I am lucasscariot on github.
- I am lucasscariot (https://keybase.io/lucasscariot) on keybase.
- I have a public key ASB4IglRJ2dZ1LYgSsIkgRS6hQdRivflUbJMFsU5cPJdTwo
To claim this, I am signing this object:
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
/* | |
* Migration | |
*/ | |
'use strict'; | |
module.exports = { | |
up: function(queryInterface, Sequelize) { | |
return queryInterface.createTable('Users', { | |
firstName: { | |
type: Sequelize.STRING | |
}, |
NewerOlder