Skip to content

Instantly share code, notes, and snippets.

View jgleal's full-sized avatar
👨‍💻
Every day is a learning experience

Javier G. Leal jgleal

👨‍💻
Every day is a learning experience
View GitHub Profile
@jgleal
jgleal / setProxy.sh
Created July 30, 2018 08:56
bash script to de/activate corporte proxy
#!/bin/bash
#configurar para que no pregunte
user=""
pass=""
srvPortProxy=""
#
#compruebo que se pase activación(1) o desactivación(0)
if [ $# -eq 0 ]
then
@jgleal
jgleal / fiddleToMapea5
Last active September 13, 2018 07:40
Macro de iMacros (https://imacros.net/) para cambiar los recursos de un fiddle a Mapea 5
VERSION BUILD=1003 RECORDER=CR
TAG POS=1 TYPE=A ATTR=TXT:remove
TAG POS=1 TYPE=A ATTR=TXT:remove
TAG POS=1 TYPE=A ATTR=TXT:remove
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/js/mapea.ol.min.js
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource"
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/assets/css/mapea.ol.min.css
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource"
TAG POS=1 TYPE=INPUT:TEXT FORM=ID:show-result ATTR=ID:external_resource CONTENT=https://sigc.desarrollo.guadaltel.es/mapea5/js/configuration.js
TAG POS=1 TYPE=A ATTR=TITLE:"Add resource"
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 11 columns, instead of 2. in line 5.
name,imageUrl,area,profileUrl,office,tags,isLoggedUser,positionName,id,parentId,size
Ian Devling,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/cto.jpg,Corporate,http://example.com/employee/profile,CTO office,"Ceo,tag1,manager,cto",false,Chief Executive Officer ,O-6066,,
Davolio Nancy,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/general.jpg,Corporate,http://example.com/employee/profile,CEO office,"Ceo,tag1, tag2",false,CTO ,O-6067,O-6066,
Leverling Janet,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/female.jpg,Corporate,http://example.com/employee/profile,CEO office,"Ceo,tag1, tag2",false,CTO ,O-6068,O-6066,
Leverling Janet,https://raw.githubusercontent.com/bumbeishvili/Assets/master/Projects/D3/Organization%20Chart/female.jpg,Corporate,http://example.com/employee/profile,CEO office,"Ceo,tag1, tag2",false,CTO ,O-6069,O-6066,
Leverling Janet,https://raw.githubuserco