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
void configInt(int gma, int sb){ | |
extern int Coefs[NUM_BANDAS][NUM_COEFS]; | |
if(sb==1){Coefs[gma][5]+=10;} | |
else if(sb==0){Coefs[gma][5]-=10;} | |
} |
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
sdf |
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
//In order for this to work, the Document type needs to have a link_title field | |
frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({ | |
set_input: function(value) { | |
console.log("set_input") | |
this.value = value; | |
this.$input && this.$input.val(this.format_for_input(value)); | |
this.set_disp_area(); | |
this.last_value = value; | |
this.set_mandatory && this.set_mandatory(value); |
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
{ | |
"uuid":"b6db8bd0-44cc-4c47-9565-e202fe6a940e", | |
“runName”: “PRE_DIAGNOSTICO_AUTOM_SIGMA_VPN_MPLS”, | |
“logLevel”: “DEBUG”, | |
"inputs": | |
{ | |
"SigmaIncidencia" : "0241886", | |
"SigmaAdmin" : "20150102-SITEMPLS-0000392578", | |
"SigmaCode" : "3", | |
"SigmaCodeDescr" : "Avería en Linea de Respaldo", |
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
frappe.query_reports["Groups"] = { | |
"filters": [ | |
{ | |
"fieldname":"family", | |
"label": __("Family"), | |
"fieldtype": "Link", | |
"options": "Family", | |
"default": "" | |
} | |
], |
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
// source https://www.ibm.com/developerworks/community/blogs/ideallyradical/entry/removing-invalid-characters-from-xml?lang=es | |
function cleanXML_Invalid(input) { | |
tab = "\u0009" | |
newline = "\u000A" | |
carriagereturn = "\u000D" | |
group1 = "\u0020-\uD7FF" | |
group2 = "\uE000-\uFFFD" | |
group3 = "\u10000-\u10FFFF" | |
input = input.replace("^[" + tab + newline + carriagereturn + group1 + group2 + group3 + "]", "") |
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
RP/0/RSP0/CPU0:GRAFRAIX4#sho route vrf vpn_12956_50700 192.168.110.31/32 | |
Fri Nov 4 12:59:45.361 UTC | |
Routing entry for 192.168.110.31/32 | |
Known via "bgp 12956", distance 20, metric 0 | |
Tag 65083, type external | |
Installed Nov 2 09:59:55.288 for 2d02h | |
Routing Descriptor Blocks | |
172.31.228.46, from 172.31.228.46, BGP external | |
Route metric is 0 |
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
dbfilename redis_cache.rdb | |
dir /Users/pau/frappe-bench/config/pids | |
pidfile /Users/pau/frappe-bench/config/pids/redis_cache.pid | |
bind 127.0.0.1 | |
port 13000 | |
maxmemory 1638mb | |
maxmemory-policy allkeys-lru | |
appendonly no | |
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
stages: | |
- tests | |
tests: | |
stage: tests | |
image: node:10 | |
variables: | |
SWAGGER: ${SWAGGER} | |
before_script: | |
- npm install -g swagger-cli |
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
#Get debian-testing-amd64-netinst.iso in | |
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/ | |
#Setup OS then Reboot | |
https://github.com/neurite/debian-setup/wiki/Debian-Installation | |
#Install Budgie Desktop | |
sudo apt-get update | |
sudo apt-get install gdm3 budgie-desktop synaptic gedit gnome-tweak-tool xfce4-terminal | |
sudo systemctl enable gdm3 |
OlderNewer