Skip to content

Instantly share code, notes, and snippets.

View phloreenm's full-sized avatar
🎯
Focusing

Florin M. phloreenm

🎯
Focusing
View GitHub Profile
@phloreenm
phloreenm / main.js
Created March 9, 2024 13:18
taxi-webapp
document.onreadystatechange = function () {
let state = document.readyState;
if (state == 'complete') {
document.getElementById('interactive');
document.getElementById('load').style.visibility="hidden";
}
};
$(document).ready(function(){
"use strict";
@phloreenm
phloreenm / booking.php
Created September 16, 2023 20:36
Chauffeur_v1.3.2 - errors
( ! ) Warning: Undefined array key 0 in C:\Programming\WAMP_stack\www\wp_taxi\wp-content\plugins\chauffeur-shortcodes-post-types\chauffeur-shortcodes-post-types.php on line 613
Call Stack
# Time Memory Function Location
1 0.0007 370440 {main}( ) ...\index.php:0
2 0.0010 370752 require( 'C:\Programming\WAMP_stack\www\wp_taxi\wp-blog-header.php ) ...\index.php:17
3 0.7581 10398944 require_once( 'C:\Programming\WAMP_stack\www\wp_taxi\wp-includes\template-loader.php ) ...\wp-blog-header.php:19
4 0.7619 10435104 include( 'C:\Programming\WAMP_stack\www\wp_taxi\wp-content\themes\chauffeur\page.php ) ...\template-loader.php:106
5 0.9471 11919200 the_content( $more_link_text = ???, $strip_teaser = ??? ) ...\page.php:22
6 0.9472 11919232 apply_filters( $hook_name = 'the_content', $value = '[vc_row][vc_column][booking_page]<h4>Online Reservations</h4><div class="title-block7"></div><p>Nullam erat felis, pellentesque non egestas nec, <a href="#">vulputate id odio</a>. Donec mattis nec orci ut porta. Donec pharetra <a hre
@phloreenm
phloreenm / app.py
Created May 18, 2023 14:08
eManager
import os
from flask_pymongo import PyMongo
from pymongo import MongoClient
from dotenv import load_dotenv
from flask import (
Flask, flash, render_template, request, redirect, url_for, session)
from bson.objectid import ObjectId
from werkzeug.security import generate_password_hash, check_password_hash
import logging
@phloreenm
phloreenm / index.html
Created January 22, 2023 12:15
pKZKOr
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css">
<div class="container">
<div id='newContent'></div>
<br>
<button class="waves-effect waves-light bg-blue btn right" id="addSelect">Add Select</button>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script>
@phloreenm
phloreenm / git-branch-backup.sh
Created November 16, 2022 12:09 — forked from msadouni/git-branch-backup.sh
Backup a Git branch
#!/bin/sh
# Usage: git-branch-backup.sh <remote>
# Originally from jlecour but I can't find his version anymore
if [ -z "$1" ]
then
remote='origin'
else
remote=$1
fi

Aligning images

left alignment

This is the code you need to align images to the left:

@phloreenm
phloreenm / gist:a315321552068c2f33400d0510281aa9
Created June 8, 2022 22:20 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@phloreenm
phloreenm / media-query.css
Created June 1, 2022 10:14 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
header {
background: lightblue;
}
section {
background: #ccc;
}
footer {
position: absolute;