This file contains 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
robocopy "C:\Users" "E:\backups\Users" /MIR /XA:SH /W:0 /R:1 /REG /XJ |
This file contains 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 | |
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 | |
openssl pkcs12 -inkey key.pem -in cert.pem -export -out keystore.pfx |
- vagrant init box
- vagrant up
- vagrant ssh
- vagrant global-status
- vagrant reload --provision Recarga la máquina y corre los scripts en provision. custom boxes
This file contains 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 | |
# $ ssh-keygen -t rsa -b 2048 | |
# If you already have an SSH key, you can skip this step… Just hit Enter for the key and both passphrases: | |
# Copy your keys to the target server: | |
# $ ssh-copy-id id@server | |
# You may also want to look into using ssh-agent if you want to try keeping your keys protected with a passphrase. | |
# CONFIGURACIÓN -------------------- | |
local='/d/wamp64/www/project/' |
docker pull nvcr.io/nvidia/cudagl:9.1-devel-centos7
9.1-devel-centos7: Pulling from nvidia/cudagl
nvidia-docker run -it --gpus all --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 -v ~/repo:/workspace/repo nvcr.io/nvidia/cudagl:9.1-devel-centos7 /bin/bash
This file contains 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
import bpy | |
# Eliminar cubo? | |
# bpy.ops.object.delete(use_global=False, confirm=False) | |
# Importar archivo COLADA (.dae) | |
bpy.ops.wm.collada_import(filepath="/home/maske/repo/maske/ai/AFLW_image00041.dae") | |
# Rotación de la imagen | |
bpy.ops.transform.rotate(value=-3.13098, orient_axis='Y', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(False, True, False), mirror=True, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, release_confirm=True) |
This file contains 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
<?php | |
getCotizacionesWS(); | |
function getCotizacionesWS(){ | |
$context = [ | |
"ssl" => [ | |
"verify_peer" => FALSE, | |
"verify_peer_name" => FALSE, | |
'crypto_method' => STREAM_CRYPTO_METHOD_TLS_CLIENT |
Access token
- A token used to access protected resources.Authorization
code - An intermediary token generated when a user authorizes a client to access protected resources on their behalf. The client receives this token and exchanges it for an access token.Authorization
server - A server which issues access tokens after successfully authenticating a client and resource owner, and authorizing the request.Client
- An application which accesses protected resources on behalf of the resource owner (such as a user). The client could be hosted on a server, desktop, mobile or other device.
OlderNewer