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 | |
if (!current_user_can('read_private_posts') && current_time('YmdHi') < 201511171800) { | |
include (str_replace('index.php', '', $_SERVER['SCRIPT_FILENAME']).'landing/index.php'); | |
die; | |
} | |
?> |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
<!-- | |
FileZilla Filter for Odin Framework | |
Insira o conteúdo das tags <Filters>...</Filters> dentro das mesmas tags no arquivo filters.xml do seu FileZilla, ou caso | |
não deseje utilizar os filtros padrão, substitua o arquivo. | |
Para saber onde os arquivos de configuração de seu FileZilla estão: https://wiki.filezilla-project.org/FAQ | |
**Obs: Também é possível alterar o diretório de configurações do seu FileZilla, veja: https://forum.filezilla-project.org/viewtopic.php?f=1&t=8433 |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title> Título </title> | |
</head> | |
<body> | |
<script type="text/javascript" src="assets/js/meu_script.js"> | |
</script> | |
</body> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title> My Page Title </title> | |
</head> | |
<body> | |
<canvas id="game" width="800" height="600"></canvas> | |
<script type="text/javascript" src="assets/js/my_script.js"> |
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
var canvas, | |
contexto, | |
imagem, | |
imagem_x = 0, | |
imagem_y = 0; | |
canvas = document.getElementById( "game" ); | |
contexto = canvas.getContext( "2d" ); | |
imagem = new Image(); | |
imagem.src = 'images/back.png'; |
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
// Enable shortcodes in text widgets | |
add_filter( 'widget_text', 'do_shortcode' ); |
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 | |
/** | |
* Add .stl extension mime type to WordPress Media Upload | |
*/ | |
function custom_mimes( $mime_types ) { | |
//$mime_types['stl'] = 'application/vnd.epson.salt'; | |
$mime_types['stl'] = 'application/wavefront-stl'; | |
return $mime_types; | |
} | |
add_filter( 'mime_types', 'custom_mimes' ); |
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 | |
/** | |
* Registration product add to cart | |
* Put this file in your theme under woocommerce/single-produt/add-to-cart | |
* | |
* @author Allyson Souza | |
* @package Registrations for WooCommerce/Templates | |
* @version 1.0.0 | |
*/ |
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 | |
function archive_title() { | |
//Conditionals to Title Display in WordPress Archive Templates | |
if( is_archive() ) { | |
$queried_object = get_queried_object(); | |
if( is_tag() ) { | |
$slug = $queried_object ? $queried_object->slug : ' ' ; |
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
:: Name: Haste Project State | |
:: Purpose: move projects to different folders. | |
:: Author: @allysonsouza | |
:: URL: https://github.com/allysonsouza | |
:: Version: 0.0.1 | |
:: License: GPL-v2 | |
@ECHO OFF | |
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION |