In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:
- Separate big codebases into multiple repositories.
.modal { | |
position: absolute; | |
top:0; | |
left:0; | |
z-index: 2000; | |
height:300px; | |
width:400px; | |
background-color: white; | |
border-radius:10px; | |
border: 1px solid rgba(0, 0, 0, 0.3); |
var data = "do shash'owania"; | |
var crypto = require('crypto'); | |
crypto.createHash('md5').update(data).digest("hex"); |
Comandos uteis do oracle para obter configiurações: | |
Parâmetros da NLS: | |
=> Select * from nls_database_parameters | |
=> Select * from nls_session_parameters | |
=> Select * from nls_instance_parameters | |
Exibe os valores de database_parameters | |
=> SELECT name,value$ from sys.props$ where name like '%NLS_LANG%' | |
=> SELECT name,value$ from sys.props$ where name like '%NLS_CHAR%' | |
=> SELECT name,value$ from sys.props$ where name like '%_CHARACTER%' |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
I am working on adding support for building and distributing (via PyPI) Python Wheels with C Extensions to the Python wheel and pip packages. The discussion on Distutils-SIG continues, but I believe it is fairly certain that some effort to correctly identify Linux distributions will need to be made. I've begun efforts to add this support to wheel.
If you have a Linux distribution or version of a listed distribution not in this gist, or one of the ones I have not directly verified, I could use the following:
/etc/os-release
, if it exists#Wildfly Toolbelt
Basically, you need to open domain.xml
under WILDFLY_HOME/domain/configuration
and find the <deployments>
session. In that session, each deployment contain a <content>
tag. The attribute sha1
contains details where the file is storaged on the filesystem. EG:
<deployments>
You can use ffmpeg to directly pull frames off of a dahua 4300s at full resolution. May be a good alternative to pricey dvrs which likely cannot record at full resolution, may not work with the camera, or are prohibitevly expensive
Simple stream to file. Full resolution
ffmpeg -loglevel debug -rtsp_transport tcp -i "rtsp://admin:[email protected]:554/live" \
-c copy -map 0 foo.mp4