Skip to content

Instantly share code, notes, and snippets.

View p1nox's full-sized avatar

Raul Pino p1nox

View GitHub Profile
@p1nox
p1nox / noip2.md
Last active March 5, 2018 02:24
NoIp install and config

Install

    sudo apt-get install build-essential
    cd /usr/local/src
    wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
    tar xzf noip-duc-linux.tar.gz
    cd no-ip-2.1.9
    make
    make install
@p1nox
p1nox / screen_sessions.md
Last active December 1, 2022 14:23
screen sessions basics

screens basics

screen                              # create a new screen session

screen -list                        # list screen sessions

[ctrl] + [a] -> [d]                 # detach current screen session

session -r session_id # enter a screen session
@p1nox
p1nox / stampede_torodb_with_docker.md
Created February 14, 2017 13:45
ToroDB Stampede in local using docker

create postgres container

docker run --name postgres-replica -e POSTGRES_PASSWORD=000000 -p 5432:5432 -d postgres:9.5

create network between mongo replica sets

docker network create my-mongo-cluster
@p1nox
p1nox / spark_notebook.md
Last active January 12, 2018 20:45
Spark Notes

Using docker:

docker run -it --rm -p 8888:8888 jupyter/all-spark-notebook

From standalone installation:

PYSPARK_DRIVER_PYTHON_OPTS="notebook" bin/pyspark

Keybase proof

I hereby claim:

  • I am p1nox on github.
  • I am p1nox (https://keybase.io/p1nox) on keybase.
  • I have a public key whose fingerprint is 414C 8DA5 F3A5 A08C 52E1 9E53 5381 7806 AE0E 7B90

To claim this, I am signing this object:

@p1nox
p1nox / install_bcl2fastq.md
Last active September 27, 2018 17:06
Install bcl2fastq 2.15.0.4
sudo apt-get update
sudo apt-get install zlibc
sudo apt-get install libc6
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install libboost1.55-all-dev
sudo apt-get install cmake
@p1nox
p1nox / git.md
Last active August 26, 2021 22:21
git notes
# uncommit
git reset HEAD~

# remove submodules https://stackoverflow.com/questions/29850029/what-is-the-current-way-to-remove-a-git-submodule
git submodule deinit <asubmodule>    
git rm <asubmodule>
rm -rf .git/modules/<asubmodule>

# named clone
[core]
# The home folder for airflow, default is ~/airflow
airflow_home = /Users/p1nox/airflow
# The folder where your airflow pipelines live, most likely a
# subfolder in a code repository
dags_folder = /Users/p1nox/airflow/dags
# The folder where airflow should store its log files. This location
base_log_folder = /Users/p1nox/airflow/logs
@p1nox
p1nox / osx.md
Last active June 7, 2024 13:44
Mac OSX stuff

osx and mac stuff

Install

xcode-select --install
brew install java
brew install maven
brew install ant
mvn clean install

brew services list