How to switch over from SD-card to USB-attached device (USB thumbstick, USB enclosed SSD or HDD, etc.) to have more durable storage option.
-
Connect USB device to your RPI
-
Make sure USB device visible by the system
import torch | |
import tensorflow as tf | |
import time | |
import numpy as np | |
def gather_nd_torch(params, indices, batch_dim=1): | |
""" A PyTorch porting of tensorflow.gather_nd | |
This implementation can handle leading batch dimensions in params, see below for detailed explanation. |
range=f=(p,x)=>p<x?[p,...f(p+1,x)]:[] |
A. Schneider, "Real-Time Volumetric Cloudscapes," in GPU Pro 7: Advanced Rendering Techniques, 2016, pp. 97-127. (Follow up presentations here, and here.)
S. Hillaire, "Physically Based Sky, Atmosphere and Cloud Rendering in Frostbite" in Physically Based Shading in Theory and Practice course, SIGGRAPH 2016. [video] [course notes] [scatter integral shadertoy]
[R. Högfeldt, "Convincing Cloud Rendering – An Implementation of Real-Time Dynamic Volumetric Clouds in Frostbite"](https://odr.chalmers.se/hand
/** | |
* Commande !Vote | |
* Utilisation : !vote <Titre> <Question>. | |
**/ | |
const Discord = require("discord.js"); | |
const agree = "✅"; | |
const disagree = "❎"; | |
exports.run = async (client, message, args, level) => { | |
// On efface la commande. |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Text; | |
using UnityEngine; | |
using Newtonsoft.Json; | |
public class GoogleCloudTTS : MonoBehaviour | |
{ |
TextButton.TextButtonStyle buttonStyle = new TextButton.TextButtonStyle(); | |
buttonStyle.font = new BitmapFont(); | |
buttonStyle.font.scale(2f); | |
buttonStyle.fontColor = Color.WHITE; | |
buttonStyle.overFontColor = Color.LIGHT_GRAY; | |
buttonStyle.downFontColor = Color.GRAY; | |
newGameButton = new TextButton("New Game", buttonStyle); | |
continueButton = new TextButton("Continue", buttonStyle); | |
optionsButton = new TextButton("Options", buttonStyle); |
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
This gist is now deprecated in favor of our official documentation: https://documentation.portainer.io/api/api-examples/ which contains up to date examples!
Please refer to the link above to get access to our updated API documentation and examples.