Skip to content

Instantly share code, notes, and snippets.

View tamimibrahim17's full-sized avatar
🎯
Focusing

Tamim Ibrahim tamimibrahim17

🎯
Focusing
  • Tikweb
  • Bangladesh
View GitHub Profile
@tamimibrahim17
tamimibrahim17 / index.html
Created September 27, 2019 06:30
Tailwind CSS pricing panel responsive
<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>
@tamimibrahim17
tamimibrahim17 / 2019-ui-06-multi-column-events-schedule.markdown
Created September 23, 2019 13:44
2019 UI-06 : Multi-column events schedule
@tamimibrahim17
tamimibrahim17 / Developers — here is the best WHY to quit your 9–5 job.md
Created June 11, 2019 07:31
Developers — here is the best WHY to quit your 9–5 job

Developers — here is the best WHY to quit your 9–5 job

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.

@tamimibrahim17
tamimibrahim17 / test.php
Last active April 23, 2019 05:21
test predict date
<?php
use PHPUnit\Framework\TestCase;
require_once __DIR__.'/main.php';
class DateTest extends TestCase{
public $data;
protected function setUp(): void {
@tamimibrahim17
tamimibrahim17 / main.php
Last active April 23, 2019 05:18
predict date format
<?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
@tamimibrahim17
tamimibrahim17 / driv-1184.txt
Created April 9, 2019 06:58
Imporve translation management system
#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:
@tamimibrahim17
tamimibrahim17 / git-bash.sh
Created February 27, 2019 09:55 — forked from gyandeeps/git-bash.sh
Bash alias for git
# 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
@tamimibrahim17
tamimibrahim17 / index.html
Created September 13, 2018 13:49
sortable testing
<!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">
@tamimibrahim17
tamimibrahim17 / longPolling.js
Created August 6, 2018 19:00 — forked from jasdeepkhalsa/longPolling.js
Simple Long Polling Example with JavaScript and jQuery by Tian Davis (@tiandavis) from Techoctave.com (http://techoctave.com/c7/posts/60-simple-long-polling-example-with-javascript-and-jquery)
// 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 });
})();