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
<?php | |
$lat = 42.6735947; | |
$lng = -8.1533898; | |
$z = 15; | |
$point = $lat . ',' . $lng; | |
$hl = 'gl'; | |
$t = 'm'; | |
?> | |
<a href="https://www.google.es/maps/?ll=<?php echo $point ?>&z=<?php echo $z ?>&t=<?php echo $t ?>&hl=<?php echo $hl ?>&daddr=<?php echo $point ?>"></a> |
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
#!/bin/bash | |
COUNTER=0 | |
FILTER=".sql" | |
FORMAT="%03d-%s" | |
# Iterar polos ficheiros do directorio actual | |
for i in *; do | |
# Verificar se hai que procesar o ficheiro, se cumpre o filtro | |
if [[ $i =~ $FILTER ]]; then |
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
<% | |
' Converter un Comando ADO a súa representación textual para invocar no SSMS | |
' Parámetro: Obxecto ADO Command | |
' USO: | |
' Response.Write Command2Text(AdoCommand) | |
Function Command2Text(Cmd) | |
Dim paramIdx, paramStr, re | |
paramStr = "EXEC " | |