This file contains hidden or 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
| " Set compatibility to Vim only. | |
| set nocompatible | |
| set nolist | |
| set rnu | |
| " Helps force plug-ins to load correctly when it is turned back on below. | |
| filetype off | |
| " Turn on syntax highlighting. | |
| syntax on | |
| colorscheme onedark |
This file contains hidden or 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
| { | |
| "files.exclude": { | |
| "**/.git": true, | |
| "**/.svn": true, | |
| "**/.hg": true, | |
| "**/CVS": true, | |
| "**/.DS_Store": true, | |
| ".vscode": true, | |
| "hooks": true, | |
| "node_modules": true, |
This file contains hidden or 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
| rem Author: Joel Villalobos | |
| rem @jovib_ | |
| IF %computername%==VM-1 Netsh int ip set address name="Local Area Connection 2" source=static addr=192.168.2.80 255.255.255.0 192.168.90.100 | |
| IF %computername%==VM-1 Netsh int ip set dns name="Local Area Connection 2" source=static addr=192.168.90.5 | |
| IF %computername%==VM-1 Netsh int ip add dns name="Local Area Connection 2" addr=192.168.90.2 |
This file contains hidden or 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
| Sub update() | |
| Application.ScreenUpdating = False | |
| Prompt = "Por favor tenga paciencia, este programa tomará algunos minutos..." | |
| Title = "Actualizar" | |
| Style = vbOKCancel | |
| Respond = MsgBox(Prompt, Style, Title) | |
| If Respond = vbCancel Then Exit Sub | |
| ''Mostrador es el nombre la hoja de excel, A1 la celda |
This file contains hidden or 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
| for /F "tokens=3 delims=: " %%H in ('sc query "<service_name>" ^| findstr " ESTATE"') do ( | |
| if /I "%%H" NEQ "RUNNING" ( | |
| net start "<service_name>" | |
| ) else ( | |
| echo All stable. | |
| ) | |
| ) |
This file contains hidden or 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 | |
| #http://linux.autostatic.com/installing-webrtc2sip-on-ubuntu-1204#install_packages | |
| sudo -i | |
| # install | |
| apt-get update | |
| apt-get install -y python-software-properties | |
| add-apt-repository ppa:autostatic/doubango |
This file contains hidden or 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
| worker_processes 1; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; |
This file contains hidden or 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
| CREATE TABLE `makers` ( | |
| `id` int(10) unsigned NOT NULL, | |
| `name` varchar(255) NOT NULL, | |
| `description` varchar(255) NOT NULL, | |
| `created_at` datetime NOT NULL, | |
| `updated_at` datetime NOT NULL, | |
| PRIMARY KEY (`id`) | |
| ) ENGINE=InnoDB DEFAULT CHARSET=latin1; | |
| -- |
This file contains hidden or 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
| listen=YES | |
| anonymous_enable=NO | |
| local_enable=YES | |
| write_enable=YES | |
| dirmessage_enable=YES | |
| use_localtime=YES | |
| xferlog_enable=YES | |
| connect_from_port_20=YES | |
| secure_chroot_dir=/var/run/vsftpd/empty | |
| pam_service_name=vsftpd |
This file contains hidden or 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
| $ wget http://www.python.org/ftp/python/2.7.4/Python-2.7.4.tgz | |
| $ tar -zxvf Python-2.7.4.tgz | |
| $ cd Python-2.7.4 | |
| $ ./configure --prefix=$HOME/local/Python-2.7 | |
| $ make | |
| $ make install | |
| $ cd ~ | |
| $ echo "export PATH=\"$HOME/local/bin:\$PATH\"" >> .bashrc |
NewerOlder