Skip to content

Instantly share code, notes, and snippets.

View asolfre's full-sized avatar

Ángel Soliño asolfre

  • Nuvolar Works
  • Barcelona
View GitHub Profile
@asolfre
asolfre / intellij-idea-live-template-to-insert-logger.md
Last active June 15, 2022 10:45
IntelliJ IDEA Live Template to insert Logger

IntelliJ IDEA Live Template to insert Logger

The following is the configuration needed to insert a new Logger inside a class by typing "log + Tab"

Steps

Go to Preferences -> Editor -> Live Templates -> Add:

  • Abbreviation: "log"
  • Description: "Insert a new org.slf4j.Logger"
  • Template text: private static final org.slf4j.Logger LOGGER = org.slf4j.LoggerFactory.getLogger($CLASS$.class);

Keybase proof

I hereby claim:

  • I am asolfre on github.

  • I am asolino (https://keybase.io/asolino) on keybase.

  • I have a public key ASBSZmBmsPmilablHY9rF_hlst_57g4KAPSR_qiajUNHNwo

@asolfre
asolfre / move-stashes.md
Last active May 26, 2020 07:47 — forked from alexeds/move-stashes.md
Move your stashes from one repo to another

Move your stashes from one repo to another


This was useful for me when migrating to a new laptop. I cloned our repo again, but also wanted to get my stashes there.

See existing stashes

On the source repo/laptop:

git stash list
@asolfre
asolfre / .bash_profile
Created February 26, 2018 20:47
Mac .bash_profile with Java, Ant, Maven and git branch in prompt
export JAVA_HOME=$(/usr/libexec/java_home)
# Apache Ant
export ANT_HOME=/Users/angelsolino/apache-ant-1.10.2
# Export to PATH
export PATH=$PATH:$ANT_HOME/bin
# Apache Maven
export MAVEN_HOME=/Users/angelsolino/apache-maven-3.5.2
@asolfre
asolfre / ant-salesforce.xml
Last active February 21, 2018 14:43 — forked from afawcett/ant-salesforce.xml
Defines some macros around sf:deploy to install and uninstall packages.
<!-- TODO: Review Ant v1.8 local properties -->
<project xmlns:sf="antlib:com.salesforce">
<!-- Download from Salesforce Tools page under Setup -->
<typedef
uri="antlib:com.salesforce"
resource="com/salesforce/antlib.xml"
classpath="${basedir}/lib/ant-salesforce.jar"/>
<!-- Download from http://sourceforge.net/projects/ant-contrib/files/ant-contrib/1.0b3/ -->
@asolfre
asolfre / atom-invisibles-override.less
Created October 5, 2016 10:06 — forked from justo/atom-invisibles-override.less
Style to make Atom's tab character a wide line like Sublime Text and to only show invisibles on document highlight.
atom-text-editor::shadow {
/**
* Put this in your Atom stylesheet to replace the tab character with
* a full-width line like in Sublime Text. Change the background color
* to match your theme.
*
* Open your Atom settings and under "Editor Settings" change your
* "Invisbles Tab" field to a single space (" "). Otherwise you will see
* both tab indicators.
*/
@asolfre
asolfre / Material Design CheckBox And RadioButton.markdown
Created July 28, 2015 13:04
Material Design CheckBox And RadioButton
@asolfre
asolfre / Material Design Bubble Animation.markdown
Created July 28, 2015 13:04
Material Design Bubble Animation
@asolfre
asolfre / material-theme.terminal
Last active August 29, 2015 14:25 — forked from mvaneijgen/material-theme.terminal
material-theme.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGKSpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKcHCBMXGyImVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECgwLjAyNzQ1MTAw
NjcgMC4yMTE3NjQ3MjMxIDAuMjU4ODIzNDg0MiAxTxAoMC4wMzkzODA3NDc4MiAwLjE2