Skip to content

Instantly share code, notes, and snippets.

git status
/it all begins here!
git remote show origin
/show current git project adress
git add .
add all new files to the commit you about to commit
git commit -m 'commit data try to be clear'
@xpander54
xpander54 / Tabs Bootsrap 3
Created March 15, 2014 17:52
Tabs Bootsrap 3
<div class="row">
<div class="coberturas-index">
<ul class="nav nav-tabs">
<li class="active">
<a href="#basica" data-toggle="tab">
Basica
</a>
</li>
<script type="text/javascript">
$j=jQuery.noConflict();
$j(document).ready(function() {
resizeCols();
});
@xpander54
xpander54 / django forms
Created November 30, 2013 02:57
django forms
https://docs.djangoproject.com/en/dev/ref/forms/fields/
https://docs.djangoproject.com/en/dev/topics/forms/
crear forms.py en la carpeta junto a urls.py y settings.py
<strong>en forms.py</strong>
from django import forms
<div class="panel-group" id="accordion">
<div class="panel panel-default">
var timer1;
function startTimer2()
{
timer1=setTimeout(function(){finishTimer()},20000);
//window.clearInterval(timer1);
$(document).ready(function() {
var isiPad = navigator.userAgent.indexOf("iPad") != -1;
var isiPod = navigator.userAgent.indexOf("iPhone") != -1;
checkDevice(isiPad, isiPod);
});
$(document).ready(function()
{
console.log('ready bases');
var bases = $(".nfo-bases")
bases.click(function(evt)
{
$this = $(this);
console.log($this.data('loc'));
@xpander54
xpander54 / gist:7356322
Last active November 30, 2016 15:21
bootstrap carrousel
<!--Slide Bootstrap-->
<div id="myCarousel" class="carousel slide">
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
;DNAS configuration file
;Made with the SHOUTcast 2 Configuration Builder
yp1debug=1
yp2debug=1
shoutcastsourcedebug=1
uvox2sourcedebug=1
shoutcast1clientdebug=1
shoutcast2clientdebug=1
relayshoutcastdebug=1