sudo apt-get install libapache2-mod-proxy-html
This file contains hidden or 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 | |
function my_array_diff($a, $b) | |
{ | |
$map = $out = array(); | |
foreach ($a as $val) | |
$map[$val] = 1; | |
foreach ($b as $val) | |
if (isset($map[$val])) | |
$map[$val] = 0; |
This file contains hidden or 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
--- ## GameObject | |
Todo objeto no jogo é um GameObject. Esses objetos não fazem nada sozinhos. Necessitam de propriedades. São como caixas vazias que guardam diversos tipos de peças (Components). | |
--- ## Transform Component | |
Todo GameObject tem um TransformComponent. O componente mais importante de todos. É através dele que todas as propriedades de transform de um GameObject são ativadas. Define a posição, rotação e tamanho de um GameObject. | |
--- ## Tags | |
É uma palavra, identificação, que é utilizada para identificar GameObjects no jogo. | |
--- ## Scene View |
This file contains hidden or 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
<select name="estado_civil" class="form-control" id="inputEstadoCivil"> | |
<option value="0">Solteiro</option> | |
<option value="1">Casado</option> | |
<option value="2">Separado</option> | |
<option value="3">Divorciado</option> | |
<option value="4">Viúvo</option> | |
<option value="5">Amasiado</option> | |
</select> |
This file contains hidden or 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 android.app.Fragment; | |
import android.app.FragmentTransaction; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.graphics.PorterDuff; | |
import android.os.Bundle; | |
import android.support.v4.widget.DrawerLayout; | |
import android.support.v7.app.ActionBarDrawerToggle; |
- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/
This file contains hidden or 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
#include QMK_KEYBOARD_H | |
uint8_t rgb_matrix_effects[] = { | |
RGB_MATRIX_NONE, | |
RGB_MATRIX_SOLID_COLOR, | |
RGB_MATRIX_BAND_VAL, | |
RGB_MATRIX_JELLYBEAN_RAINDROPS | |
}; | |
uint8_t current_rgb_matrix_effect_index = 0; |
This file contains hidden or 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
fn log_level_deser<'de, D>(deserializer: D) -> Result<LogLevel, D::Error> | |
where | |
D: Deserializer<'de>, | |
{ | |
let s = String::deserialize(deserializer)?; | |
match s.to_lowercase().as_str() { | |
"debug" => Ok(LogLevel::Debug), | |
"info" => Ok(LogLevel::Info), | |
"warn" => Ok(LogLevel::Warn), | |
"error" => Ok(LogLevel::Error), |