cannot-login-to-docker-account

Evento :

docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don’t have a Docker ID, head over to https://hub.docker.com to create one.
Username: usr
Password: pwd

Error:

Remote error from secret service: org.freedesktop.DBus.Error.UnknownMethod: No such interface ‘org.freedesktop.Secret.Collection’ on object at path /org/freedesktop/secrets/collection/login
Error saving credentials: error storing credentials – err: exit status 1, out: No such interface 'org.freedesktop.Secret.Collection' on object at path /org/freedesktop/secrets/collection/login

Solucion:

sudo apt install gnupg2 pass

https://stackoverflow.com/questions/50151833/cannot-login-to-docker-account

Excel – Concatenar sin duplicados.

Function ConcatUniq(xRg As Range, xChar As String) As String
'updateby Extendoffice 20151228
Dim xCell As Range
Dim xDic As Object
Set xDic = CreateObject("Scripting.Dictionary")
For Each xCell In xRg
xDic(xCell.Value) = Empty
Next
ConcatUniq = Join$(xDic.Keys, xChar)
Set xDic = Nothing
End Function

Solucion: php mysql caracteres especiales

con esta solucion se puede visualizar los caracteres especiales como ñ y Ñ cuando ya estan seguro que en la tabla existe el tipo de dato.

if (USE_PCONNECT == 'true') {
$$link = mysql_pconnect($server, $username, $password);
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET NAMES utf8"); 
} else {
$$link = mysql_connect($server, $username, $password);
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET NAMES utf8"); 
}

if ($$link) mysql_select_db($database);

return $$link;

 

Espero les sirva.

redireccionando a web mobiles con .httaccess

 

Con esta simple linea direccionamos nuestro sitio default a nuestro sitio preparado para mobiles.

 

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos" [NC]
RewriteRule ^.*$ http://m.site.com/ [L,R=302]
</IfModule>

 

En este caso lo usamos para direccionamiento a la de nuestro cliente Herrajes Lamarina S.A.

 

prueba ingresando desde un celular a la dirección lamarina.com.ar

ps rdp

Set-ExecutionPolicy -ExecutionPolicy UNRESTRICTED -Scope CurrentUser



param($minutes = 60)
$myshell = New-Object -com "Wscript.Shell"
for ($i = 0; $i -lt $minutes; $i++) {
 Start-Sleep -Seconds 58.5
 $myshell.sendkeys("andres\n {ENTER}")
}