Entradas

Como trabajar a diario con github

Subir archivos de proyecto local a github publico Guia: 1 Empezar a trabajar,ir a la carpeta donde tenemos el proyecto cd /carpera: 1.$git init 2.$git add . 3.$git commit -m “version1.0″ 4.$git remote add origin https://github.com/usuario/repositorio 5.$git remote -v 6.$git push origin master Explicación: En este tutorial voy a explicar como subir los archivos de tu carpeta local a tu repositorio de Github. Para eso es importante seguir los siguientes pasos: Instala Git Bash en tu computadora utilizando la terminal. Lo puedes descargar del siguiente link: https://git-scm.com/downloads Ingresa a www.github.com y crea un repositorio publico en tu cuenta de Github. Abre la terminal y navega con el comando “cd” a la carpeta de tu proyecto. Dentro de tu proyecto escribe: $git init Agrega los archivos a tu nuevo repositorio local utilizando el siguiente comando (no olvides el punto después de “add”): $git add . Para entender el siguiente paso, es necesario entender el

activar Proxy en la shell de Linux

Set http_proxy shell variable on Linux/OS X/Unix bash shell Type the following command to set proxy server: $ export http_proxy=http://server-ip:port/ $ export http_proxy=http://127.0.0.1:3128/ $ export http_proxy=http://proxy-server.mycorp.com:3128/ If the proxy server requires a username and password then add these to the URL. For example, to include the username foo and the password bar: $ export http_proxy=http://foo:bar@server-ip:port/ $ export http_proxy=http://foo:bar@127.0.0.1:3128/ $ export http_proxy=http://USERNAME:PASSWORD@proxy-server.mycorp.com:3128/ How do I setup proxy variable for all users? To setup the proxy environment variable as a global variable, open /etc/profile file: # vi /etc/profile Add the following information: export http_proxy=http://proxy-server.mycorp.com:3128/ OR export http_proxy=http://USERNAME:PASSOWRD@proxy-server.mycorp.com:3128/ Save and close the file. A note about enabling proxy access to a specific user To enable proxy access for a

How to access iPhone with iOS 11 in Linux

Imagen
How to access iPhone (6s) with iOS 11 in Linux A couple of years ago, I wrote a detailed tutorial on iPhone mount & use compatibility in Linux across multiple distributions. KDE/Plasma struggled with this the most, not seeing and/or not mounting the device automatically. But we did have a relatively neat solution in the form of idevice and ifuse utilities, with some command line hacking. With the release of iOS 11 (and possibly one version earlier) things seem to have changed somewhat. And I have only run and tested iPhone 6 with iOS 8/9. To wit, here's another tutorial to help you work around this. At the moment, I have an iPhone 6s model for testing, and I cannot guarantee this method will work well with newer models, but overall, the procedure should be identical for the rest of the Apple smartphone range. Anyway, after me. Tools of the trade This guide aims specifically at Plasma use, however, we will cover

x96 tv box, instalar un servidor proxy squid

Configuración del proxy squid: 1.modificar /etc/squid/squid.conf: #Recommended minimum configuration: acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 0.0.0.0/8 192.168.100.0/24 192.168.101.0/24 acl SSL_ports port 443 acl Safe_ports port 80   # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT http_access allow manager localhost http_access deny manager http_access deny !Safe_ports http_access deny to_localhost icp_access deny all htcp_access deny all http_port 3128 #Aqui definimos la salida de los logs, #podemos poner la salida a una MicroSD access_log /etc/squid/log/acce