Chhota is a front end url shortener without the need for a Database.\
It runs a sort of mirror on http://goo.gl, and uses the # to keep the process completely on the front end.
Install it on your site with just one line in your index.html
-
``
Chhota is a front end url shortener without the need for a Database.\
It runs a sort of mirror on http://goo.gl, and uses the # to keep the process completely on the front end.
Install it on your site with just one line in your index.html
-
``
#bla bla x blaz
console.log("hi"); | |
if(location.hash.slice(1).substr(0,1) == "$"){ | |
link = location.hash.slice(1).substr(1); | |
window.location = "https://goo.gl/" + link; | |
} |
<div class="wrap"> | |
<h1>Libert 📖</h1> | |
<form id="form"> | |
<div class="search"> | |
<input type="text" class="searchTerm" id="lolz" placeholder="What are you looking for?"> | |
<button type="submit" class="searchButton" onclick="search()"> | |
<i class="fa fa-search"></i> | |
</button> | |
</form> | |
</div> |
I hereby claim:
To claim this, I am signing this object:
2.times do | |
3.times do | |
use_synth :dull_bell | |
play 80 | |
play 90 | |
sleep 0.5 | |
use_synth :prophet | |
play 60 | |
sleep 0.5 | |
end |
function sortedSearch(listy, x) { | |
var start = 0; | |
var end = listy.length-1; | |
var index = Math.round((end+start)/2); | |
var i = 0; | |
while (listy[index] != x && i<listy.length/2) { | |
if(x<listy[index]){ | |
end = index; | |
} |
function Round(n,p){ | |
n = n.toString(); | |
var z; | |
var impo; | |
var impi; | |
var imp; | |
for (i=0; i>n.length;i++){ | |
if(n.charAt(i) == '.'){ | |
z = i+1; | |
break; |
var limit = 4000000; | |
var a = 1; | |
var b = 1; | |
var sum = 0; | |
while(b < limit){ | |
if (b % 2 === 0){ | |
sum += b; | |
} | |
h = a+b; | |
a = b; |