Skip to content

Instantly share code, notes, and snippets.

#Copiar Directorios
cp -a directorioA directorioB
cp -a -r -n directorioA directorioB
# Resetear Git
git fetch origin
git reset --hard origin/master
# Cambiar grupo y administrador Directorios
chown -R grupo directorio
https://medium.com/@dschnr/using-headless-chrome-as-an-automated-screenshot-tool-4b07dffba79a
I have found a solution. Read here: muaz-khan/RecordRTC#181
Here is a code that starts to record video+audio in Electron:
let recorder;
let blobs = [];
function captureScreenVideoWithAudio() {
navigator.webkitGetUserMedia({
audio: true
mongoexport --host localhost --username XXX --password XXX --collection XXX --db XXX --out XXX.json
mongoexport --host localhost --username XXX --password XXX --collection XXX --db XXX --type=csv --fields XXX --out XXX.csv
Mongoose: mongodb://username:password@host:port/database
$ mongo
> use admin
> db.createUser({user:"someadmin",pwd:"secret", roles:[{role:"root",db:"admin"}]})
> exit
$ mongo
> use some_db
> db.createUser({user: "mongouser",pwd: "someothersecret",roles: ["readWrite"]})
Dictionary<float, float> ratiosList = new Dictionary<float, float>();
List<float> list = new List<float> { 1.78f, 1.67f, 1.33f, 1.6f, 1.5f, 1f };
void Awake () {
ratiosList.Add(1.78f, 5.4015f);
ratiosList.Add(1.67f, 5.7623f);
ratiosList.Add(1.33f, 7.1958f);
ratiosList.Add(1.6f, 6f);
package com.audiomp3;
import android.media.MediaPlayer;
import android.os.Debug;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.SeekBar;
using System;
using System.Collections;
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
public class PluginGenerarMenu : EditorWindow {
public static GameObject Carrousel { get; private set; }
Drag an Drop UI Canvas
---------------------------
using UnityEngine;
using UnityEngine.EventSystems;
public class DragB : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
{
{id: 1, palabras: [
'cine', 'animacion', 'animación', 'pelicula', 'actor',
'espectaculo'
]},
{id: 2, palabras: [
'motor', 'coche', 'moto', 'carrera', 'carreras', 'rueda',
'carretera', 'velocidad', 'auto', 'automovil', 'vehiculo',
'vehiculos'
]},