Skip to content

Instantly share code, notes, and snippets.

View admaesmo's full-sized avatar

Adrian Espinosa admaesmo

View GitHub Profile
@alvareztech
alvareztech / Ventana.java
Created February 15, 2014 18:01
Java: Ejemplo de la creación de una Ventana con Swing.
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JTextField;
/**
* Clase Ventana
@warrendholmes
warrendholmes / Flexslider header
Created March 11, 2014 07:45
Embed the Flexslider script
<!-- Place somewhere in the <head> of your document -->
<link rel="stylesheet" href="flexslider.css" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script src="jquery.flexslider.js"></script>
@frfahim
frfahim / install virtualenv ubuntu 16.04.md
Last active May 20, 2024 06:45
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@pablokbs
pablokbs / docker-compose-wordpress.yaml
Created December 16, 2018 14:40
Docker-compose para wordpress con mysql
## docker-compose para correr wordpress con una base de datos en mysql
## by PeladoNerd https://youtu.be/eoFxMaeB9H4
version: '3.1'
services:
wordpress:
image: wordpress:php7.1-apache
ports:
@admaesmo
admaesmo / custom-admin-logo.php
Created February 19, 2019 21:21 — forked from avillegasn/custom-admin-logo.php
How to add a custom logo in WordPress login page
function my_login_logo() { ?>
<style type="text/css">
#login h1 a, .login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/img/nelio-icon.png);
height: 84px;
width: 84px;
background-size: cover;
background-repeat: no-repeat;
}
</style>