Skip to content

Instantly share code, notes, and snippets.

Avatar

Netzulo.com netzulo

View GitHub Profile
@netzulo
netzulo / FIX_soundcard_raspberry_pi_1_2_3_zero_usb_microphone.md
Last active Jul 9, 2018
FIX soundcard raspberry PI 1,2,3,zero to get working USB microphone
View FIX_soundcard_raspberry_pi_1_2_3_zero_usb_microphone.md
@netzulo
netzulo / vim commands ( Spanish ).rst
Last active May 3, 2018
Just a spanish listed actions for VIM
View vim commands ( Spanish ).rst

Borrar texto

Caracteres

Para borrar un carácter, posicionar el cursor sobre el carácter a borrar y teclear x. El comando x tambien borra el espacio ocupado por el carácter. Para borrar el carácter anterior a la posicion del cursor pulsar X.

Palabras

View gist:5397d0672386ebec8ddfed3771028eda

1. Clone your fork:

git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@netzulo
netzulo / doc_selenium_api_jsonwireprotocol.md
Last active Jul 9, 2018
Selenium Documentation for web API ( JSONWirreProtocol )
View doc_selenium_api_jsonwireprotocol.md

Command Summary

HTTP Method Path Summary
GET /status Query the server's current status.
POST /session Create a new session.
GET /sessions Returns a list of the currently active sessions.
GET /session/:sessionId Retrieve the capabilities of the specified session.
DELETE /session/:sessionId Delete the session.
POST /session/:sessionId/timeouts Configure the amount of time that a particular type of operation can execute for before they are aborted and a
@netzulo
netzulo / howto_change_swap_on_raspberry_pi_1_2_3_zero.md
Last active Jul 9, 2018
RaspberryPi [1,2,zero,3]Increment size of SWAP ram
View howto_change_swap_on_raspberry_pi_1_2_3_zero.md

How to change swap partition from 99mb to 1024 mb ?

  • Put OFF swap partition
sudo dphys-swapfile swapoff
  • Edit this file
@netzulo
netzulo / index.html
Created Oct 11, 2016
Styling HTML Checkboxes
View index.html
<div>
<input type="checkbox" name="checkbox-option" id="chk-opt-1" class="hide-checkbox" value="opt1" checked>
<label for="chk-opt-1">.com</label>
<input type="checkbox" name="checkbox-option" id="chk-opt-2" class="hide-checkbox" value="opt1" checked>
<label for="chk-opt-2">.org</label>
<input type="checkbox" name="checkbox-option" id="chk-opt-3" class="hide-checkbox" value="opt3" checked>
<label for="chk-opt-3">.net</label>
@netzulo
netzulo / Bot.java
Created Mar 18, 2016
Selenium CUSTOM DRIVER CONTROL
View Bot.java
package ntz.drivers;
import java.net.MalformedURLException;
import java.net.URL;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;