Skip to content

Instantly share code, notes, and snippets.

Alberto Hrtzt Aeonexe

Block or report user

Report or block Aeonexe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View sass.json
{
// Place your snippets for scss here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@Aeonexe
Aeonexe / javascript
Created Sep 5, 2019
Snippets javascript
View javascript
{
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@Aeonexe
Aeonexe / settings.json
Last active Oct 3, 2019
Personalización de tema para VS code
View settings.json
{
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"window.smoothScrollingWorkaround": true,
"window.titleBarStyle": "custom",
"search.location": "panel",
"workbench.iconTheme": "material-icon-theme",
"editor.fontSize": 13,
"window.zoomLevel": -1,
View wc-conditional-tags.php
is_woocommerce()
is_shop()
is_product_category()
is_product_category( 'shirts' )
is_product_category( array( 'shirts', 'games' ) )
is_product_tag()
is_product_tag( 'shirts' )
is_product_tag( array( 'shirts', 'games' ) )
is_product()
is_cart()
@Aeonexe
Aeonexe / conditional-tags.php
Last active Oct 19, 2018
Wordpress referencia de tags condicionales
View conditional-tags.php
// A Single Post Page
is_single()
is_single( '17' )
is_single( 'Irish Stew' )
is_single( 'beef-stew' )
is_single( array( 17, 'beef-stew', 'Irish Stew' ) )
is_single( array( 17, 19, 1, 11 ) )
is_single( array( 'beef-stew', 'pea-soup', 'chili' ) )
is_single( array( 'Beef Stew', 'Pea Soup', 'Chili' ) )
@Aeonexe
Aeonexe / inde.php
Created Sep 28, 2018
Imprime el formulario de registro de wordpress en cualquier template.
View inde.php
<div id="register-form">
<form action="<?php echo site_url('wp-login.php?action=register', 'login_post') ?>" method="post">
<input type="text" name="user_login" value="Username" id="user_login" class="input" />
<input type="text" name="user_email" value="E-Mail" id="user_email" class="input" />
<?php do_action('register_form'); ?>
<input type="submit" value="Register" id="register" />
</form>
</div>
View settings
{
"workbench.colorTheme": "Night Rider",
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"window.smoothScrollingWorkaround": true,
"window.titleBarStyle": "custom",
"search.location": "panel",
"workbench.iconTheme": "material-icon-theme",
"editor.fontSize": 13,
View style.less
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
View config.cson
"*":
core:
telemetryConsent: "no"
uriHandlerRegistration: "always"
editor:
fontSize: 12
invisibles: {}
scrollPastEnd: true
showIndentGuide: true
showInvisibles: true
View snippets.cson
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
You can’t perform that action at this time.