Skip to content

Instantly share code, notes, and snippets.

View eusoubrasileiro's full-sized avatar
🐔
from ~

imbr eusoubrasileiro

🐔
from ~
View GitHub Profile
[0:motiond] [NTC] [ALL] [Jan 10 08:44:42] motion_startup: Motion 4.4.0 Started
[0:motiond] [NTC] [ALL] [Jan 10 08:44:42] motion_startup: Using default log type (ALL)
[0:motiond] [NTC] [ALL] [Jan 10 08:44:42] motion_startup: Using log type (ALL) log level (INF)
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] conf_output_parms: Writing configuration parameters from all files (5):
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] Thread 0 - Config file: /home/andre/motion_server_nvr/motion_config/motion.conf
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] daemon off
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] setup_mode off
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] pid_file
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] log_file /home/andre/motion_log.txt
[0:motiond] [INF] [ALL] [Jan 10 08:44:42] log_level 7
import time
from bs4 import BeautifulSoup
from selenium import webdriver
import threading, multiprocessing
def create_driver():
"""returns a chrome webdriver headless"""
chromeOptions = webdriver.ChromeOptions()
chromeOptions.add_argument("--headless") # make it not visible
return webdriver.Chrome(options=chromeOptions)
@eusoubrasileiro
eusoubrasileiro / elastic_psv_parana.py
Last active December 15, 2021 13:09
Seismic: 2D finite difference simulation of elastic P and SV wave propagation Simulates Parana Basin geometry of basalt cover with 2 horizontal layers, acquires just z displacement (default seismic acquisition).
# This Python file uses the following encoding: utf-8
"""
Seismic: 2D finite difference simulation of elastic P and SV wave propagation
Simulates Parana Basin geometry of basalt cover with horizontal layers.
Acquires just z displacement (default seismic acquisition).
4 layers :
bauru ~ 100 meters ~ 6x scaled to 600 m
serra geral flow 1 ~ 20 meters ~ 6x scaled to 120 m
serra geral flow 2 ~ 20 meters ~ 6x scaled to 120 m
@eusoubrasileiro
eusoubrasileiro / sufdmod2_pml.c
Created August 8, 2013 22:31
Finite-Difference Modeling (2nd order) for acoustic wave equation with PML absorbing boundary conditions.
/* Copyright (c) Colorado School of Mines, 2011.*/
/* All rights reserved. */
/* SUFDMOD2_PML: $Revision: 1.9 $ ; $Date: 2011/11/12 00:40:42 $ */
#include "par.h"
#include "su.h"
#include "segy.h"
@eusoubrasileiro
eusoubrasileiro / marmousi_fatiando_scalar.ipynb
Created August 8, 2013 17:01
Running scalar wave equation marmousi data set from madagascar.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.