YouTube video: https://www.youtube.com/watch?v=r-8isv_TnVA
Stackblitz: https://stackblitz.com/edit/js-mbehz9?file=index.js
YouTube video: https://www.youtube.com/watch?v=r-8isv_TnVA
Stackblitz: https://stackblitz.com/edit/js-mbehz9?file=index.js
import {useEffect, useRef, useState} from 'react'; | |
import io from 'socket.io-client'; | |
type Props = { | |
userId: number; | |
enabled: boolean; | |
onConnected?: () => void; | |
}; | |
type Message = { |
All my extensions are here: https://marketplace.visualstudio.com/items?itemName=omthemes.om-extension-pack
cd /home/<user>/ | |
sudo apt-get install unzip | |
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip | |
unzip sdk-tools-linux-4333796.zip -d Android | |
rm sdk-tools-linux-4333796.zip | |
sudo apt-get install -y lib32z1 openjdk-8-jdk | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
export PATH=$PATH:$JAVA_HOME/bin | |
printf "\n\nexport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64\nexport PATH=\$PATH:\$JAVA_HOME/bin" >> ~/.bashrc | |
cd Android/tools/bin |
{ | |
"estadoPorDdd": { | |
"11": "SP", | |
"12": "SP", | |
"13": "SP", | |
"14": "SP", | |
"15": "SP", | |
"16": "SP", | |
"17": "SP", | |
"18": "SP", |
httpOnly
(and secure
to true
if running over SSL) when setting cookies.csrf
for preventing Cross-Site Request Forgery: http://expressjs.com/api.html#csrfbodyParser()
and only use multipart explicitly. To avoid multiparts vulnerability to 'temp file' bloat, use the defer
property and pipe()
the multipart upload stream to the intended destination.Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.
#include <unistd.h> // lib para o delay => usleep() | |
#include <stdlib.h> | |
#include <time.h> | |
#include <ncurses.h> | |
#define H 25 // altura do mapa | |
#define W 42 // largura do mapa | |
#define UP 0 | |
#define RIGHT 1 | |
#define DOWN 2 | |
#define LEFT 3 |