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
/** @odoo-module **/ | |
import ChartWidget from "@website/snippets/s_chart/000"; | |
import publicWidget from "@web/legacy/js/public/public_widget"; | |
const FopChartGraph = publicWidget.registry.chart.extend({ | |
init() { | |
this.rpc = this.bindService("rpc"); | |
this._super.apply(this, arguments); |
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
call plug#begin('~/.local/share/nvim/plugged') | |
Plug 'davidhalter/jedi-vim' | |
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
Plug 'zchee/deoplete-jedi' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'jiangmiao/auto-pairs' | |
Plug 'scrooloose/nerdcommenter' | |
Plug 'sbdchd/neoformat' |
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
class F_Exception(ExceptionBase): | |
pass | |
class A_Exception(ExceptionBase): | |
pass | |
class B_Exception(ExceptionBase): | |
pass | |
def f(): |
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
def StatefulFunction(app, responseTopic): | |
connections = {} | |
@app.route('/<path:uri>') | |
def route(uri): | |
topic_request = Convert(request) | |
connection.push(topic_request) | |
connection.wait() | |
return connection.result |
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
#!/bin/bash | |
# | |
# This BASH script keep only one directory of many in the repository | |
# | |
# | |
# Usage: | |
# | |
# gitkeep [directory] | |
# | |
# Create one directory [directory] in the parent directory containing |
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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: odoo-server | |
# Required-Start: postgresql $remote_fs $syslog | |
# Required-Stop: postgresql $remote_fs $syslog | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Enterprise Resource Management software |
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
SUBSYSTEM=="usb", ATTR{idVendor}=="04b8", MODE="0664", GROUP="lp" |
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
server { | |
listen 80; | |
rewrite ^(.*)$ https://$host$1 last; | |
} | |
server { | |
listen 443; | |
ssl on; | |
ssl_certificate /etc/ssl/host.crt; |
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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: openerp-server | |
# Required-Start: postgresql $remote_fs $syslog | |
# Required-Stop: postgresql $remote_fs $syslog | |
# Should-Start: $network | |
# Should-Stop: $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 |
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
sources: | |
dir: '{root}/sources' | |
repos: | |
odoo: | |
url: https://github.com/odoo/odoo.git | |
branch: 9.0 | |
method: setup | |
addons: | |
config: '__openerp__.py' | |
reports: |
NewerOlder