- From https://bugs.launchpad.net/openobject-server/+bug/908069:
ALTER TABLE ir_model_fields ADD column serialization_field_id int references ir_model_fields on delete cascade;
Copy custom modules to addons directory
- account_easy_bank_reconcile
This file contains hidden or 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
| *.obj | |
| *.sym |
This file contains hidden or 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
| ;MOLLY MCCREARY | |
| ;mm57298 | |
| ;Programming Assignment 2 | |
| ;The program should sort a 15 number array from smallest to largest | |
| ;Then, report the range and median | |
| .ORIG x3000 | |
| LEA R0, Arr ;Load address of Arr into r0 | |
| LD R1, N ;load N==15 into r1, the length of Arr | |
| OUTER BRz DONE ;if r1=0, then go to DONE |
This file contains hidden or 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
| .ORIG x3000 | |
| ; load the number to be rotated left into R0 | |
| LDI R0, NUM | |
| ; load how many times to rotate left into R1 | |
| LDI R1, TIMES | |
| ; If R1 == 0, done | |
| BRz DONE | |
| LOOP: | |
| ; Copy R0 to R2 (Shouldn't there be an easier way to load R0 into R2?) | |
| ADD R2, R0, #0 |
This file contains hidden or 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
| import os | |
| import shutil | |
| import sys | |
| import argparse | |
| def split_path(path): | |
| folders=[] | |
| while 1: | |
| path,folder=os.path.split(path) | |
This file contains hidden or 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
| for file in SCF_Leg_17450_Lower_* ; do mv "${file}" "${file/SCF_Leg_17450_Lower/SCF_Leg_17282}" ; done |
This file contains hidden or 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
| import ctypes | |
| import re | |
| def ValidHandle(value): | |
| if value == 0: | |
| raise ctypes.WinError() | |
| return value | |
| NULL = 0 | |
| HDEVINFO = ctypes.c_int |
This file contains hidden or 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
| #!/usr/bin/env python | |
| import gevent.monkey | |
| gevent.monkey.patch_all() | |
| import boto | |
| import config | |
| import gevent | |
| import gevent.pool | |
| import os |
This file contains hidden or 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
| import os | |
| import shutil | |
| import sys | |
| import argparse | |
| def split_path(path): | |
| folders=[] | |
| while 1: | |
| path,folder=os.path.split(path) | |
This file contains hidden or 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
| import numpy as NP | |
| import math | |
| def isclose(x, y, rtol=1.e-5, atol=1.e-8): | |
| return abs(x-y) <= atol + rtol * abs(y) | |
| def euler_angles_from_rotation_matrix(R): | |
| ''' | |
| From a paper by Gregory G. Slabaugh (undated), | |
| "Computing Euler angles from a rotation matrix |