Skip to content

Instantly share code, notes, and snippets.

View Nifled's full-sized avatar
👀

Erick Delfin Nifled

👀
View GitHub Profile
-- MySQL Workbench Forward Engineering
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
-- -----------------------------------------------------
-- Schema muplo_test
-- -----------------------------------------------------
@Nifled
Nifled / mq.js
Created February 25, 2017 19:33
Javascript Media Queries (with listener)
/* JavaScript Media Queries */
if (matchMedia) {
var mq = window.matchMedia("(min-width: 1200px)");
mq.addListener(WidthChange);
WidthChange(mq);
}
// media query change
function WidthChange(mq) {
# ZSH Theme - Preview: http://dl.dropbox.com/u/4109351/pics/gnzh-zsh-theme.png
# Based on bira theme
setopt prompt_subst
() {
local PR_USER PR_USER_OP PR_PROMPT PR_HOST
# Check the UID
alias ±=~
alias python=python3
alias pip=pip3
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME=gnzh
@Nifled
Nifled / Circle.java
Created June 16, 2017 21:32
Shape interface + implementations
public class Circle implements Shape {
private int radius;
public Circle(int r) {
this.radius = r;
}
@Override
public void perimeter() {
@Nifled
Nifled / .minttyrc
Created June 24, 2017 08:01
Babun .minttyrc
Font=Menlo for Powerline
FontHeight=12
ForegroundColour=211,208,200
BackgroundColour=45,45,45
CursorColour=253,157,79
Black=45,45,45
BoldBlack=116,115,105
Red=242,119,122
BoldRed=236,50,53
# Use C-a as prefix and free C-b
set -g prefix C-a
unbind C-b
# Send C-a to application by pressing it twice
bind C-a send-prefix
# Reload configuration file
unbind r
bind r source-file ~/.tmux.conf \; display "Configration file .tmux reloaded!"
@Nifled
Nifled / unison.svg
Created March 16, 2018 05:47
svg unison
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Nifled
Nifled / ojouson.svg
Created March 16, 2018 06:23
ojo unison
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.