Skip to content

Instantly share code, notes, and snippets.

View lancevo's full-sized avatar

Lance Vo lancevo

View GitHub Profile
#AVIMControl {
background-image: url('transparent.png');
padding: 2px;
border: 1px solid #5b958e;
position: absolute;
top: 5px;
left: 5px;
width: 320px;
}
/*
* AVIM JavaScript Vietnamese Input Method Source File dated 28-07-2008
*
* Copyright (C) 2004-2008 Hieu Tran Dang <lt2hieu2004 (at) users (dot) sf (dot) net
* Website: http://noname00.com/hieu
*
* You are allowed to use this software in any way you want providing:
* 1. You must retain this copyright notice at all time
* 2. You must not claim that you or any other third party is the author
* of this software in any way.
@lancevo
lancevo / mac rvm
Created May 4, 2013 01:51
new mac setup: rvm, ruby, rails,
# install ruby and rails
\curl -L https://get.rvm.io | bash -s stable --autolibs=3 --rails
<h1>Alert</h1>
<p>Bootstrap JS</p>
<div class="alert fade in">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good.
</div>
<p></p><a ng-click="alert=true">Open Alert (AngularJS)</a></p>
<div class="alert fade" ng-class="{in:alert}">
<button type="button" class="close" ng-click="alert=false">×</button>
@lancevo
lancevo / jplaceholder.html
Created November 16, 2011 22:15
jplaceholder demo
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src="https://raw.github.com/lvo811/jplaceholder/master/jplaceholder.js"></script>
<h2>Example 1</h2>
<p>
Placeholder text is hidden when input field is focusing
</p>
<form id="form1">
<label>
<input name="user" jplaceholder="User ID" />