-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.notes
60 lines (60 loc) · 3.94 KB
/
.notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
git config --global credential.helper 'cache --timeout=1200'
git commit --amend --author="Elmeri Niemelä <elmeri.niemela@sprintit.fi>"
git add .; git reset .gitmodules
echo "IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
git submodule add -b 12.0 https://bitbucket.org/sprintit/finvoice.git
sudo pyflame -s 10 -r 0.01 -p 8588 | flamegraph.pl > myprofile.svg
javac -encoding ISO-8859-1 -cp 'src/main/java/:src/main/resources' src/main/java/org/verohallinto/apitamoclient/ApitamoClientCli.java
python odoo-bin -d db_12 -u sprintit_download_bank_statements --test-enable --stop-after-init
git reset --hard origin/<branch>
git checkout HEAD -- my-file.txt
find . -iname __manifest__.py -exec rename 's/__manifest__.py/__openerp__.py/' '{}' \;
chown -R odoo: /opt/odoo/addons
DELETE FROM ir_ui_view WHERE arch_db LIKE '%is_company_account%' AND model='res.partner.bank';
git submodule foreach git checkout 12.0; git submodule foreach git pull
find -type l -delete
odoo -d db_12 -u sprintit_expense_payment_orders --i18n-overwrite
ls | python -c "import sys;print(sys.stdin.read().split('\n')[:-1])"
diff <(ls -1a /opt/odoo/ansible_test/) <(ls -1a /opt/odoo/addons/sprintit/)
find . -name "*.pyc" -exec rm -f {} \;
gcc -g -Wall -std=c99 -o test source.c
bash <(curl -s https://raw.githubusercontent.com/elmeriniemela/bootstrap-linux/master/https_origin.sh)
sudo dd bs=4M if=ubuntu-18.04.2-live-server-amd64.iso of=/dev/sdb status=progress
git -c user.email="niemela.elmeri@gmail.com" -c user.name="Elmeri Niemelä" commit -m "Inital Commit"
set tabstop=4 shiftwidth=4 expandtab
df <--lists all devises
:w !sudo tee % <-- saving file as root
valgrind --leak-check=full --track-origins=yes ./test
watch -n 1 free -h
git diff --name-only | grep migrations | xargs git checkout
find /etc/nginx/sites-enabled/ \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/thecodebase\.site-/wildcard\.thecodebase\.site-/g'
find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i '/@api.multi/d'
git submodule foreach 'npm install || :'
git reset --soft HEAD^
createdb tarfi
pg_restore -d tarfi tarfi_2019-09-05_13-05-50.dump
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c32;echo;
rsync -avz --progress --stats /media/elmeri/T5-SSD/bachelor/ /home/elmeri/Code/personal/python/bachelor
ls -l | awk '{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/) *2^(8-i));if(k)printf("%0o ",k);print}'
git push --force-with-lease
echo "from odoo.addons.safe_test_databases.controllers.main import try_cleaning_tables;try_cleaning_tables('karto')" | odoo shell
curl --data '{}' -X POST http://127.0.0.1:8069/web/ansible/end --header "Content-Type:application/json"
git subtree pull --prefix=jsonrpc_server git@github.com:elmeriniemela/jsonrpc_server.git forking
rsync -avz /home/elmeri/Code/work/odoo/11/sprintit_addons/sprintit_ansible_connector/jsonrpc_server/ /home/elmeri/Code/personal/jsonrpc_server
inxi -G
git config --global credential.helper store
sudo -u www-data php /opt/website/nextcloud/occ files:scan elmeri -vvv
g++ -std=c++11 -Wall -Wextra -Wshadow -fsanitize=undefined -O2
sed -i 's/\/opt\/odoo/\/opt\/test-odoo/g' odoo-server-test.conf
git filter-branch --index-filter 'git rm --cached --ignore-unmatch -rf l10n_fi_reports_enterprise sprintit_account_financial_report_modifications' --prune-empty -f HEAD
rsync -avzz uusioaines.sprintit.fi:/opt/odoo/addons/sprintit/* .
rsync -avz -e "ssh -p 30333" odoo@sunhouse.sprintit.fi:/opt/odoo/.local/share/Odoo/filestore/sunhouse/* /opt/odoo/.local/share/Odoo/filestore/sunhouse13e-test/
xinput set-int-prop "Synaptics TM3276-022" 311 8 1
strace -p21270 -s9999 -e write
GIT_MERGE_AUTOEDIT=no bash -c 'git submodule foreach "git merge origin/13.0 || :"'
docker images | grep "<none>" | awk '{print $3}' | xargs docker image rm -f
pg_dump --no-owner --format=d --jobs=4 --file 11.dump 11
syncronized = syncronization of execution time and mutually excluded data access
git rebase --interactive HEAD~2
pip install pyopenssl==22.1.0
find . -type f -exec dos2unix {} \;