A Pen by Dylan Macnab on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section> | |
<div class="container max-w-full mx-auto py-12 px-6"> | |
<h1 class="text-center text-4xl text-black font-medium leading-snug tracking-wider"> | |
Pricing | |
</h1> | |
<p class="text-center text-lg text-gray-700 mt-2 px-6"> | |
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam. | |
</p> | |
<div class="h-1 mx-auto bg-indigo-200 w-24 opacity-75 mt-4 rounded"></div> |
Image by Andrew Martin from Pixabay
A senior dev whom I respect for his technical prowess called me this morning. He called to fret over the meagre 12% raise he got, against a junior dev working under him and got 40% raise — his compensation now totaling 85% of the senior dev supervising 10 other junior devs like him.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use PHPUnit\Framework\TestCase; | |
require_once __DIR__.'/main.php'; | |
class DateTest extends TestCase{ | |
public $data; | |
protected function setUp(): void { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Predict date format (d/m/Y) | |
// | |
// Note: | |
// A month can be [01-12] | |
// A Day can be [01-31] | |
// A Year can be [1000-9999] | |
// | |
// Below are some date format |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DRIV-1184 | |
We need a smarter translation system, to make sure that development don’t stop and functions are not skipped, due to missing texts/translations. | |
Asking for translations each time is not practically possible, as it stops development and puts us off track. | |
Instead we need “verification/approval” built into translation system, so it is easy to see in the translation interface if texts are approved or not. This will allow the development to proceed, while also improving the translation quality, as translations do not need to be as instant. | |
Features needed to make this work in the translation interface: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Global variables | |
re='^[0-9]+$' | |
# Will create a new branch with name ($1) from master | |
# it will also make sure master is up to date from origin | |
workstart() { | |
if ! [[ $1 =~ $re ]] | |
then | |
val=$1 | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Sortable testing</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css" /> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.css" /> | |
</head> | |
<body> | |
<div class="container"> |
Based on this dribbble shot: https://dribbble.com/shots/1818748-Appon-Chat-Widget. Search field is functional. You can also add your own messages to the chat window! A random response will be given :)
A Pen by Andre Madarang on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Long Polling (Recommened Technique - Creates An Open Connection To Server ∴ Fast) | |
(function poll(){ | |
$.ajax({ url: "server", success: function(data){ | |
//Update your dashboard gauge | |
salesGauge.setValue(data.value); | |
}, dataType: "json", complete: poll, timeout: 30000 }); | |
})(); |