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
Traceback (most recent call last): | |
File "F:/_Projects/crossingguard_api2/development/_tmp/test.py", line 36, in <module> | |
s.save() | |
File "F:\_Projects\crossingguard_api2\development\models\school.py", line 481, in save | |
return super(Shift, self).save(*args, **kwargs) | |
File "F:\_Projects\crossingguard_api2\development\mongoengine\document.py", line 377, in save | |
signals.post_save.send(self.__class__, document=self, created=created) | |
File "C:\Programming\Python278\virtual\NeetCity\lib\site-packages\blinker\base.py", line 267, in send | |
for receiver in self.receivers_for(sender)] | |
File "F:\_Projects\crossingguard_api2\development\mongoengine\fields.py", line 1047, in on_document_pre_save |
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
{ | |
"detail": "Unfortunately, there are some problems with the data you committed", | |
"data": { | |
"username": [ | |
"This username is already being used, pls select another one" | |
], | |
"email": [ | |
"This email is already being used. You can reset your password using password reset functionality" | |
] | |
} |
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
/* | |
* NOTE: | |
* - The use of browser-specific styles (-moz-, -webkit-) should be avoided. | |
* If used, they may not render correctly for people reading the email in | |
* a different browser than the one from which the email was sent. | |
* - The use of state-dependent styles (like a:hover) don't work because they | |
* don't match at the time the styles are made explicit. (In email, styles | |
* must be explicitly applied to all elements -- stylesheets get stripped.) | |
*/ |
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
var person = { | |
age: 0, | |
sex: "M", | |
year: 2015, | |
sibling: undefined, | |
married: false, | |
details: function() { | |
console.log(this.age, this.sex, this.year); | |
}, |
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
var person = { | |
age: 0, | |
sex: "M", | |
year: 2015, | |
sibling: undefined, | |
married: false, | |
details: function() { | |
console.log(this.age, this.sex, this.year); | |
}, | |
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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 18, | |
// font family with optional fallbacks | |
fontFamily: 'Hack, Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.8)', |
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
[Unit] | |
Description=supervisord - Supervisor process control system for UNIX | |
Documentation=http://supervisord.org | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/usr/bin/supervisord -c /etc/supervisor.d/supervisord.conf | |
ExecReload=/usr/bin/supervisorctl reload | |
ExecStop=/usr/bin/supervisorctl shutdown |
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
# The following lines were added by compinstall | |
export TERM="xterm-256color" | |
zstyle :compinstall filename '/home/dmitry/.zshrc' | |
autoload -Uz compinit | |
compinit | |
# End of lines added by compinstall | |
# Lines configured by zsh-newuser-install | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 |
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
# VIM replacement with CLIPBOARD support | |
alias rm='rm -i' | |
alias rm~='find . -iname "*~" -type f | xargs rm -f' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
alias of='xdg-open .' | |
alias dropbox='~/.dropbox-dist/dropboxd' | |
alias nas='sudo mount -t cifs -o rw,user=admin //192.168.0.49/Volume_1/ /mnt/nas' |
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
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
export PATH=$PATH:/usr/local/bin | |
export JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk/ | |
source ~devops/.aliases | |
setopt appendhistory autocd extendedglob notify | |
export EDITOR=vim | |
export CHEATCOLORS=true | |
[ -f ~devops/.fzf.zsh ] && source ~devops/.fzf.zsh |
OlderNewer