Skip to content

Instantly share code, notes, and snippets.

Such telefonosuci

  • Thinkopen
  • Pavia
View GitHub Profile
View css-lego-minifigure-maker.markdown

CSS LEGO Minifigure Maker

Swap heads, change colors, take it apart, and rebuild it! #LegoLove

A Pen by Josh Bader on CodePen.

License.

@telefonosuci
telefonosuci / index.html
Created Dec 24, 2018
🍕 Pizza Loader 🍕
View index.html
<svg viewBox="0 0 122 122" xmlns="http://www.w3.org/2000/svg">
<defs>
<g class="whole" id="pizza">
<circle cx="61" cy="61" r="61" fill="#FFB800"/>
<circle cx="61" cy="61" r="55" fill="#FFDE31"/>
<g fill="#CD2D36" stroke="#FEA202" stroke-miterlimit="10" stroke-width="2">
<circle cx="61" cy="29.11" r="8" />
<circle cx="38.45" cy="38.45" r="8" />
<circle cx="29.11" cy="61" r="8" />
<circle cx="38.45" cy="83.55" r="8" />
@telefonosuci
telefonosuci / index.html
Last active Sep 6, 2018
Responsive Table Demo
View index.html
<style>
/*
Max width before this PARTICULAR table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
*/
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
/* Force table to not be like tables anymore */
table,
thead,
@telefonosuci
telefonosuci / filedb.php
Created Jan 17, 2018
Read data from file txt
View filedb.php
<?php
$my_database_txt = 'numeri.txt';
$array_righi = file($my_database_txt);
print_r( $array_righi);
$A=explode("|",$array_righi[0]);
$B=explode("|",$array_righi[1]);
$C=explode("|",$array_righi[2]);
@telefonosuci
telefonosuci / mysql.php
Created Jan 17, 2018
PHP MySQL connection and select
View mysql.php
<?php
// Create connection
$conn = new mysqli("localhost", "root", "");
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
You can’t perform that action at this time.