Skip to content

Instantly share code, notes, and snippets.

View Melonangie's full-sized avatar

angie Melonangie

  • kenzo corp
  • Tijuana
View GitHub Profile
@Melonangie
Melonangie / iterm2
Last active November 19, 2019 14:25
iterm configuration
# install Drak Paster theme
https://iterm2colorschemes.com/
# Install zsh https://ohmyz.sh/
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Themes with commit time:
# ZSH_THEME="smt"
# ZSH_THEME="hyperzsh" https://github.com/tylerreckart/hyperzsh
# ZSH_THEME="nt9" https://github.com/lenguyenthanh/nt9-oh-my-zsh-theme
EMOJI=(💩 🎨 🍕 ☕️ 💀 🐷 🐼 🐶 🐸 🐧 🐳 🍔 🍣 🍻 🔮 💰 💎 💜 🍪 🐌 )
function random_emoji {
echo -n "$EMOJI[$RANDOM%$#EMOJI+1]"
}
# The prompt
#PROMPT='%D{%H:%M} $(_python_venv)%{$fg[cyan]%}%c $(git_prompt_info)%{$reset_color%}$(_git_time_since_commit)$(git_prompt_status)${_return_status}➜ '
# Prompt with SHA
@Melonangie
Melonangie / xxf.zsh-theme
Last active December 1, 2018 12:42
Yet another theme for oh-my-zsh
# Copy and self modified from ys.zsh-theme, the one of default themes in master repository
# Clean, simple, compatible and meaningful.
# Tested on Linux, Unix and Windows under ANSI colors.
# It is recommended to use with a dark background and the font Inconsolata.
# Colors: black, red, green, yellow, *blue, magenta, cyan, and white.
# http://xiaofan.at
# 2 Jul 2015 - Xiaofan
# Machine name.
function box_name {
@Melonangie
Melonangie / designer.html
Created January 19, 2015 19:11
designer
<link href="../core-icon-button/core-icon-button.html" rel="import">
<link href="../core-toolbar/core-toolbar.html" rel="import">
<link href="../core-drawer-panel/core-drawer-panel.html" rel="import">
<polymer-element name="my-element">
<template>
<style>
#design_host {
position: absolute;

##Given Apache 2 and MySQL are already installed.

#Update MacPorts sudo port selfupdate;sudo port -u upgrade outdated

#Install PHP 5.4.* sudo port install php54 php54-apache2handler ##Activate Apache Module cd /opt/local/apache2/modules

@Melonangie
Melonangie / create_github_bitbucket_mirror.md
Created April 24, 2012 04:35 — forked from slok/create_github_bitbucket_mirror.md
Create github and bitbucket mirror in gitolite

Create Github/Bitbucket Mirror

Create SSH key and configure

Create Key (no passphrase and name mirror the key)

ssh-keygen -t rsa -N "" -f ~/.ssh/mirror