Skip to content

Instantly share code, notes, and snippets.

View VhMuzini's full-sized avatar
🎯
Focusing

VhMuzini VhMuzini

🎯
Focusing
  • Brasil
View GitHub Profile
@VhMuzini
VhMuzini / index.html
Last active May 14, 2018 17:14
Progress Bar with Label behind the actual "bar" using bootstrap
<div class="progress" style="height: 20px;">
<div class="progress-bar progress-bar-stripped" role="progressbar"
aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" style="width: 50%">
<span>30%</span>
</div>
</div>
@VhMuzini
VhMuzini / index.php
Created April 23, 2018 19:52
Separate columns in php foreach using bootstrap
<div class="row">
<? foreach ($uuids as $uuid): ?>
<div class="col-md-4">
<? component("sigpark.php", $uuid); ?>
</div>
<? endforeach; ?>
</div>
@VhMuzini
VhMuzini / palin.py
Last active March 23, 2018 16:14
Simple python fuction for test if a string is palindrome
# Author: Vitor
word = input("Enter your word: ")
if word == word[::-1] or len(word) < 2:
print("Your word IS a palindrome")
else:
print("Your word IS NOT a palindrome")