hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4a040cec30b410f0438c932d31b2e99b9b0ac0a4 | 387,010 | sql | SQL | rosterdb_19th_sep.sql | scloss/roster2 | 8dad83631554ab5a125d8e93a7eb91e5bb176810 | [
"MIT"
] | null | null | null | rosterdb_19th_sep.sql | scloss/roster2 | 8dad83631554ab5a125d8e93a7eb91e5bb176810 | [
"MIT"
] | null | null | null | rosterdb_19th_sep.sql | scloss/roster2 | 8dad83631554ab5a125d8e93a7eb91e5bb176810 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Sep 19, 2016 at 01:04 PM
-- Server version: 5.6.26
-- PHP Version: 5.6.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `rosterdb`
--
-- --------------------------------------------------------
--
-- Table structure for table `admintable`
--
CREATE TABLE IF NOT EXISTS `admintable` (
`role_row_id` int(11) NOT NULL,
`user_id` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admintable`
--
INSERT INTO `admintable` (`role_row_id`, `user_id`) VALUES
(1, 'showmen.barua'),
(2, 'sakib.ullah'),
(4, 'saeed.naser'),
(5, 'mahbub.hasan'),
(6, 'emtiaz.hossain'),
(7, 'mir.raihan'),
(8, 'razib.hasan'),
(9, 'raihan.parvez'),
(10, 'md.shariful'),
(11, 'jalal.mahedi'),
(12, 'sadaf.mahmud');
-- --------------------------------------------------------
--
-- Table structure for table `daytable`
--
CREATE TABLE IF NOT EXISTS `daytable` (
`day_row_id` int(11) NOT NULL,
`shift_id` int(11) NOT NULL,
`shift_member` varchar(255) NOT NULL,
`shift_position` varchar(255) NOT NULL,
`day_last_updated` datetime NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3656 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `daytable`
--
INSERT INTO `daytable` (`day_row_id`, `shift_id`, `shift_member`, `shift_position`, `day_last_updated`) VALUES
(1, 1, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(2, 1, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(3, 1, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(4, 1, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(5, 1, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(6, 2, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(7, 2, 'nafisa.sayed,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(8, 2, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(9, 2, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(10, 2, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(11, 3, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(12, 3, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(13, 3, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(14, 3, 'rahul.biswas,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(15, 3, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(16, 4, 'mir.raihan,saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(17, 4, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(18, 4, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(19, 4, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(20, 4, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(21, 5, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(22, 5, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(23, 5, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(24, 5, 'rahul.biswas,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(25, 5, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(26, 6, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(27, 6, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(28, 6, 'sarbik.sahan,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(29, 6, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(30, 6, 'ahsan.zaki,rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(31, 7, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(32, 7, 'nafisa.sayed,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(33, 7, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(34, 7, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(35, 7, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(36, 8, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(37, 8, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(38, 8, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(39, 8, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(40, 8, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(41, 9, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(42, 9, 'nafisa.sayed,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(43, 9, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(44, 9, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(45, 9, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(46, 10, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(47, 10, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(48, 10, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(49, 10, 'rahul.biswas,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(50, 10, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(51, 11, 'mir.raihan,saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(52, 11, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(53, 11, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(54, 11, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(55, 11, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(56, 12, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(57, 12, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(58, 12, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(59, 12, 'rahul.biswas,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(60, 12, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(61, 13, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(62, 13, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(63, 13, 'sarbik.sahan,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(64, 13, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(65, 13, 'ahsan.zaki,rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(66, 14, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(67, 14, 'nafisa.sayed,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(68, 14, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(69, 14, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(70, 14, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(71, 15, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(72, 15, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(73, 15, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(74, 15, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(75, 15, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(76, 16, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(77, 16, 'nafisa.sayed,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(78, 16, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(79, 16, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(80, 16, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(81, 17, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(82, 17, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(83, 17, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(84, 17, 'rahul.biswas,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(85, 17, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(86, 18, 'mir.raihan,saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(87, 18, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(88, 18, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(89, 18, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(90, 18, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(91, 19, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(92, 19, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(93, 19, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(94, 19, 'rahul.biswas,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(95, 19, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(96, 20, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(97, 20, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(98, 20, 'sarbik.sahan,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(99, 20, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(100, 20, 'ahsan.zaki,rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(101, 21, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(102, 21, 'nafisa.sayed,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(103, 21, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(104, 21, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(105, 21, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(106, 22, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(107, 22, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(108, 22, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(109, 22, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(110, 22, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(111, 23, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(112, 23, 'nafisa.sayed,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(113, 23, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(114, 23, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(115, 23, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(116, 24, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(117, 24, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(118, 24, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(119, 24, 'rahul.biswas,sadia.afrin', 'iig', '2016-05-06 11:08:19'),
(120, 24, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(121, 25, 'mir.raihan,saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(122, 25, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(123, 25, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(124, 25, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(125, 25, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(126, 26, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(127, 26, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(128, 26, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(129, 26, 'rahul.biswas,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(130, 26, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(131, 27, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(132, 27, 'umar.rafaet,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(133, 27, 'sarbik.sahan,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(134, 27, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(135, 27, 'ahsan.zaki,rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(156, 32, 'mahbub.hasan', 'shift_leader', '2016-05-27 03:10:26'),
(157, 32, 'nafisa.sayed,sadia.afrin', 'sur', '2016-05-27 03:10:26'),
(158, 32, 'puspita.topu,nazmul.hasan,etanvir.ahmed', 'bo', '2016-05-27 03:10:26'),
(159, 32, 'tahsinul.ferdous', 'iig', '2016-05-27 03:10:26'),
(160, 32, 'rayhan.hossain', 'icx', '2016-05-27 03:10:26'),
(161, 33, 'sakib.ullah', 'shift_leader', '2016-05-27 03:10:26'),
(162, 33, 'nafisa.sayed,wahidul.ashrafe', 'sur', '2016-05-27 03:10:26'),
(163, 33, 'nowrin.karim,puspita.topu', 'bo', '2016-05-27 03:10:26'),
(164, 33, 'tahsinul.ferdous', 'iig', '2016-05-27 03:10:26'),
(165, 33, 'ahsan.zaki', 'icx', '2016-05-27 03:10:26'),
(166, 34, 'sakib.ullah', 'shift_leader', '2016-05-27 03:10:26'),
(167, 34, 'nafisa.sayed,anika.sharmin', 'sur', '2016-05-27 03:10:26'),
(168, 34, 'nowrin.karim,samar.kumar', 'bo', '2016-05-27 03:10:26'),
(169, 34, 'tanveer.ahmed', 'iig', '2016-05-27 03:10:26'),
(170, 34, 'saiham.rahman,ahsan.zaki', 'icx', '2016-05-27 03:10:26'),
(171, 35, 'mir.raihan', 'shift_leader', '2016-05-27 03:10:26'),
(172, 35, 'nasrin.akter,umar.rafaet', 'sur', '2016-05-27 03:10:26'),
(173, 35, 'nowrin.karim,etanvir.ahmed,anika.sharmin', 'bo', '2016-05-27 03:10:26'),
(174, 35, 'rahul.biswas,tanveer.ahmed', 'iig', '2016-05-27 03:10:26'),
(175, 35, 'ashiqur.rahman', 'icx', '2016-05-27 03:10:26'),
(326, 66, 'mir.raihan,saeed.naser', 'shift_leader', '2016-05-27 10:30:05'),
(327, 66, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-27 10:30:05'),
(328, 66, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-27 10:30:05'),
(329, 66, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-05-27 10:30:05'),
(330, 66, 'ashiqur.rahman', 'icx', '2016-05-27 10:30:05'),
(331, 67, 'mir.raihan', 'shift_leader', '2016-05-27 10:30:05'),
(332, 67, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-27 10:30:05'),
(333, 67, 'maruf.mohammad,sarbik.sahan', 'bo', '2016-05-27 10:30:05'),
(334, 67, 'imroze.ahmed', 'iig', '2016-05-27 10:30:05'),
(335, 67, 'shamim.hassan', 'icx', '2016-05-27 10:30:05'),
(896, 180, 'saeed.naser', 'shift_leader', '2016-06-02 11:45:21'),
(897, 180, 'nazmul.hasan,s.majumder', 'sur', '2016-06-02 11:45:21'),
(898, 180, 'sarbik.sahan,puspita.topu', 'bo', '2016-06-02 11:45:21'),
(899, 180, 'imroze.ahmed', 'iig', '2016-06-02 11:45:21'),
(900, 180, 'rayhan.hossain', 'icx', '2016-06-02 11:45:21'),
(901, 181, 'mahbub.hasan', 'shift_leader', '2016-06-02 11:45:21'),
(902, 181, 'sadia.afrin,nazmul.hasan', 'sur', '2016-06-02 11:45:21'),
(903, 181, 'puspita.topu,etanvir.ahmed', 'bo', '2016-06-02 11:45:21'),
(904, 181, 'tahsinul.ferdous', 'iig', '2016-06-02 11:45:21'),
(905, 181, 'rayhan.hossain', 'icx', '2016-06-02 11:45:21'),
(906, 182, 'sakib.ullah', 'shift_leader', '2016-06-02 11:45:21'),
(907, 182, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-06-02 11:45:21'),
(908, 182, 'nowrin.karim,puspita.topu', 'bo', '2016-06-02 11:45:21'),
(909, 182, 'tahsinul.ferdous', 'iig', '2016-06-02 11:45:21'),
(910, 182, 'ahsan.zaki', 'icx', '2016-06-02 11:45:21'),
(911, 183, 'sakib.ullah', 'shift_leader', '2016-06-02 11:45:21'),
(912, 183, 'nafisa.sayed,anika.sharmin', 'sur', '2016-06-02 11:45:21'),
(913, 183, 'nowrin.karim,samar.kumar', 'bo', '2016-06-02 11:45:21'),
(914, 183, 'tanveer.ahmed,rahul.biswas', 'iig', '2016-06-02 11:45:21'),
(915, 183, 'saiham.rahman,ahsan.zaki', 'icx', '2016-06-02 11:45:21'),
(1156, 232, 'mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1157, 232, 'nasrin.akter,umar.rafaet', 'sur', '2016-06-06 09:18:50'),
(1158, 232, 'nowrin.karim,etanvir.ahmed,anika.sharmin', 'bo', '2016-06-06 09:18:50'),
(1159, 232, 'rahul.biswas', 'iig', '2016-06-06 09:18:50'),
(1160, 232, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1161, 233, 'mir.raihan,saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1162, 233, 'nasrin.akter,anika.sharmin,umar.rafaet', 'sur', '2016-06-06 09:18:50'),
(1163, 233, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-06 09:18:50'),
(1164, 233, 'iftakhar.jahan', 'iig', '2016-06-06 09:18:50'),
(1165, 233, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1166, 234, 'saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1167, 234, 'nazmul.hasan,nasrin.akter', 'sur', '2016-06-06 09:18:50'),
(1168, 234, 'sarbik.sahan,maruf.mohammad,anika.sharmin', 'bo', '2016-06-06 09:18:50'),
(1169, 234, 'imroze.ahmed,jalal.mahedi', 'iig', '2016-06-06 09:18:50'),
(1170, 234, 'shamim.hassan', 'icx', '2016-06-06 09:18:50'),
(1171, 235, 'saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1172, 235, 'nazmul.hasan,s.majumder', 'sur', '2016-06-06 09:18:50'),
(1173, 235, 'sarbik.sahan,puspita.topu', 'bo', '2016-06-06 09:18:50'),
(1174, 235, 'imroze.ahmed,sadia.afrin', 'iig', '2016-06-06 09:18:50'),
(1175, 235, 'rayhan.hossain', 'icx', '2016-06-06 09:18:50'),
(1176, 236, 'mahbub.hasan', 'shift_leader', '2016-06-06 09:18:50'),
(1177, 236, 'nafisa.sayed,sadia.afrin', 'sur', '2016-06-06 09:18:50'),
(1178, 236, 'puspita.topu,nazmul.hasan,etanvir.ahmed', 'bo', '2016-06-06 09:18:50'),
(1179, 236, 'tahsinul.ferdous', 'iig', '2016-06-06 09:18:50'),
(1180, 236, 'rayhan.hossain,ahsan.zaki', 'icx', '2016-06-06 09:18:50'),
(1181, 237, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1182, 237, 'nafisa.sayed,rifat.hasan', 'sur', '2016-06-06 09:18:50'),
(1183, 237, 'nowrin.karim,puspita.topu,wahidul.ashrafe', 'bo', '2016-06-06 09:18:50'),
(1184, 237, 'tahsinul.ferdous', 'iig', '2016-06-06 09:18:50'),
(1185, 237, 'ahsan.zaki', 'icx', '2016-06-06 09:18:50'),
(1186, 238, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1187, 238, 'nafisa.sayed,anika.sharmin', 'sur', '2016-06-06 09:18:50'),
(1188, 238, 'nowrin.karim,samar.kumar', 'bo', '2016-06-06 09:18:50'),
(1189, 238, 'tanveer.ahmed,rahul.biswas', 'iig', '2016-06-06 09:18:50'),
(1190, 238, 'saiham.rahman', 'icx', '2016-06-06 09:18:50'),
(1191, 239, 'mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1192, 239, 'nasrin.akter,anika.sharmin', 'sur', '2016-06-06 09:18:50'),
(1193, 239, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-06 09:18:50'),
(1194, 239, 'rahul.biswas', 'iig', '2016-06-06 09:18:50'),
(1195, 239, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1196, 240, 'mir.raihan,saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1197, 240, 'nasrin.akter,anika.sharmin', 'sur', '2016-06-06 09:18:50'),
(1198, 240, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-06 09:18:50'),
(1199, 240, 'rahul.biswas', 'iig', '2016-06-06 09:18:50'),
(1200, 240, 'ahsan.zaki', 'icx', '2016-06-06 09:18:50'),
(1201, 241, 'saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1202, 241, 'nazmul.hasan,nasrin.akter', 'sur', '2016-06-06 09:18:50'),
(1203, 241, 'sarbik.sahan,maruf.mohammad,anika.sharmin', 'bo', '2016-06-06 09:18:50'),
(1204, 241, 'imroze.ahmed,jalal.mahedi', 'iig', '2016-06-06 09:18:50'),
(1205, 241, 'shamim.hassan', 'icx', '2016-06-06 09:18:50'),
(1206, 242, 'saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1207, 242, 'nazmul.hasan,s.majumder', 'sur', '2016-06-06 09:18:50'),
(1208, 242, 'sarbik.sahan,etanvir.ahmed', 'bo', '2016-06-06 09:18:50'),
(1209, 242, 'imroze.ahmed,sadia.afrin', 'iig', '2016-06-06 09:18:50'),
(1210, 242, 'rayhan.hossain', 'icx', '2016-06-06 09:18:50'),
(1276, 256, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1277, 256, 'nafisa.sayed,sadia.afrin', 'sur', '2016-06-17 10:12:06'),
(1278, 256, 'nazmul.hasan,puspita.tapu,iqbal.ahmed', 'bo', '2016-06-17 10:12:06'),
(1279, 256, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1280, 256, 'ahsan.zaki,saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1281, 257, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1282, 257, 'nafisa.sayed,wahidul.ashrafe', 'sur', '2016-06-17 10:12:06'),
(1283, 257, 'nowrin.karim,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1284, 257, 'sadia.afrin', 'iig', '2016-06-17 10:12:06'),
(1285, 257, 'ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1286, 258, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1287, 258, 'nafisa.sayed,anika.sharmin', 'sur', '2016-06-17 10:12:06'),
(1288, 258, 'nowrin.karim,samar.kumar', 'bo', '2016-06-17 10:12:06'),
(1289, 258, 'tanveer.ahmed,rahul.biswas', 'iig', '2016-06-17 10:12:06'),
(1290, 258, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1291, 259, 'mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1292, 259, 'nasrin.akter,umar.rafaet', 'sur', '2016-06-17 10:12:06'),
(1293, 259, 'nowrin.karim,etanvir.ahmed,anika.sharmin', 'bo', '2016-06-17 10:12:06'),
(1294, 259, 'rahul.biswas', 'iig', '2016-06-17 10:12:06'),
(1295, 259, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1296, 260, 'mir.raihan,saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1297, 260, 'nasrin.akter,umar.rafaet', 'sur', '2016-06-17 10:12:06'),
(1298, 260, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1299, 260, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1300, 260, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1301, 261, 'mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1302, 261, 'nazmul.hasan,nasrin.akter', 'sur', '2016-06-17 10:12:06'),
(1303, 261, 'sarbik.sahan,maruf.mohammad,anika.sharmin', 'bo', '2016-06-17 10:12:06'),
(1304, 261, 'imroze.ahmed,jalal.mahedi', 'iig', '2016-06-17 10:12:06'),
(1305, 261, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1306, 262, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1307, 262, 'nazmul.hasan,anika.sharmin', 'sur', '2016-06-17 10:12:06'),
(1308, 262, 'sarbik.sahan,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1309, 262, 'imroze.ahmed,sadia.afrin', 'iig', '2016-06-17 10:12:06'),
(1310, 262, 'rayhan.hossain', 'icx', '2016-06-17 10:12:06'),
(1311, 263, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1312, 263, 'nafisa.sayed,sadia.afrin', 'sur', '2016-06-17 10:12:06'),
(1313, 263, 'nazmul.hasan,puspita.tapu,iqbal.ahmed', 'bo', '2016-06-17 10:12:06'),
(1314, 263, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1315, 263, 'rayhan.hossain,ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1316, 264, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1317, 264, 'nafisa.sayed,rifat.hasan', 'sur', '2016-06-17 10:12:06'),
(1318, 264, 'nowrin.karim,wahidul.ashrafe,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1319, 264, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1320, 264, 'ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1321, 265, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1322, 265, 'nafisa.sayed,anika.sharmin', 'sur', '2016-06-17 10:12:06'),
(1323, 265, 'nowrin.karim,samar.kumar', 'bo', '2016-06-17 10:12:06'),
(1324, 265, 'tanveer.ahmed,rahul.biswas', 'iig', '2016-06-17 10:12:06'),
(1325, 265, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1326, 266, 'mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1327, 266, 'nasrin.akter,umar.rafaet', 'sur', '2016-06-17 10:12:06'),
(1328, 266, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-17 10:12:06'),
(1329, 266, 'rahul.biswas', 'iig', '2016-06-17 10:12:06'),
(1330, 266, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1331, 267, 'mir.raihan,saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1332, 267, 'nasrin.akter,anika.sharmin', 'sur', '2016-06-17 10:12:06'),
(1333, 267, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1334, 267, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1335, 267, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1336, 268, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1337, 268, 'nazmul.hasan,nasrin.akter', 'sur', '2016-06-17 10:12:06'),
(1338, 268, 'sarbik.sahan,maruf.mohammad,anika.sharmin', 'bo', '2016-06-17 10:12:06'),
(1339, 268, 'imroze.ahmed,jalal.mahedi', 'iig', '2016-06-17 10:12:06'),
(1340, 268, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1341, 269, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1342, 269, 'rifat.hasan,sadia.afrin', 'sur', '2016-06-29 08:53:39'),
(1343, 269, 'puspita.tapu,anika.sharmin', 'bo', '2016-06-29 08:53:39'),
(1344, 269, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1345, 269, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1346, 270, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1347, 270, 'nafisa.sayed,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1348, 270, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1349, 270, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1350, 270, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1351, 271, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1352, 271, 'puspita.tapu,nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1353, 271, 'nowrin.karim,tanveer.ahmed,wahidul.ashrafe', 'bo', '2016-06-29 08:53:39'),
(1354, 271, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1355, 271, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1356, 272, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1357, 272, 'nafisa.sayed,anika.sharmin', 'sur', '2016-06-29 08:53:39'),
(1358, 272, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1359, 272, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1360, 272, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1361, 273, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1362, 273, 'umar.rafaet,iqbal.ahmed,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1363, 273, 'nowrin.karim,anika.sharmin', 'bo', '2016-06-29 08:53:39'),
(1364, 273, 'sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1365, 273, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1366, 274, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1367, 274, 'anika.sharmin,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1368, 274, 'biplob.barua', 'bo', '2016-06-29 08:53:39'),
(1369, 274, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1370, 274, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1371, 275, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1372, 275, 'anika.sharmin,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1373, 275, 'puspita.tapu,biplob.barua', 'bo', '2016-06-29 08:53:39'),
(1374, 275, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1375, 275, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1376, 276, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1377, 276, 's.majumder,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1378, 276, 'puspita.tapu,anika.sharmin', 'bo', '2016-06-29 08:53:39'),
(1379, 276, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1380, 276, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1381, 277, 'emtiaz.hossain', 'shift_leader', '2016-06-29 08:53:39'),
(1382, 277, 'nafisa.sayed,nasrin.akter', 'sur', '2016-06-29 08:53:39'),
(1383, 277, 'puspita.tapu,trina.majumder', 'bo', '2016-06-29 08:53:39'),
(1384, 277, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1385, 277, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1386, 278, 'emtiaz.hossain', 'shift_leader', '2016-06-29 08:53:39'),
(1387, 278, 'nafisa.sayed,nasrin.akter', 'sur', '2016-06-29 08:53:39'),
(1388, 278, 'wahidul.ashrafe,etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1389, 278, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1390, 278, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1391, 279, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1392, 279, 'nafisa.sayed,nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1393, 279, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1394, 279, 'sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1395, 279, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1396, 280, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1397, 280, 'nafisa.sayed,nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1398, 280, 'nowrin.karim,puspita.tapu', 'bo', '2016-06-29 08:53:39'),
(1399, 280, 'sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1400, 280, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1401, 281, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1402, 281, 'rifat.hasan,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1403, 281, 'nowrin.karim,puspita.tapu', 'bo', '2016-06-29 08:53:39'),
(1404, 281, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1405, 281, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1406, 282, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1407, 282, 'nafisa.sayed,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1408, 282, 'puspita.tapu,umar.rafaet', 'bo', '2016-06-29 08:53:39'),
(1409, 282, 'tanveer.ahmed', 'iig', '2016-06-29 08:53:39'),
(1410, 282, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1411, 283, 'jalal.mahedi', 'shift_leader', '2016-06-29 08:53:39'),
(1412, 283, 'anika.sharmin,s.majumder', 'sur', '2016-06-29 08:53:39'),
(1413, 283, 'umar.rafaet,samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1414, 283, 'tanveer.ahmed', 'iig', '2016-06-29 08:53:39'),
(1415, 283, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1416, 284, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1417, 284, 'nasrin.akter,anika.sharmin', 'sur', '2016-06-29 08:53:39'),
(1418, 284, 'samar.kumar,umar.rafaet', 'bo', '2016-06-29 08:53:39'),
(1419, 284, 'sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1420, 284, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1421, 285, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1422, 285, 'nasrin.akter,wahidul.ashrafe', 'sur', '2016-06-29 08:53:39'),
(1423, 285, 'sarbik.sahan,samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1424, 285, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1425, 285, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1426, 286, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1427, 286, 'anika.sharmin,tanveer.ahmed', 'sur', '2016-06-29 08:53:39'),
(1428, 286, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1429, 286, 'rahul.biswas,sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1430, 286, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1431, 287, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1432, 287, 'iqbal.ahmed,umar.rafaet,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1433, 287, 'nowrin.karim,nasrin.akter,anika.sharmin', 'bo', '2016-06-29 08:53:39'),
(1434, 287, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1435, 287, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1436, 288, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1437, 288, 'nasrin.akter,iqbal.ahmed,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1438, 288, 'maruf.mohammad,anika.sharmin', 'bo', '2016-06-29 08:53:39'),
(1439, 288, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1440, 288, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1441, 289, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1442, 289, 'nasrin.akter,anika.sharmin', 'sur', '2016-06-29 08:53:39'),
(1443, 289, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-06-29 08:53:39'),
(1444, 289, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1445, 289, 'iftakhar.jahan', 'icx', '2016-06-29 08:53:39'),
(1446, 290, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1447, 290, 'sadia.afrin,s.majumder', 'sur', '2016-06-29 08:53:39'),
(1448, 290, 'puspita.tapu,anika.sharmin', 'bo', '2016-06-29 08:53:39'),
(1449, 290, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1450, 290, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1496, 300, 'mahbub.hasan', 'shift_leader', '2016-07-21 01:13:03'),
(1497, 300, 'nafisa.sayed,nasrin.akter', 'sur', '2016-07-21 01:13:03'),
(1498, 300, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-07-21 01:13:03'),
(1499, 300, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-07-21 01:13:03'),
(1500, 300, 'ashiqur.rahman', 'icx', '2016-07-21 01:13:03'),
(1541, 309, 'sakib.ullah', 'shift_leader', '2016-07-21 01:28:32'),
(1542, 309, 'wahidul.ashrafe,nasrin.akter', 'sur', '2016-07-21 01:28:32'),
(1543, 309, 'nowrin.karim,nazmul.hasan', 'bo', '2016-07-21 01:28:32'),
(1544, 309, 'sadia.afrin,tanveer.ahmed', 'iig', '2016-07-21 01:28:32'),
(1545, 309, 'ashiqur.rahman', 'icx', '2016-07-21 01:28:32'),
(1586, 318, 'sakib.ullah', 'shift_leader', '2016-07-24 08:43:43'),
(1587, 318, 'anika.sharmin,wahidul.ashrafe', 'sur', '2016-07-24 08:43:43'),
(1588, 318, 'nowrin.karim,samar.kumar', 'bo', '2016-07-24 08:43:43'),
(1589, 318, 'tanveer.ahmed,rahul.biswas', 'iig', '2016-07-24 08:43:43'),
(1590, 318, 'ashiqur.rahman', 'icx', '2016-07-24 08:43:43'),
(1591, 319, 'mir.raihan', 'shift_leader', '2016-07-24 08:43:43'),
(1592, 319, 'nasrin.akter,akramul.tarafdar,iqbal.ahmed', 'sur', '2016-07-24 08:43:43'),
(1593, 319, 'nowrin.karim,anika.sharmin', 'bo', '2016-07-24 08:43:43'),
(1594, 319, 'rahul.biswas', 'iig', '2016-07-24 08:43:43'),
(1595, 319, 'ashiqur.rahman,umar.rafaet', 'icx', '2016-07-24 08:43:43'),
(1596, 320, 'mir.raihan,saeed.naser', 'shift_leader', '2016-07-24 08:43:43'),
(1597, 320, 'nasrin.akter,iqbal.ahmed', 'sur', '2016-07-24 08:43:43'),
(1598, 320, 'maruf.mohammad,anika.sharmin', 'bo', '2016-07-24 08:43:43'),
(1599, 320, 'iftakhar.jahan', 'iig', '2016-07-24 08:43:43'),
(1600, 320, 'saiham.rahman,umar.rafaet', 'icx', '2016-07-24 08:43:43'),
(1601, 321, 'saeed.naser', 'shift_leader', '2016-07-24 08:43:43'),
(1602, 321, 'nasrin.akter,anika.sharmin,nafisa.sayed', 'sur', '2016-07-24 08:43:43'),
(1603, 321, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-07-24 08:43:43'),
(1604, 321, 'imroze.ahmed', 'iig', '2016-07-24 08:43:43'),
(1605, 321, 'iftakhar.jahan', 'icx', '2016-07-24 08:43:43'),
(1606, 322, 'mir.raihan', 'shift_leader', '2016-07-24 08:43:43'),
(1607, 322, 'sadia.afrin,akramul.tarafdar', 'sur', '2016-07-24 08:43:43'),
(1608, 322, 'maruf.mohammad,anika.sharmin', 'bo', '2016-07-24 08:43:43'),
(1609, 322, 'imroze.ahmed', 'iig', '2016-07-24 08:43:43'),
(1610, 322, 'rayhan.hossain', 'icx', '2016-07-24 08:43:43'),
(1611, 323, 'mahbub.hasan', 'shift_leader', '2016-07-24 08:43:43'),
(1612, 323, 'nafisa.sayed,nasrin.akter', 'sur', '2016-07-24 08:43:43'),
(1613, 323, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-07-24 08:43:43'),
(1614, 323, 'sadia.afrin', 'iig', '2016-07-24 08:43:43'),
(1615, 323, 'saiham.rahman', 'icx', '2016-07-24 08:43:43'),
(1616, 324, 'sakib.ullah', 'shift_leader', '2016-07-24 08:43:43'),
(1617, 324, 'wahidul.ashrafe,nasrin.akter', 'sur', '2016-07-24 08:43:43'),
(1618, 324, 'nowrin.karim,nazmul.hasan', 'bo', '2016-07-24 08:43:43'),
(1619, 324, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-07-24 08:43:43'),
(1620, 324, 'rayhan.hossain', 'icx', '2016-07-24 08:43:43'),
(1621, 325, 'sakib.ullah', 'shift_leader', '2016-07-31 08:42:52'),
(1622, 325, 'anika.sharmin,wahidul.ashrafe', 'sur', '2016-07-31 08:42:52'),
(1623, 325, 'nowrin.karim,samar.kumar', 'bo', '2016-07-31 08:42:52'),
(1624, 325, 'tanveer.ahmed,rahul.biswas', 'iig', '2016-07-31 08:42:52'),
(1625, 325, 'ashiqur.rahman', 'icx', '2016-07-31 08:42:52'),
(1626, 326, 'mir.raihan', 'shift_leader', '2016-07-31 08:42:52'),
(1627, 326, 'nasrin.akter,akramul.tarafdar,iqbal.ahmed', 'sur', '2016-07-31 08:42:52'),
(1628, 326, 'nowrin.karim,anika.sharmin', 'bo', '2016-07-31 08:42:52'),
(1629, 326, 'rahul.biswas', 'iig', '2016-07-31 08:42:52'),
(1630, 326, 'rayhan.hossain,umar.rafaet', 'icx', '2016-07-31 08:42:52'),
(1631, 327, 'saeed.naser', 'shift_leader', '2016-07-31 08:42:52'),
(1632, 327, 'nasrin.akter,iqbal.ahmed', 'sur', '2016-07-31 08:42:52'),
(1633, 327, 'maruf.mohammad,anika.sharmin', 'bo', '2016-07-31 08:42:52'),
(1634, 327, 'iftakhar.jahan', 'iig', '2016-07-31 08:42:52'),
(1635, 327, 'umar.rafaet', 'icx', '2016-07-31 08:42:52'),
(1776, 356, 'saeed.naser', 'shift_leader', '2016-08-03 07:20:53'),
(1777, 356, 'nasrin.akter,anika.sharmin,nafisa.sayed', 'sur', '2016-08-03 07:20:53'),
(1778, 356, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-08-03 07:20:53'),
(1779, 356, 'imroze.ahmed', 'iig', '2016-08-03 07:20:53'),
(1780, 356, 'iftakhar.jahan', 'icx', '2016-08-03 07:20:53'),
(1781, 357, 'saeed.naser', 'shift_leader', '2016-08-03 07:20:53'),
(1782, 357, 'sadia.afrin,nafisa.sayed', 'sur', '2016-08-03 07:20:53'),
(1783, 357, 'anika.sharmin,puspita.tapu', 'bo', '2016-08-03 07:20:53'),
(1784, 357, 'imroze.ahmed', 'iig', '2016-08-03 07:20:53'),
(1785, 357, 'rayhan.hossain', 'icx', '2016-08-03 07:20:53'),
(1786, 358, 'mahbub.hasan', 'shift_leader', '2016-08-03 07:20:53'),
(1787, 358, 'nafisa.sayed,nasrin.akter', 'sur', '2016-08-03 07:20:53'),
(1788, 358, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-08-03 07:20:53'),
(1789, 358, 'sadia.afrin,tahsinul.ferdous', 'iig', '2016-08-03 07:20:53'),
(1790, 358, 'rayhan.hossain', 'icx', '2016-08-03 07:20:53'),
(2791, 559, 'sakib.ullah', 'shift_leader', '2016-08-06 10:53:58'),
(2792, 559, 'nasrin.akter,nazmul.hasan', 'sur', '2016-08-06 10:53:58'),
(2793, 559, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-08-06 10:53:58'),
(2794, 559, 'rahul.biswas,sadia.afrin', 'iig', '2016-08-06 10:53:58'),
(2795, 559, 'umar.rafaet', 'icx', '2016-08-06 10:53:58'),
(2796, 560, 'sakib.ullah', 'shift_leader', '2016-08-06 10:53:58'),
(2797, 560, 'nazmul.hasan,umar.rafaet', 'sur', '2016-08-06 10:53:58'),
(2798, 560, 'nowrin.karim,samar.kumar', 'bo', '2016-08-06 10:53:58'),
(2799, 560, 'rahul.biswas', 'iig', '2016-08-06 10:53:58'),
(2800, 560, 'shamim.hassan', 'icx', '2016-08-06 10:53:58'),
(3031, 607, 'mir.raihan', 'shift_leader', '2016-08-07 03:33:38'),
(3032, 607, 'nasrin.akter,akramul.tarafdar', 'sur', '2016-08-07 03:33:38'),
(3033, 607, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-08-07 03:33:38'),
(3034, 607, 'tanveer.ahmed', 'iig', '2016-08-07 03:33:38'),
(3035, 607, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3036, 608, 'mir.raihan,saeed.naser', 'shift_leader', '2016-08-07 03:33:38'),
(3037, 608, 'nasrin.akter,akramul.tarafdar', 'sur', '2016-08-07 03:33:38'),
(3038, 608, 'maruf.mohammad,wahidul.ashrafe', 'bo', '2016-08-07 03:33:38'),
(3039, 608, 'tahsinul.ferdous', 'iig', '2016-08-07 03:33:38'),
(3040, 608, 'rayhan.hossain', 'icx', '2016-08-07 03:33:38'),
(3041, 609, 'saeed.naser', 'shift_leader', '2016-08-07 03:33:38'),
(3042, 609, 'nasrin.akter,nafisa.sayed', 'sur', '2016-08-07 03:33:38'),
(3043, 609, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-08-07 03:33:38'),
(3044, 609, 'sadia.afrin,tahsinul.ferdous', 'iig', '2016-08-07 03:33:38'),
(3045, 609, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3046, 610, 'saeed.naser', 'shift_leader', '2016-08-07 03:33:38'),
(3047, 610, 'nafisa.sayed,s.majumder', 'sur', '2016-08-07 03:33:38'),
(3048, 610, 'puspita.tapu,iftakhar.jahan', 'bo', '2016-08-07 03:33:38'),
(3049, 610, 'tahsinul.ferdous', 'iig', '2016-08-07 03:33:38'),
(3050, 610, 'ashiqur.rahman', 'icx', '2016-08-07 03:33:38'),
(3051, 611, '', 'shift_leader', '2016-08-07 03:33:38'),
(3052, 611, 'nafisa.sayed,nasrin.akter', 'sur', '2016-08-07 03:33:38'),
(3053, 611, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-08-07 03:33:38'),
(3054, 611, 'imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3055, 611, 'iftakhar.jahan', 'icx', '2016-08-07 03:33:38'),
(3056, 612, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3057, 612, 'nasrin.akter,nazmul.hasan', 'sur', '2016-08-07 03:33:38'),
(3058, 612, 'nowrin.karim,sarbik.sahan', 'bo', '2016-08-07 03:33:38'),
(3059, 612, 'rahul.biswas,imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3060, 612, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3061, 613, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3062, 613, 'nazmul.hasan,sadia.afrin', 'sur', '2016-08-07 03:33:38'),
(3063, 613, 'nowrin.karim,samar.kumar', 'bo', '2016-08-07 03:33:38'),
(3064, 613, 'rahul.biswas', 'iig', '2016-08-07 03:33:38'),
(3065, 613, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3066, 614, 'mir.raihan', 'shift_leader', '2016-08-07 03:33:38'),
(3067, 614, 'nasrin.akter,akramul.tarafdar', 'sur', '2016-08-07 03:33:38'),
(3068, 614, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-08-07 03:33:38'),
(3069, 614, 'tanveer.ahmed', 'iig', '2016-08-07 03:33:38'),
(3070, 614, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3071, 615, 'mir.raihan,saeed.naser', 'shift_leader', '2016-08-07 03:33:38'),
(3072, 615, 'nasrin.akter,sadia.afrin', 'sur', '2016-08-07 03:33:38'),
(3073, 615, 'maruf.mohammad,anika.sharmin', 'bo', '2016-08-07 03:33:38'),
(3074, 615, 'tahsinul.ferdous', 'iig', '2016-08-07 03:33:38'),
(3075, 615, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3146, 630, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3147, 630, 'nasrin.akter,anika.sharmin', 'sur', '2016-08-18 12:53:23'),
(3148, 630, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-08-18 12:53:23'),
(3149, 630, 'sadia.afrin,tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3150, 630, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3151, 631, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3152, 631, 'nafisa.sayed,s.majumder', 'sur', '2016-08-18 12:53:23'),
(3153, 631, 'puspita.tapu,iftakhar.jahan', 'bo', '2016-08-18 12:53:23'),
(3154, 631, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3155, 631, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3156, 632, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3157, 632, 'nafisa.sayed,nazmul.hasan', 'sur', '2016-08-18 12:53:23'),
(3158, 632, 'puspita.tapu,wahidul.ashrafe', 'bo', '2016-08-18 12:53:23'),
(3159, 632, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3160, 632, 'iftakhar.jahan', 'icx', '2016-08-18 12:53:23'),
(3161, 633, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3162, 633, 'nasrin.akter,nafisa.sayed', 'sur', '2016-08-18 12:53:23'),
(3163, 633, 'nowrin.karim,sarbik.sahan,nazmul.hasan', 'bo', '2016-08-18 12:53:23'),
(3164, 633, 'rahul.biswas,imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3165, 633, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3166, 634, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3167, 634, 'nasrin.akter,anika.sharmin', 'sur', '2016-08-18 12:53:23'),
(3168, 634, 'nowrin.karim,samar.kumar', 'bo', '2016-08-18 12:53:23'),
(3169, 634, 'rahul.biswas', 'iig', '2016-08-18 12:53:23'),
(3170, 634, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3171, 635, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3172, 635, 'nasrin.akter,anika.sharmin', 'sur', '2016-08-18 12:53:23'),
(3173, 635, 'nowrin.karim,wahidul.ashrafe,nazmul.hasan', 'bo', '2016-08-18 12:53:23'),
(3174, 635, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3175, 635, 'umar.rafaet,saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3176, 636, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3177, 636, 'nasrin.akter,sadia.afrin', 'sur', '2016-08-18 12:53:23'),
(3178, 636, 'maruf.mohammad,anika.sharmin', 'bo', '2016-08-18 12:53:23'),
(3179, 636, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3180, 636, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3181, 637, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3182, 637, 'nasrin.akter,anika.sharmin', 'sur', '2016-08-18 12:53:23'),
(3183, 637, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-08-18 12:53:23'),
(3184, 637, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3185, 637, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3186, 638, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3187, 638, 'nafisa.sayed,s.majumder', 'sur', '2016-08-18 12:53:23'),
(3188, 638, 'puspita.tapu,anika.sharmin', 'bo', '2016-08-18 12:53:23'),
(3189, 638, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3190, 638, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3191, 639, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3192, 639, 'nafisa.sayed,nasrin.akter', 'sur', '2016-08-18 12:53:23'),
(3193, 639, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3194, 639, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3195, 639, 'iftakhar.jahan', 'icx', '2016-08-18 12:53:23'),
(3196, 640, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3197, 640, 's.majumder,nafisa.sayed', 'sur', '2016-08-18 12:53:23'),
(3198, 640, 'nowrin.karim,sarbik.sahan,nazmul.hasan', 'bo', '2016-08-18 12:53:23'),
(3199, 640, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3200, 640, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3201, 641, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3202, 641, 'nazmul.hasan,anika.sharmin', 'sur', '2016-08-18 12:53:23'),
(3203, 641, 'nowrin.karim,samar.kumar', 'bo', '2016-08-18 12:53:23'),
(3204, 641, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3205, 641, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3206, 642, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3207, 642, 'nasrin.akter,anika.sharmin', 'sur', '2016-08-18 12:53:23'),
(3208, 642, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-08-18 12:53:23'),
(3209, 642, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3210, 642, 'umar.rafaet,saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3211, 643, 'mir.raihan,saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3212, 643, 'nasrin.akter,sadia.afrin', 'sur', '2016-08-18 12:53:23'),
(3213, 643, 'maruf.mohammad,anika.sharmin', 'bo', '2016-08-18 12:53:23'),
(3214, 643, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3215, 643, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3366, 674, 'saeed.naser', 'shift_leader', '2016-08-31 02:57:33'),
(3367, 674, 'nasrin.akter,anika.sharmin', 'sur', '2016-08-31 02:57:33'),
(3368, 674, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-08-31 02:57:33'),
(3369, 674, 'tahsinul.ferdous', 'iig', '2016-08-31 02:57:33'),
(3370, 674, 'rayhan.hossain', 'icx', '2016-08-31 02:57:33'),
(3371, 675, 'saeed.naser', 'shift_leader', '2016-08-31 02:57:33'),
(3372, 675, 'nafisa.sayed,s.majumder', 'sur', '2016-08-31 02:57:33'),
(3373, 675, 'puspita.tapu,anika.sharmin', 'bo', '2016-08-31 02:57:33'),
(3374, 675, 'iftakhar.jahan', 'iig', '2016-08-31 02:57:33'),
(3375, 675, 'ashiqur.rahman', 'icx', '2016-08-31 02:57:33'),
(3516, 704, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3517, 704, 'nafisa.sayed,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3518, 704, 'puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3519, 704, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3520, 704, 'iftakhar.jahan', 'icx', '2016-09-02 04:05:20'),
(3521, 705, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3522, 705, 'nafisa.sayed,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3523, 705, 'nowrin.karim,sarbik.sahan,nazmul.hasan', 'bo', '2016-09-02 04:05:20'),
(3524, 705, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3525, 705, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3526, 706, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3527, 706, 'nazmul.hasan,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3528, 706, 'nowrin.karim,samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3529, 706, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3530, 706, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3531, 707, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3532, 707, 'nasrin.akter,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3533, 707, 'nowrin.karim,nazmul.hasan', 'bo', '2016-09-02 04:05:20'),
(3534, 707, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3535, 707, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3536, 708, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3537, 708, 'nasrin.akter,sadia.afrin', 'sur', '2016-09-02 04:05:20'),
(3538, 708, 'maruf.mohammad,anika.sharmin', 'bo', '2016-09-02 04:05:20'),
(3539, 708, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3540, 708, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3541, 709, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3542, 709, 'nasrin.akter,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3543, 709, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3544, 709, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3545, 709, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3546, 710, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3547, 710, 'nafisa.sayed,s.majumder', 'sur', '2016-09-02 04:05:20'),
(3548, 710, 'puspita.tapu,iftakhar.jahan', 'bo', '2016-09-02 04:05:20'),
(3549, 710, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3550, 710, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3551, 711, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3552, 711, 'nafisa.sayed,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3553, 711, 'puspita.tapu,sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3554, 711, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3555, 711, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3556, 712, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3557, 712, 'anika.sharmin,nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3558, 712, 'nowrin.karim', 'bo', '2016-09-02 04:05:20'),
(3559, 712, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3560, 712, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3561, 713, 'jalal.mahedi', 'shift_leader', '2016-09-02 04:05:20'),
(3562, 713, 'samar.kumar', 'sur', '2016-09-02 04:05:20'),
(3563, 713, 'nowrin.karim', 'bo', '2016-09-02 04:05:20'),
(3564, 713, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3565, 713, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3566, 714, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3567, 714, 'samar.kumar', 'sur', '2016-09-02 04:05:20'),
(3568, 714, 'nowrin.karim', 'bo', '2016-09-02 04:05:20'),
(3569, 714, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3570, 714, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3571, 715, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3572, 715, 'nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3573, 715, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3574, 715, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3575, 715, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3576, 716, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3577, 716, 'nafisa.sayed,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3578, 716, 'iftakhar.jahan', 'bo', '2016-09-02 04:05:20'),
(3579, 716, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3580, 716, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3581, 717, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3582, 717, 'nafisa.sayed', 'sur', '2016-09-02 04:05:20'),
(3583, 717, 'puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3584, 717, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3585, 717, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3586, 718, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3587, 718, 'nafisa.sayed,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3588, 718, 'puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3589, 718, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3590, 718, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3591, 719, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3592, 719, 'nafisa.sayed,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3593, 719, 'puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3594, 719, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3595, 719, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3596, 720, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3597, 720, 'nazmul.hasan,nafisa.sayed', 'sur', '2016-09-02 04:05:20'),
(3598, 720, 'nowrin.karim,samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3599, 720, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3600, 720, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3601, 721, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3602, 721, 'anika.sharmin,nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3603, 721, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3604, 721, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3605, 721, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3606, 722, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3607, 722, 'anika.sharmin,wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3608, 722, 'nowrin.karim,iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3609, 722, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3610, 722, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3611, 723, 'jalal.mahedi', 'shift_leader', '2016-09-02 04:05:20'),
(3612, 723, 'anika.sharmin,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3613, 723, 'maruf.mohammad,etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3614, 723, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3615, 723, 'iftakhar.jahan', 'icx', '2016-09-02 04:05:20'),
(3616, 724, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3617, 724, 'nafisa.sayed,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3618, 724, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3619, 724, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3620, 724, 'iftakhar.jahan', 'icx', '2016-09-02 04:05:20'),
(3621, 725, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3622, 725, 'nafisa.sayed,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3623, 725, 'puspita.tapu,etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3624, 725, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3625, 725, 'iftakhar.jahan', 'icx', '2016-09-02 04:05:20'),
(3626, 726, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3627, 726, 'nazmul.hasan,nafisa.sayed', 'sur', '2016-09-02 04:05:20'),
(3628, 726, 'nowrin.karim,sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3629, 726, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3630, 726, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3631, 727, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3632, 727, 'nazmul.hasan,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3633, 727, 'nowrin.karim,samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3634, 727, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3635, 727, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3636, 728, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3637, 728, 'nasrin.akter,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3638, 728, 'nowrin.karim,wahidul.ashrafe,nazmul.hasan', 'bo', '2016-09-02 04:05:20'),
(3639, 728, 'sadia.afrin,tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3640, 728, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3641, 729, 'mir.raihan,saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3642, 729, 'nasrin.akter,sadia.afrin', 'sur', '2016-09-02 04:05:20'),
(3643, 729, 'maruf.mohammad,anika.sharmin', 'bo', '2016-09-02 04:05:20'),
(3644, 729, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3645, 729, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3646, 730, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3647, 730, 'nasrin.akter,anika.sharmin', 'sur', '2016-09-02 04:05:20'),
(3648, 730, 'iqbal.ahmed,maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3649, 730, 'tahsinul.ferdous,iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3650, 730, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3651, 731, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3652, 731, 'nafisa.sayed,s.majumder', 'sur', '2016-09-02 04:05:20'),
(3653, 731, 'puspita.tapu,iftakhar.jahan', 'bo', '2016-09-02 04:05:20');
INSERT INTO `daytable` (`day_row_id`, `shift_id`, `shift_member`, `shift_position`, `day_last_updated`) VALUES
(3654, 731, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3655, 731, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20');
-- --------------------------------------------------------
--
-- Table structure for table `eveningtable`
--
CREATE TABLE IF NOT EXISTS `eveningtable` (
`evening_row_id` int(11) NOT NULL,
`shift_id` int(11) NOT NULL,
`shift_member` varchar(255) NOT NULL,
`shift_position` varchar(255) NOT NULL,
`evening_last_updated` datetime NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3656 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `eveningtable`
--
INSERT INTO `eveningtable` (`evening_row_id`, `shift_id`, `shift_member`, `shift_position`, `evening_last_updated`) VALUES
(1, 1, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(2, 1, 'nasrin.akter,s.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(3, 1, 'sadaf.mahmud,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(4, 1, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(5, 1, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(6, 2, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(7, 2, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(8, 2, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(9, 2, 'tahsinul.ferdous,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(10, 2, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(11, 3, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(12, 3, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(13, 3, 'samar.kumar,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(14, 3, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(15, 3, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(16, 4, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(17, 4, 'nafisa.sayed,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(18, 4, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(19, 4, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(20, 4, 'ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(21, 5, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(22, 5, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(23, 5, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(24, 5, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(25, 5, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(26, 6, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(27, 6, 'anika.sharmin,s.majumder', 'sur', '2016-05-06 11:08:19'),
(28, 6, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(29, 6, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(30, 6, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(31, 7, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(32, 7, 'nasrin.akter,s.majumder', 'sur', '2016-05-06 11:08:19'),
(33, 7, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(34, 7, 'imroze.ahmed', 'bo', '2016-05-06 11:08:19'),
(35, 7, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(36, 8, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(37, 8, 'nasrin.akter,s.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(38, 8, 'sadaf.mahmud,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(39, 8, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(40, 8, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(41, 9, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(42, 9, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(43, 9, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(44, 9, 'tahsinul.ferdous,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(45, 9, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(46, 10, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(47, 10, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(48, 10, 'samar.kumar,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(49, 10, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(50, 10, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(51, 11, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(52, 11, 'nafisa.sayed,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(53, 11, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(54, 11, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(55, 11, 'ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(56, 12, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(57, 12, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(58, 12, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(59, 12, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(60, 12, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(61, 13, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(62, 13, 'anika.sharmin,s.majumder', 'sur', '2016-05-06 11:08:19'),
(63, 13, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(64, 13, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(65, 13, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(66, 14, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(67, 14, 'nasrin.akter,s.majumder', 'sur', '2016-05-06 11:08:19'),
(68, 14, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(69, 14, 'imroze.ahmed', 'bo', '2016-05-06 11:08:19'),
(70, 14, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(71, 15, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(72, 15, 'nasrin.akter,s.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(73, 15, 'sadaf.mahmud,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(74, 15, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(75, 15, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(76, 16, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(77, 16, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(78, 16, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(79, 16, 'tahsinul.ferdous,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(80, 16, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(81, 17, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(82, 17, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(83, 17, 'samar.kumar,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(84, 17, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(85, 17, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(86, 18, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(87, 18, 'nafisa.sayed,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(88, 18, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(89, 18, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(90, 18, 'ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(91, 19, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(92, 19, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(93, 19, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(94, 19, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(95, 19, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(96, 20, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(97, 20, 'anika.sharmin,s.majumder', 'sur', '2016-05-06 11:08:19'),
(98, 20, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(99, 20, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(100, 20, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(101, 21, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(102, 21, 'nasrin.akter,s.majumder', 'sur', '2016-05-06 11:08:19'),
(103, 21, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(104, 21, 'imroze.ahmed', 'bo', '2016-05-06 11:08:19'),
(105, 21, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(106, 22, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(107, 22, 'nasrin.akter,s.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(108, 22, 'sadaf.mahmud,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(109, 22, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(110, 22, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(111, 23, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(112, 23, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(113, 23, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(114, 23, 'tahsinul.ferdous,rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(115, 23, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(116, 24, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(117, 24, 'akramul.tarafdar,rifat.hasan,nafisa.sayed', 'sur', '2016-05-06 11:08:19'),
(118, 24, 'samar.kumar,puspita.topu', 'bo', '2016-05-06 11:08:19'),
(119, 24, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(120, 24, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(121, 25, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(122, 25, 'nafisa.sayed,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(123, 25, 'nowrin.karim,samar.kumar', 'bo', '2016-05-06 11:08:19'),
(124, 25, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(125, 25, 'ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(126, 26, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(127, 26, 'nasrin.akter,anika.sharmin', 'sur', '2016-05-06 11:08:19'),
(128, 26, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(129, 26, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(130, 26, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(131, 27, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(132, 27, 'anika.sharmin,s.majumder', 'sur', '2016-05-06 11:08:19'),
(133, 27, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(134, 27, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(135, 27, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(156, 32, 'sadaf.mahmud', 'shift_leader', '2016-05-27 03:10:26'),
(157, 32, 'nasrin.akter,s.majumder', 'sur', '2016-05-27 03:10:26'),
(158, 32, 'sarbik.sahan,iqbal.ahmed', 'bo', '2016-05-27 03:10:26'),
(159, 32, 'imroze.ahmed', 'bo', '2016-05-27 03:10:26'),
(160, 32, 'shamim.hassan,saiham.rahman', 'icx', '2016-05-27 03:10:26'),
(161, 33, 'mahbub.hasan', 'shift_leader', '2016-05-27 03:10:26'),
(162, 33, 'nasrin.akter,s.majumder', 'sur', '2016-05-27 03:10:26'),
(163, 33, 'sadaf.mahmud,iqbal.ahmed', 'bo', '2016-05-27 03:10:26'),
(164, 33, 'sadia.afrin,imroze.ahmed', 'iig', '2016-05-27 03:10:26'),
(165, 33, 'rayhan.hossain', 'icx', '2016-05-27 03:10:26'),
(166, 34, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-05-27 03:10:26'),
(167, 34, 'wahidul.ashrafe,sadia.afrin', 'sur', '2016-05-27 03:10:26'),
(168, 34, 'puspita.topu,iqbal.ahmed', 'bo', '2016-05-27 03:10:26'),
(169, 34, 'tahsinul.ferdous,rahul.biswas', 'iig', '2016-05-27 03:10:26'),
(170, 34, 'rayhan.hossain', 'icx', '2016-05-27 03:10:26'),
(171, 35, 'sakib.ullah', 'shift_leader', '2016-05-27 03:10:26'),
(172, 35, 'akramul.tarafdar,nafisa.sayed', 'sur', '2016-05-27 03:10:26'),
(173, 35, 'samar.kumar,puspita.topu', 'bo', '2016-05-27 03:10:26'),
(174, 35, 'sadia.afrin', 'iig', '2016-05-27 03:10:26'),
(175, 35, 'ahsan.zaki,saiham.rahman', 'icx', '2016-05-27 03:10:26'),
(326, 66, 'sakib.ullah', 'shift_leader', '2016-05-27 10:30:05'),
(327, 66, 'nafisa.sayed,akramul.tarafdar', 'sur', '2016-05-27 10:30:05'),
(328, 66, 'nowrin.karim,samar.kumar,umar.rafaet', 'bo', '2016-05-27 10:30:05'),
(329, 66, 'tanveer.ahmed', 'iig', '2016-05-27 10:30:05'),
(330, 66, 'ahsan.zaki', 'icx', '2016-05-27 10:30:05'),
(331, 67, 'saeed.naser', 'shift_leader', '2016-05-27 10:30:05'),
(332, 67, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-05-27 10:30:05'),
(333, 67, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-05-27 10:30:05'),
(334, 67, 'iftakhar.jahan', 'iig', '2016-05-27 10:30:05'),
(335, 67, 'ashiqur.rahman', 'icx', '2016-05-27 10:30:05'),
(896, 180, 'sadaf.mahmud', 'shift_leader', '2016-06-02 11:45:21'),
(897, 180, 'anika.sharmin,umar.rafaet', 'sur', '2016-06-02 11:45:21'),
(898, 180, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-02 11:45:21'),
(899, 180, 'iftakhar.jahan,sadia.afrin', 'iig', '2016-06-02 11:45:21'),
(900, 180, 'shamim.hassan,saiham.rahman', 'icx', '2016-06-02 11:45:21'),
(901, 181, 'sadaf.mahmud', 'shift_leader', '2016-06-02 11:45:21'),
(902, 181, 'nasrin.akter,s.majumder', 'sur', '2016-06-02 11:45:21'),
(903, 181, 'sarbik.sahan,iqbal.ahmed', 'bo', '2016-06-02 11:45:21'),
(904, 181, 'imroze.ahmed', 'bo', '2016-06-02 11:45:21'),
(905, 181, 'shamim.hassan,saiham.rahman', 'icx', '2016-06-02 11:45:21'),
(906, 182, 'mahbub.hasan', 'shift_leader', '2016-06-02 11:45:21'),
(907, 182, 'nasrin.akter,s.majumder', 'sur', '2016-06-02 11:45:21'),
(908, 182, 'sadaf.mahmud,iqbal.ahmed', 'bo', '2016-06-02 11:45:21'),
(909, 182, 'sadia.afrin,imroze.ahmed', 'iig', '2016-06-02 11:45:21'),
(910, 182, 'rayhan.hossain', 'icx', '2016-06-02 11:45:21'),
(911, 183, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-06-02 11:45:21'),
(912, 183, 'wahidul.ashrafe,rifat.hasan', 'sur', '2016-06-02 11:45:21'),
(913, 183, 'puspita.topu,iqbal.ahmed', 'bo', '2016-06-02 11:45:21'),
(914, 183, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-06-02 11:45:21'),
(915, 183, 'rayhan.hossain', 'icx', '2016-06-02 11:45:21'),
(1156, 232, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1157, 232, 'akramul.tarafdar,nafisa.sayed,rifat.hasan', 'sur', '2016-06-06 09:18:50'),
(1158, 232, 'samar.kumar,puspita.topu,wahidul.ashrafe', 'bo', '2016-06-06 09:18:50'),
(1159, 232, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-06-06 09:18:50'),
(1160, 232, 'ahsan.zaki,saiham.rahman,jalal.mahedi', 'icx', '2016-06-06 09:18:50'),
(1161, 233, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1162, 233, 'nafisa.sayed,akramul.tarafdar', 'sur', '2016-06-06 09:18:50'),
(1163, 233, 'nowrin.karim,samar.kumar', 'bo', '2016-06-06 09:18:50'),
(1164, 233, 'rahul.biswas,tanveer.ahmed', 'iig', '2016-06-06 09:18:50'),
(1165, 233, 'saiham.rahman', 'icx', '2016-06-06 09:18:50'),
(1166, 234, 'mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1167, 234, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-06-06 09:18:50'),
(1168, 234, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-06 09:18:50'),
(1169, 234, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-06-06 09:18:50'),
(1170, 234, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1171, 235, 'sadaf.mahmud', 'shift_leader', '2016-06-06 09:18:50'),
(1172, 235, 'anika.sharmin,umar.rafaet', 'sur', '2016-06-06 09:18:50'),
(1173, 235, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-06 09:18:50'),
(1174, 235, 'iftakhar.jahan', 'iig', '2016-06-06 09:18:50'),
(1175, 235, 'shamim.hassan', 'icx', '2016-06-06 09:18:50'),
(1176, 236, 'sadaf.mahmud', 'shift_leader', '2016-06-06 09:18:50'),
(1177, 236, 'nasrin.akter,s.majumder', 'sur', '2016-06-06 09:18:50'),
(1178, 236, 'sarbik.sahan,iqbal.ahmed', 'bo', '2016-06-06 09:18:50'),
(1179, 236, 'imroze.ahmed', 'bo', '2016-06-06 09:18:50'),
(1180, 236, 'shamim.hassan,saiham.rahman', 'icx', '2016-06-06 09:18:50'),
(1181, 237, 'mahbub.hasan', 'shift_leader', '2016-06-06 09:18:50'),
(1182, 237, 'nasrin.akter,s.majumder', 'sur', '2016-06-06 09:18:50'),
(1183, 237, 'sadaf.mahmud,iqbal.ahmed', 'bo', '2016-06-06 09:18:50'),
(1184, 237, 'sadia.afrin,imroze.ahmed', 'iig', '2016-06-06 09:18:50'),
(1185, 237, 'rayhan.hossain', 'icx', '2016-06-06 09:18:50'),
(1186, 238, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1187, 238, 'wahidul.ashrafe,rifat.hasan', 'sur', '2016-06-06 09:18:50'),
(1188, 238, 'puspita.topu,iqbal.ahmed', 'bo', '2016-06-06 09:18:50'),
(1189, 238, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-06-06 09:18:50'),
(1190, 238, 'rayhan.hossain,jalal.mahedi,ahsan.zaki', 'icx', '2016-06-06 09:18:50'),
(1191, 239, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1192, 239, 'akramul.tarafdar,nafisa.sayed,rifat.hasan', 'sur', '2016-06-06 09:18:50'),
(1193, 239, 'samar.kumar,puspita.topu,wahidul.ashrafe', 'bo', '2016-06-06 09:18:50'),
(1194, 239, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-06-06 09:18:50'),
(1195, 239, 'ahsan.zaki,saiham.rahman,jalal.mahedi', 'icx', '2016-06-06 09:18:50'),
(1196, 240, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1197, 240, 'nafisa.sayed,akramul.tarafdar', 'sur', '2016-06-06 09:18:50'),
(1198, 240, 'nowrin.karim,samar.kumar,umar.rafaet', 'bo', '2016-06-06 09:18:50'),
(1199, 240, 'iftakhar.jahan,tanveer.ahmed', 'iig', '2016-06-06 09:18:50'),
(1200, 240, 'saiham.rahman', 'icx', '2016-06-06 09:18:50'),
(1201, 241, 'mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1202, 241, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-06-06 09:18:50'),
(1203, 241, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-06 09:18:50'),
(1204, 241, 'iftakhar.jahan,rahul.biswas', 'iig', '2016-06-06 09:18:50'),
(1205, 241, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1206, 242, 'sadaf.mahmud', 'shift_leader', '2016-06-06 09:18:50'),
(1207, 242, 'anika.sharmin,umar.rafaet', 'sur', '2016-06-06 09:18:50'),
(1208, 242, 'puspita.tapu,maruf.mohammad', 'bo', '2016-06-06 09:18:50'),
(1209, 242, 'iftakhar.jahan', 'iig', '2016-06-06 09:18:50'),
(1210, 242, 'shamim.hassan', 'icx', '2016-06-06 09:18:50'),
(1276, 256, 'sadaf.mahmud', 'shift_leader', '2016-06-17 10:12:06'),
(1277, 256, 'nasrin.akter,s.majumder', 'sur', '2016-06-17 10:12:06'),
(1278, 256, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1279, 256, 'imroze.ahmed', 'bo', '2016-06-17 10:12:06'),
(1280, 256, 'shamim.hassan,rayhan.hossain', 'icx', '2016-06-17 10:12:06'),
(1281, 257, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1282, 257, 'nasrin.akter,s.majumder,rifat.hasan', 'sur', '2016-06-17 10:12:06'),
(1283, 257, 'sadaf.mahmud,iqbal.ahmed', 'bo', '2016-06-17 10:12:06'),
(1284, 257, 'imroze.ahmed', 'iig', '2016-06-17 10:12:06'),
(1285, 257, 'rayhan.hossain', 'icx', '2016-06-17 10:12:06'),
(1286, 258, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1287, 258, 'wahidul.ashrafe,rifat.hasan', 'sur', '2016-06-17 10:12:06'),
(1288, 258, 'iqbal.ahmed,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1289, 258, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-06-17 10:12:06'),
(1290, 258, 'jalal.mahedi,ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1291, 259, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1292, 259, 'akramul.tarafdar,nafisa.sayed,rifat.hasan', 'sur', '2016-06-17 10:12:06'),
(1293, 259, 'samar.kumar,wahidul.ashrafe,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1294, 259, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-06-17 10:12:06'),
(1295, 259, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1296, 260, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1297, 260, 'nafisa.sayed,akramul.tarafdar', 'sur', '2016-06-17 10:12:06'),
(1298, 260, 'nowrin.karim,samar.kumar,anika.sharmin', 'bo', '2016-06-17 10:12:06'),
(1299, 260, 'rahul.biswas,tanveer.ahmed', 'iig', '2016-06-17 10:12:06'),
(1300, 260, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1301, 261, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1302, 261, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-06-17 10:12:06'),
(1303, 261, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-17 10:12:06'),
(1304, 261, 'rahul.biswas', 'iig', '2016-06-17 10:12:06'),
(1305, 261, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1306, 262, 'sadaf.mahmud', 'shift_leader', '2016-06-17 10:12:06'),
(1307, 262, 'umar.rafaet,s.majumder', 'sur', '2016-06-17 10:12:06'),
(1308, 262, 'etanvir.ahmed,maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1309, 262, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1310, 262, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1311, 263, 'sadaf.mahmud', 'shift_leader', '2016-06-17 10:12:06'),
(1312, 263, 'nasrin.akter,s.majumder', 'sur', '2016-06-17 10:12:06'),
(1313, 263, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1314, 263, 'imroze.ahmed', 'bo', '2016-06-17 10:12:06'),
(1315, 263, 'shamim.hassan,saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1316, 264, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1317, 264, 'nasrin.akter,s.majumder', 'sur', '2016-06-17 10:12:06'),
(1318, 264, 'sadaf.mahmud,iqbal.ahmed', 'bo', '2016-06-17 10:12:06'),
(1319, 264, 'sadia.afrin,imroze.ahmed', 'iig', '2016-06-17 10:12:06'),
(1320, 264, 'rayhan.hossain', 'icx', '2016-06-17 10:12:06'),
(1321, 265, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1322, 265, 'wahidul.ashrafe,rifat.hasan', 'sur', '2016-06-17 10:12:06'),
(1323, 265, 'iqbal.ahmed,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1324, 265, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-06-17 10:12:06'),
(1325, 265, 'rayhan.hossain,jalal.mahedi,ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1326, 266, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1327, 266, 'akramul.tarafdar,nafisa.sayed,rifat.hasan', 'sur', '2016-06-17 10:12:06'),
(1328, 266, 'samar.kumar,wahidul.ashrafe,puspita.tapu', 'bo', '2016-06-17 10:12:06'),
(1329, 266, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-06-17 10:12:06'),
(1330, 266, 'ahsan.zaki,saiham.rahman,jalal.mahedi', 'icx', '2016-06-17 10:12:06'),
(1331, 267, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1332, 267, 'nafisa.sayed,akramul.tarafdar', 'sur', '2016-06-17 10:12:06'),
(1333, 267, 'nowrin.karim,samar.kumar,umar.rafaet', 'bo', '2016-06-17 10:12:06'),
(1334, 267, 'rahul.biswas,tanveer.ahmed', 'iig', '2016-06-17 10:12:06'),
(1335, 267, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1336, 268, 'mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1337, 268, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-06-17 10:12:06'),
(1338, 268, 'nowrin.karim,etanvir.ahmed', 'bo', '2016-06-17 10:12:06'),
(1339, 268, 'iftakhar.jahan,tanveer.ahmed', 'iig', '2016-06-17 10:12:06'),
(1340, 268, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1341, 269, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1342, 269, 'umar.rafaet,s.majumder', 'sur', '2016-06-29 08:53:39'),
(1343, 269, 'maruf.mohammad,sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1344, 269, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1345, 269, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1346, 270, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1347, 270, 'nasrin.akter,s.majumder', 'sur', '2016-06-29 08:53:39'),
(1348, 270, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1349, 270, 'imroze.ahmed', 'bo', '2016-06-29 08:53:39'),
(1350, 270, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1351, 271, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1352, 271, 'nasrin.akter,s.majumder', 'sur', '2016-06-29 08:53:39'),
(1353, 271, 'sadaf.mahmud,etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1354, 271, 'sadia.afrin,imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1355, 271, 'rayhan.hossain,saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1356, 272, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1357, 272, 'sadia.afrin,puspita.tapu', 'sur', '2016-06-29 08:53:39'),
(1358, 272, 'samar.kumar,nazmul.hasan', 'bo', '2016-06-29 08:53:39'),
(1359, 272, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1360, 272, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1361, 273, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1362, 273, 'nafisa.sayed,puspita.tapu', 'sur', '2016-06-29 08:53:39'),
(1363, 273, 'samar.kumar,nazmul.hasan', 'bo', '2016-06-29 08:53:39'),
(1364, 273, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1365, 273, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1366, 274, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1367, 274, 'nafisa.sayed,samar.kumar', 'sur', '2016-06-29 08:53:39'),
(1368, 274, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1369, 274, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1370, 274, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1371, 275, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1372, 275, 'akramul.tarafdar,nafisa.sayed', 'sur', '2016-06-29 08:53:39'),
(1373, 275, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1374, 275, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1375, 275, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1376, 276, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1377, 276, 'umar.rafaet,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1378, 276, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1379, 276, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1380, 276, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1381, 277, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1382, 277, 's.majumder,biplob.barua', 'sur', '2016-06-29 08:53:39'),
(1383, 277, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1384, 277, 'iftakhar.jahan', 'bo', '2016-06-29 08:53:39'),
(1385, 277, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1386, 278, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1387, 278, 's.majumder,biplob.barua', 'sur', '2016-06-29 08:53:39'),
(1388, 278, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1389, 278, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1390, 278, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1391, 279, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1392, 279, 'wahidul.ashrafe,nasrin.akter', 'sur', '2016-06-29 08:53:39'),
(1393, 279, 'maruf.mohammad,samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1394, 279, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1395, 279, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1396, 280, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1397, 280, 'nasrin.akter,wahidul.ashrafe', 'sur', '2016-06-29 08:53:39'),
(1398, 280, 'etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1399, 280, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1400, 280, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1401, 281, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1402, 281, 'nasrin.akter,nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1403, 281, 'etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1404, 281, 'sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1405, 281, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1406, 282, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1407, 282, 'nazmul.hasan,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1408, 282, 'nowrin.karim', 'bo', '2016-06-29 08:53:39'),
(1409, 282, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1410, 282, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1411, 283, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1412, 283, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1413, 283, 'nowrin.karim', 'bo', '2016-06-29 08:53:39'),
(1414, 283, 'sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1415, 283, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1416, 284, 'jalal.mahedi', 'shift_leader', '2016-06-29 08:53:39'),
(1417, 284, 's.majumder,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1418, 284, 'puspita.tapu', 'bo', '2016-06-29 08:53:39'),
(1419, 284, 'imroze.ahmed', 'bo', '2016-06-29 08:53:39'),
(1420, 284, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1421, 285, 'jalal.mahedi', 'shift_leader', '2016-06-29 08:53:39'),
(1422, 285, 's.majumder,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1423, 285, 'puspita.tapu,umar.rafaet', 'bo', '2016-06-29 08:53:39'),
(1424, 285, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1425, 285, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1426, 286, 'mahbub.hasan,mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1427, 286, 'wahidul.ashrafe,puspita.tapu', 'sur', '2016-06-29 08:53:39'),
(1428, 286, 'samar.kumar,nazmul.hasan', 'bo', '2016-06-29 08:53:39'),
(1429, 286, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1430, 286, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1431, 287, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1432, 287, 'puspita.tapu,wahidul.ashrafe', 'sur', '2016-06-29 08:53:39'),
(1433, 287, 'samar.kumar,nazmul.hasan', 'bo', '2016-06-29 08:53:39'),
(1434, 287, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-06-29 08:53:39'),
(1435, 287, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1436, 288, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1437, 288, 'nafisa.sayed,umar.rafaet', 'sur', '2016-06-29 08:53:39'),
(1438, 288, 'nowrin.karim,tanveer.ahmed', 'bo', '2016-06-29 08:53:39'),
(1439, 288, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1440, 288, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1441, 289, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1442, 289, 'akramul.tarafdar,nafisa.sayed', 'sur', '2016-06-29 08:53:39'),
(1443, 289, 'nowrin.karim,sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1444, 289, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1445, 289, 'shamim.hassan,umar.rafaet', 'icx', '2016-06-29 08:53:39'),
(1446, 290, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1447, 290, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1448, 290, 'maruf.mohammad,sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1449, 290, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1450, 290, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1496, 300, 'sadaf.mahmud', 'shift_leader', '2016-07-21 01:13:03'),
(1497, 300, 's.majumder,rifat.hasan', 'sur', '2016-07-21 01:13:03'),
(1498, 300, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-07-21 01:13:03'),
(1499, 300, 'imroze.ahmed', 'bo', '2016-07-21 01:13:03'),
(1500, 300, 'saiham.rahman', 'icx', '2016-07-21 01:13:03'),
(1541, 309, 'mahbub.hasan', 'shift_leader', '2016-07-21 01:28:32'),
(1542, 309, 'puspita.tapu,nafisa.sayed,s.majumder', 'sur', '2016-07-21 01:28:32'),
(1543, 309, 'sadaf.mahmud,etanvir.ahmed', 'bo', '2016-07-21 01:28:32'),
(1544, 309, 'imroze.ahmed,tahsinul.ferdous', 'iig', '2016-07-21 01:28:32'),
(1545, 309, 'saiham.rahman', 'icx', '2016-07-21 01:28:32'),
(1586, 318, 'mir.raihan,sadaf.mahmud', 'shift_leader', '2016-07-24 08:43:43'),
(1587, 318, 'puspita.tapu,nafisa.sayed', 'sur', '2016-07-24 08:43:43'),
(1588, 318, 'etanvir.ahmed,nazmul.hasan', 'bo', '2016-07-24 08:43:43'),
(1589, 318, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-07-24 08:43:43'),
(1590, 318, 'saiham.rahman', 'icx', '2016-07-24 08:43:43'),
(1591, 319, 'sakib.ullah', 'shift_leader', '2016-07-24 08:43:43'),
(1592, 319, 'puspita.tapu,wahidul.ashrafe', 'sur', '2016-07-24 08:43:43'),
(1593, 319, 'samar.kumar,nazmul.hasan', 'bo', '2016-07-24 08:43:43'),
(1594, 319, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-07-24 08:43:43'),
(1595, 319, 'shamim.hassan', 'icx', '2016-07-24 08:43:43'),
(1596, 320, 'sakib.ullah', 'shift_leader', '2016-07-24 08:43:43'),
(1597, 320, 'akramul.tarafdar,nazmul.hasan', 'sur', '2016-07-24 08:43:43'),
(1598, 320, 'nowrin.karim,samar.kumar', 'bo', '2016-07-24 08:43:43'),
(1599, 320, 'rahul.biswas,tanveer.ahmed', 'iig', '2016-07-24 08:43:43'),
(1600, 320, 'shamim.hassan', 'icx', '2016-07-24 08:43:43'),
(1601, 321, 'mir.raihan', 'shift_leader', '2016-07-24 08:43:43'),
(1602, 321, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-07-24 08:43:43'),
(1603, 321, 'maruf.mohammad,sarbik.sahan', 'bo', '2016-07-24 08:43:43'),
(1604, 321, 'rahul.biswas', 'iig', '2016-07-24 08:43:43'),
(1605, 321, 'shamim.hassan,umar.rafaet', 'icx', '2016-07-24 08:43:43'),
(1606, 322, 'sadaf.mahmud', 'shift_leader', '2016-07-24 08:43:43'),
(1607, 322, 's.majumder,nafisa.sayed', 'sur', '2016-07-24 08:43:43'),
(1608, 322, 'puspita.tapu,sarbik.sahan', 'bo', '2016-07-24 08:43:43'),
(1609, 322, 'iftakhar.jahan', 'iig', '2016-07-24 08:43:43'),
(1610, 322, 'saiham.rahman', 'icx', '2016-07-24 08:43:43'),
(1611, 323, 'sadaf.mahmud', 'shift_leader', '2016-07-24 08:43:43'),
(1612, 323, 's.majumder,rifat.hasan', 'sur', '2016-07-24 08:43:43'),
(1613, 323, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-07-24 08:43:43'),
(1614, 323, 'tahsinul.ferdous', 'bo', '2016-07-24 08:43:43'),
(1615, 323, 'rayhan.hossain', 'icx', '2016-07-24 08:43:43'),
(1616, 324, 'mahbub.hasan', 'shift_leader', '2016-07-24 08:43:43'),
(1617, 324, 'puspita.tapu,nafisa.sayed,s.majumder', 'sur', '2016-07-24 08:43:43'),
(1618, 324, 'sadaf.mahmud,etanvir.ahmed', 'bo', '2016-07-24 08:43:43'),
(1619, 324, 'tahsinul.ferdous', 'iig', '2016-07-24 08:43:43'),
(1620, 324, 'saiham.rahman', 'icx', '2016-07-24 08:43:43'),
(1621, 325, 'mir.raihan,mahbub.hasan', 'shift_leader', '2016-07-31 08:42:52'),
(1622, 325, 'puspita.tapu,nafisa.sayed', 'sur', '2016-07-31 08:42:52'),
(1623, 325, 'etanvir.ahmed,nazmul.hasan', 'bo', '2016-07-31 08:42:52'),
(1624, 325, 'tahsinul.ferdous,sadia.afrin', 'iig', '2016-07-31 08:42:52'),
(1625, 325, 'saiham.rahman', 'icx', '2016-07-31 08:42:52'),
(1626, 326, 'sakib.ullah', 'shift_leader', '2016-07-31 08:42:52'),
(1627, 326, 'puspita.tapu,wahidul.ashrafe', 'sur', '2016-07-31 08:42:52'),
(1628, 326, 'samar.kumar,nazmul.hasan', 'bo', '2016-07-31 08:42:52'),
(1629, 326, 'tanveer.ahmed,sadia.afrin', 'iig', '2016-07-31 08:42:52'),
(1630, 326, 'saiham.rahman', 'icx', '2016-07-31 08:42:52'),
(1631, 327, 'sakib.ullah', 'shift_leader', '2016-07-31 08:42:52'),
(1632, 327, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-07-31 08:42:52'),
(1633, 327, 'nowrin.karim,samar.kumar', 'bo', '2016-07-31 08:42:52'),
(1634, 327, 'rahul.biswas,tanveer.ahmed', 'iig', '2016-07-31 08:42:52'),
(1635, 327, 'ashiqur.rahman', 'icx', '2016-07-31 08:42:52'),
(1776, 356, 'mir.raihan', 'shift_leader', '2016-08-03 07:20:53'),
(1777, 356, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-08-03 07:20:53'),
(1778, 356, 'sarbik.sahan,nowrin.karim', 'bo', '2016-08-03 07:20:53'),
(1779, 356, 'rahul.biswas', 'iig', '2016-08-03 07:20:53'),
(1780, 356, 'umar.rafaet,ashiqur.rahman', 'icx', '2016-08-03 07:20:53'),
(1781, 357, 'sadaf.mahmud', 'shift_leader', '2016-08-03 07:20:53'),
(1782, 357, 's.majumder,akramul.tarafdar', 'sur', '2016-08-03 07:20:53'),
(1783, 357, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-08-03 07:20:53'),
(1784, 357, 'iftakhar.jahan', 'iig', '2016-08-03 07:20:53'),
(1785, 357, 'ashiqur.rahman', 'icx', '2016-08-03 07:20:53'),
(1786, 358, 'sadaf.mahmud', 'shift_leader', '2016-08-03 07:20:53'),
(1787, 358, 's.majumder,rifat.hasan', 'sur', '2016-08-03 07:20:53'),
(1788, 358, 'sarbik.sahan,maruf.mohammad', 'bo', '2016-08-03 07:20:53'),
(1789, 358, 'imroze.ahmed', 'bo', '2016-08-03 07:20:53'),
(1790, 358, 'saiham.rahman', 'icx', '2016-08-03 07:20:53'),
(2791, 559, 'mahbub.hasan', 'shift_leader', '2016-08-06 10:53:58'),
(2792, 559, 'puspita.tapu,nafisa.sayed,s.majumder', 'sur', '2016-08-06 10:53:58'),
(2793, 559, 'sadaf.mahmud,sarbik.sahan', 'bo', '2016-08-06 10:53:58'),
(2794, 559, 'imroze.ahmed', 'iig', '2016-08-06 10:53:58'),
(2795, 559, 'ashiqur.rahman', 'icx', '2016-08-06 10:53:58'),
(2796, 560, 'mir.raihan,mahbub.hasan', 'shift_leader', '2016-08-06 10:53:58'),
(2797, 560, 'nafisa.sayed,sadia.afrin', 'sur', '2016-08-06 10:53:58'),
(2798, 560, 'etanvir.ahmed,puspita.tapu', 'bo', '2016-08-06 10:53:58'),
(2799, 560, 'imroze.ahmed', 'iig', '2016-08-06 10:53:58'),
(2800, 560, 'saiham.rahman', 'icx', '2016-08-06 10:53:58'),
(3031, 607, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3032, 607, 'puspita.tapu,umar.rafaet', 'sur', '2016-08-07 03:33:38'),
(3033, 607, 'samar.kumar,nazmul.hasan', 'bo', '2016-08-07 03:33:38'),
(3034, 607, 'rahul.biswas,imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3035, 607, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3036, 608, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3037, 608, 'umar.rafaet,samar.kumar', 'sur', '2016-08-07 03:33:38'),
(3038, 608, 'nowrin.karim,tanveer.ahmed', 'bo', '2016-08-07 03:33:38'),
(3039, 608, 'rahul.biswas', 'iig', '2016-08-07 03:33:38'),
(3040, 608, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3041, 609, 'mir.raihan', 'shift_leader', '2016-08-07 03:33:38'),
(3042, 609, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-07 03:33:38'),
(3043, 609, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-08-07 03:33:38'),
(3044, 609, 'tanveer.ahmed', 'iig', '2016-08-07 03:33:38'),
(3045, 609, 'rayhan.hossain', 'icx', '2016-08-07 03:33:38'),
(3046, 610, 'sadaf.mahmud', 'shift_leader', '2016-08-07 03:33:38'),
(3047, 610, 'akramul.tarafdar,iqbal.ahmed', 'sur', '2016-08-07 03:33:38'),
(3048, 610, 'maruf.mohammad', 'bo', '2016-08-07 03:33:38'),
(3049, 610, 'sadia.afrin', 'iig', '2016-08-07 03:33:38'),
(3050, 610, 'rayhan.hossain', 'icx', '2016-08-07 03:33:38'),
(3051, 611, 'sadaf.mahmud', 'shift_leader', '2016-08-07 03:33:38'),
(3052, 611, 's.majumder,akramul.tarafdar', 'sur', '2016-08-07 03:33:38'),
(3053, 611, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-08-07 03:33:38'),
(3054, 611, 'sadia.afrin', 'bo', '2016-08-07 03:33:38'),
(3055, 611, 'ashiqur.rahman', 'icx', '2016-08-07 03:33:38'),
(3056, 612, 'sadaf.mahmud', 'shift_leader', '2016-08-07 03:33:38'),
(3057, 612, 'nafisa.sayed,s.majumder', 'sur', '2016-08-07 03:33:38'),
(3058, 612, 'etanvir.ahmed,puspita.tapu', 'bo', '2016-08-07 03:33:38'),
(3059, 612, 'iftakhar.jahan', 'iig', '2016-08-07 03:33:38'),
(3060, 612, 'ashiqur.rahman', 'icx', '2016-08-07 03:33:38'),
(3061, 613, 'mir.raihan,mahbub.hasan', 'shift_leader', '2016-08-07 03:33:38'),
(3062, 613, 'puspita.tapu,nafisa.sayed', 'sur', '2016-08-07 03:33:38'),
(3063, 613, 'etanvir.ahmed,sarbik.sahan', 'bo', '2016-08-07 03:33:38'),
(3064, 613, 'imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3065, 613, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3066, 614, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3067, 614, 'puspita.tapu,nazmul.hasan', 'sur', '2016-08-07 03:33:38'),
(3068, 614, 'samar.kumar,sarbik.sahan', 'bo', '2016-08-07 03:33:38'),
(3069, 614, 'rahul.biswas,imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3070, 614, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3071, 615, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3072, 615, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-07 03:33:38'),
(3073, 615, 'nowrin.karim,samar.kumar', 'bo', '2016-08-07 03:33:38'),
(3074, 615, 'rahul.biswas', 'iig', '2016-08-07 03:33:38'),
(3075, 615, 'tanveer.ahmed,rayhan.hossain', 'icx', '2016-08-07 03:33:38'),
(3146, 630, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3147, 630, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3148, 630, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-08-18 12:53:23'),
(3149, 630, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3150, 630, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3151, 631, 'sadaf.mahmud', 'shift_leader', '2016-08-18 12:53:23'),
(3152, 631, 'akramul.tarafdar,wahidul.ashrafe', 'sur', '2016-08-18 12:53:23'),
(3153, 631, 'maruf.mohammad,anika.sharmin', 'bo', '2016-08-18 12:53:23'),
(3154, 631, 'sadia.afrin', 'iig', '2016-08-18 12:53:23'),
(3155, 631, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3156, 632, 'sadaf.mahmud', 'shift_leader', '2016-08-18 12:53:23'),
(3157, 632, 's.majumder,akramul.tarafdar', 'sur', '2016-08-18 12:53:23'),
(3158, 632, 'etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3159, 632, 'etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3160, 632, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3161, 633, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3162, 633, 'puspita.tapu,s.majumder', 'sur', '2016-08-18 12:53:23'),
(3163, 633, 'sadaf.mahmud,etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3164, 633, 'sadia.afrin,iftakhar.jahan', 'iig', '2016-08-18 12:53:23'),
(3165, 633, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3166, 634, 'mir.raihan,mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3167, 634, 'puspita.tapu,nafisa.sayed', 'sur', '2016-08-18 12:53:23'),
(3168, 634, 'etanvir.ahmed,sarbik.sahan', 'bo', '2016-08-18 12:53:23'),
(3169, 634, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3170, 634, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3171, 635, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3172, 635, 'puspita.tapu,nafisa.sayed', 'sur', '2016-08-18 12:53:23'),
(3173, 635, 'samar.kumar,sarbik.sahan', 'bo', '2016-08-18 12:53:23'),
(3174, 635, 'rahul.biswas,imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3175, 635, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3176, 636, 'sakib.ullah,saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3177, 636, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3178, 636, 'nowrin.karim,samar.kumar', 'bo', '2016-08-18 12:53:23'),
(3179, 636, 'rahul.biswas', 'iig', '2016-08-18 12:53:23'),
(3180, 636, 'saiham.rahman,tanveer.ahmed', 'icx', '2016-08-18 12:53:23'),
(3181, 637, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3182, 637, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3183, 637, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-08-18 12:53:23'),
(3184, 637, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3185, 637, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3186, 638, 'sadaf.mahmud', 'shift_leader', '2016-08-18 12:53:23'),
(3187, 638, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3188, 638, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-08-18 12:53:23'),
(3189, 638, 'sadia.afrin', 'iig', '2016-08-18 12:53:23'),
(3190, 638, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3191, 639, 'sadaf.mahmud', 'shift_leader', '2016-08-18 12:53:23'),
(3192, 639, 's.majumder,akramul.tarafdar', 'sur', '2016-08-18 12:53:23'),
(3193, 639, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-08-18 12:53:23'),
(3194, 639, 'sadia.afrin', 'bo', '2016-08-18 12:53:23'),
(3195, 639, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3196, 640, '', 'shift_leader', '2016-08-18 12:53:23'),
(3197, 640, 'puspita.tapu,nasrin.akter', 'sur', '2016-08-18 12:53:23'),
(3198, 640, 'sadaf.mahmud,etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3199, 640, 'sadia.afrin', 'iig', '2016-08-18 12:53:23'),
(3200, 640, 'iftakhar.jahan', 'icx', '2016-08-18 12:53:23'),
(3201, 641, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3202, 641, 'nafisa.sayed,puspita.tapu', 'sur', '2016-08-18 12:53:23'),
(3203, 641, 'sarbik.sahan,nazmul.hasan', 'bo', '2016-08-18 12:53:23'),
(3204, 641, 'sadia.afrin', 'iig', '2016-08-18 12:53:23'),
(3205, 641, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3206, 642, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3207, 642, 'puspita.tapu,nafisa.sayed', 'sur', '2016-08-18 12:53:23'),
(3208, 642, 'samar.kumar,sarbik.sahan', 'bo', '2016-08-18 12:53:23'),
(3209, 642, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3210, 642, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3211, 643, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3212, 643, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3213, 643, 'nowrin.karim,samar.kumar', 'bo', '2016-08-18 12:53:23'),
(3214, 643, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3215, 643, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3366, 674, 'mir.raihan', 'shift_leader', '2016-08-31 02:57:33'),
(3367, 674, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-31 02:57:33'),
(3368, 674, 'wahidul.ashrafe,samar.kumar', 'bo', '2016-08-31 02:57:33'),
(3369, 674, 'tanveer.ahmed', 'iig', '2016-08-31 02:57:33'),
(3370, 674, 'saiham.rahman', 'icx', '2016-08-31 02:57:33'),
(3371, 675, 'sadaf.mahmud', 'shift_leader', '2016-08-31 02:57:33'),
(3372, 675, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-08-31 02:57:33'),
(3373, 675, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-08-31 02:57:33'),
(3374, 675, 'sadia.afrin', 'iig', '2016-08-31 02:57:33'),
(3375, 675, 'rayhan.hossain', 'icx', '2016-08-31 02:57:33'),
(3516, 704, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3517, 704, 's.majumder,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3518, 704, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3519, 704, 'sadia.afrin', 'bo', '2016-09-02 04:05:20'),
(3520, 704, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3521, 705, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3522, 705, 'puspita.tapu,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3523, 705, 'sadaf.mahmud,iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3524, 705, 'sadia.afrin,iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3525, 705, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3526, 706, 'mir.raihan,mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3527, 706, 'nafisa.sayed,puspita.tapu', 'sur', '2016-09-02 04:05:20'),
(3528, 706, 'sarbik.sahan,wahidul.ashrafe', 'bo', '2016-09-02 04:05:20'),
(3529, 706, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3530, 706, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3531, 707, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3532, 707, 'puspita.tapu,nafisa.sayed', 'sur', '2016-09-02 04:05:20'),
(3533, 707, 'samar.kumar,sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3534, 707, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3535, 707, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3536, 708, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3537, 708, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3538, 708, 'nowrin.karim,samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3539, 708, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3540, 708, 'saiham.rahman,tanveer.ahmed', 'icx', '2016-09-02 04:05:20'),
(3541, 709, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3542, 709, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3543, 709, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-09-02 04:05:20'),
(3544, 709, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3545, 709, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3546, 710, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3547, 710, 'akramul.tarafdar,iqbal.ahmed', 'sur', '2016-09-02 04:05:20'),
(3548, 710, 'maruf.mohammad,anika.sharmin', 'bo', '2016-09-02 04:05:20'),
(3549, 710, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3550, 710, 'iftakhar.jahan', 'icx', '2016-09-02 04:05:20'),
(3551, 711, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3552, 711, 's.majumder,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3553, 711, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3554, 711, 'tahsinul.ferdous', 'bo', '2016-09-02 04:05:20'),
(3555, 711, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3556, 712, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3557, 712, 'iqbal.ahmed', 'sur', '2016-09-02 04:05:20'),
(3558, 712, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3559, 712, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3560, 712, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3561, 713, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3562, 713, 'puspita.tapu', 'sur', '2016-09-02 04:05:20'),
(3563, 713, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3564, 713, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3565, 713, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3566, 714, 'jalal.mahedi', 'shift_leader', '2016-09-02 04:05:20'),
(3567, 714, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3568, 714, 'puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3569, 714, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3570, 714, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3571, 715, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3572, 715, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3573, 715, 'puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3574, 715, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3575, 715, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3576, 716, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3577, 716, 'akramul.tarafdar,wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3578, 716, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3579, 716, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3580, 716, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3581, 717, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3582, 717, 'akramul.tarafdar,wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3583, 717, 'sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3584, 717, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3585, 717, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3586, 718, 'jalal.mahedi', 'shift_leader', '2016-09-02 04:05:20'),
(3587, 718, 'sarbik.sahan,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3588, 718, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3589, 718, 'sadia.afrin', 'bo', '2016-09-02 04:05:20'),
(3590, 718, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3591, 719, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3592, 719, 's.majumder,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3593, 719, 'sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3594, 719, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3595, 719, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3596, 720, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3597, 720, 'nasrin.akter,s.majumder', 'sur', '2016-09-02 04:05:20'),
(3598, 720, 'sarbik.sahan,puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3599, 720, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3600, 720, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3601, 721, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3602, 721, 'puspita.tapu,tanveer.ahmed', 'sur', '2016-09-02 04:05:20'),
(3603, 721, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3604, 721, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3605, 721, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3606, 722, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3607, 722, 'nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3608, 722, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3609, 722, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3610, 722, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3611, 723, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3612, 723, 'nasrin.akter,wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3613, 723, 'nowrin.karim,samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3614, 723, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3615, 723, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3616, 724, 'jalal.mahedi', 'shift_leader', '2016-09-02 04:05:20'),
(3617, 724, 'iqbal.ahmed,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3618, 724, 'maruf.mohammad,tanveer.ahmed', 'bo', '2016-09-02 04:05:20'),
(3619, 724, 'sadia.afrin', 'iig', '2016-09-02 04:05:20'),
(3620, 724, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3621, 725, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3622, 725, 'akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3623, 725, 'maruf.mohammad,iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3624, 725, 'sadia.afrin', 'bo', '2016-09-02 04:05:20'),
(3625, 725, 'umar.rafaet', 'icx', '2016-09-02 04:05:20'),
(3626, 726, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3627, 726, 's.majumder,nasrin.akter', 'sur', '2016-09-02 04:05:20'),
(3628, 726, 'sadaf.mahmud,puspita.tapu', 'bo', '2016-09-02 04:05:20'),
(3629, 726, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3630, 726, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3631, 727, 'mir.raihan,mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3632, 727, 'nafisa.sayed,puspita.tapu', 'sur', '2016-09-02 04:05:20'),
(3633, 727, 'sarbik.sahan,etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3634, 727, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3635, 727, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3636, 728, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3637, 728, 'puspita.tapu,nafisa.sayed', 'sur', '2016-09-02 04:05:20'),
(3638, 728, 'samar.kumar,sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3639, 728, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3640, 728, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3641, 729, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3642, 729, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3643, 729, 'nowrin.karim,samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3644, 729, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3645, 729, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3646, 730, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3647, 730, 'akramul.tarafdar,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3648, 730, 'nowrin.karim,wahidul.ashrafe', 'bo', '2016-09-02 04:05:20'),
(3649, 730, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3650, 730, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3651, 731, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3652, 731, 'akramul.tarafdar,iqbal.ahmed', 'sur', '2016-09-02 04:05:20'),
(3653, 731, 'maruf.mohammad,anika.sharmin', 'bo', '2016-09-02 04:05:20'),
(3654, 731, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3655, 731, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20');
-- --------------------------------------------------------
--
-- Table structure for table `holidaytable`
--
CREATE TABLE IF NOT EXISTS `holidaytable` (
`holiday_id` int(11) NOT NULL,
`date` date NOT NULL,
`Description` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `holidaytable`
--
INSERT INTO `holidaytable` (`holiday_id`, `date`, `Description`) VALUES
(1, '2016-02-21', '2016,?Language Martyrs Day'),
(2, '2016-03-17', '2016,?Bangabandhu''s Birthday'),
(3, '2016-03-26', '2016,?Independence Day'),
(4, '2016-04-14', '2016,?Bengali New Year'),
(5, '2016-01-05', '2016,?International Labour Day'),
(6, '2016-05-25', '2016,?Buddha Purnima'),
(7, '2016-05-23', '2016,?Shab-e-barat'),
(8, '2016-07-01', '2016,?Jummatul Bidah'),
(9, '2016-07-03', '2016,?Shab-e-Qadr'),
(10, '2016-07-05', '2016,?Eid-ul-Fitr Holiday'),
(11, '2016-07-06', '2016,?Eid-ul-Fitr'),
(12, '2016-07-07', '2016,?Eid-ul-Fitr Holiday'),
(13, '2016-08-15', '2016,?National Mourning Day'),
(14, '2016-08-25', '2016,?Janmashtami'),
(15, '2016-09-11', '2016,?Eid-ul-Azha Holiday'),
(16, '2016-09-12', '2016,?Eid-ul-Azha'),
(17, '2016-09-13', '2016,?Eid-ul-Azha Holiday'),
(18, '2016-10-11', '2016,?Durga Puja'),
(19, '2016-10-12', '2016,?Ashura'),
(20, '2016-12-12', '2016,?Eid-e-Milad-un Nabi'),
(21, '2016-12-16', '2016,?Victory Day'),
(22, '2016-12-25', '2016,?Christmas Day');
-- --------------------------------------------------------
--
-- Table structure for table `leavetable`
--
CREATE TABLE IF NOT EXISTS `leavetable` (
`leave_row_id` int(11) NOT NULL,
`leave_requester` varchar(255) NOT NULL,
`leave_date_from` date NOT NULL,
`leave_date_to` date NOT NULL,
`leave_status` varchar(255) NOT NULL,
`approved_by` varchar(255) NOT NULL,
`reason` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `leavetable`
--
INSERT INTO `leavetable` (`leave_row_id`, `leave_requester`, `leave_date_from`, `leave_date_to`, `leave_status`, `approved_by`, `reason`) VALUES
(1, 'rifat.hasan', '2016-05-29', '2016-05-31', 'Approved', 'sakib.ullah', 'I will go out of Dhaka . '),
(2, 'wahidul.ashrafe', '2016-05-31', '2016-06-01', 'Approved', 'mahbub.hasan', 'Shifting to new home'),
(3, 'iqbal.ahmed', '2016-05-30', '2016-05-30', 'Rejected', 'mahbub.hasan', 'For Family issue '),
(4, 'nazmul.hasan', '2016-06-02', '2016-06-03', 'Approved', 'sakib.ullah', 'Fever'),
(5, 'nafisa.sayed', '2016-06-04', '2016-06-05', 'Approved', 'sakib.ullah', 'Fever'),
(6, 'tanveer.ahmed', '2016-06-03', '2016-06-04', 'Rejected', 'mir.raihan', 'Fever from yesterday. Now it is increasing. Can not attend night shift.'),
(7, 'tanveer.ahmed', '2016-06-03', '2016-06-03', 'Approved', 'mir.raihan', 'Fever from yesterday. Now it is increasing. Can not attend night shift.'),
(8, 'umar.rafaet', '2016-06-14', '2016-06-14', 'Approved', 'mir.raihan', 'doctor appointment for father '),
(9, 'rifat.hasan', '2016-06-15', '2016-06-16', 'Approved', 'mir.raihan', 'I have an important issue regarding my family .'),
(10, 'tahsinul.ferdous', '2016-06-19', '2016-06-19', 'Approved', 'jalal.mahedi', 'Sick'),
(11, 'rayhan.hossain', '2016-06-20', '2016-06-20', 'Rejected', 'mahbub.hasan', 'I will leave town tomorrow due to family purpose emergency.I will be back in town before my next (21/06/2016) shift.'),
(12, 'rayhan.hossain', '2016-06-20', '2016-06-20', 'Approved', 'mahbub.hasan', 'I will leave town tomorrow due to family purpose emergency.I will be back in town before my next (21/06/2016) shift.'),
(13, 'ahsan.zaki', '2016-06-21', '2016-06-21', 'Approved', 'jalal.mahedi', 'Grandmother is sick. I''ll donate blood. So I can''t attend the evening shift which I have. '),
(14, 'iftakhar.jahan', '2016-06-23', '2016-06-23', 'Approved', 'jalal.mahedi', 'Feeling sick '),
(15, 'anika.sharmin', '2016-06-28', '2016-06-28', 'Approved', 'mir.raihan', 'sick'),
(16, 'iftakhar.jahan', '2016-07-17', '2016-07-17', 'Approved', 'jalal.mahedi', 'for cox''s bazar tour '),
(17, 'ahsan.zaki', '2016-07-16', '2016-07-16', 'Approved', 'sakib.ullah', 'Feeling sick after doing 5 night shifts in last 6 days. '),
(18, 'saiham.rahman', '2016-07-18', '2016-07-18', 'Approved', 'sakib.ullah', 'Due to my sister''s xi class admission difficulty problem I have to stay one more days in my Home. Alvee will cover my morning duty.'),
(19, 'anika.sharmin', '2016-08-08', '2016-08-16', 'Approved', 'razib.hasan', 'Family vaccation'),
(20, 'mahbub.hasan', '2016-08-02', '2016-08-02', 'Rejected', 'razib.hasan', 'Family Issue. '),
(21, 'mir.raihan', '2016-08-03', '2016-08-03', 'Approved', 'razib.hasan', 'Family urgency.'),
(22, 'anika.sharmin', '2016-08-08', '2016-08-16', 'Rejected', 'saeed.naser', ''),
(23, 'samar.kumar', '2016-08-05', '2016-08-05', 'Approved', 'mahbub.hasan', 'Sick leave due to fever'),
(24, 'sarbik.sahan', '2016-08-09', '2016-08-10', 'Approved', 'mahbub.hasan', 'For family programme'),
(25, 'showmen.barua', '2016-08-09', '2016-08-09', 'Rejected', 'mahbub.hasan', 'test'),
(26, 'showmen.barua', '2016-08-09', '2016-08-09', 'Approved', 'showmen.barua', 'test'),
(27, 'showmen.barua', '2016-08-09', '2016-08-10', 'Approved', 'showmen.barua', 'test'),
(28, 'umar.rafaet', '2016-08-16', '2016-08-16', 'Approved', 'sakib.ullah', 'To attend CCNA exam '),
(29, 'mahbub.hasan', '2016-08-13', '2016-08-14', 'Rejected', 'saeed.naser', 'Family issues.'),
(30, 'iqbal.ahmed', '2016-08-19', '2016-08-20', 'Approved', 'mahbub.hasan', 'i need to go to home on emergency for fry day and saturday'),
(31, 'ashiqur.rahman', '2016-08-27', '2016-08-28', 'Approved', 'jalal.mahedi', 'Family Issue (Casual Leave)'),
(32, 'rahul.biswas', '2016-08-30', '2016-09-01', 'Approved', 'jalal.mahedi', 'Casual Leave'),
(33, 'mahbub.hasan', '2016-08-28', '2016-08-29', 'Approved', 'sakib.ullah', 'Need leave for my sickness. '),
(34, 'nowrin.karim', '2016-09-01', '2016-09-01', 'Approved', 'mir.raihan', 'eye problem '),
(35, 'shamim.hassan', '2016-09-20', '2016-09-21', 'Rejected', 'jalal.mahedi', 'Family Purpose.'),
(36, 'shamim.hassan', '2016-09-20', '1970-01-01', 'Rejected', 'jalal.mahedi', 'Family purpose. '),
(37, 'imroze.ahmed', '2016-09-16', '2016-09-16', 'Approved', 'jalal.mahedi', 'Will be out of town with family.'),
(38, 'shamim.hassan', '2016-09-20', '2016-09-20', 'Approved', 'jalal.mahedi', 'Family Purpose.');
-- --------------------------------------------------------
--
-- Table structure for table `log_user`
--
CREATE TABLE IF NOT EXISTS `log_user` (
`log_row_id` int(11) NOT NULL,
`username` varchar(255) NOT NULL,
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `log_user`
--
INSERT INTO `log_user` (`log_row_id`, `username`, `time`) VALUES
(1, 'ali.mehraj', '2016-05-08 12:34:54'),
(2, 'showmen.barua', '2016-05-08 12:35:43'),
(5, 'jalal.mahedi', '2016-05-08 12:41:06'),
(6, 'biplob.barua', '2016-05-08 18:26:31'),
(7, 'mir.raihan', '2016-05-10 07:32:13'),
(8, 'nasrin.akter', '2016-05-11 04:22:25'),
(9, 'anika.sharmin', '2016-05-11 07:13:30'),
(10, 'etanvir.ahmed', '2016-05-11 08:06:22'),
(11, 'samar.kumar', '2016-05-11 16:40:37'),
(12, 'sarbik.sahan', '2016-05-12 09:19:19'),
(13, 'saeed.naser', '2016-05-12 09:22:49'),
(14, 'niaz.mithu', '2016-05-12 09:55:54'),
(15, 'akramul.tarafdar', '2016-05-12 21:09:57'),
(16, 'saiham.rahman', '2016-05-12 21:12:02'),
(17, 'rifat.hasan', '2016-05-12 21:15:35'),
(18, 'tanveer.ahmed', '2016-05-12 22:06:44'),
(19, 'sadaf.mahmud', '2016-05-13 17:00:30'),
(20, 'mahbub.hasan', '2016-05-18 21:53:41'),
(21, 'sakib.ullah', '2016-05-23 05:36:09'),
(22, 'umar.rafaet', '2016-05-23 12:13:23'),
(23, 'razib.hasan', '2016-05-27 08:21:34'),
(24, 'wahidul.ashrafe', '2016-05-29 04:09:25'),
(25, 'iqbal.ahmed', '2016-05-29 13:07:35'),
(26, 'iftakhar.jahan', '2016-05-29 23:27:50'),
(27, 'nazmul.hasan', '2016-05-30 01:36:37'),
(28, 'sadia.afrin', '2016-05-30 03:32:40'),
(29, 'ahsan.zaki', '2016-05-30 05:28:35'),
(30, 's.majumder', '2016-05-30 23:19:20'),
(31, 'trina.majumder', '2016-06-01 11:34:17'),
(32, 'shamim.hassan', '2016-06-02 02:34:24'),
(33, 'nafisa.sayed', '2016-06-03 08:32:42'),
(34, 'maruf.mohammad', '2016-06-03 15:18:41'),
(35, 'ashiqur.rahman', '2016-06-08 04:10:31'),
(36, 'tahsinul.ferdous', '2016-06-08 22:51:58'),
(37, 'nowrin.karim', '2016-06-12 05:40:27'),
(38, 'puspita.tapu', '2016-06-14 16:23:57'),
(39, 'imroze.ahmed', '2016-06-16 02:50:31'),
(40, 'rahul.biswas', '2016-06-16 14:39:08'),
(41, 'rayhan.hossain', '2016-06-17 01:28:21'),
(42, 'sanjedur.rahman', '2016-07-14 08:13:19'),
(43, 'tanmin.ety', '2016-07-14 10:06:33'),
(44, 'rezaul.karim', '2016-07-15 09:57:15'),
(45, 'md.islam', '2016-07-15 12:30:13'),
(46, 'samiul.mamun', '2016-07-15 18:21:13'),
(47, 'mubasser.hossain', '2016-07-17 04:28:30'),
(48, 'sarjana.jahan', '2016-07-17 05:02:45'),
(49, 'rizvina.sultana', '2016-07-17 05:09:05'),
(50, 'kazi.azraf', '2016-07-17 11:02:40'),
(51, 'tanvir.yasir', '2016-07-18 05:24:28'),
(52, 'sabrina.amin', '2016-07-18 06:23:50'),
(53, 'm.hasan', '2016-07-18 21:44:52'),
(54, 'arafat.islam', '2016-07-19 02:01:18'),
(55, 'haider.ali', '2016-07-20 06:47:50'),
(56, 'm.tariq', '2016-07-20 07:46:00'),
(57, 'galib.reza', '2016-07-20 07:55:28'),
(58, 'nasir.uddin', '2016-07-20 09:18:46'),
(59, 'nayeem.ahmmad', '2016-07-20 09:59:19'),
(60, 'huque.ariful', '2016-07-20 14:30:04'),
(61, 'nitu.islam', '2016-07-22 07:42:31'),
(62, 'm.alimuzzaman', '2016-07-24 04:22:01'),
(63, 'takvir.sm', '2016-07-24 09:34:56'),
(64, 'mohshin.shiraz', '2016-07-26 07:26:17'),
(65, '', '2016-07-27 17:35:07'),
(66, 'tofazzal.hossain', '2016-07-30 16:20:34'),
(67, 'maksudur.rahman', '2016-08-07 10:53:35'),
(68, 'ashraf.hossain', '2016-08-31 05:19:10'),
(69, 'sabbir.ferdous', '2016-08-31 05:28:43'),
(70, 'farhad.hussain', '2016-09-04 12:11:17'),
(71, 'ruhul.amin', '2016-09-08 09:55:22');
-- --------------------------------------------------------
--
-- Table structure for table `migrations`
--
CREATE TABLE IF NOT EXISTS `migrations` (
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `nighttable`
--
CREATE TABLE IF NOT EXISTS `nighttable` (
`night_row_id` int(11) NOT NULL,
`shift_id` int(11) NOT NULL,
`shift_member` varchar(255) NOT NULL,
`shift_position` varchar(255) NOT NULL,
`night_last_updated` datetime NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=3656 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `nighttable`
--
INSERT INTO `nighttable` (`night_row_id`, `shift_id`, `shift_member`, `shift_position`, `night_last_updated`) VALUES
(1, 1, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(2, 1, 'sarbik.sahan,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(3, 1, 'maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(4, 1, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(5, 1, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(6, 2, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(7, 2, 's.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(8, 2, 'sarbik.sahan', 'bo', '2016-05-06 11:08:19'),
(9, 2, 'imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(10, 2, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(11, 3, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(12, 3, 'iqbal.ahmed,s.majumder', 'sur', '2016-05-06 11:08:19'),
(13, 3, 'sadaf.mahmud', 'bo', '2016-05-06 11:08:19'),
(14, 3, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(15, 3, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(16, 4, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(17, 4, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(18, 4, 'iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(19, 4, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(20, 4, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(21, 5, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(22, 5, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(23, 5, 'samar.kumar', 'bo', '2016-05-06 11:08:19'),
(24, 5, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(25, 5, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(26, 6, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(27, 6, 'samar.kumar', 'sur', '2016-05-06 11:08:19'),
(28, 6, 'tanveer.ahmed', 'bo', '2016-05-06 11:08:19'),
(29, 6, 'rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(30, 6, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(31, 7, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(32, 7, 'umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(33, 7, 'etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(34, 7, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(35, 7, 'ashiqur.rahman,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(36, 8, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(37, 8, 'sarbik.sahan,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(38, 8, 'maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(39, 8, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(40, 8, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(41, 9, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(42, 9, 's.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(43, 9, 'sarbik.sahan', 'bo', '2016-05-06 11:08:19'),
(44, 9, 'imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(45, 9, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(46, 10, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(47, 10, 'iqbal.ahmed,s.majumder', 'sur', '2016-05-06 11:08:19'),
(48, 10, 'sadaf.mahmud', 'bo', '2016-05-06 11:08:19'),
(49, 10, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(50, 10, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(51, 11, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(52, 11, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(53, 11, 'iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(54, 11, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(55, 11, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(56, 12, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(57, 12, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(58, 12, 'samar.kumar', 'bo', '2016-05-06 11:08:19'),
(59, 12, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(60, 12, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(61, 13, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(62, 13, 'samar.kumar', 'sur', '2016-05-06 11:08:19'),
(63, 13, 'tanveer.ahmed', 'bo', '2016-05-06 11:08:19'),
(64, 13, 'rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(65, 13, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(66, 14, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(67, 14, 'umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(68, 14, 'etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(69, 14, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(70, 14, 'ashiqur.rahman,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(71, 15, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(72, 15, 'sarbik.sahan,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(73, 15, 'maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(74, 15, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(75, 15, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(76, 16, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(77, 16, 's.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(78, 16, 'sarbik.sahan', 'bo', '2016-05-06 11:08:19'),
(79, 16, 'imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(80, 16, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(81, 17, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(82, 17, 'iqbal.ahmed,s.majumder', 'sur', '2016-05-06 11:08:19'),
(83, 17, 'sadaf.mahmud', 'bo', '2016-05-06 11:08:19'),
(84, 17, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(85, 17, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(86, 18, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(87, 18, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(88, 18, 'iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(89, 18, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(90, 18, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(91, 19, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(92, 19, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(93, 19, 'samar.kumar', 'bo', '2016-05-06 11:08:19'),
(94, 19, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(95, 19, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(96, 20, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(97, 20, 'samar.kumar', 'sur', '2016-05-06 11:08:19'),
(98, 20, 'tanveer.ahmed', 'bo', '2016-05-06 11:08:19'),
(99, 20, 'rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(100, 20, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(101, 21, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(102, 21, 'umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(103, 21, 'etanvir.ahmed', 'bo', '2016-05-06 11:08:19'),
(104, 21, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(105, 21, 'ashiqur.rahman,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(106, 22, 'saeed.naser', 'shift_leader', '2016-05-06 11:08:19'),
(107, 22, 'sarbik.sahan,umar.rafaet', 'sur', '2016-05-06 11:08:19'),
(108, 22, 'maruf.mohammad', 'bo', '2016-05-06 11:08:19'),
(109, 22, 'iftakhar.jahan', 'iig', '2016-05-06 11:08:19'),
(110, 22, 'shamim.hassan,ahsan.zaki', 'icx', '2016-05-06 11:08:19'),
(111, 23, 'sadaf.mahmud', 'shift_leader', '2016-05-06 11:08:19'),
(112, 23, 's.majumder,nazmul.hasan', 'sur', '2016-05-06 11:08:19'),
(113, 23, 'sarbik.sahan', 'bo', '2016-05-06 11:08:19'),
(114, 23, 'imroze.ahmed', 'iig', '2016-05-06 11:08:19'),
(115, 23, 'shamim.hassan', 'icx', '2016-05-06 11:08:19'),
(116, 24, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(117, 24, 'iqbal.ahmed,s.majumder', 'sur', '2016-05-06 11:08:19'),
(118, 24, 'sadaf.mahmud', 'bo', '2016-05-06 11:08:19'),
(119, 24, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(120, 24, 'rayhan.hossain', 'icx', '2016-05-06 11:08:19'),
(121, 25, 'mahbub.hasan', 'shift_leader', '2016-05-06 11:08:19'),
(122, 25, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(123, 25, 'iqbal.ahmed', 'bo', '2016-05-06 11:08:19'),
(124, 25, 'tahsinul.ferdous', 'iig', '2016-05-06 11:08:19'),
(125, 25, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(126, 26, 'sakib.ullah', 'shift_leader', '2016-05-06 11:08:19'),
(127, 26, 'akramul.tarafdar,rifat.hasan', 'sur', '2016-05-06 11:08:19'),
(128, 26, 'samar.kumar', 'bo', '2016-05-06 11:08:19'),
(129, 26, 'tanveer.ahmed', 'iig', '2016-05-06 11:08:19'),
(130, 26, 'saiham.rahman', 'icx', '2016-05-06 11:08:19'),
(131, 27, 'mir.raihan', 'shift_leader', '2016-05-06 11:08:19'),
(132, 27, 'samar.kumar', 'sur', '2016-05-06 11:08:19'),
(133, 27, 'tanveer.ahmed', 'bo', '2016-05-06 11:08:19'),
(134, 27, 'rahul.biswas', 'iig', '2016-05-06 11:08:19'),
(135, 27, 'ashiqur.rahman', 'icx', '2016-05-06 11:08:19'),
(156, 32, 'saeed.naser', 'shift_leader', '2016-05-27 03:10:26'),
(157, 32, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-05-27 03:10:26'),
(158, 32, 'maruf.mohammad', 'bo', '2016-05-27 03:10:26'),
(159, 32, 'iftakhar.jahan', 'iig', '2016-05-27 03:10:26'),
(160, 32, 'ashiqur.rahman', 'icx', '2016-05-27 03:10:26'),
(161, 33, 'saeed.naser', 'shift_leader', '2016-05-27 03:10:26'),
(162, 33, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-05-27 03:10:26'),
(163, 33, 'maruf.mohammad', 'bo', '2016-05-27 03:10:26'),
(164, 33, 'iftakhar.jahan', 'iig', '2016-05-27 03:10:26'),
(165, 33, 'shamim.hassan', 'icx', '2016-05-27 03:10:26'),
(166, 34, 'sadaf.mahmud', 'shift_leader', '2016-05-27 03:10:26'),
(167, 34, 's.majumder,nazmul.hasan', 'sur', '2016-05-27 03:10:26'),
(168, 34, 'sarbik.sahan', 'bo', '2016-05-27 03:10:26'),
(169, 34, 'imroze.ahmed', 'iig', '2016-05-27 03:10:26'),
(170, 34, 'shamim.hassan', 'icx', '2016-05-27 03:10:26'),
(171, 35, 'mahbub.hasan', 'shift_leader', '2016-05-27 03:10:26'),
(172, 35, 'iqbal.ahmed,s.majumder', 'sur', '2016-05-27 03:10:26'),
(173, 35, 'sadaf.mahmud', 'bo', '2016-05-27 03:10:26'),
(174, 35, 'tahsinul.ferdous', 'iig', '2016-05-27 03:10:26'),
(175, 35, 'rayhan.hossain', 'icx', '2016-05-27 03:10:26'),
(326, 66, 'mahbub.hasan', 'shift_leader', '2016-05-27 10:30:05'),
(327, 66, 'rifat.hasan', 'sur', '2016-05-27 10:30:05'),
(328, 66, 'iqbal.ahmed', 'bo', '2016-05-27 10:30:05'),
(329, 66, 'tahsinul.ferdous', 'iig', '2016-05-27 10:30:05'),
(330, 66, 'saiham.rahman', 'icx', '2016-05-27 10:30:05'),
(331, 67, 'sakib.ullah', 'shift_leader', '2016-05-27 10:30:05'),
(332, 67, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-05-27 10:30:05'),
(333, 67, 'samar.kumar', 'bo', '2016-05-27 10:30:05'),
(334, 67, 'tanveer.ahmed', 'iig', '2016-05-27 10:30:05'),
(335, 67, 'ahsan.zaki', 'icx', '2016-05-27 10:30:05'),
(896, 180, 'mir.raihan', 'shift_leader', '2016-06-02 11:45:21'),
(897, 180, 'akramul.tarafdar', 'sur', '2016-06-02 11:45:21'),
(898, 180, 'samar.kumar', 'bo', '2016-06-02 11:45:21'),
(899, 180, 'rahul.biswas', 'iig', '2016-06-02 11:45:21'),
(900, 180, 'ashiqur.rahman', 'icx', '2016-06-02 11:45:21'),
(901, 181, 'saeed.naser', 'shift_leader', '2016-06-02 11:45:21'),
(902, 181, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-06-02 11:45:21'),
(903, 181, 'maruf.mohammad', 'bo', '2016-06-02 11:45:21'),
(904, 181, 'iftakhar.jahan', 'iig', '2016-06-02 11:45:21'),
(905, 181, 'ashiqur.rahman', 'icx', '2016-06-02 11:45:21'),
(906, 182, 'saeed.naser', 'shift_leader', '2016-06-02 11:45:21'),
(907, 182, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-06-02 11:45:21'),
(908, 182, 'maruf.mohammad', 'bo', '2016-06-02 11:45:21'),
(909, 182, 'iftakhar.jahan', 'iig', '2016-06-02 11:45:21'),
(910, 182, 'shamim.hassan', 'icx', '2016-06-02 11:45:21'),
(911, 183, 'sadaf.mahmud', 'shift_leader', '2016-06-02 11:45:21'),
(912, 183, 's.majumder,nazmul.hasan', 'sur', '2016-06-02 11:45:21'),
(913, 183, 'sarbik.sahan', 'bo', '2016-06-02 11:45:21'),
(914, 183, 'imroze.ahmed', 'iig', '2016-06-02 11:45:21'),
(915, 183, 'shamim.hassan', 'icx', '2016-06-02 11:45:21'),
(1156, 232, 'mahbub.hasan', 'shift_leader', '2016-06-06 09:18:50'),
(1157, 232, 'iqbal.ahmed,s.majumder', 'sur', '2016-06-06 09:18:50'),
(1158, 232, 'sadaf.mahmud', 'bo', '2016-06-06 09:18:50'),
(1159, 232, 'tahsinul.ferdous', 'iig', '2016-06-06 09:18:50'),
(1160, 232, 'rayhan.hossain', 'icx', '2016-06-06 09:18:50'),
(1161, 233, 'mahbub.hasan', 'shift_leader', '2016-06-06 09:18:50'),
(1162, 233, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-06-06 09:18:50'),
(1163, 233, 'iqbal.ahmed', 'bo', '2016-06-06 09:18:50'),
(1164, 233, 'tahsinul.ferdous', 'iig', '2016-06-06 09:18:50'),
(1165, 233, 'ahsan.zaki', 'icx', '2016-06-06 09:18:50'),
(1166, 234, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1167, 234, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-06-06 09:18:50'),
(1168, 234, 'samar.kumar', 'bo', '2016-06-06 09:18:50'),
(1169, 234, 'tanveer.ahmed', 'iig', '2016-06-06 09:18:50'),
(1170, 234, 'saiham.rahman', 'icx', '2016-06-06 09:18:50'),
(1171, 235, 'mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1172, 235, 'samar.kumar,akramul.tarafdar', 'sur', '2016-06-06 09:18:50'),
(1173, 235, 'tanveer.ahmed', 'bo', '2016-06-06 09:18:50'),
(1174, 235, 'rahul.biswas,jalal.mahedi', 'iig', '2016-06-06 09:18:50'),
(1175, 235, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1176, 236, 'saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1177, 236, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-06-06 09:18:50'),
(1178, 236, 'maruf.mohammad', 'bo', '2016-06-06 09:18:50'),
(1179, 236, 'iftakhar.jahan', 'iig', '2016-06-06 09:18:50'),
(1180, 236, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1181, 237, 'saeed.naser', 'shift_leader', '2016-06-06 09:18:50'),
(1182, 237, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-06-06 09:18:50'),
(1183, 237, 'maruf.mohammad', 'bo', '2016-06-06 09:18:50'),
(1184, 237, 'iftakhar.jahan', 'iig', '2016-06-06 09:18:50'),
(1185, 237, 'shamim.hassan', 'icx', '2016-06-06 09:18:50'),
(1186, 238, 'sadaf.mahmud', 'shift_leader', '2016-06-06 09:18:50'),
(1187, 238, 's.majumder,nazmul.hasan', 'sur', '2016-06-06 09:18:50'),
(1188, 238, 'sarbik.sahan', 'bo', '2016-06-06 09:18:50'),
(1189, 238, 'imroze.ahmed', 'iig', '2016-06-06 09:18:50'),
(1190, 238, 'shamim.hassan', 'icx', '2016-06-06 09:18:50'),
(1191, 239, 'mahbub.hasan', 'shift_leader', '2016-06-06 09:18:50'),
(1192, 239, 'iqbal.ahmed,s.majumder', 'sur', '2016-06-06 09:18:50'),
(1193, 239, 'sadaf.mahmud', 'bo', '2016-06-06 09:18:50'),
(1194, 239, 'tahsinul.ferdous', 'iig', '2016-06-06 09:18:50'),
(1195, 239, 'rayhan.hossain', 'icx', '2016-06-06 09:18:50'),
(1196, 240, 'mahbub.hasan', 'shift_leader', '2016-06-06 09:18:50'),
(1197, 240, 'wahidul.ashrafe', 'sur', '2016-06-06 09:18:50'),
(1198, 240, 'iqbal.ahmed', 'bo', '2016-06-06 09:18:50'),
(1199, 240, 'tahsinul.ferdous', 'iig', '2016-06-06 09:18:50'),
(1200, 240, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1201, 241, 'sakib.ullah', 'shift_leader', '2016-06-06 09:18:50'),
(1202, 241, 'wahidul.ashrafe', 'sur', '2016-06-06 09:18:50'),
(1203, 241, 'samar.kumar', 'bo', '2016-06-06 09:18:50'),
(1204, 241, 'tanveer.ahmed', 'iig', '2016-06-06 09:18:50'),
(1205, 241, 'saiham.rahman', 'icx', '2016-06-06 09:18:50'),
(1206, 242, 'mir.raihan', 'shift_leader', '2016-06-06 09:18:50'),
(1207, 242, 'samar.kumar,akramul.tarafdar', 'sur', '2016-06-06 09:18:50'),
(1208, 242, 'tanveer.ahmed', 'bo', '2016-06-06 09:18:50'),
(1209, 242, 'rahul.biswas,jalal.mahedi', 'iig', '2016-06-06 09:18:50'),
(1210, 242, 'ashiqur.rahman', 'icx', '2016-06-06 09:18:50'),
(1276, 256, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1277, 256, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-06-17 10:12:06'),
(1278, 256, 'etanvir.ahmed', 'bo', '2016-06-17 10:12:06'),
(1279, 256, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1280, 256, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1281, 257, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1282, 257, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-06-17 10:12:06'),
(1283, 257, 'maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1284, 257, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1285, 257, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1286, 258, 'sadaf.mahmud', 'shift_leader', '2016-06-17 10:12:06'),
(1287, 258, 's.majumder,nazmul.hasan', 'sur', '2016-06-17 10:12:06'),
(1288, 258, 'sarbik.sahan', 'bo', '2016-06-17 10:12:06'),
(1289, 258, 'imroze.ahmed', 'iig', '2016-06-17 10:12:06'),
(1290, 258, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1291, 259, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1292, 259, 'iqbal.ahmed,s.majumder', 'sur', '2016-06-17 10:12:06'),
(1293, 259, 'sadaf.mahmud', 'bo', '2016-06-17 10:12:06'),
(1294, 259, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1295, 259, 'rayhan.hossain', 'icx', '2016-06-17 10:12:06'),
(1296, 260, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1297, 260, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-06-17 10:12:06'),
(1298, 260, 'iqbal.ahmed', 'bo', '2016-06-17 10:12:06'),
(1299, 260, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1300, 260, 'ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1301, 261, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1302, 261, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-06-17 10:12:06'),
(1303, 261, 'samar.kumar', 'bo', '2016-06-17 10:12:06'),
(1304, 261, 'tanveer.ahmed', 'iig', '2016-06-17 10:12:06'),
(1305, 261, 'saiham.rahman', 'icx', '2016-06-17 10:12:06'),
(1306, 262, 'mir.raihan', 'shift_leader', '2016-06-17 10:12:06'),
(1307, 262, 'samar.kumar,akramul.tarafdar', 'sur', '2016-06-17 10:12:06'),
(1308, 262, 'tanveer.ahmed', 'bo', '2016-06-17 10:12:06'),
(1309, 262, 'rahul.biswas,jalal.mahedi', 'iig', '2016-06-17 10:12:06'),
(1310, 262, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1311, 263, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1312, 263, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-06-17 10:12:06'),
(1313, 263, 'samar.kumar', 'bo', '2016-06-17 10:12:06'),
(1314, 263, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1315, 263, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1316, 264, 'saeed.naser', 'shift_leader', '2016-06-17 10:12:06'),
(1317, 264, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-06-17 10:12:06'),
(1318, 264, 'maruf.mohammad', 'bo', '2016-06-17 10:12:06'),
(1319, 264, 'iftakhar.jahan', 'iig', '2016-06-17 10:12:06'),
(1320, 264, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1321, 265, 'sadaf.mahmud', 'shift_leader', '2016-06-17 10:12:06'),
(1322, 265, 's.majumder,nazmul.hasan', 'sur', '2016-06-17 10:12:06'),
(1323, 265, 'sarbik.sahan', 'bo', '2016-06-17 10:12:06'),
(1324, 265, 'imroze.ahmed', 'iig', '2016-06-17 10:12:06'),
(1325, 265, 'shamim.hassan', 'icx', '2016-06-17 10:12:06'),
(1326, 266, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1327, 266, 'iqbal.ahmed,s.majumder', 'sur', '2016-06-17 10:12:06'),
(1328, 266, 'sadaf.mahmud', 'bo', '2016-06-17 10:12:06'),
(1329, 266, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1330, 266, 'rayhan.hossain', 'icx', '2016-06-17 10:12:06'),
(1331, 267, 'mahbub.hasan', 'shift_leader', '2016-06-17 10:12:06'),
(1332, 267, 'rifat.hasan,wahidul.ashrafe', 'sur', '2016-06-17 10:12:06'),
(1333, 267, 'iqbal.ahmed', 'bo', '2016-06-17 10:12:06'),
(1334, 267, 'tahsinul.ferdous', 'iig', '2016-06-17 10:12:06'),
(1335, 267, 'ahsan.zaki', 'icx', '2016-06-17 10:12:06'),
(1336, 268, 'sakib.ullah', 'shift_leader', '2016-06-17 10:12:06'),
(1337, 268, 'wahidul.ashrafe', 'sur', '2016-06-17 10:12:06'),
(1338, 268, 'samar.kumar', 'bo', '2016-06-17 10:12:06'),
(1339, 268, 'rahul.biswas', 'iig', '2016-06-17 10:12:06'),
(1340, 268, 'ashiqur.rahman', 'icx', '2016-06-17 10:12:06'),
(1341, 269, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1342, 269, 'akramul.tarafdar,iqbal.ahmed', 'sur', '2016-06-29 08:53:39'),
(1343, 269, 'samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1344, 269, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1345, 269, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1346, 270, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1347, 270, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1348, 270, 'iqbal.ahmed', 'bo', '2016-06-29 08:53:39'),
(1349, 270, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1350, 270, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1351, 271, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1352, 271, 'sarbik.sahan,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1353, 271, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1354, 271, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1355, 271, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1356, 272, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1357, 272, 's.majumder,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1358, 272, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1359, 272, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1360, 272, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1361, 273, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1362, 273, 's.majumder', 'sur', '2016-06-29 08:53:39'),
(1363, 273, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1364, 273, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1365, 273, 'saiham.rahman', 'icx', '2016-06-29 08:53:39'),
(1366, 274, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1367, 274, 'umar.rafaet', 'sur', '2016-06-29 08:53:39'),
(1368, 274, 'iqbal.ahmed', 'bo', '2016-06-29 08:53:39'),
(1369, 274, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1370, 274, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1371, 275, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1372, 275, 'samar.kumar', 'sur', '2016-06-29 08:53:39'),
(1373, 275, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1374, 275, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1375, 275, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1376, 276, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1377, 276, 'iqbal.ahmed', 'sur', '2016-06-29 08:53:39'),
(1378, 276, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1379, 276, 'iftakhar.jahan', 'iig', '2016-06-29 08:53:39'),
(1380, 276, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1381, 277, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1382, 277, 'rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1383, 277, 'iqbal.ahmed', 'bo', '2016-06-29 08:53:39'),
(1384, 277, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1385, 277, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1386, 278, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1387, 278, 'iqbal.ahmed', 'sur', '2016-06-29 08:53:39'),
(1388, 278, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1389, 278, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1390, 278, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1391, 279, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1392, 279, 's.majumder', 'sur', '2016-06-29 08:53:39'),
(1393, 279, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1394, 279, 'tanveer.ahmed', 'iig', '2016-06-29 08:53:39'),
(1395, 279, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1396, 280, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1397, 280, 's.majumder', 'sur', '2016-06-29 08:53:39'),
(1398, 280, 'samar.kumar,showmen.barua', 'bo', '2016-06-29 08:53:39'),
(1399, 280, 'tanveer.ahmed', 'iig', '2016-06-29 08:53:39'),
(1400, 280, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1401, 281, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1402, 281, 'wahidul.ashrafe', 'sur', '2016-06-29 08:53:39'),
(1403, 281, 'samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1404, 281, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1405, 281, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1406, 282, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1407, 282, 'wahidul.ashrafe', 'sur', '2016-06-29 08:53:39'),
(1408, 282, 'etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1409, 282, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1410, 282, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1411, 283, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1412, 283, 'nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1413, 283, 'etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1414, 283, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1415, 283, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1416, 284, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1417, 284, 'akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1418, 284, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1419, 284, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1420, 284, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1421, 285, 'saeed.naser', 'shift_leader', '2016-06-29 08:53:39'),
(1422, 285, 'akramul.tarafdar', 'sur', '2016-06-29 08:53:39'),
(1423, 285, 'maruf.mohammad', 'bo', '2016-06-29 08:53:39'),
(1424, 285, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1425, 285, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1426, 286, 'sadaf.mahmud', 'shift_leader', '2016-06-29 08:53:39'),
(1427, 286, 's.majumder,rifat.hasan', 'sur', '2016-06-29 08:53:39'),
(1428, 286, 'sarbik.sahan', 'bo', '2016-06-29 08:53:39'),
(1429, 286, 'imroze.ahmed', 'iig', '2016-06-29 08:53:39'),
(1430, 286, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1431, 287, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1432, 287, 'etanvir.ahmed,s.majumder', 'sur', '2016-06-29 08:53:39'),
(1433, 287, 'sadaf.mahmud', 'bo', '2016-06-29 08:53:39'),
(1434, 287, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1435, 287, 'rayhan.hossain', 'icx', '2016-06-29 08:53:39'),
(1436, 288, 'mahbub.hasan', 'shift_leader', '2016-06-29 08:53:39'),
(1437, 288, 'wahidul.ashrafe,nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1438, 288, 'etanvir.ahmed', 'bo', '2016-06-29 08:53:39'),
(1439, 288, 'tahsinul.ferdous', 'iig', '2016-06-29 08:53:39'),
(1440, 288, 'ahsan.zaki', 'icx', '2016-06-29 08:53:39'),
(1441, 289, 'mir.raihan', 'shift_leader', '2016-06-29 08:53:39'),
(1442, 289, 'wahidul.ashrafe,nazmul.hasan', 'sur', '2016-06-29 08:53:39'),
(1443, 289, 'samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1444, 289, 'tanveer.ahmed', 'iig', '2016-06-29 08:53:39'),
(1445, 289, 'ashiqur.rahman', 'icx', '2016-06-29 08:53:39'),
(1446, 290, 'sakib.ullah', 'shift_leader', '2016-06-29 08:53:39'),
(1447, 290, 'iqbal.ahmed,umar.rafaet', 'sur', '2016-06-29 08:53:39'),
(1448, 290, 'samar.kumar', 'bo', '2016-06-29 08:53:39'),
(1449, 290, 'rahul.biswas', 'iig', '2016-06-29 08:53:39'),
(1450, 290, 'shamim.hassan', 'icx', '2016-06-29 08:53:39'),
(1496, 300, 'saeed.naser', 'shift_leader', '2016-07-21 01:13:03'),
(1497, 300, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-07-21 01:13:03'),
(1498, 300, 'iqbal.ahmed', 'bo', '2016-07-21 01:13:03'),
(1499, 300, 'iftakhar.jahan', 'iig', '2016-07-21 01:13:03'),
(1500, 300, 'shamim.hassan', 'icx', '2016-07-21 01:13:03'),
(1541, 309, 'saeed.naser', 'shift_leader', '2016-07-21 01:28:32'),
(1542, 309, 'sarbik.sahan,rifat.hasan', 'sur', '2016-07-21 01:28:32'),
(1543, 309, 'iqbal.ahmed', 'bo', '2016-07-21 01:28:32'),
(1544, 309, 'iftakhar.jahan', 'iig', '2016-07-21 01:28:32'),
(1545, 309, 'shamim.hassan', 'icx', '2016-07-21 01:28:32'),
(1586, 318, 'mahbub.hasan', 'shift_leader', '2016-07-24 08:43:43'),
(1587, 318, 's.majumder,rifat.hasan', 'sur', '2016-07-24 08:43:43'),
(1588, 318, 'sarbik.sahan', 'bo', '2016-07-24 08:43:43'),
(1589, 318, 'imroze.ahmed', 'iig', '2016-07-24 08:43:43'),
(1590, 318, 'iftakhar.jahan', 'icx', '2016-07-24 08:43:43'),
(1591, 319, 'mahbub.hasan', 'shift_leader', '2016-07-24 08:43:43'),
(1592, 319, 's.majumder,etanvir.ahmed', 'sur', '2016-07-24 08:43:43'),
(1593, 319, 'sadaf.mahmud', 'bo', '2016-07-24 08:43:43'),
(1594, 319, 'tahsinul.ferdous', 'iig', '2016-07-24 08:43:43'),
(1595, 319, 'rayhan.hossain', 'icx', '2016-07-24 08:43:43'),
(1596, 320, 'mahbub.hasan', 'shift_leader', '2016-07-24 08:43:43'),
(1597, 320, 'wahidul.ashrafe,rifat.hasan', 'sur', '2016-07-24 08:43:43'),
(1598, 320, 'etanvir.ahmed', 'bo', '2016-07-24 08:43:43'),
(1599, 320, 'tahsinul.ferdous', 'iig', '2016-07-24 08:43:43'),
(1600, 320, 'ashiqur.rahman', 'icx', '2016-07-24 08:43:43'),
(1601, 321, 'sakib.ullah', 'shift_leader', '2016-07-24 08:43:43'),
(1602, 321, 'wahidul.ashrafe,nazmul.hasan', 'sur', '2016-07-24 08:43:43'),
(1603, 321, 'samar.kumar', 'bo', '2016-07-24 08:43:43'),
(1604, 321, 'tanveer.ahmed', 'iig', '2016-07-24 08:43:43'),
(1605, 321, 'ashiqur.rahman', 'icx', '2016-07-24 08:43:43'),
(1606, 322, 'saeed.naser', 'shift_leader', '2016-07-24 08:43:43'),
(1607, 322, 'umar.rafaet,iqbal.ahmed', 'sur', '2016-07-24 08:43:43'),
(1608, 322, 'samar.kumar', 'bo', '2016-07-24 08:43:43'),
(1609, 322, 'rahul.biswas', 'iig', '2016-07-24 08:43:43'),
(1610, 322, 'shamim.hassan', 'icx', '2016-07-24 08:43:43'),
(1611, 323, 'saeed.naser', 'shift_leader', '2016-07-24 08:43:43'),
(1612, 323, 'umar.rafaet,akramul.tarafdar', 'sur', '2016-07-24 08:43:43'),
(1613, 323, 'iqbal.ahmed', 'bo', '2016-07-24 08:43:43'),
(1614, 323, 'imroze.ahmed', 'iig', '2016-07-24 08:43:43'),
(1615, 323, 'iftakhar.jahan', 'icx', '2016-07-24 08:43:43'),
(1616, 324, 'saeed.naser', 'shift_leader', '2016-07-24 08:43:43'),
(1617, 324, 'sarbik.sahan,rifat.hasan', 'sur', '2016-07-24 08:43:43'),
(1618, 324, 'maruf.mohammad', 'bo', '2016-07-24 08:43:43'),
(1619, 324, 'imroze.ahmed', 'iig', '2016-07-24 08:43:43'),
(1620, 324, 'iftakhar.jahan', 'icx', '2016-07-24 08:43:43'),
(1621, 325, 'sadaf.mahmud', 'shift_leader', '2016-07-31 08:42:52'),
(1622, 325, 's.majumder,rifat.hasan', 'sur', '2016-07-31 08:42:52'),
(1623, 325, 'sarbik.sahan', 'bo', '2016-07-31 08:42:52'),
(1624, 325, 'imroze.ahmed', 'iig', '2016-07-31 08:42:52'),
(1625, 325, 'rayhan.hossain', 'icx', '2016-07-31 08:42:52'),
(1626, 326, 'mahbub.hasan', 'shift_leader', '2016-07-31 08:42:52'),
(1627, 326, 's.majumder,etanvir.ahmed', 'sur', '2016-07-31 08:42:52'),
(1628, 326, 'sadaf.mahmud', 'bo', '2016-07-31 08:42:52'),
(1629, 326, 'tahsinul.ferdous', 'iig', '2016-07-31 08:42:52'),
(1630, 326, 'ashiqur.rahman', 'icx', '2016-07-31 08:42:52'),
(1631, 327, 'mahbub.hasan', 'shift_leader', '2016-07-31 08:42:52'),
(1632, 327, 'wahidul.ashrafe,nazmul.hasan', 'sur', '2016-07-31 08:42:52'),
(1633, 327, 'etanvir.ahmed', 'bo', '2016-07-31 08:42:52'),
(1634, 327, 'tahsinul.ferdous', 'iig', '2016-07-31 08:42:52'),
(1635, 327, 'rayhan.hossain', 'icx', '2016-07-31 08:42:52'),
(1776, 356, 'sakib.ullah', 'shift_leader', '2016-08-03 07:20:53'),
(1777, 356, 'wahidul.ashrafe,nazmul.hasan', 'sur', '2016-08-03 07:20:53'),
(1778, 356, 'samar.kumar', 'bo', '2016-08-03 07:20:53'),
(1779, 356, 'tanveer.ahmed', 'iig', '2016-08-03 07:20:53'),
(1780, 356, 'saiham.rahman', 'icx', '2016-08-03 07:20:53'),
(1781, 357, 'mir.raihan', 'shift_leader', '2016-08-03 07:20:53'),
(1782, 357, 'umar.rafaet', 'sur', '2016-08-03 07:20:53'),
(1783, 357, 'iqbal.ahmed', 'bo', '2016-08-03 07:20:53'),
(1784, 357, 'rahul.biswas', 'iig', '2016-08-03 07:20:53'),
(1785, 357, 'shamim.hassan', 'icx', '2016-08-03 07:20:53'),
(1786, 358, 'saeed.naser', 'shift_leader', '2016-08-03 07:20:53'),
(1787, 358, 'akramul.tarafdar,tanveer.ahmed', 'sur', '2016-08-03 07:20:53'),
(1788, 358, 'iqbal.ahmed', 'bo', '2016-08-03 07:20:53'),
(1789, 358, 'iftakhar.jahan', 'iig', '2016-08-03 07:20:53'),
(1790, 358, 'shamim.hassan', 'icx', '2016-08-03 07:20:53'),
(2791, 559, 'saeed.naser', 'shift_leader', '2016-08-06 10:53:58'),
(2792, 559, 'iqbal.ahmed', 'sur', '2016-08-06 10:53:58'),
(2793, 559, 'maruf.mohammad', 'bo', '2016-08-06 10:53:58'),
(2794, 559, 'tahsinul.ferdous', 'iig', '2016-08-06 10:53:58'),
(2795, 559, 'rayhan.hossain', 'icx', '2016-08-06 10:53:58'),
(2796, 560, 'mahbub.hasan', 'shift_leader', '2016-08-06 10:53:58'),
(2797, 560, 's.majumder,sadaf.mahmud', 'sur', '2016-08-06 10:53:58'),
(2798, 560, 'iqbal.ahmed', 'bo', '2016-08-06 10:53:58'),
(2799, 560, 'iftakhar.jahan', 'iig', '2016-08-06 10:53:58'),
(2800, 560, 'ashiqur.rahman', 'icx', '2016-08-06 10:53:58'),
(3031, 607, 'mahbub.hasan', 'shift_leader', '2016-08-07 03:33:38'),
(3032, 607, 's.majumder,etanvir.ahmed', 'sur', '2016-08-07 03:33:38'),
(3033, 607, 'sadaf.mahmud', 'bo', '2016-08-07 03:33:38'),
(3034, 607, 'iftakhar.jahan', 'iig', '2016-08-07 03:33:38'),
(3035, 607, 'ashiqur.rahman', 'icx', '2016-08-07 03:33:38'),
(3036, 608, 'mahbub.hasan', 'shift_leader', '2016-08-07 03:33:38'),
(3037, 608, 'nazmul.hasan', 'sur', '2016-08-07 03:33:38'),
(3038, 608, 'etanvir.ahmed', 'bo', '2016-08-07 03:33:38'),
(3039, 608, 'imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3040, 608, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3041, 609, 'sakib.ullah', 'shift_leader', '2016-08-07 03:33:38'),
(3042, 609, 'nazmul.hasan,samar.kumar', 'sur', '2016-08-07 03:33:38'),
(3043, 609, 'sarbik.sahan', 'bo', '2016-08-07 03:33:38'),
(3044, 609, 'rahul.biswas', 'iig', '2016-08-07 03:33:38'),
(3045, 609, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3046, 610, 'mir.raihan', 'shift_leader', '2016-08-07 03:33:38'),
(3047, 610, 'umar.rafaet,showmen.barua', 'sur', '2016-08-07 03:33:38'),
(3048, 610, 'samar.kumar,wahidul.ashrafe', 'bo', '2016-08-07 03:33:38'),
(3049, 610, 'tanveer.ahmed', 'iig', '2016-08-07 03:33:38'),
(3050, 610, 'saiham.rahman', 'icx', '2016-08-07 03:33:38'),
(3051, 611, 'saeed.naser', 'shift_leader', '2016-08-07 03:33:38'),
(3052, 611, 'wahidul.ashrafe', 'sur', '2016-08-07 03:33:38'),
(3053, 611, 'tanveer.ahmed', 'bo', '2016-08-07 03:33:38'),
(3054, 611, 'tahsinul.ferdous', 'iig', '2016-08-07 03:33:38'),
(3055, 611, 'rayhan.hossain', 'icx', '2016-08-07 03:33:38'),
(3056, 612, 'saeed.naser', 'shift_leader', '2016-08-07 03:33:38'),
(3057, 612, 'iqbal.ahmed', 'sur', '2016-08-07 03:33:38'),
(3058, 612, 'maruf.mohammad', 'bo', '2016-08-07 03:33:38'),
(3059, 612, 'tahsinul.ferdous', 'iig', '2016-08-07 03:33:38'),
(3060, 612, 'rayhan.hossain', 'icx', '2016-08-07 03:33:38'),
(3061, 613, 'sadaf.mahmud', 'shift_leader', '2016-08-07 03:33:38'),
(3062, 613, 's.majumder', 'sur', '2016-08-07 03:33:38'),
(3063, 613, 'iqbal.ahmed', 'bo', '2016-08-07 03:33:38'),
(3064, 613, 'iftakhar.jahan', 'iig', '2016-08-07 03:33:38'),
(3065, 613, 'ashiqur.rahman', 'icx', '2016-08-07 03:33:38'),
(3066, 614, 'mahbub.hasan', 'shift_leader', '2016-08-07 03:33:38'),
(3067, 614, 's.majumder,etanvir.ahmed', 'sur', '2016-08-07 03:33:38'),
(3068, 614, 'sadaf.mahmud', 'bo', '2016-08-07 03:33:38'),
(3069, 614, 'iftakhar.jahan', 'iig', '2016-08-07 03:33:38'),
(3070, 614, 'ashiqur.rahman', 'icx', '2016-08-07 03:33:38'),
(3071, 615, 'mahbub.hasan', 'shift_leader', '2016-08-07 03:33:38'),
(3072, 615, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-08-07 03:33:38'),
(3073, 615, 'etanvir.ahmed', 'bo', '2016-08-07 03:33:38'),
(3074, 615, 'imroze.ahmed', 'iig', '2016-08-07 03:33:38'),
(3075, 615, 'shamim.hassan', 'icx', '2016-08-07 03:33:38'),
(3146, 630, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3147, 630, 'nazmul.hasan,samar.kumar', 'sur', '2016-08-18 12:53:23'),
(3148, 630, 'sarbik.sahan', 'bo', '2016-08-18 12:53:23'),
(3149, 630, 'rahul.biswas', 'iig', '2016-08-18 12:53:23'),
(3150, 630, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3151, 631, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3152, 631, 'umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3153, 631, 'samar.kumar', 'bo', '2016-08-18 12:53:23'),
(3154, 631, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3155, 631, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3156, 632, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3157, 632, 'umar.rafaet', 'sur', '2016-08-18 12:53:23'),
(3158, 632, 'tanveer.ahmed', 'bo', '2016-08-18 12:53:23'),
(3159, 632, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3160, 632, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3161, 633, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3162, 633, 'iqbal.ahmed,akramul.tarafdar', 'sur', '2016-08-18 12:53:23'),
(3163, 633, 'maruf.mohammad', 'bo', '2016-08-18 12:53:23'),
(3164, 633, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3165, 633, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3166, 634, 'sadaf.mahmud', 'shift_leader', '2016-08-18 12:53:23'),
(3167, 634, 's.majumder,akramul.tarafdar', 'sur', '2016-08-18 12:53:23'),
(3168, 634, 'iqbal.ahmed', 'bo', '2016-08-18 12:53:23'),
(3169, 634, 'iftakhar.jahan', 'iig', '2016-08-18 12:53:23'),
(3170, 634, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3171, 635, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3172, 635, 's.majumder,etanvir.ahmed', 'sur', '2016-08-18 12:53:23'),
(3173, 635, 'sadaf.mahmud', 'bo', '2016-08-18 12:53:23'),
(3174, 635, 'iftakhar.jahan', 'iig', '2016-08-18 12:53:23'),
(3175, 635, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3176, 636, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3177, 636, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-08-18 12:53:23'),
(3178, 636, 'etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3179, 636, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3180, 636, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3181, 637, 'sakib.ullah', 'shift_leader', '2016-08-18 12:53:23'),
(3182, 637, 'nazmul.hasan,samar.kumar', 'sur', '2016-08-18 12:53:23'),
(3183, 637, 'sarbik.sahan', 'bo', '2016-08-18 12:53:23'),
(3184, 637, 'iftakhar.jahan', 'iig', '2016-08-18 12:53:23'),
(3185, 637, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3186, 638, 'mir.raihan', 'shift_leader', '2016-08-18 12:53:23'),
(3187, 638, 'wahidul.ashrafe', 'sur', '2016-08-18 12:53:23'),
(3188, 638, 'samar.kumar', 'bo', '2016-08-18 12:53:23'),
(3189, 638, 'tanveer.ahmed', 'iig', '2016-08-18 12:53:23'),
(3190, 638, 'saiham.rahman', 'icx', '2016-08-18 12:53:23'),
(3191, 639, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3192, 639, 'wahidul.ashrafe', 'sur', '2016-08-18 12:53:23'),
(3193, 639, 'tanveer.ahmed', 'bo', '2016-08-18 12:53:23'),
(3194, 639, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3195, 639, 'umar.rafaet', 'icx', '2016-08-18 12:53:23'),
(3196, 640, 'saeed.naser', 'shift_leader', '2016-08-18 12:53:23'),
(3197, 640, 'iqbal.ahmed,akramul.tarafdar', 'sur', '2016-08-18 12:53:23'),
(3198, 640, 'maruf.mohammad', 'bo', '2016-08-18 12:53:23'),
(3199, 640, 'tahsinul.ferdous', 'iig', '2016-08-18 12:53:23'),
(3200, 640, 'rayhan.hossain', 'icx', '2016-08-18 12:53:23'),
(3201, 641, 'sadaf.mahmud', 'shift_leader', '2016-08-18 12:53:23'),
(3202, 641, 's.majumder,akramul.tarafdar', 'sur', '2016-08-18 12:53:23'),
(3203, 641, 'iqbal.ahmed', 'bo', '2016-08-18 12:53:23'),
(3204, 641, 'iftakhar.jahan', 'iig', '2016-08-18 12:53:23'),
(3205, 641, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3206, 642, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3207, 642, 's.majumder,etanvir.ahmed', 'sur', '2016-08-18 12:53:23'),
(3208, 642, 'sadaf.mahmud', 'bo', '2016-08-18 12:53:23'),
(3209, 642, 'iftakhar.jahan', 'iig', '2016-08-18 12:53:23'),
(3210, 642, 'ashiqur.rahman', 'icx', '2016-08-18 12:53:23'),
(3211, 643, 'mahbub.hasan', 'shift_leader', '2016-08-18 12:53:23'),
(3212, 643, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-08-18 12:53:23'),
(3213, 643, 'etanvir.ahmed', 'bo', '2016-08-18 12:53:23'),
(3214, 643, 'imroze.ahmed', 'iig', '2016-08-18 12:53:23'),
(3215, 643, 'shamim.hassan', 'icx', '2016-08-18 12:53:23'),
(3366, 674, 'sakib.ullah', 'shift_leader', '2016-08-31 02:57:33'),
(3367, 674, 'nazmul.hasan', 'sur', '2016-08-31 02:57:33'),
(3368, 674, 'sarbik.sahan', 'bo', '2016-08-31 02:57:33'),
(3369, 674, 'imroze.ahmed', 'iig', '2016-08-31 02:57:33'),
(3370, 674, 'shamim.hassan', 'icx', '2016-08-31 02:57:33'),
(3371, 675, 'mir.raihan', 'shift_leader', '2016-08-31 02:57:33'),
(3372, 675, 'wahidul.ashrafe', 'sur', '2016-08-31 02:57:33'),
(3373, 675, 'samar.kumar', 'bo', '2016-08-31 02:57:33'),
(3374, 675, 'tanveer.ahmed', 'iig', '2016-08-31 02:57:33'),
(3375, 675, 'saiham.rahman', 'icx', '2016-08-31 02:57:33'),
(3516, 704, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3517, 704, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3518, 704, 'tanveer.ahmed', 'bo', '2016-09-02 04:05:20'),
(3519, 704, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3520, 704, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3521, 705, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3522, 705, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3523, 705, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3524, 705, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3525, 705, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3526, 706, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3527, 706, 's.majumder,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3528, 706, 'iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3529, 706, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3530, 706, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3531, 707, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3532, 707, 's.majumder,etanvir.ahmed', 'sur', '2016-09-02 04:05:20'),
(3533, 707, 'sadaf.mahmud', 'bo', '2016-09-02 04:05:20'),
(3534, 707, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3535, 707, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3536, 708, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3537, 708, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3538, 708, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3539, 708, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3540, 708, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3541, 709, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3542, 709, 'nazmul.hasan,samar.kumar', 'sur', '2016-09-02 04:05:20'),
(3543, 709, 'sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3544, 709, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3545, 709, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3546, 710, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3547, 710, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3548, 710, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3549, 710, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3550, 710, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3551, 711, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3552, 711, 'wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3553, 711, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3554, 711, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3555, 711, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3556, 712, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3557, 712, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3558, 712, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3559, 712, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3560, 712, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3561, 713, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3562, 713, 'nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3563, 713, 'iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3564, 713, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3565, 713, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3566, 714, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3567, 714, 'iqbal.ahmed', 'sur', '2016-09-02 04:05:20'),
(3568, 714, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3569, 714, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3570, 714, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3571, 715, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3572, 715, 'iqbal.ahmed', 'sur', '2016-09-02 04:05:20'),
(3573, 715, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3574, 715, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3575, 715, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3576, 716, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3577, 716, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3578, 716, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3579, 716, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3580, 716, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3581, 717, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3582, 717, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3583, 717, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3584, 717, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3585, 717, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3586, 718, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3587, 718, 'wahidul.ashrafe,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3588, 718, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3589, 718, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3590, 718, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3591, 719, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3592, 719, 'akramul.tarafdar,wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3593, 719, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3594, 719, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3595, 719, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3596, 720, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3597, 720, 'akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3598, 720, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3599, 720, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3600, 720, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3601, 721, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3602, 721, 's.majumder', 'sur', '2016-09-02 04:05:20'),
(3603, 721, 'sadaf.mahmud', 'bo', '2016-09-02 04:05:20'),
(3604, 721, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3605, 721, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3606, 722, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3607, 722, 'nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3608, 722, 'sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3609, 722, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3610, 722, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3611, 723, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3612, 723, 'nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3613, 723, 'sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3614, 723, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3615, 723, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3616, 724, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3617, 724, 's.majumder,wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3618, 724, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3619, 724, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3620, 724, 'saiham.rahman', 'icx', '2016-09-02 04:05:20'),
(3621, 725, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3622, 725, 'wahidul.ashrafe', 'sur', '2016-09-02 04:05:20'),
(3623, 725, 'tanveer.ahmed', 'bo', '2016-09-02 04:05:20'),
(3624, 725, 'tahsinul.ferdous', 'iig', '2016-09-02 04:05:20'),
(3625, 725, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3626, 726, 'saeed.naser', 'shift_leader', '2016-09-02 04:05:20'),
(3627, 726, 'iqbal.ahmed,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3628, 726, 'maruf.mohammad', 'bo', '2016-09-02 04:05:20'),
(3629, 726, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3630, 726, 'rayhan.hossain', 'icx', '2016-09-02 04:05:20'),
(3631, 727, 'sadaf.mahmud', 'shift_leader', '2016-09-02 04:05:20'),
(3632, 727, 's.majumder,akramul.tarafdar', 'sur', '2016-09-02 04:05:20'),
(3633, 727, 'iqbal.ahmed', 'bo', '2016-09-02 04:05:20'),
(3634, 727, 'iftakhar.jahan', 'iig', '2016-09-02 04:05:20'),
(3635, 727, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3636, 728, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3637, 728, 's.majumder,etanvir.ahmed', 'sur', '2016-09-02 04:05:20'),
(3638, 728, 'sadaf.mahmud', 'bo', '2016-09-02 04:05:20'),
(3639, 728, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3640, 728, 'ashiqur.rahman', 'icx', '2016-09-02 04:05:20'),
(3641, 729, 'mahbub.hasan', 'shift_leader', '2016-09-02 04:05:20'),
(3642, 729, 'sarbik.sahan,nazmul.hasan', 'sur', '2016-09-02 04:05:20'),
(3643, 729, 'etanvir.ahmed', 'bo', '2016-09-02 04:05:20'),
(3644, 729, 'imroze.ahmed', 'iig', '2016-09-02 04:05:20'),
(3645, 729, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3646, 730, 'sakib.ullah', 'shift_leader', '2016-09-02 04:05:20'),
(3647, 730, 'nazmul.hasan,samar.kumar', 'sur', '2016-09-02 04:05:20'),
(3648, 730, 'sarbik.sahan', 'bo', '2016-09-02 04:05:20'),
(3649, 730, 'rahul.biswas', 'iig', '2016-09-02 04:05:20'),
(3650, 730, 'shamim.hassan', 'icx', '2016-09-02 04:05:20'),
(3651, 731, 'mir.raihan', 'shift_leader', '2016-09-02 04:05:20'),
(3652, 731, 'wahidul.ashrafe,umar.rafaet', 'sur', '2016-09-02 04:05:20'),
(3653, 731, 'samar.kumar', 'bo', '2016-09-02 04:05:20'),
(3654, 731, 'tanveer.ahmed', 'iig', '2016-09-02 04:05:20'),
(3655, 731, 'saiham.rahman', 'icx', '2016-09-02 04:05:20');
-- --------------------------------------------------------
--
-- Table structure for table `password_resets`
--
CREATE TABLE IF NOT EXISTS `password_resets` (
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
--
-- Table structure for table `rostertable`
--
CREATE TABLE IF NOT EXISTS `rostertable` (
`roster_table_id` int(11) NOT NULL,
`user_id` varchar(255) NOT NULL,
`shift_id` int(11) NOT NULL,
`shift_date` date NOT NULL,
`shift_position` varchar(255) NOT NULL,
`shift_time` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=21557 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `rostertable`
--
INSERT INTO `rostertable` (`roster_table_id`, `user_id`, `shift_id`, `shift_date`, `shift_position`, `shift_time`) VALUES
(1, 'sakib.ullah', 1, '2016-05-01', 'shift_leader', 'day'),
(2, 'akramul.tarafdar', 1, '2016-05-01', 'sur', 'day'),
(3, 'rifat.hasan', 1, '2016-05-01', 'sur', 'day'),
(4, 'nafisa.sayed', 1, '2016-05-01', 'sur', 'day'),
(5, 'nowrin.karim', 1, '2016-05-01', 'bo', 'day'),
(6, 'iqbal.ahmed', 1, '2016-05-01', 'bo', 'day'),
(7, 'tahsinul.ferdous', 1, '2016-05-01', 'iig', 'day'),
(8, 'saiham.rahman', 1, '2016-05-01', 'icx', 'day'),
(9, 'mahbub.hasan', 1, '2016-05-01', 'shift_leader', 'evening'),
(10, 'nasrin.akter', 1, '2016-05-01', 'sur', 'evening'),
(11, 's.majumder', 1, '2016-05-01', 'sur', 'evening'),
(12, 'nazmul.hasan', 1, '2016-05-01', 'sur', 'evening'),
(13, 'sadaf.mahmud', 1, '2016-05-01', 'bo', 'evening'),
(14, 'puspita.topu', 1, '2016-05-01', 'bo', 'evening'),
(15, 'sadia.afrin', 1, '2016-05-01', 'iig', 'evening'),
(16, 'imroze.ahmed', 1, '2016-05-01', 'iig', 'evening'),
(17, 'rayhan.hossain', 1, '2016-05-01', 'icx', 'evening'),
(18, 'saeed.naser', 1, '2016-05-01', 'shift_leader', 'night'),
(19, 'sarbik.sahan', 1, '2016-05-01', 'sur', 'night'),
(20, 'umar.rafaet', 1, '2016-05-01', 'sur', 'night'),
(21, 'maruf.mohammad', 1, '2016-05-01', 'bo', 'night'),
(22, 'iftakhar.jahan', 1, '2016-05-01', 'iig', 'night'),
(23, 'shamim.hassan', 1, '2016-05-01', 'icx', 'night'),
(24, 'ahsan.zaki', 1, '2016-05-01', 'icx', 'night'),
(25, 'sakib.ullah', 2, '2016-05-02', 'shift_leader', 'day'),
(26, 'nafisa.sayed', 2, '2016-05-02', 'sur', 'day'),
(27, 'anika.sharmin', 2, '2016-05-02', 'sur', 'day'),
(28, 'nowrin.karim', 2, '2016-05-02', 'bo', 'day'),
(29, 'samar.kumar', 2, '2016-05-02', 'bo', 'day'),
(30, 'tanveer.ahmed', 2, '2016-05-02', 'iig', 'day'),
(31, 'sadia.afrin', 2, '2016-05-02', 'iig', 'day'),
(32, 'saiham.rahman', 2, '2016-05-02', 'icx', 'day'),
(33, 'mahbub.hasan', 2, '2016-05-02', 'shift_leader', 'evening'),
(34, 'mir.raihan', 2, '2016-05-02', 'shift_leader', 'evening'),
(35, 'akramul.tarafdar', 2, '2016-05-02', 'sur', 'evening'),
(36, 'rifat.hasan', 2, '2016-05-02', 'sur', 'evening'),
(37, 'puspita.topu', 2, '2016-05-02', 'bo', 'evening'),
(38, 'iqbal.ahmed', 2, '2016-05-02', 'bo', 'evening'),
(39, 'tahsinul.ferdous', 2, '2016-05-02', 'iig', 'evening'),
(40, 'rahul.biswas', 2, '2016-05-02', 'iig', 'evening'),
(41, 'rayhan.hossain', 2, '2016-05-02', 'icx', 'evening'),
(42, 'sadaf.mahmud', 2, '2016-05-02', 'shift_leader', 'night'),
(43, 's.majumder', 2, '2016-05-02', 'sur', 'night'),
(44, 'nazmul.hasan', 2, '2016-05-02', 'sur', 'night'),
(45, 'sarbik.sahan', 2, '2016-05-02', 'bo', 'night'),
(46, 'imroze.ahmed', 2, '2016-05-02', 'iig', 'night'),
(47, 'shamim.hassan', 2, '2016-05-02', 'icx', 'night'),
(48, 'mir.raihan', 3, '2016-05-03', 'shift_leader', 'day'),
(49, 'nasrin.akter', 3, '2016-05-03', 'sur', 'day'),
(50, 'anika.sharmin', 3, '2016-05-03', 'sur', 'day'),
(51, 'nowrin.karim', 3, '2016-05-03', 'bo', 'day'),
(52, 'etanvir.ahmed', 3, '2016-05-03', 'bo', 'day'),
(53, 'rahul.biswas', 3, '2016-05-03', 'iig', 'day'),
(54, 'sadia.afrin', 3, '2016-05-03', 'iig', 'day'),
(55, 'ashiqur.rahman', 3, '2016-05-03', 'icx', 'day'),
(56, 'sakib.ullah', 3, '2016-05-03', 'shift_leader', 'evening'),
(57, 'akramul.tarafdar', 3, '2016-05-03', 'sur', 'evening'),
(58, 'rifat.hasan', 3, '2016-05-03', 'sur', 'evening'),
(59, 'nafisa.sayed', 3, '2016-05-03', 'sur', 'evening'),
(60, 'samar.kumar', 3, '2016-05-03', 'bo', 'evening'),
(61, 'puspita.topu', 3, '2016-05-03', 'bo', 'evening'),
(62, 'tanveer.ahmed', 3, '2016-05-03', 'iig', 'evening'),
(63, 'saiham.rahman', 3, '2016-05-03', 'icx', 'evening'),
(64, 'mahbub.hasan', 3, '2016-05-03', 'shift_leader', 'night'),
(65, 'iqbal.ahmed', 3, '2016-05-03', 'sur', 'night'),
(66, 's.majumder', 3, '2016-05-03', 'sur', 'night'),
(67, 'sadaf.mahmud', 3, '2016-05-03', 'bo', 'night'),
(68, 'tahsinul.ferdous', 3, '2016-05-03', 'iig', 'night'),
(69, 'rayhan.hossain', 3, '2016-05-03', 'icx', 'night'),
(70, 'mir.raihan', 4, '2016-05-04', 'shift_leader', 'day'),
(71, 'saeed.naser', 4, '2016-05-04', 'shift_leader', 'day'),
(72, 'nasrin.akter', 4, '2016-05-04', 'sur', 'day'),
(73, 'anika.sharmin', 4, '2016-05-04', 'sur', 'day'),
(74, 'etanvir.ahmed', 4, '2016-05-04', 'bo', 'day'),
(75, 'maruf.mohammad', 4, '2016-05-04', 'bo', 'day'),
(76, 'iftakhar.jahan', 4, '2016-05-04', 'iig', 'day'),
(77, 'rahul.biswas', 4, '2016-05-04', 'iig', 'day'),
(78, 'ashiqur.rahman', 4, '2016-05-04', 'icx', 'day'),
(79, 'sakib.ullah', 4, '2016-05-04', 'shift_leader', 'evening'),
(80, 'nafisa.sayed', 4, '2016-05-04', 'sur', 'evening'),
(81, 'umar.rafaet', 4, '2016-05-04', 'sur', 'evening'),
(82, 'nowrin.karim', 4, '2016-05-04', 'bo', 'evening'),
(83, 'samar.kumar', 4, '2016-05-04', 'bo', 'evening'),
(84, 'tanveer.ahmed', 4, '2016-05-04', 'iig', 'evening'),
(85, 'ahsan.zaki', 4, '2016-05-04', 'icx', 'evening'),
(86, 'mahbub.hasan', 4, '2016-05-04', 'shift_leader', 'night'),
(87, 'akramul.tarafdar', 4, '2016-05-04', 'sur', 'night'),
(88, 'rifat.hasan', 4, '2016-05-04', 'sur', 'night'),
(89, 'iqbal.ahmed', 4, '2016-05-04', 'bo', 'night'),
(90, 'tahsinul.ferdous', 4, '2016-05-04', 'iig', 'night'),
(91, 'saiham.rahman', 4, '2016-05-04', 'icx', 'night'),
(92, 'saeed.naser', 5, '2016-05-05', 'shift_leader', 'day'),
(93, 'umar.rafaet', 5, '2016-05-05', 'sur', 'day'),
(94, 'nazmul.hasan', 5, '2016-05-05', 'sur', 'day'),
(95, 'sarbik.sahan', 5, '2016-05-05', 'bo', 'day'),
(96, 'maruf.mohammad', 5, '2016-05-05', 'bo', 'day'),
(97, 'rahul.biswas', 5, '2016-05-05', 'iig', 'day'),
(98, 'imroze.ahmed', 5, '2016-05-05', 'iig', 'day'),
(99, 'shamim.hassan', 5, '2016-05-05', 'icx', 'day'),
(100, 'ahsan.zaki', 5, '2016-05-05', 'icx', 'day'),
(101, 'mir.raihan', 5, '2016-05-05', 'shift_leader', 'evening'),
(102, 'nasrin.akter', 5, '2016-05-05', 'sur', 'evening'),
(103, 'anika.sharmin', 5, '2016-05-05', 'sur', 'evening'),
(104, 'nowrin.karim', 5, '2016-05-05', 'bo', 'evening'),
(105, 'etanvir.ahmed', 5, '2016-05-05', 'bo', 'evening'),
(106, 'iftakhar.jahan', 5, '2016-05-05', 'iig', 'evening'),
(107, 'ashiqur.rahman', 5, '2016-05-05', 'icx', 'evening'),
(108, 'sakib.ullah', 5, '2016-05-05', 'shift_leader', 'night'),
(109, 'akramul.tarafdar', 5, '2016-05-05', 'sur', 'night'),
(110, 'rifat.hasan', 5, '2016-05-05', 'sur', 'night'),
(111, 'samar.kumar', 5, '2016-05-05', 'bo', 'night'),
(112, 'tanveer.ahmed', 5, '2016-05-05', 'iig', 'night'),
(113, 'saiham.rahman', 5, '2016-05-05', 'icx', 'night'),
(114, 'saeed.naser', 6, '2016-05-06', 'shift_leader', 'day'),
(115, 'umar.rafaet', 6, '2016-05-06', 'sur', 'day'),
(116, 'nazmul.hasan', 6, '2016-05-06', 'sur', 'day'),
(117, 'sarbik.sahan', 6, '2016-05-06', 'bo', 'day'),
(118, 'puspita.topu', 6, '2016-05-06', 'bo', 'day'),
(119, 'sadia.afrin', 6, '2016-05-06', 'iig', 'day'),
(120, 'imroze.ahmed', 6, '2016-05-06', 'iig', 'day'),
(121, 'ahsan.zaki', 6, '2016-05-06', 'icx', 'day'),
(122, 'rayhan.hossain', 6, '2016-05-06', 'icx', 'day'),
(123, 'sadaf.mahmud', 6, '2016-05-06', 'shift_leader', 'evening'),
(124, 'anika.sharmin', 6, '2016-05-06', 'sur', 'evening'),
(125, 's.majumder', 6, '2016-05-06', 'sur', 'evening'),
(126, 'etanvir.ahmed', 6, '2016-05-06', 'bo', 'evening'),
(127, 'maruf.mohammad', 6, '2016-05-06', 'bo', 'evening'),
(128, 'iftakhar.jahan', 6, '2016-05-06', 'iig', 'evening'),
(129, 'shamim.hassan', 6, '2016-05-06', 'icx', 'evening'),
(130, 'mir.raihan', 6, '2016-05-06', 'shift_leader', 'night'),
(131, 'samar.kumar', 6, '2016-05-06', 'sur', 'night'),
(132, 'tanveer.ahmed', 6, '2016-05-06', 'bo', 'night'),
(133, 'rahul.biswas', 6, '2016-05-06', 'iig', 'night'),
(134, 'ashiqur.rahman', 6, '2016-05-06', 'icx', 'night'),
(135, 'mahbub.hasan', 7, '2016-05-07', 'shift_leader', 'day'),
(136, 'nafisa.sayed', 7, '2016-05-07', 'sur', 'day'),
(137, 'nazmul.hasan', 7, '2016-05-07', 'sur', 'day'),
(138, 'puspita.topu', 7, '2016-05-07', 'bo', 'day'),
(139, 'iqbal.ahmed', 7, '2016-05-07', 'bo', 'day'),
(140, 'tahsinul.ferdous', 7, '2016-05-07', 'iig', 'day'),
(141, 'sadia.afrin', 7, '2016-05-07', 'iig', 'day'),
(142, 'rayhan.hossain', 7, '2016-05-07', 'icx', 'day'),
(143, 'sadaf.mahmud', 7, '2016-05-07', 'shift_leader', 'evening'),
(144, 'nasrin.akter', 7, '2016-05-07', 'sur', 'evening'),
(145, 's.majumder', 7, '2016-05-07', 'sur', 'evening'),
(146, 'sarbik.sahan', 7, '2016-05-07', 'bo', 'evening'),
(147, 'maruf.mohammad', 7, '2016-05-07', 'bo', 'evening'),
(148, 'imroze.ahmed', 7, '2016-05-07', 'bo', 'evening'),
(149, 'shamim.hassan', 7, '2016-05-07', 'icx', 'evening'),
(150, 'saeed.naser', 7, '2016-05-07', 'shift_leader', 'night'),
(151, 'umar.rafaet', 7, '2016-05-07', 'sur', 'night'),
(152, 'etanvir.ahmed', 7, '2016-05-07', 'bo', 'night'),
(153, 'iftakhar.jahan', 7, '2016-05-07', 'iig', 'night'),
(154, 'ashiqur.rahman', 7, '2016-05-07', 'icx', 'night'),
(155, 'ahsan.zaki', 7, '2016-05-07', 'icx', 'night'),
(156, 'sakib.ullah', 8, '2016-05-08', 'shift_leader', 'day'),
(157, 'akramul.tarafdar', 8, '2016-05-08', 'sur', 'day'),
(158, 'rifat.hasan', 8, '2016-05-08', 'sur', 'day'),
(159, 'nafisa.sayed', 8, '2016-05-08', 'sur', 'day'),
(160, 'nowrin.karim', 8, '2016-05-08', 'bo', 'day'),
(161, 'iqbal.ahmed', 8, '2016-05-08', 'bo', 'day'),
(162, 'tahsinul.ferdous', 8, '2016-05-08', 'iig', 'day'),
(163, 'saiham.rahman', 8, '2016-05-08', 'icx', 'day'),
(164, 'mahbub.hasan', 8, '2016-05-08', 'shift_leader', 'evening'),
(165, 'nasrin.akter', 8, '2016-05-08', 'sur', 'evening'),
(166, 's.majumder', 8, '2016-05-08', 'sur', 'evening'),
(167, 'nazmul.hasan', 8, '2016-05-08', 'sur', 'evening'),
(168, 'sadaf.mahmud', 8, '2016-05-08', 'bo', 'evening'),
(169, 'puspita.topu', 8, '2016-05-08', 'bo', 'evening'),
(170, 'sadia.afrin', 8, '2016-05-08', 'iig', 'evening'),
(171, 'imroze.ahmed', 8, '2016-05-08', 'iig', 'evening'),
(172, 'rayhan.hossain', 8, '2016-05-08', 'icx', 'evening'),
(173, 'saeed.naser', 8, '2016-05-08', 'shift_leader', 'night'),
(174, 'sarbik.sahan', 8, '2016-05-08', 'sur', 'night'),
(175, 'umar.rafaet', 8, '2016-05-08', 'sur', 'night'),
(176, 'maruf.mohammad', 8, '2016-05-08', 'bo', 'night'),
(177, 'iftakhar.jahan', 8, '2016-05-08', 'iig', 'night'),
(178, 'shamim.hassan', 8, '2016-05-08', 'icx', 'night'),
(179, 'ahsan.zaki', 8, '2016-05-08', 'icx', 'night'),
(180, 'sakib.ullah', 9, '2016-05-09', 'shift_leader', 'day'),
(181, 'nafisa.sayed', 9, '2016-05-09', 'sur', 'day'),
(182, 'anika.sharmin', 9, '2016-05-09', 'sur', 'day'),
(183, 'nowrin.karim', 9, '2016-05-09', 'bo', 'day'),
(184, 'samar.kumar', 9, '2016-05-09', 'bo', 'day'),
(185, 'tanveer.ahmed', 9, '2016-05-09', 'iig', 'day'),
(186, 'sadia.afrin', 9, '2016-05-09', 'iig', 'day'),
(187, 'saiham.rahman', 9, '2016-05-09', 'icx', 'day'),
(188, 'mahbub.hasan', 9, '2016-05-09', 'shift_leader', 'evening'),
(189, 'mir.raihan', 9, '2016-05-09', 'shift_leader', 'evening'),
(190, 'akramul.tarafdar', 9, '2016-05-09', 'sur', 'evening'),
(191, 'rifat.hasan', 9, '2016-05-09', 'sur', 'evening'),
(192, 'puspita.topu', 9, '2016-05-09', 'bo', 'evening'),
(193, 'iqbal.ahmed', 9, '2016-05-09', 'bo', 'evening'),
(194, 'tahsinul.ferdous', 9, '2016-05-09', 'iig', 'evening'),
(195, 'rahul.biswas', 9, '2016-05-09', 'iig', 'evening'),
(196, 'rayhan.hossain', 9, '2016-05-09', 'icx', 'evening'),
(197, 'sadaf.mahmud', 9, '2016-05-09', 'shift_leader', 'night'),
(198, 's.majumder', 9, '2016-05-09', 'sur', 'night'),
(199, 'nazmul.hasan', 9, '2016-05-09', 'sur', 'night'),
(200, 'sarbik.sahan', 9, '2016-05-09', 'bo', 'night'),
(201, 'imroze.ahmed', 9, '2016-05-09', 'iig', 'night'),
(202, 'shamim.hassan', 9, '2016-05-09', 'icx', 'night'),
(203, 'mir.raihan', 10, '2016-05-10', 'shift_leader', 'day'),
(204, 'nasrin.akter', 10, '2016-05-10', 'sur', 'day'),
(205, 'anika.sharmin', 10, '2016-05-10', 'sur', 'day'),
(206, 'nowrin.karim', 10, '2016-05-10', 'bo', 'day'),
(207, 'etanvir.ahmed', 10, '2016-05-10', 'bo', 'day'),
(208, 'rahul.biswas', 10, '2016-05-10', 'iig', 'day'),
(209, 'sadia.afrin', 10, '2016-05-10', 'iig', 'day'),
(210, 'ashiqur.rahman', 10, '2016-05-10', 'icx', 'day'),
(211, 'sakib.ullah', 10, '2016-05-10', 'shift_leader', 'evening'),
(212, 'akramul.tarafdar', 10, '2016-05-10', 'sur', 'evening'),
(213, 'rifat.hasan', 10, '2016-05-10', 'sur', 'evening'),
(214, 'nafisa.sayed', 10, '2016-05-10', 'sur', 'evening'),
(215, 'samar.kumar', 10, '2016-05-10', 'bo', 'evening'),
(216, 'puspita.topu', 10, '2016-05-10', 'bo', 'evening'),
(217, 'tanveer.ahmed', 10, '2016-05-10', 'iig', 'evening'),
(218, 'saiham.rahman', 10, '2016-05-10', 'icx', 'evening'),
(219, 'mahbub.hasan', 10, '2016-05-10', 'shift_leader', 'night'),
(220, 'iqbal.ahmed', 10, '2016-05-10', 'sur', 'night'),
(221, 's.majumder', 10, '2016-05-10', 'sur', 'night'),
(222, 'sadaf.mahmud', 10, '2016-05-10', 'bo', 'night'),
(223, 'tahsinul.ferdous', 10, '2016-05-10', 'iig', 'night'),
(224, 'rayhan.hossain', 10, '2016-05-10', 'icx', 'night'),
(225, 'mir.raihan', 11, '2016-05-11', 'shift_leader', 'day'),
(226, 'saeed.naser', 11, '2016-05-11', 'shift_leader', 'day'),
(227, 'nasrin.akter', 11, '2016-05-11', 'sur', 'day'),
(228, 'anika.sharmin', 11, '2016-05-11', 'sur', 'day'),
(229, 'etanvir.ahmed', 11, '2016-05-11', 'bo', 'day'),
(230, 'maruf.mohammad', 11, '2016-05-11', 'bo', 'day'),
(231, 'iftakhar.jahan', 11, '2016-05-11', 'iig', 'day'),
(232, 'rahul.biswas', 11, '2016-05-11', 'iig', 'day'),
(233, 'ashiqur.rahman', 11, '2016-05-11', 'icx', 'day'),
(234, 'sakib.ullah', 11, '2016-05-11', 'shift_leader', 'evening'),
(235, 'nafisa.sayed', 11, '2016-05-11', 'sur', 'evening'),
(236, 'umar.rafaet', 11, '2016-05-11', 'sur', 'evening'),
(237, 'nowrin.karim', 11, '2016-05-11', 'bo', 'evening'),
(238, 'samar.kumar', 11, '2016-05-11', 'bo', 'evening'),
(239, 'tanveer.ahmed', 11, '2016-05-11', 'iig', 'evening'),
(240, 'ahsan.zaki', 11, '2016-05-11', 'icx', 'evening'),
(241, 'mahbub.hasan', 11, '2016-05-11', 'shift_leader', 'night'),
(242, 'akramul.tarafdar', 11, '2016-05-11', 'sur', 'night'),
(243, 'rifat.hasan', 11, '2016-05-11', 'sur', 'night'),
(244, 'iqbal.ahmed', 11, '2016-05-11', 'bo', 'night'),
(245, 'tahsinul.ferdous', 11, '2016-05-11', 'iig', 'night'),
(246, 'saiham.rahman', 11, '2016-05-11', 'icx', 'night'),
(247, 'saeed.naser', 12, '2016-05-12', 'shift_leader', 'day'),
(248, 'umar.rafaet', 12, '2016-05-12', 'sur', 'day'),
(249, 'nazmul.hasan', 12, '2016-05-12', 'sur', 'day'),
(250, 'sarbik.sahan', 12, '2016-05-12', 'bo', 'day'),
(251, 'maruf.mohammad', 12, '2016-05-12', 'bo', 'day'),
(252, 'rahul.biswas', 12, '2016-05-12', 'iig', 'day'),
(253, 'imroze.ahmed', 12, '2016-05-12', 'iig', 'day'),
(254, 'shamim.hassan', 12, '2016-05-12', 'icx', 'day'),
(255, 'ahsan.zaki', 12, '2016-05-12', 'icx', 'day'),
(256, 'mir.raihan', 12, '2016-05-12', 'shift_leader', 'evening'),
(257, 'nasrin.akter', 12, '2016-05-12', 'sur', 'evening'),
(258, 'anika.sharmin', 12, '2016-05-12', 'sur', 'evening'),
(259, 'nowrin.karim', 12, '2016-05-12', 'bo', 'evening'),
(260, 'etanvir.ahmed', 12, '2016-05-12', 'bo', 'evening'),
(261, 'iftakhar.jahan', 12, '2016-05-12', 'iig', 'evening'),
(262, 'ashiqur.rahman', 12, '2016-05-12', 'icx', 'evening'),
(263, 'sakib.ullah', 12, '2016-05-12', 'shift_leader', 'night'),
(264, 'akramul.tarafdar', 12, '2016-05-12', 'sur', 'night'),
(265, 'rifat.hasan', 12, '2016-05-12', 'sur', 'night'),
(266, 'samar.kumar', 12, '2016-05-12', 'bo', 'night'),
(267, 'tanveer.ahmed', 12, '2016-05-12', 'iig', 'night'),
(268, 'saiham.rahman', 12, '2016-05-12', 'icx', 'night'),
(269, 'saeed.naser', 13, '2016-05-13', 'shift_leader', 'day'),
(270, 'umar.rafaet', 13, '2016-05-13', 'sur', 'day'),
(271, 'nazmul.hasan', 13, '2016-05-13', 'sur', 'day'),
(272, 'sarbik.sahan', 13, '2016-05-13', 'bo', 'day'),
(273, 'puspita.topu', 13, '2016-05-13', 'bo', 'day'),
(274, 'sadia.afrin', 13, '2016-05-13', 'iig', 'day'),
(275, 'imroze.ahmed', 13, '2016-05-13', 'iig', 'day'),
(276, 'ahsan.zaki', 13, '2016-05-13', 'icx', 'day'),
(277, 'rayhan.hossain', 13, '2016-05-13', 'icx', 'day'),
(278, 'sadaf.mahmud', 13, '2016-05-13', 'shift_leader', 'evening'),
(279, 'anika.sharmin', 13, '2016-05-13', 'sur', 'evening'),
(280, 's.majumder', 13, '2016-05-13', 'sur', 'evening'),
(281, 'etanvir.ahmed', 13, '2016-05-13', 'bo', 'evening'),
(282, 'maruf.mohammad', 13, '2016-05-13', 'bo', 'evening'),
(283, 'iftakhar.jahan', 13, '2016-05-13', 'iig', 'evening'),
(284, 'shamim.hassan', 13, '2016-05-13', 'icx', 'evening'),
(285, 'mir.raihan', 13, '2016-05-13', 'shift_leader', 'night'),
(286, 'samar.kumar', 13, '2016-05-13', 'sur', 'night'),
(287, 'tanveer.ahmed', 13, '2016-05-13', 'bo', 'night'),
(288, 'rahul.biswas', 13, '2016-05-13', 'iig', 'night'),
(289, 'ashiqur.rahman', 13, '2016-05-13', 'icx', 'night'),
(290, 'mahbub.hasan', 14, '2016-05-14', 'shift_leader', 'day'),
(291, 'nafisa.sayed', 14, '2016-05-14', 'sur', 'day'),
(292, 'nazmul.hasan', 14, '2016-05-14', 'sur', 'day'),
(293, 'puspita.topu', 14, '2016-05-14', 'bo', 'day'),
(294, 'iqbal.ahmed', 14, '2016-05-14', 'bo', 'day'),
(295, 'tahsinul.ferdous', 14, '2016-05-14', 'iig', 'day'),
(296, 'sadia.afrin', 14, '2016-05-14', 'iig', 'day'),
(297, 'rayhan.hossain', 14, '2016-05-14', 'icx', 'day'),
(298, 'sadaf.mahmud', 14, '2016-05-14', 'shift_leader', 'evening'),
(299, 'nasrin.akter', 14, '2016-05-14', 'sur', 'evening'),
(300, 's.majumder', 14, '2016-05-14', 'sur', 'evening'),
(301, 'sarbik.sahan', 14, '2016-05-14', 'bo', 'evening'),
(302, 'maruf.mohammad', 14, '2016-05-14', 'bo', 'evening'),
(303, 'imroze.ahmed', 14, '2016-05-14', 'bo', 'evening'),
(304, 'shamim.hassan', 14, '2016-05-14', 'icx', 'evening'),
(305, 'saeed.naser', 14, '2016-05-14', 'shift_leader', 'night'),
(306, 'umar.rafaet', 14, '2016-05-14', 'sur', 'night'),
(307, 'etanvir.ahmed', 14, '2016-05-14', 'bo', 'night'),
(308, 'iftakhar.jahan', 14, '2016-05-14', 'iig', 'night'),
(309, 'ashiqur.rahman', 14, '2016-05-14', 'icx', 'night'),
(310, 'ahsan.zaki', 14, '2016-05-14', 'icx', 'night'),
(311, 'sakib.ullah', 15, '2016-05-15', 'shift_leader', 'day'),
(312, 'akramul.tarafdar', 15, '2016-05-15', 'sur', 'day'),
(313, 'rifat.hasan', 15, '2016-05-15', 'sur', 'day'),
(314, 'nafisa.sayed', 15, '2016-05-15', 'sur', 'day'),
(315, 'nowrin.karim', 15, '2016-05-15', 'bo', 'day'),
(316, 'iqbal.ahmed', 15, '2016-05-15', 'bo', 'day'),
(317, 'tahsinul.ferdous', 15, '2016-05-15', 'iig', 'day'),
(318, 'saiham.rahman', 15, '2016-05-15', 'icx', 'day'),
(319, 'mahbub.hasan', 15, '2016-05-15', 'shift_leader', 'evening'),
(320, 'nasrin.akter', 15, '2016-05-15', 'sur', 'evening'),
(321, 's.majumder', 15, '2016-05-15', 'sur', 'evening'),
(322, 'nazmul.hasan', 15, '2016-05-15', 'sur', 'evening'),
(323, 'sadaf.mahmud', 15, '2016-05-15', 'bo', 'evening'),
(324, 'puspita.topu', 15, '2016-05-15', 'bo', 'evening'),
(325, 'sadia.afrin', 15, '2016-05-15', 'iig', 'evening'),
(326, 'imroze.ahmed', 15, '2016-05-15', 'iig', 'evening'),
(327, 'rayhan.hossain', 15, '2016-05-15', 'icx', 'evening'),
(328, 'saeed.naser', 15, '2016-05-15', 'shift_leader', 'night'),
(329, 'sarbik.sahan', 15, '2016-05-15', 'sur', 'night'),
(330, 'umar.rafaet', 15, '2016-05-15', 'sur', 'night'),
(331, 'maruf.mohammad', 15, '2016-05-15', 'bo', 'night'),
(332, 'iftakhar.jahan', 15, '2016-05-15', 'iig', 'night'),
(333, 'shamim.hassan', 15, '2016-05-15', 'icx', 'night'),
(334, 'ahsan.zaki', 15, '2016-05-15', 'icx', 'night'),
(335, 'sakib.ullah', 16, '2016-05-16', 'shift_leader', 'day'),
(336, 'nafisa.sayed', 16, '2016-05-16', 'sur', 'day'),
(337, 'anika.sharmin', 16, '2016-05-16', 'sur', 'day'),
(338, 'nowrin.karim', 16, '2016-05-16', 'bo', 'day'),
(339, 'samar.kumar', 16, '2016-05-16', 'bo', 'day'),
(340, 'tanveer.ahmed', 16, '2016-05-16', 'iig', 'day'),
(341, 'sadia.afrin', 16, '2016-05-16', 'iig', 'day'),
(342, 'saiham.rahman', 16, '2016-05-16', 'icx', 'day'),
(343, 'mahbub.hasan', 16, '2016-05-16', 'shift_leader', 'evening'),
(344, 'mir.raihan', 16, '2016-05-16', 'shift_leader', 'evening'),
(345, 'akramul.tarafdar', 16, '2016-05-16', 'sur', 'evening'),
(346, 'rifat.hasan', 16, '2016-05-16', 'sur', 'evening'),
(347, 'puspita.topu', 16, '2016-05-16', 'bo', 'evening'),
(348, 'iqbal.ahmed', 16, '2016-05-16', 'bo', 'evening'),
(349, 'tahsinul.ferdous', 16, '2016-05-16', 'iig', 'evening'),
(350, 'rahul.biswas', 16, '2016-05-16', 'iig', 'evening'),
(351, 'rayhan.hossain', 16, '2016-05-16', 'icx', 'evening'),
(352, 'sadaf.mahmud', 16, '2016-05-16', 'shift_leader', 'night'),
(353, 's.majumder', 16, '2016-05-16', 'sur', 'night'),
(354, 'nazmul.hasan', 16, '2016-05-16', 'sur', 'night'),
(355, 'sarbik.sahan', 16, '2016-05-16', 'bo', 'night'),
(356, 'imroze.ahmed', 16, '2016-05-16', 'iig', 'night'),
(357, 'shamim.hassan', 16, '2016-05-16', 'icx', 'night'),
(358, 'mir.raihan', 17, '2016-05-17', 'shift_leader', 'day'),
(359, 'nasrin.akter', 17, '2016-05-17', 'sur', 'day'),
(360, 'anika.sharmin', 17, '2016-05-17', 'sur', 'day'),
(361, 'nowrin.karim', 17, '2016-05-17', 'bo', 'day'),
(362, 'etanvir.ahmed', 17, '2016-05-17', 'bo', 'day'),
(363, 'rahul.biswas', 17, '2016-05-17', 'iig', 'day'),
(364, 'sadia.afrin', 17, '2016-05-17', 'iig', 'day'),
(365, 'ashiqur.rahman', 17, '2016-05-17', 'icx', 'day'),
(366, 'sakib.ullah', 17, '2016-05-17', 'shift_leader', 'evening'),
(367, 'akramul.tarafdar', 17, '2016-05-17', 'sur', 'evening'),
(368, 'rifat.hasan', 17, '2016-05-17', 'sur', 'evening'),
(369, 'nafisa.sayed', 17, '2016-05-17', 'sur', 'evening'),
(370, 'samar.kumar', 17, '2016-05-17', 'bo', 'evening'),
(371, 'puspita.topu', 17, '2016-05-17', 'bo', 'evening'),
(372, 'tanveer.ahmed', 17, '2016-05-17', 'iig', 'evening'),
(373, 'saiham.rahman', 17, '2016-05-17', 'icx', 'evening'),
(374, 'mahbub.hasan', 17, '2016-05-17', 'shift_leader', 'night'),
(375, 'iqbal.ahmed', 17, '2016-05-17', 'sur', 'night'),
(376, 's.majumder', 17, '2016-05-17', 'sur', 'night'),
(377, 'sadaf.mahmud', 17, '2016-05-17', 'bo', 'night'),
(378, 'tahsinul.ferdous', 17, '2016-05-17', 'iig', 'night'),
(379, 'rayhan.hossain', 17, '2016-05-17', 'icx', 'night'),
(380, 'mir.raihan', 18, '2016-05-18', 'shift_leader', 'day'),
(381, 'saeed.naser', 18, '2016-05-18', 'shift_leader', 'day'),
(382, 'nasrin.akter', 18, '2016-05-18', 'sur', 'day'),
(383, 'anika.sharmin', 18, '2016-05-18', 'sur', 'day'),
(384, 'etanvir.ahmed', 18, '2016-05-18', 'bo', 'day'),
(385, 'maruf.mohammad', 18, '2016-05-18', 'bo', 'day'),
(386, 'iftakhar.jahan', 18, '2016-05-18', 'iig', 'day'),
(387, 'rahul.biswas', 18, '2016-05-18', 'iig', 'day'),
(388, 'ashiqur.rahman', 18, '2016-05-18', 'icx', 'day'),
(389, 'sakib.ullah', 18, '2016-05-18', 'shift_leader', 'evening'),
(390, 'nafisa.sayed', 18, '2016-05-18', 'sur', 'evening'),
(391, 'umar.rafaet', 18, '2016-05-18', 'sur', 'evening'),
(392, 'nowrin.karim', 18, '2016-05-18', 'bo', 'evening'),
(393, 'samar.kumar', 18, '2016-05-18', 'bo', 'evening'),
(394, 'tanveer.ahmed', 18, '2016-05-18', 'iig', 'evening'),
(395, 'ahsan.zaki', 18, '2016-05-18', 'icx', 'evening'),
(396, 'mahbub.hasan', 18, '2016-05-18', 'shift_leader', 'night'),
(397, 'akramul.tarafdar', 18, '2016-05-18', 'sur', 'night'),
(398, 'rifat.hasan', 18, '2016-05-18', 'sur', 'night'),
(399, 'iqbal.ahmed', 18, '2016-05-18', 'bo', 'night'),
(400, 'tahsinul.ferdous', 18, '2016-05-18', 'iig', 'night'),
(401, 'saiham.rahman', 18, '2016-05-18', 'icx', 'night'),
(402, 'saeed.naser', 19, '2016-05-19', 'shift_leader', 'day'),
(403, 'umar.rafaet', 19, '2016-05-19', 'sur', 'day'),
(404, 'nazmul.hasan', 19, '2016-05-19', 'sur', 'day'),
(405, 'sarbik.sahan', 19, '2016-05-19', 'bo', 'day'),
(406, 'maruf.mohammad', 19, '2016-05-19', 'bo', 'day'),
(407, 'rahul.biswas', 19, '2016-05-19', 'iig', 'day'),
(408, 'imroze.ahmed', 19, '2016-05-19', 'iig', 'day'),
(409, 'shamim.hassan', 19, '2016-05-19', 'icx', 'day'),
(410, 'ahsan.zaki', 19, '2016-05-19', 'icx', 'day'),
(411, 'mir.raihan', 19, '2016-05-19', 'shift_leader', 'evening'),
(412, 'nasrin.akter', 19, '2016-05-19', 'sur', 'evening'),
(413, 'anika.sharmin', 19, '2016-05-19', 'sur', 'evening'),
(414, 'nowrin.karim', 19, '2016-05-19', 'bo', 'evening'),
(415, 'etanvir.ahmed', 19, '2016-05-19', 'bo', 'evening'),
(416, 'iftakhar.jahan', 19, '2016-05-19', 'iig', 'evening'),
(417, 'ashiqur.rahman', 19, '2016-05-19', 'icx', 'evening'),
(418, 'sakib.ullah', 19, '2016-05-19', 'shift_leader', 'night'),
(419, 'akramul.tarafdar', 19, '2016-05-19', 'sur', 'night'),
(420, 'rifat.hasan', 19, '2016-05-19', 'sur', 'night'),
(421, 'samar.kumar', 19, '2016-05-19', 'bo', 'night'),
(422, 'tanveer.ahmed', 19, '2016-05-19', 'iig', 'night'),
(423, 'saiham.rahman', 19, '2016-05-19', 'icx', 'night'),
(424, 'saeed.naser', 20, '2016-05-20', 'shift_leader', 'day'),
(425, 'umar.rafaet', 20, '2016-05-20', 'sur', 'day'),
(426, 'nazmul.hasan', 20, '2016-05-20', 'sur', 'day'),
(427, 'sarbik.sahan', 20, '2016-05-20', 'bo', 'day'),
(428, 'puspita.topu', 20, '2016-05-20', 'bo', 'day'),
(429, 'sadia.afrin', 20, '2016-05-20', 'iig', 'day'),
(430, 'imroze.ahmed', 20, '2016-05-20', 'iig', 'day'),
(431, 'ahsan.zaki', 20, '2016-05-20', 'icx', 'day'),
(432, 'rayhan.hossain', 20, '2016-05-20', 'icx', 'day'),
(433, 'sadaf.mahmud', 20, '2016-05-20', 'shift_leader', 'evening'),
(434, 'anika.sharmin', 20, '2016-05-20', 'sur', 'evening'),
(435, 's.majumder', 20, '2016-05-20', 'sur', 'evening'),
(436, 'etanvir.ahmed', 20, '2016-05-20', 'bo', 'evening'),
(437, 'maruf.mohammad', 20, '2016-05-20', 'bo', 'evening'),
(438, 'iftakhar.jahan', 20, '2016-05-20', 'iig', 'evening'),
(439, 'shamim.hassan', 20, '2016-05-20', 'icx', 'evening'),
(440, 'mir.raihan', 20, '2016-05-20', 'shift_leader', 'night'),
(441, 'samar.kumar', 20, '2016-05-20', 'sur', 'night'),
(442, 'tanveer.ahmed', 20, '2016-05-20', 'bo', 'night'),
(443, 'rahul.biswas', 20, '2016-05-20', 'iig', 'night'),
(444, 'ashiqur.rahman', 20, '2016-05-20', 'icx', 'night'),
(445, 'mahbub.hasan', 21, '2016-05-21', 'shift_leader', 'day'),
(446, 'nafisa.sayed', 21, '2016-05-21', 'sur', 'day'),
(447, 'nazmul.hasan', 21, '2016-05-21', 'sur', 'day'),
(448, 'puspita.topu', 21, '2016-05-21', 'bo', 'day'),
(449, 'iqbal.ahmed', 21, '2016-05-21', 'bo', 'day'),
(450, 'tahsinul.ferdous', 21, '2016-05-21', 'iig', 'day'),
(451, 'sadia.afrin', 21, '2016-05-21', 'iig', 'day'),
(452, 'rayhan.hossain', 21, '2016-05-21', 'icx', 'day'),
(453, 'sadaf.mahmud', 21, '2016-05-21', 'shift_leader', 'evening'),
(454, 'nasrin.akter', 21, '2016-05-21', 'sur', 'evening'),
(455, 's.majumder', 21, '2016-05-21', 'sur', 'evening'),
(456, 'sarbik.sahan', 21, '2016-05-21', 'bo', 'evening'),
(457, 'maruf.mohammad', 21, '2016-05-21', 'bo', 'evening'),
(458, 'imroze.ahmed', 21, '2016-05-21', 'bo', 'evening'),
(459, 'shamim.hassan', 21, '2016-05-21', 'icx', 'evening'),
(460, 'saeed.naser', 21, '2016-05-21', 'shift_leader', 'night'),
(461, 'umar.rafaet', 21, '2016-05-21', 'sur', 'night'),
(462, 'etanvir.ahmed', 21, '2016-05-21', 'bo', 'night'),
(463, 'iftakhar.jahan', 21, '2016-05-21', 'iig', 'night'),
(464, 'ashiqur.rahman', 21, '2016-05-21', 'icx', 'night'),
(465, 'ahsan.zaki', 21, '2016-05-21', 'icx', 'night'),
(466, 'sakib.ullah', 22, '2016-05-22', 'shift_leader', 'day'),
(467, 'akramul.tarafdar', 22, '2016-05-22', 'sur', 'day'),
(468, 'rifat.hasan', 22, '2016-05-22', 'sur', 'day'),
(469, 'nafisa.sayed', 22, '2016-05-22', 'sur', 'day'),
(470, 'nowrin.karim', 22, '2016-05-22', 'bo', 'day'),
(471, 'iqbal.ahmed', 22, '2016-05-22', 'bo', 'day'),
(472, 'tahsinul.ferdous', 22, '2016-05-22', 'iig', 'day'),
(473, 'saiham.rahman', 22, '2016-05-22', 'icx', 'day'),
(474, 'mahbub.hasan', 22, '2016-05-22', 'shift_leader', 'evening'),
(475, 'nasrin.akter', 22, '2016-05-22', 'sur', 'evening'),
(476, 's.majumder', 22, '2016-05-22', 'sur', 'evening'),
(477, 'nazmul.hasan', 22, '2016-05-22', 'sur', 'evening'),
(478, 'sadaf.mahmud', 22, '2016-05-22', 'bo', 'evening'),
(479, 'puspita.topu', 22, '2016-05-22', 'bo', 'evening'),
(480, 'sadia.afrin', 22, '2016-05-22', 'iig', 'evening'),
(481, 'imroze.ahmed', 22, '2016-05-22', 'iig', 'evening'),
(482, 'rayhan.hossain', 22, '2016-05-22', 'icx', 'evening'),
(483, 'saeed.naser', 22, '2016-05-22', 'shift_leader', 'night'),
(484, 'sarbik.sahan', 22, '2016-05-22', 'sur', 'night'),
(485, 'umar.rafaet', 22, '2016-05-22', 'sur', 'night'),
(486, 'maruf.mohammad', 22, '2016-05-22', 'bo', 'night'),
(487, 'iftakhar.jahan', 22, '2016-05-22', 'iig', 'night'),
(488, 'shamim.hassan', 22, '2016-05-22', 'icx', 'night'),
(489, 'ahsan.zaki', 22, '2016-05-22', 'icx', 'night'),
(490, 'sakib.ullah', 23, '2016-05-23', 'shift_leader', 'day'),
(491, 'nafisa.sayed', 23, '2016-05-23', 'sur', 'day'),
(492, 'anika.sharmin', 23, '2016-05-23', 'sur', 'day'),
(493, 'nowrin.karim', 23, '2016-05-23', 'bo', 'day'),
(494, 'samar.kumar', 23, '2016-05-23', 'bo', 'day'),
(495, 'tanveer.ahmed', 23, '2016-05-23', 'iig', 'day'),
(496, 'sadia.afrin', 23, '2016-05-23', 'iig', 'day'),
(497, 'saiham.rahman', 23, '2016-05-23', 'icx', 'day'),
(498, 'mahbub.hasan', 23, '2016-05-23', 'shift_leader', 'evening'),
(499, 'mir.raihan', 23, '2016-05-23', 'shift_leader', 'evening'),
(500, 'akramul.tarafdar', 23, '2016-05-23', 'sur', 'evening'),
(501, 'rifat.hasan', 23, '2016-05-23', 'sur', 'evening'),
(502, 'puspita.topu', 23, '2016-05-23', 'bo', 'evening'),
(503, 'iqbal.ahmed', 23, '2016-05-23', 'bo', 'evening'),
(504, 'tahsinul.ferdous', 23, '2016-05-23', 'iig', 'evening'),
(505, 'rahul.biswas', 23, '2016-05-23', 'iig', 'evening'),
(506, 'rayhan.hossain', 23, '2016-05-23', 'icx', 'evening'),
(507, 'sadaf.mahmud', 23, '2016-05-23', 'shift_leader', 'night'),
(508, 's.majumder', 23, '2016-05-23', 'sur', 'night'),
(509, 'nazmul.hasan', 23, '2016-05-23', 'sur', 'night'),
(510, 'sarbik.sahan', 23, '2016-05-23', 'bo', 'night'),
(511, 'imroze.ahmed', 23, '2016-05-23', 'iig', 'night'),
(512, 'shamim.hassan', 23, '2016-05-23', 'icx', 'night'),
(513, 'mir.raihan', 24, '2016-05-24', 'shift_leader', 'day'),
(514, 'nasrin.akter', 24, '2016-05-24', 'sur', 'day'),
(515, 'anika.sharmin', 24, '2016-05-24', 'sur', 'day'),
(516, 'nowrin.karim', 24, '2016-05-24', 'bo', 'day'),
(517, 'etanvir.ahmed', 24, '2016-05-24', 'bo', 'day'),
(518, 'rahul.biswas', 24, '2016-05-24', 'iig', 'day'),
(519, 'sadia.afrin', 24, '2016-05-24', 'iig', 'day'),
(520, 'ashiqur.rahman', 24, '2016-05-24', 'icx', 'day'),
(521, 'sakib.ullah', 24, '2016-05-24', 'shift_leader', 'evening'),
(522, 'akramul.tarafdar', 24, '2016-05-24', 'sur', 'evening'),
(523, 'rifat.hasan', 24, '2016-05-24', 'sur', 'evening'),
(524, 'nafisa.sayed', 24, '2016-05-24', 'sur', 'evening'),
(525, 'samar.kumar', 24, '2016-05-24', 'bo', 'evening'),
(526, 'puspita.topu', 24, '2016-05-24', 'bo', 'evening'),
(527, 'tanveer.ahmed', 24, '2016-05-24', 'iig', 'evening'),
(528, 'saiham.rahman', 24, '2016-05-24', 'icx', 'evening'),
(529, 'mahbub.hasan', 24, '2016-05-24', 'shift_leader', 'night'),
(530, 'iqbal.ahmed', 24, '2016-05-24', 'sur', 'night'),
(531, 's.majumder', 24, '2016-05-24', 'sur', 'night'),
(532, 'sadaf.mahmud', 24, '2016-05-24', 'bo', 'night'),
(533, 'tahsinul.ferdous', 24, '2016-05-24', 'iig', 'night'),
(534, 'rayhan.hossain', 24, '2016-05-24', 'icx', 'night'),
(535, 'mir.raihan', 25, '2016-05-25', 'shift_leader', 'day'),
(536, 'saeed.naser', 25, '2016-05-25', 'shift_leader', 'day'),
(537, 'nasrin.akter', 25, '2016-05-25', 'sur', 'day'),
(538, 'anika.sharmin', 25, '2016-05-25', 'sur', 'day'),
(539, 'etanvir.ahmed', 25, '2016-05-25', 'bo', 'day'),
(540, 'maruf.mohammad', 25, '2016-05-25', 'bo', 'day'),
(541, 'iftakhar.jahan', 25, '2016-05-25', 'iig', 'day'),
(542, 'rahul.biswas', 25, '2016-05-25', 'iig', 'day'),
(543, 'ashiqur.rahman', 25, '2016-05-25', 'icx', 'day'),
(544, 'sakib.ullah', 25, '2016-05-25', 'shift_leader', 'evening'),
(545, 'nafisa.sayed', 25, '2016-05-25', 'sur', 'evening'),
(546, 'umar.rafaet', 25, '2016-05-25', 'sur', 'evening'),
(547, 'nowrin.karim', 25, '2016-05-25', 'bo', 'evening'),
(548, 'samar.kumar', 25, '2016-05-25', 'bo', 'evening'),
(549, 'tanveer.ahmed', 25, '2016-05-25', 'iig', 'evening'),
(550, 'ahsan.zaki', 25, '2016-05-25', 'icx', 'evening'),
(551, 'mahbub.hasan', 25, '2016-05-25', 'shift_leader', 'night'),
(552, 'akramul.tarafdar', 25, '2016-05-25', 'sur', 'night'),
(553, 'rifat.hasan', 25, '2016-05-25', 'sur', 'night'),
(554, 'iqbal.ahmed', 25, '2016-05-25', 'bo', 'night'),
(555, 'tahsinul.ferdous', 25, '2016-05-25', 'iig', 'night'),
(556, 'saiham.rahman', 25, '2016-05-25', 'icx', 'night'),
(557, 'saeed.naser', 26, '2016-05-26', 'shift_leader', 'day'),
(558, 'umar.rafaet', 26, '2016-05-26', 'sur', 'day'),
(559, 'nazmul.hasan', 26, '2016-05-26', 'sur', 'day'),
(560, 'sarbik.sahan', 26, '2016-05-26', 'bo', 'day'),
(561, 'maruf.mohammad', 26, '2016-05-26', 'bo', 'day'),
(562, 'rahul.biswas', 26, '2016-05-26', 'iig', 'day'),
(563, 'imroze.ahmed', 26, '2016-05-26', 'iig', 'day'),
(564, 'shamim.hassan', 26, '2016-05-26', 'icx', 'day'),
(565, 'ahsan.zaki', 26, '2016-05-26', 'icx', 'day'),
(566, 'mir.raihan', 26, '2016-05-26', 'shift_leader', 'evening'),
(567, 'nasrin.akter', 26, '2016-05-26', 'sur', 'evening'),
(568, 'anika.sharmin', 26, '2016-05-26', 'sur', 'evening'),
(569, 'nowrin.karim', 26, '2016-05-26', 'bo', 'evening'),
(570, 'etanvir.ahmed', 26, '2016-05-26', 'bo', 'evening'),
(571, 'iftakhar.jahan', 26, '2016-05-26', 'iig', 'evening'),
(572, 'ashiqur.rahman', 26, '2016-05-26', 'icx', 'evening'),
(573, 'sakib.ullah', 26, '2016-05-26', 'shift_leader', 'night'),
(574, 'akramul.tarafdar', 26, '2016-05-26', 'sur', 'night'),
(575, 'rifat.hasan', 26, '2016-05-26', 'sur', 'night'),
(576, 'samar.kumar', 26, '2016-05-26', 'bo', 'night'),
(577, 'tanveer.ahmed', 26, '2016-05-26', 'iig', 'night'),
(578, 'saiham.rahman', 26, '2016-05-26', 'icx', 'night'),
(579, 'saeed.naser', 27, '2016-05-27', 'shift_leader', 'day'),
(580, 'umar.rafaet', 27, '2016-05-27', 'sur', 'day'),
(581, 'nazmul.hasan', 27, '2016-05-27', 'sur', 'day'),
(582, 'sarbik.sahan', 27, '2016-05-27', 'bo', 'day'),
(583, 'puspita.topu', 27, '2016-05-27', 'bo', 'day'),
(584, 'sadia.afrin', 27, '2016-05-27', 'iig', 'day'),
(585, 'imroze.ahmed', 27, '2016-05-27', 'iig', 'day'),
(586, 'ahsan.zaki', 27, '2016-05-27', 'icx', 'day'),
(587, 'rayhan.hossain', 27, '2016-05-27', 'icx', 'day'),
(588, 'sadaf.mahmud', 27, '2016-05-27', 'shift_leader', 'evening'),
(589, 'anika.sharmin', 27, '2016-05-27', 'sur', 'evening'),
(590, 's.majumder', 27, '2016-05-27', 'sur', 'evening'),
(591, 'etanvir.ahmed', 27, '2016-05-27', 'bo', 'evening'),
(592, 'maruf.mohammad', 27, '2016-05-27', 'bo', 'evening'),
(593, 'iftakhar.jahan', 27, '2016-05-27', 'iig', 'evening'),
(594, 'shamim.hassan', 27, '2016-05-27', 'icx', 'evening'),
(595, 'mir.raihan', 27, '2016-05-27', 'shift_leader', 'night'),
(596, 'samar.kumar', 27, '2016-05-27', 'sur', 'night'),
(597, 'tanveer.ahmed', 27, '2016-05-27', 'bo', 'night'),
(598, 'rahul.biswas', 27, '2016-05-27', 'iig', 'night'),
(599, 'ashiqur.rahman', 27, '2016-05-27', 'icx', 'night'),
(690, 'mahbub.hasan', 32, '2016-05-28', 'shift_leader', 'day'),
(691, 'nafisa.sayed', 32, '2016-05-28', 'sur', 'day'),
(692, 'sadia.afrin', 32, '2016-05-28', 'sur', 'day'),
(693, 'puspita.topu', 32, '2016-05-28', 'bo', 'day'),
(694, 'nazmul.hasan', 32, '2016-05-28', 'bo', 'day'),
(695, 'etanvir.ahmed', 32, '2016-05-28', 'bo', 'day'),
(696, 'tahsinul.ferdous', 32, '2016-05-28', 'iig', 'day'),
(697, 'rayhan.hossain', 32, '2016-05-28', 'icx', 'day'),
(698, 'sadaf.mahmud', 32, '2016-05-28', 'shift_leader', 'evening'),
(699, 'nasrin.akter', 32, '2016-05-28', 'sur', 'evening'),
(700, 's.majumder', 32, '2016-05-28', 'sur', 'evening'),
(701, 'sarbik.sahan', 32, '2016-05-28', 'bo', 'evening'),
(702, 'iqbal.ahmed', 32, '2016-05-28', 'bo', 'evening'),
(703, 'imroze.ahmed', 32, '2016-05-28', 'bo', 'evening'),
(704, 'shamim.hassan', 32, '2016-05-28', 'icx', 'evening'),
(705, 'saiham.rahman', 32, '2016-05-28', 'icx', 'evening'),
(706, 'saeed.naser', 32, '2016-05-28', 'shift_leader', 'night'),
(707, 'umar.rafaet', 32, '2016-05-28', 'sur', 'night'),
(708, 'akramul.tarafdar', 32, '2016-05-28', 'sur', 'night'),
(709, 'maruf.mohammad', 32, '2016-05-28', 'bo', 'night'),
(710, 'iftakhar.jahan', 32, '2016-05-28', 'iig', 'night'),
(711, 'ashiqur.rahman', 32, '2016-05-28', 'icx', 'night'),
(722, 'sadaf.mahmud', 33, '2016-05-29', 'bo', 'evening'),
(739, 'tanveer.ahmed', 34, '2016-05-30', 'iig', 'day'),
(766, 'ashiqur.rahman', 35, '2016-05-31', 'icx', 'day'),
(769, 'akramul.tarafdar', 35, '2016-05-31', 'sur', 'evening'),
(772, 'samar.kumar', 35, '2016-05-31', 'bo', 'evening'),
(1512, 'mir.raihan', 66, '2016-06-01', 'shift_leader', 'day'),
(1513, 'saeed.naser', 66, '2016-06-01', 'shift_leader', 'day'),
(1514, 'nasrin.akter', 66, '2016-06-01', 'sur', 'day'),
(1515, 'anika.sharmin', 66, '2016-06-01', 'sur', 'day'),
(1516, 'etanvir.ahmed', 66, '2016-06-01', 'bo', 'day'),
(1517, 'maruf.mohammad', 66, '2016-06-01', 'bo', 'day'),
(1518, 'iftakhar.jahan', 66, '2016-06-01', 'iig', 'day'),
(1519, 'rahul.biswas', 66, '2016-06-01', 'iig', 'day'),
(1520, 'ashiqur.rahman', 66, '2016-06-01', 'icx', 'day'),
(1521, 'sakib.ullah', 66, '2016-06-01', 'shift_leader', 'evening'),
(1522, 'nafisa.sayed', 66, '2016-06-01', 'sur', 'evening'),
(1523, 'akramul.tarafdar', 66, '2016-06-01', 'sur', 'evening'),
(1524, 'nowrin.karim', 66, '2016-06-01', 'bo', 'evening'),
(1525, 'samar.kumar', 66, '2016-06-01', 'bo', 'evening'),
(1526, 'umar.rafaet', 66, '2016-06-01', 'bo', 'evening'),
(1527, 'tanveer.ahmed', 66, '2016-06-01', 'iig', 'evening'),
(1528, 'ahsan.zaki', 66, '2016-06-01', 'icx', 'evening'),
(1529, 'mahbub.hasan', 66, '2016-06-01', 'shift_leader', 'night'),
(1530, '', 66, '2016-06-01', 'sur', 'night'),
(1531, 'rifat.hasan', 66, '2016-06-01', 'sur', 'night'),
(1532, 'iqbal.ahmed', 66, '2016-06-01', 'bo', 'night'),
(1533, 'tahsinul.ferdous', 66, '2016-06-01', 'iig', 'night'),
(1534, 'saiham.rahman', 66, '2016-06-01', 'icx', 'night'),
(1538, 'maruf.mohammad', 67, '2016-06-02', 'bo', 'day'),
(1541, 'imroze.ahmed', 67, '2016-06-02', 'iig', 'day'),
(2268, 'sakib.ullah', 33, '2016-05-29', 'shift_leader', 'day'),
(2290, 'sakib.ullah', 33, '2016-05-29', 'shift_leader', 'day'),
(2291, 'nafisa.sayed', 33, '2016-05-29', 'sur', 'day'),
(2292, 'wahidul.ashrafe', 33, '2016-05-29', 'sur', 'day'),
(2293, 'nowrin.karim', 33, '2016-05-29', 'bo', 'day'),
(2294, 'puspita.topu', 33, '2016-05-29', 'bo', 'day'),
(2295, 'tahsinul.ferdous', 33, '2016-05-29', 'iig', 'day'),
(2296, 'ahsan.zaki', 33, '2016-05-29', 'icx', 'day'),
(2297, 'mahbub.hasan', 33, '2016-05-29', 'shift_leader', 'evening'),
(2298, 'nasrin.akter', 33, '2016-05-29', 'sur', 'evening'),
(2299, 's.majumder', 33, '2016-05-29', 'sur', 'evening'),
(2300, 'sadaf.mahmud', 33, '2016-05-29', 'bo', 'evening'),
(2301, 'iqbal.ahmed', 33, '2016-05-29', 'bo', 'evening'),
(2302, 'sadia.afrin', 33, '2016-05-29', 'iig', 'evening'),
(2303, 'imroze.ahmed', 33, '2016-05-29', 'iig', 'evening'),
(2304, 'rayhan.hossain', 33, '2016-05-29', 'icx', 'evening'),
(2305, 'saeed.naser', 33, '2016-05-29', 'shift_leader', 'night'),
(2306, 'sarbik.sahan', 33, '2016-05-29', 'sur', 'night'),
(2307, 'nazmul.hasan', 33, '2016-05-29', 'sur', 'night'),
(2308, 'maruf.mohammad', 33, '2016-05-29', 'bo', 'night'),
(2309, 'iftakhar.jahan', 33, '2016-05-29', 'iig', 'night'),
(2310, 'shamim.hassan', 33, '2016-05-29', 'icx', 'night'),
(2357, 'mir.raihan', 35, '2016-05-31', 'shift_leader', 'day'),
(2381, 'sakib.ullah', 34, '2016-05-30', 'shift_leader', 'day'),
(2405, 'sakib.ullah', 34, '2016-05-30', 'shift_leader', 'day'),
(2406, 'nafisa.sayed', 34, '2016-05-30', 'sur', 'day'),
(2407, 'anika.sharmin', 34, '2016-05-30', 'sur', 'day'),
(2408, 'nowrin.karim', 34, '2016-05-30', 'bo', 'day'),
(2409, 'samar.kumar', 34, '2016-05-30', 'bo', 'day'),
(2410, 'tanveer.ahmed', 34, '2016-05-30', 'iig', 'day'),
(2411, 'saiham.rahman', 34, '2016-05-30', 'icx', 'day'),
(2412, 'ahsan.zaki', 34, '2016-05-30', 'icx', 'day'),
(2413, 'mahbub.hasan', 34, '2016-05-30', 'shift_leader', 'evening'),
(2414, 'mir.raihan', 34, '2016-05-30', 'shift_leader', 'evening'),
(2415, 'wahidul.ashrafe', 34, '2016-05-30', 'sur', 'evening'),
(2416, 'sadia.afrin', 34, '2016-05-30', 'sur', 'evening'),
(2417, 'puspita.topu', 34, '2016-05-30', 'bo', 'evening'),
(2418, 'iqbal.ahmed', 34, '2016-05-30', 'bo', 'evening'),
(2419, 'tahsinul.ferdous', 34, '2016-05-30', 'iig', 'evening'),
(2420, 'rahul.biswas', 34, '2016-05-30', 'iig', 'evening'),
(2421, 'rayhan.hossain', 34, '2016-05-30', 'icx', 'evening'),
(2422, 'sadaf.mahmud', 34, '2016-05-30', 'shift_leader', 'night'),
(2423, 's.majumder', 34, '2016-05-30', 'sur', 'night'),
(2424, 'nazmul.hasan', 34, '2016-05-30', 'sur', 'night'),
(2425, 'sarbik.sahan', 34, '2016-05-30', 'bo', 'night'),
(2426, 'imroze.ahmed', 34, '2016-05-30', 'iig', 'night'),
(2427, 'shamim.hassan', 34, '2016-05-30', 'icx', 'night'),
(2428, 'mir.raihan', 35, '2016-05-31', 'shift_leader', 'day'),
(2429, 'nasrin.akter', 35, '2016-05-31', 'sur', 'day'),
(2430, 'umar.rafaet', 35, '2016-05-31', 'sur', 'day'),
(2431, 'nowrin.karim', 35, '2016-05-31', 'bo', 'day'),
(2432, 'etanvir.ahmed', 35, '2016-05-31', 'bo', 'day'),
(2433, 'anika.sharmin', 35, '2016-05-31', 'bo', 'day'),
(2434, 'rahul.biswas', 35, '2016-05-31', 'iig', 'day'),
(2435, 'tanveer.ahmed', 35, '2016-05-31', 'iig', 'day'),
(2436, 'ashiqur.rahman', 35, '2016-05-31', 'icx', 'day'),
(2437, 'sakib.ullah', 35, '2016-05-31', 'shift_leader', 'evening'),
(2438, 'akramul.tarafdar', 35, '2016-05-31', 'sur', 'evening'),
(2439, 'nafisa.sayed', 35, '2016-05-31', 'sur', 'evening'),
(2440, 'samar.kumar', 35, '2016-05-31', 'bo', 'evening'),
(2441, 'puspita.topu', 35, '2016-05-31', 'bo', 'evening'),
(2442, 'sadia.afrin', 35, '2016-05-31', 'iig', 'evening'),
(2443, 'ahsan.zaki', 35, '2016-05-31', 'icx', 'evening'),
(2444, 'saiham.rahman', 35, '2016-05-31', 'icx', 'evening'),
(2445, 'mahbub.hasan', 35, '2016-05-31', 'shift_leader', 'night'),
(2446, 'iqbal.ahmed', 35, '2016-05-31', 'sur', 'night'),
(2447, 's.majumder', 35, '2016-05-31', 'sur', 'night'),
(2448, 'sadaf.mahmud', 35, '2016-05-31', 'bo', 'night'),
(2449, 'tahsinul.ferdous', 35, '2016-05-31', 'iig', 'night'),
(2450, 'rayhan.hossain', 35, '2016-05-31', 'icx', 'night'),
(2473, 'mir.raihan', 67, '2016-06-02', 'shift_leader', 'day'),
(2474, 'nasrin.akter', 67, '2016-06-02', 'sur', 'day'),
(2475, 'anika.sharmin', 67, '2016-06-02', 'sur', 'day'),
(2476, 'maruf.mohammad', 67, '2016-06-02', 'bo', 'day'),
(2477, 'sarbik.sahan', 67, '2016-06-02', 'bo', 'day'),
(2478, 'imroze.ahmed', 67, '2016-06-02', 'iig', 'day'),
(2479, 'shamim.hassan', 67, '2016-06-02', 'icx', 'day'),
(2480, 'saeed.naser', 67, '2016-06-02', 'shift_leader', 'evening'),
(2481, 'umar.rafaet', 67, '2016-06-02', 'sur', 'evening'),
(2482, 'akramul.tarafdar', 67, '2016-06-02', 'sur', 'evening'),
(2483, 'nowrin.karim', 67, '2016-06-02', 'bo', 'evening'),
(2484, 'etanvir.ahmed', 67, '2016-06-02', 'bo', 'evening'),
(2485, 'iftakhar.jahan', 67, '2016-06-02', 'iig', 'evening'),
(2486, 'ashiqur.rahman', 67, '2016-06-02', 'icx', 'evening'),
(2487, 'sakib.ullah', 67, '2016-06-02', 'shift_leader', 'night'),
(2488, 'rifat.hasan', 67, '2016-06-02', 'sur', 'night'),
(2489, 'wahidul.ashrafe', 67, '2016-06-02', 'sur', 'night'),
(2490, 'samar.kumar', 67, '2016-06-02', 'bo', 'night'),
(2491, 'tanveer.ahmed', 67, '2016-06-02', 'iig', 'night'),
(2492, 'ahsan.zaki', 67, '2016-06-02', 'icx', 'night'),
(4186, 'samar.kumar', 180, '2016-06-03', 'sur', 'night'),
(4194, 'puspita.topu', 181, '2016-06-04', 'bo', 'day'),
(4202, 'sarbik.sahan', 181, '2016-06-04', 'bo', 'evening'),
(4216, 'nowrin.karim', 182, '2016-06-05', 'bo', 'day'),
(4235, 'sakib.ullah', 183, '2016-06-06', 'shift_leader', 'day'),
(4236, 'nafisa.sayed', 183, '2016-06-06', 'sur', 'day'),
(4237, 'anika.sharmin', 183, '2016-06-06', 'sur', 'day'),
(4238, 'nowrin.karim', 183, '2016-06-06', 'bo', 'day'),
(4239, 'samar.kumar', 183, '2016-06-06', 'bo', 'day'),
(4240, 'tanveer.ahmed', 183, '2016-06-06', 'iig', 'day'),
(4241, 'rahul.biswas', 183, '2016-06-06', 'iig', 'day'),
(4242, 'saiham.rahman', 183, '2016-06-06', 'icx', 'day'),
(4243, 'ahsan.zaki', 183, '2016-06-06', 'icx', 'day'),
(4244, 'mahbub.hasan', 183, '2016-06-06', 'shift_leader', 'evening'),
(4245, 'mir.raihan', 183, '2016-06-06', 'shift_leader', 'evening'),
(4246, 'wahidul.ashrafe', 183, '2016-06-06', 'sur', 'evening'),
(4247, 'rifat.hasan', 183, '2016-06-06', 'sur', 'evening'),
(4248, 'puspita.topu', 183, '2016-06-06', 'bo', 'evening'),
(4249, 'iqbal.ahmed', 183, '2016-06-06', 'bo', 'evening'),
(4250, 'tahsinul.ferdous', 183, '2016-06-06', 'iig', 'evening'),
(4251, 'sadia.afrin', 183, '2016-06-06', 'iig', 'evening'),
(4252, 'rayhan.hossain', 183, '2016-06-06', 'icx', 'evening'),
(4253, 'sadaf.mahmud', 183, '2016-06-06', 'shift_leader', 'night'),
(4254, 's.majumder', 183, '2016-06-06', 'sur', 'night'),
(4255, 'nazmul.hasan', 183, '2016-06-06', 'sur', 'night'),
(4256, 'sarbik.sahan', 183, '2016-06-06', 'bo', 'night'),
(4257, 'imroze.ahmed', 183, '2016-06-06', 'iig', 'night'),
(4258, 'shamim.hassan', 183, '2016-06-06', 'icx', 'night'),
(4809, 'saeed.naser', 180, '2016-06-03', 'shift_leader', 'day'),
(4810, 'nazmul.hasan', 180, '2016-06-03', 'sur', 'day'),
(4811, 's.majumder', 180, '2016-06-03', 'sur', 'day'),
(4812, 'sarbik.sahan', 180, '2016-06-03', 'bo', 'day'),
(4813, 'puspita.topu', 180, '2016-06-03', 'bo', 'day'),
(4814, 'imroze.ahmed', 180, '2016-06-03', 'iig', 'day'),
(4815, 'rayhan.hossain', 180, '2016-06-03', 'icx', 'day'),
(4816, 'sadaf.mahmud', 180, '2016-06-03', 'shift_leader', 'evening'),
(4817, 'anika.sharmin', 180, '2016-06-03', 'sur', 'evening'),
(4818, 'umar.rafaet', 180, '2016-06-03', 'sur', 'evening'),
(4819, 'etanvir.ahmed', 180, '2016-06-03', 'bo', 'evening'),
(4820, 'maruf.mohammad', 180, '2016-06-03', 'bo', 'evening'),
(4821, 'iftakhar.jahan', 180, '2016-06-03', 'iig', 'evening'),
(4822, 'sadia.afrin', 180, '2016-06-03', 'iig', 'evening'),
(4823, 'shamim.hassan', 180, '2016-06-03', 'icx', 'evening'),
(4824, 'saiham.rahman', 180, '2016-06-03', 'icx', 'evening'),
(4825, 'mir.raihan', 180, '2016-06-03', 'shift_leader', 'night'),
(4826, 'akramul.tarafdar', 180, '2016-06-03', 'sur', 'night'),
(4827, 'samar.kumar', 180, '2016-06-03', 'bo', 'night'),
(4828, 'rahul.biswas', 180, '2016-06-03', 'iig', 'night'),
(4829, 'ashiqur.rahman', 180, '2016-06-03', 'icx', 'night'),
(4830, 'mahbub.hasan', 181, '2016-06-04', 'shift_leader', 'day'),
(4831, 'sadia.afrin', 181, '2016-06-04', 'sur', 'day'),
(4832, 'nazmul.hasan', 181, '2016-06-04', 'sur', 'day'),
(4833, 'puspita.topu', 181, '2016-06-04', 'bo', 'day'),
(4834, 'etanvir.ahmed', 181, '2016-06-04', 'bo', 'day'),
(4835, 'tahsinul.ferdous', 181, '2016-06-04', 'iig', 'day'),
(4836, 'rayhan.hossain', 181, '2016-06-04', 'icx', 'day'),
(4837, 'sadaf.mahmud', 181, '2016-06-04', 'shift_leader', 'evening'),
(4838, 'nasrin.akter', 181, '2016-06-04', 'sur', 'evening'),
(4839, 's.majumder', 181, '2016-06-04', 'sur', 'evening'),
(4841, 'iqbal.ahmed', 181, '2016-06-04', 'bo', 'evening'),
(4842, 'imroze.ahmed', 181, '2016-06-04', 'iig', 'evening'),
(4843, 'shamim.hassan', 181, '2016-06-04', 'icx', 'evening'),
(4844, 'saiham.rahman', 181, '2016-06-04', 'icx', 'evening'),
(4845, 'saeed.naser', 181, '2016-06-04', 'shift_leader', 'night'),
(4846, 'umar.rafaet', 181, '2016-06-04', 'sur', 'night'),
(4847, 'akramul.tarafdar', 181, '2016-06-04', 'sur', 'night'),
(4848, 'maruf.mohammad', 181, '2016-06-04', 'bo', 'night'),
(4849, 'iftakhar.jahan', 181, '2016-06-04', 'iig', 'night'),
(4850, 'ashiqur.rahman', 181, '2016-06-04', 'icx', 'night'),
(4851, 'sakib.ullah', 182, '2016-06-05', 'shift_leader', 'day'),
(4852, 'rifat.hasan', 182, '2016-06-05', 'sur', 'day'),
(4853, 'wahidul.ashrafe', 182, '2016-06-05', 'sur', 'day'),
(4854, 'nowrin.karim', 182, '2016-06-05', 'bo', 'day'),
(4855, 'puspita.topu', 182, '2016-06-05', 'bo', 'day'),
(4856, 'tahsinul.ferdous', 182, '2016-06-05', 'iig', 'day'),
(4857, 'ahsan.zaki', 182, '2016-06-05', 'icx', 'day'),
(4858, 'mahbub.hasan', 182, '2016-06-05', 'shift_leader', 'evening'),
(4859, 'nasrin.akter', 182, '2016-06-05', 'sur', 'evening'),
(4860, 's.majumder', 182, '2016-06-05', 'sur', 'evening'),
(4861, 'sadaf.mahmud', 182, '2016-06-05', 'bo', 'evening'),
(4862, 'iqbal.ahmed', 182, '2016-06-05', 'bo', 'evening'),
(4863, 'sadia.afrin', 182, '2016-06-05', 'iig', 'evening'),
(4864, 'imroze.ahmed', 182, '2016-06-05', 'iig', 'evening'),
(4865, 'rayhan.hossain', 182, '2016-06-05', 'icx', 'evening'),
(4866, 'saeed.naser', 182, '2016-06-05', 'shift_leader', 'night'),
(4867, 'sarbik.sahan', 182, '2016-06-05', 'sur', 'night'),
(4868, 'nazmul.hasan', 182, '2016-06-05', 'sur', 'night'),
(4869, 'maruf.mohammad', 182, '2016-06-05', 'bo', 'night'),
(4870, 'iftakhar.jahan', 182, '2016-06-05', 'iig', 'night'),
(4871, 'shamim.hassan', 182, '2016-06-05', 'icx', 'night'),
(5445, 'sadaf.mahmud', 232, '2016-06-07', 'bo', 'night'),
(5460, 'nowrin.karim', 233, '2016-06-08', 'bo', 'evening'),
(5472, 'saeed.naser', 234, '2016-06-09', 'shift_leader', 'day'),
(5473, 'nazmul.hasan', 234, '2016-06-09', 'sur', 'day'),
(5474, 'nasrin.akter', 234, '2016-06-09', 'sur', 'day'),
(5475, 'sarbik.sahan', 234, '2016-06-09', 'bo', 'day'),
(5476, 'maruf.mohammad', 234, '2016-06-09', 'bo', 'day'),
(5477, 'anika.sharmin', 234, '2016-06-09', 'bo', 'day'),
(5478, 'imroze.ahmed', 234, '2016-06-09', 'iig', 'day'),
(5479, 'jalal.mahedi', 234, '2016-06-09', 'iig', 'day'),
(5480, 'shamim.hassan', 234, '2016-06-09', 'icx', 'day'),
(5481, 'mir.raihan', 234, '2016-06-09', 'shift_leader', 'evening'),
(5482, 'akramul.tarafdar', 234, '2016-06-09', 'sur', 'evening'),
(5483, 'umar.rafaet', 234, '2016-06-09', 'sur', 'evening'),
(5484, 'nowrin.karim', 234, '2016-06-09', 'bo', 'evening'),
(5485, 'etanvir.ahmed', 234, '2016-06-09', 'bo', 'evening'),
(5486, 'iftakhar.jahan', 234, '2016-06-09', 'iig', 'evening'),
(5487, 'rahul.biswas', 234, '2016-06-09', 'iig', 'evening'),
(5488, 'ashiqur.rahman', 234, '2016-06-09', 'icx', 'evening'),
(5489, 'sakib.ullah', 234, '2016-06-09', 'shift_leader', 'night'),
(5490, 'rifat.hasan', 234, '2016-06-09', 'sur', 'night'),
(5491, 'wahidul.ashrafe', 234, '2016-06-09', 'sur', 'night'),
(5492, 'samar.kumar', 234, '2016-06-09', 'bo', 'night'),
(5493, 'tanveer.ahmed', 234, '2016-06-09', 'iig', 'night'),
(5494, 'saiham.rahman', 234, '2016-06-09', 'icx', 'night'),
(5495, 'saeed.naser', 235, '2016-06-10', 'shift_leader', 'day'),
(5496, 'nazmul.hasan', 235, '2016-06-10', 'sur', 'day'),
(5497, 's.majumder', 235, '2016-06-10', 'sur', 'day'),
(5498, 'sarbik.sahan', 235, '2016-06-10', 'bo', 'day'),
(5499, 'puspita.topu', 235, '2016-06-10', 'bo', 'day'),
(5500, 'imroze.ahmed', 235, '2016-06-10', 'iig', 'day'),
(5501, 'sadia.afrin', 235, '2016-06-10', 'iig', 'day'),
(5502, 'rayhan.hossain', 235, '2016-06-10', 'icx', 'day'),
(5503, 'sadaf.mahmud', 235, '2016-06-10', 'shift_leader', 'evening'),
(5504, 'anika.sharmin', 235, '2016-06-10', 'sur', 'evening'),
(5505, 'umar.rafaet', 235, '2016-06-10', 'sur', 'evening'),
(5506, 'etanvir.ahmed', 235, '2016-06-10', 'bo', 'evening'),
(5507, 'maruf.mohammad', 235, '2016-06-10', 'bo', 'evening'),
(5508, 'iftakhar.jahan', 235, '2016-06-10', 'iig', 'evening'),
(5509, 'shamim.hassan', 235, '2016-06-10', 'icx', 'evening'),
(5510, 'mir.raihan', 235, '2016-06-10', 'shift_leader', 'night'),
(5511, 'samar.kumar', 235, '2016-06-10', 'sur', 'night'),
(5512, 'akramul.tarafdar', 235, '2016-06-10', 'sur', 'night'),
(5513, 'tanveer.ahmed', 235, '2016-06-10', 'bo', 'night'),
(5514, 'rahul.biswas', 235, '2016-06-10', 'iig', 'night'),
(5515, 'jalal.mahedi', 235, '2016-06-10', 'iig', 'night'),
(5516, 'ashiqur.rahman', 235, '2016-06-10', 'icx', 'night'),
(5517, 'mahbub.hasan', 236, '2016-06-11', 'shift_leader', 'day'),
(5518, 'nafisa.sayed', 236, '2016-06-11', 'sur', 'day'),
(5519, 'sadia.afrin', 236, '2016-06-11', 'sur', 'day'),
(5520, 'puspita.topu', 236, '2016-06-11', 'bo', 'day'),
(5521, 'nazmul.hasan', 236, '2016-06-11', 'bo', 'day'),
(5522, 'etanvir.ahmed', 236, '2016-06-11', 'bo', 'day');
INSERT INTO `rostertable` (`roster_table_id`, `user_id`, `shift_id`, `shift_date`, `shift_position`, `shift_time`) VALUES
(5523, 'tahsinul.ferdous', 236, '2016-06-11', 'iig', 'day'),
(5524, 'rayhan.hossain', 236, '2016-06-11', 'icx', 'day'),
(5525, 'ahsan.zaki', 236, '2016-06-11', 'icx', 'day'),
(5526, 'sadaf.mahmud', 236, '2016-06-11', 'shift_leader', 'evening'),
(5527, 'nasrin.akter', 236, '2016-06-11', 'sur', 'evening'),
(5528, 's.majumder', 236, '2016-06-11', 'sur', 'evening'),
(5529, 'sarbik.sahan', 236, '2016-06-11', 'bo', 'evening'),
(5530, 'iqbal.ahmed', 236, '2016-06-11', 'bo', 'evening'),
(5531, 'imroze.ahmed', 236, '2016-06-11', 'bo', 'evening'),
(5532, 'shamim.hassan', 236, '2016-06-11', 'icx', 'evening'),
(5533, 'saiham.rahman', 236, '2016-06-11', 'icx', 'evening'),
(5534, 'saeed.naser', 236, '2016-06-11', 'shift_leader', 'night'),
(5535, 'umar.rafaet', 236, '2016-06-11', 'sur', 'night'),
(5536, 'akramul.tarafdar', 236, '2016-06-11', 'sur', 'night'),
(5537, 'maruf.mohammad', 236, '2016-06-11', 'bo', 'night'),
(5538, 'iftakhar.jahan', 236, '2016-06-11', 'iig', 'night'),
(5539, 'ashiqur.rahman', 236, '2016-06-11', 'icx', 'night'),
(5540, 'sakib.ullah', 237, '2016-06-12', 'shift_leader', 'day'),
(5541, 'nafisa.sayed', 237, '2016-06-12', 'sur', 'day'),
(5542, 'rifat.hasan', 237, '2016-06-12', 'sur', 'day'),
(5543, 'nowrin.karim', 237, '2016-06-12', 'bo', 'day'),
(5544, 'puspita.topu', 237, '2016-06-12', 'bo', 'day'),
(5545, 'wahidul.ashrafe', 237, '2016-06-12', 'bo', 'day'),
(5546, 'tahsinul.ferdous', 237, '2016-06-12', 'iig', 'day'),
(5547, 'ahsan.zaki', 237, '2016-06-12', 'icx', 'day'),
(5548, 'mahbub.hasan', 237, '2016-06-12', 'shift_leader', 'evening'),
(5549, 'nasrin.akter', 237, '2016-06-12', 'sur', 'evening'),
(5550, 's.majumder', 237, '2016-06-12', 'sur', 'evening'),
(5551, 'sadaf.mahmud', 237, '2016-06-12', 'bo', 'evening'),
(5552, 'iqbal.ahmed', 237, '2016-06-12', 'bo', 'evening'),
(5553, 'sadia.afrin', 237, '2016-06-12', 'iig', 'evening'),
(5554, 'imroze.ahmed', 237, '2016-06-12', 'iig', 'evening'),
(5555, 'rayhan.hossain', 237, '2016-06-12', 'icx', 'evening'),
(5556, 'saeed.naser', 237, '2016-06-12', 'shift_leader', 'night'),
(5557, 'sarbik.sahan', 237, '2016-06-12', 'sur', 'night'),
(5558, 'nazmul.hasan', 237, '2016-06-12', 'sur', 'night'),
(5559, 'maruf.mohammad', 237, '2016-06-12', 'bo', 'night'),
(5560, 'iftakhar.jahan', 237, '2016-06-12', 'iig', 'night'),
(5561, 'shamim.hassan', 237, '2016-06-12', 'icx', 'night'),
(5562, 'sakib.ullah', 238, '2016-06-13', 'shift_leader', 'day'),
(5563, 'nafisa.sayed', 238, '2016-06-13', 'sur', 'day'),
(5564, 'anika.sharmin', 238, '2016-06-13', 'sur', 'day'),
(5565, 'nowrin.karim', 238, '2016-06-13', 'bo', 'day'),
(5566, 'samar.kumar', 238, '2016-06-13', 'bo', 'day'),
(5567, 'tanveer.ahmed', 238, '2016-06-13', 'iig', 'day'),
(5568, 'rahul.biswas', 238, '2016-06-13', 'iig', 'day'),
(5569, 'saiham.rahman', 238, '2016-06-13', 'icx', 'day'),
(5570, 'mahbub.hasan', 238, '2016-06-13', 'shift_leader', 'evening'),
(5571, 'mir.raihan', 238, '2016-06-13', 'shift_leader', 'evening'),
(5572, 'wahidul.ashrafe', 238, '2016-06-13', 'sur', 'evening'),
(5573, 'rifat.hasan', 238, '2016-06-13', 'sur', 'evening'),
(5574, 'puspita.topu', 238, '2016-06-13', 'bo', 'evening'),
(5575, 'iqbal.ahmed', 238, '2016-06-13', 'bo', 'evening'),
(5576, 'tahsinul.ferdous', 238, '2016-06-13', 'iig', 'evening'),
(5577, 'sadia.afrin', 238, '2016-06-13', 'iig', 'evening'),
(5578, 'rayhan.hossain', 238, '2016-06-13', 'icx', 'evening'),
(5579, 'jalal.mahedi', 238, '2016-06-13', 'icx', 'evening'),
(5580, 'ahsan.zaki', 238, '2016-06-13', 'icx', 'evening'),
(5581, 'sadaf.mahmud', 238, '2016-06-13', 'shift_leader', 'night'),
(5582, 's.majumder', 238, '2016-06-13', 'sur', 'night'),
(5583, 'nazmul.hasan', 238, '2016-06-13', 'sur', 'night'),
(5584, 'sarbik.sahan', 238, '2016-06-13', 'bo', 'night'),
(5585, 'imroze.ahmed', 238, '2016-06-13', 'iig', 'night'),
(5586, 'shamim.hassan', 238, '2016-06-13', 'icx', 'night'),
(5590, 'nowrin.karim', 239, '2016-06-14', 'bo', 'day'),
(5637, 'saeed.naser', 241, '2016-06-16', 'shift_leader', 'day'),
(5638, 'nazmul.hasan', 241, '2016-06-16', 'sur', 'day'),
(5639, 'nasrin.akter', 241, '2016-06-16', 'sur', 'day'),
(5640, 'sarbik.sahan', 241, '2016-06-16', 'bo', 'day'),
(5641, 'maruf.mohammad', 241, '2016-06-16', 'bo', 'day'),
(5642, 'anika.sharmin', 241, '2016-06-16', 'bo', 'day'),
(5643, 'imroze.ahmed', 241, '2016-06-16', 'iig', 'day'),
(5644, 'jalal.mahedi', 241, '2016-06-16', 'iig', 'day'),
(5645, 'shamim.hassan', 241, '2016-06-16', 'icx', 'day'),
(5646, 'mir.raihan', 241, '2016-06-16', 'shift_leader', 'evening'),
(5647, 'akramul.tarafdar', 241, '2016-06-16', 'sur', 'evening'),
(5648, 'umar.rafaet', 241, '2016-06-16', 'sur', 'evening'),
(5649, 'nowrin.karim', 241, '2016-06-16', 'bo', 'evening'),
(5650, 'etanvir.ahmed', 241, '2016-06-16', 'bo', 'evening'),
(5651, 'iftakhar.jahan', 241, '2016-06-16', 'iig', 'evening'),
(5652, 'rahul.biswas', 241, '2016-06-16', 'iig', 'evening'),
(5653, 'ashiqur.rahman', 241, '2016-06-16', 'icx', 'evening'),
(5654, 'sakib.ullah', 241, '2016-06-16', 'shift_leader', 'night'),
(5655, '', 241, '2016-06-16', 'sur', 'night'),
(5656, 'wahidul.ashrafe', 241, '2016-06-16', 'sur', 'night'),
(5657, 'samar.kumar', 241, '2016-06-16', 'bo', 'night'),
(5658, 'tanveer.ahmed', 241, '2016-06-16', 'iig', 'night'),
(5659, 'saiham.rahman', 241, '2016-06-16', 'icx', 'night'),
(5990, 'mir.raihan', 232, '2016-06-07', 'shift_leader', 'day'),
(5991, 'nasrin.akter', 232, '2016-06-07', 'sur', 'day'),
(5992, 'umar.rafaet', 232, '2016-06-07', 'sur', 'day'),
(5993, 'nowrin.karim', 232, '2016-06-07', 'bo', 'day'),
(5994, 'etanvir.ahmed', 232, '2016-06-07', 'bo', 'day'),
(5995, 'anika.sharmin', 232, '2016-06-07', 'bo', 'day'),
(5996, 'rahul.biswas', 232, '2016-06-07', 'iig', 'day'),
(5997, 'ashiqur.rahman', 232, '2016-06-07', 'icx', 'day'),
(5998, 'sakib.ullah', 232, '2016-06-07', 'shift_leader', 'evening'),
(5999, 'akramul.tarafdar', 232, '2016-06-07', 'sur', 'evening'),
(6000, 'nafisa.sayed', 232, '2016-06-07', 'sur', 'evening'),
(6001, 'rifat.hasan', 232, '2016-06-07', 'sur', 'evening'),
(6002, 'samar.kumar', 232, '2016-06-07', 'bo', 'evening'),
(6003, 'puspita.topu', 232, '2016-06-07', 'bo', 'evening'),
(6004, 'wahidul.ashrafe', 232, '2016-06-07', 'bo', 'evening'),
(6005, 'tanveer.ahmed', 232, '2016-06-07', 'iig', 'evening'),
(6006, 'sadia.afrin', 232, '2016-06-07', 'iig', 'evening'),
(6007, 'ahsan.zaki', 232, '2016-06-07', 'icx', 'evening'),
(6008, 'saiham.rahman', 232, '2016-06-07', 'icx', 'evening'),
(6009, 'jalal.mahedi', 232, '2016-06-07', 'icx', 'evening'),
(6010, 'mahbub.hasan', 232, '2016-06-07', 'shift_leader', 'night'),
(6011, 'iqbal.ahmed', 232, '2016-06-07', 'sur', 'night'),
(6012, 's.majumder', 232, '2016-06-07', 'sur', 'night'),
(6013, 'sadaf.mahmud', 232, '2016-06-07', 'bo', 'night'),
(6014, 'tahsinul.ferdous', 232, '2016-06-07', 'iig', 'night'),
(6015, 'rayhan.hossain', 232, '2016-06-07', 'icx', 'night'),
(6016, 'mir.raihan', 233, '2016-06-08', 'shift_leader', 'day'),
(6017, 'saeed.naser', 233, '2016-06-08', 'shift_leader', 'day'),
(6018, 'nasrin.akter', 233, '2016-06-08', 'sur', 'day'),
(6019, 'anika.sharmin', 233, '2016-06-08', 'sur', 'day'),
(6020, 'umar.rafaet', 233, '2016-06-08', 'sur', 'day'),
(6021, 'etanvir.ahmed', 233, '2016-06-08', 'bo', 'day'),
(6022, 'maruf.mohammad', 233, '2016-06-08', 'bo', 'day'),
(6023, 'iftakhar.jahan', 233, '2016-06-08', 'iig', 'day'),
(6024, 'ashiqur.rahman', 233, '2016-06-08', 'icx', 'day'),
(6025, 'sakib.ullah', 233, '2016-06-08', 'shift_leader', 'evening'),
(6026, 'nafisa.sayed', 233, '2016-06-08', 'sur', 'evening'),
(6027, 'akramul.tarafdar', 233, '2016-06-08', 'sur', 'evening'),
(6028, 'nowrin.karim', 233, '2016-06-08', 'bo', 'evening'),
(6029, 'samar.kumar', 233, '2016-06-08', 'bo', 'evening'),
(6030, 'rahul.biswas', 233, '2016-06-08', 'iig', 'evening'),
(6031, 'tanveer.ahmed', 233, '2016-06-08', 'iig', 'evening'),
(6032, 'saiham.rahman', 233, '2016-06-08', 'icx', 'evening'),
(6033, 'mahbub.hasan', 233, '2016-06-08', 'shift_leader', 'night'),
(6034, 'rifat.hasan', 233, '2016-06-08', 'sur', 'night'),
(6035, 'wahidul.ashrafe', 233, '2016-06-08', 'sur', 'night'),
(6036, 'iqbal.ahmed', 233, '2016-06-08', 'bo', 'night'),
(6037, 'tahsinul.ferdous', 233, '2016-06-08', 'iig', 'night'),
(6038, 'ahsan.zaki', 233, '2016-06-08', 'icx', 'night'),
(6061, 'sadaf.mahmud', 239, '2016-06-14', 'bo', 'night'),
(6065, 'mir.raihan', 240, '2016-06-15', 'shift_leader', 'day'),
(6066, 'saeed.naser', 240, '2016-06-15', 'shift_leader', 'day'),
(6067, 'nasrin.akter', 240, '2016-06-15', 'sur', 'day'),
(6068, 'anika.sharmin', 240, '2016-06-15', 'sur', 'day'),
(6069, 'etanvir.ahmed', 240, '2016-06-15', 'bo', 'day'),
(6070, 'maruf.mohammad', 240, '2016-06-15', 'bo', 'day'),
(6071, 'rahul.biswas', 240, '2016-06-15', 'iig', 'day'),
(6072, 'ashiqur.rahman', 240, '2016-06-15', 'icx', 'day'),
(6073, 'sakib.ullah', 240, '2016-06-15', 'shift_leader', 'evening'),
(6074, 'nafisa.sayed', 240, '2016-06-15', 'sur', 'evening'),
(6075, 'akramul.tarafdar', 240, '2016-06-15', 'sur', 'evening'),
(6076, 'nowrin.karim', 240, '2016-06-15', 'bo', 'evening'),
(6077, 'samar.kumar', 240, '2016-06-15', 'bo', 'evening'),
(6078, 'umar.rafaet', 240, '2016-06-15', 'bo', 'evening'),
(6079, 'iftakhar.jahan', 240, '2016-06-15', 'iig', 'evening'),
(6080, 'tanveer.ahmed', 240, '2016-06-15', 'iig', 'evening'),
(6081, 'saiham.rahman', 240, '2016-06-15', 'icx', 'evening'),
(6082, 'mahbub.hasan', 240, '2016-06-15', 'shift_leader', 'night'),
(6083, '', 240, '2016-06-15', 'sur', 'night'),
(6084, 'wahidul.ashrafe', 240, '2016-06-15', 'sur', 'night'),
(6085, 'iqbal.ahmed', 240, '2016-06-15', 'bo', 'night'),
(6086, 'tahsinul.ferdous', 240, '2016-06-15', 'iig', 'night'),
(6087, 'ashiqur.rahman', 240, '2016-06-15', 'icx', 'night'),
(6088, 'mir.raihan', 239, '2016-06-14', 'shift_leader', 'day'),
(6089, 'nasrin.akter', 239, '2016-06-14', 'sur', 'day'),
(6090, 'anika.sharmin', 239, '2016-06-14', 'sur', 'day'),
(6091, 'nowrin.karim', 239, '2016-06-14', 'bo', 'day'),
(6092, 'etanvir.ahmed', 239, '2016-06-14', 'bo', 'day'),
(6093, 'rahul.biswas', 239, '2016-06-14', 'iig', 'day'),
(6094, 'ashiqur.rahman', 239, '2016-06-14', 'icx', 'day'),
(6095, 'sakib.ullah', 239, '2016-06-14', 'shift_leader', 'evening'),
(6096, 'akramul.tarafdar', 239, '2016-06-14', 'sur', 'evening'),
(6097, 'nafisa.sayed', 239, '2016-06-14', 'sur', 'evening'),
(6098, 'rifat.hasan', 239, '2016-06-14', 'sur', 'evening'),
(6099, 'samar.kumar', 239, '2016-06-14', 'bo', 'evening'),
(6100, 'puspita.topu', 239, '2016-06-14', 'bo', 'evening'),
(6101, 'wahidul.ashrafe', 239, '2016-06-14', 'bo', 'evening'),
(6102, 'tanveer.ahmed', 239, '2016-06-14', 'iig', 'evening'),
(6103, 'sadia.afrin', 239, '2016-06-14', 'iig', 'evening'),
(6104, 'ahsan.zaki', 239, '2016-06-14', 'icx', 'evening'),
(6105, 'saiham.rahman', 239, '2016-06-14', 'icx', 'evening'),
(6106, 'jalal.mahedi', 239, '2016-06-14', 'icx', 'evening'),
(6107, 'mahbub.hasan', 239, '2016-06-14', 'shift_leader', 'night'),
(6108, 'iqbal.ahmed', 239, '2016-06-14', 'sur', 'night'),
(6109, 's.majumder', 239, '2016-06-14', 'sur', 'night'),
(6110, 'sadaf.mahmud', 239, '2016-06-14', 'bo', 'night'),
(6111, 'tahsinul.ferdous', 239, '2016-06-14', 'iig', 'night'),
(6112, 'rayhan.hossain', 239, '2016-06-14', 'icx', 'night'),
(6168, 'sarbik.sahan', 242, '2016-06-17', 'bo', 'day'),
(6210, 'saeed.naser', 242, '2016-06-17', 'shift_leader', 'day'),
(6211, 'nazmul.hasan', 242, '2016-06-17', 'sur', 'day'),
(6212, 's.majumder', 242, '2016-06-17', 'sur', 'day'),
(6213, 'sarbik.sahan', 242, '2016-06-17', 'bo', 'day'),
(6214, 'puspita.tapu', 242, '2016-06-17', 'bo', 'day'),
(6215, 'imroze.ahmed', 242, '2016-06-17', 'iig', 'day'),
(6216, 'sadia.afrin', 242, '2016-06-17', 'iig', 'day'),
(6217, 'rayhan.hossain', 242, '2016-06-17', 'icx', 'day'),
(6218, 'sadaf.mahmud', 242, '2016-06-17', 'shift_leader', 'evening'),
(6219, 'anika.sharmin', 242, '2016-06-17', 'sur', 'evening'),
(6220, 'umar.rafaet', 242, '2016-06-17', 'sur', 'evening'),
(6221, 'puspita.tapu', 242, '2016-06-17', 'bo', 'evening'),
(6222, 'maruf.mohammad', 242, '2016-06-17', 'bo', 'evening'),
(6223, 'iftakhar.jahan', 242, '2016-06-17', 'iig', 'evening'),
(6224, 'shamim.hassan', 242, '2016-06-17', 'icx', 'evening'),
(6225, 'mir.raihan', 242, '2016-06-17', 'shift_leader', 'night'),
(6226, 'samar.kumar', 242, '2016-06-17', 'sur', 'night'),
(6227, 'akramul.tarafdar', 242, '2016-06-17', 'sur', 'night'),
(6228, 'tanveer.ahmed', 242, '2016-06-17', 'bo', 'night'),
(6229, 'rahul.biswas', 242, '2016-06-17', 'iig', 'night'),
(6230, 'jalal.mahedi', 242, '2016-06-17', 'iig', 'night'),
(6231, 'ashiqur.rahman', 242, '2016-06-17', 'icx', 'night'),
(6363, 'sadia.afrin', 257, '2016-06-19', 'iig', 'evening'),
(6372, 'sakib.ullah', 258, '2016-06-20', 'shift_leader', 'day'),
(6373, 'nafisa.sayed', 258, '2016-06-20', 'sur', 'day'),
(6374, 'anika.sharmin', 258, '2016-06-20', 'sur', 'day'),
(6375, 'nowrin.karim', 258, '2016-06-20', 'bo', 'day'),
(6376, 'samar.kumar', 258, '2016-06-20', 'bo', 'day'),
(6377, 'tanveer.ahmed', 258, '2016-06-20', 'iig', 'day'),
(6378, 'rahul.biswas', 258, '2016-06-20', 'iig', 'day'),
(6379, 'saiham.rahman', 258, '2016-06-20', 'icx', 'day'),
(6380, 'mahbub.hasan', 258, '2016-06-20', 'shift_leader', 'evening'),
(6381, 'mir.raihan', 258, '2016-06-20', 'shift_leader', 'evening'),
(6382, 'wahidul.ashrafe', 258, '2016-06-20', 'sur', 'evening'),
(6383, 'rifat.hasan', 258, '2016-06-20', 'sur', 'evening'),
(6384, 'iqbal.ahmed', 258, '2016-06-20', 'bo', 'evening'),
(6385, 'puspita.tapu', 258, '2016-06-20', 'bo', 'evening'),
(6386, 'tahsinul.ferdous', 258, '2016-06-20', 'iig', 'evening'),
(6387, 'sadia.afrin', 258, '2016-06-20', 'iig', 'evening'),
(6388, '', 258, '2016-06-20', 'icx', 'evening'),
(6389, 'jalal.mahedi', 258, '2016-06-20', 'icx', 'evening'),
(6390, 'ahsan.zaki', 258, '2016-06-20', 'icx', 'evening'),
(6391, 'sadaf.mahmud', 258, '2016-06-20', 'shift_leader', 'night'),
(6392, 's.majumder', 258, '2016-06-20', 'sur', 'night'),
(6393, 'nazmul.hasan', 258, '2016-06-20', 'sur', 'night'),
(6394, 'sarbik.sahan', 258, '2016-06-20', 'bo', 'night'),
(6395, 'imroze.ahmed', 258, '2016-06-20', 'iig', 'night'),
(6396, 'shamim.hassan', 258, '2016-06-20', 'icx', 'night'),
(6414, '', 259, '2016-06-21', 'icx', 'evening'),
(6415, 'saiham.rahman', 259, '2016-06-21', 'icx', 'evening'),
(6423, 'mir.raihan', 260, '2016-06-22', 'shift_leader', 'day'),
(6424, 'saeed.naser', 260, '2016-06-22', 'shift_leader', 'day'),
(6425, 'nasrin.akter', 260, '2016-06-22', 'sur', 'day'),
(6426, 'anika.sharmin', 260, '2016-06-22', 'sur', 'day'),
(6427, 'etanvir.ahmed', 260, '2016-06-22', 'bo', 'day'),
(6428, 'maruf.mohammad', 260, '2016-06-22', 'bo', 'day'),
(6429, 'iftakhar.jahan', 260, '2016-06-22', 'iig', 'day'),
(6430, 'ashiqur.rahman', 260, '2016-06-22', 'icx', 'day'),
(6431, 'sakib.ullah', 260, '2016-06-22', 'shift_leader', 'evening'),
(6432, 'nafisa.sayed', 260, '2016-06-22', 'sur', 'evening'),
(6433, 'akramul.tarafdar', 260, '2016-06-22', 'sur', 'evening'),
(6434, 'nowrin.karim', 260, '2016-06-22', 'bo', 'evening'),
(6435, 'samar.kumar', 260, '2016-06-22', 'bo', 'evening'),
(6436, 'anika.sharmin', 260, '2016-06-22', 'bo', 'evening'),
(6437, 'rahul.biswas', 260, '2016-06-22', 'iig', 'evening'),
(6438, 'tanveer.ahmed', 260, '2016-06-22', 'iig', 'evening'),
(6439, 'saiham.rahman', 260, '2016-06-22', 'icx', 'evening'),
(6440, 'mahbub.hasan', 260, '2016-06-22', 'shift_leader', 'night'),
(6441, 'rifat.hasan', 260, '2016-06-22', 'sur', 'night'),
(6442, 'wahidul.ashrafe', 260, '2016-06-22', 'sur', 'night'),
(6443, 'iqbal.ahmed', 260, '2016-06-22', 'bo', 'night'),
(6444, 'tahsinul.ferdous', 260, '2016-06-22', 'iig', 'night'),
(6445, 'ahsan.zaki', 260, '2016-06-22', 'icx', 'night'),
(6446, 'mir.raihan', 261, '2016-06-23', 'shift_leader', 'day'),
(6447, 'nazmul.hasan', 261, '2016-06-23', 'sur', 'day'),
(6448, 'nasrin.akter', 261, '2016-06-23', 'sur', 'day'),
(6449, 'sarbik.sahan', 261, '2016-06-23', 'bo', 'day'),
(6450, 'maruf.mohammad', 261, '2016-06-23', 'bo', 'day'),
(6451, 'anika.sharmin', 261, '2016-06-23', 'bo', 'day'),
(6452, 'imroze.ahmed', 261, '2016-06-23', 'iig', 'day'),
(6453, 'jalal.mahedi', 261, '2016-06-23', 'iig', 'day'),
(6454, 'shamim.hassan', 261, '2016-06-23', 'icx', 'day'),
(6455, 'mir.raihan', 261, '2016-06-23', 'shift_leader', 'evening'),
(6456, 'akramul.tarafdar', 261, '2016-06-23', 'sur', 'evening'),
(6457, 'umar.rafaet', 261, '2016-06-23', 'sur', 'evening'),
(6458, 'nowrin.karim', 261, '2016-06-23', 'bo', 'evening'),
(6459, 'etanvir.ahmed', 261, '2016-06-23', 'bo', 'evening'),
(6460, '', 261, '2016-06-23', 'iig', 'evening'),
(6461, 'rahul.biswas', 261, '2016-06-23', 'iig', 'evening'),
(6462, 'ashiqur.rahman', 261, '2016-06-23', 'icx', 'evening'),
(6463, 'sakib.ullah', 261, '2016-06-23', 'shift_leader', 'night'),
(6464, 'rifat.hasan', 261, '2016-06-23', 'sur', 'night'),
(6465, 'wahidul.ashrafe', 261, '2016-06-23', 'sur', 'night'),
(6466, 'samar.kumar', 261, '2016-06-23', 'bo', 'night'),
(6467, 'tanveer.ahmed', 261, '2016-06-23', 'iig', 'night'),
(6468, 'saiham.rahman', 261, '2016-06-23', 'icx', 'night'),
(6469, 'saeed.naser', 262, '2016-06-24', 'shift_leader', 'day'),
(6470, 'nazmul.hasan', 262, '2016-06-24', 'sur', 'day'),
(6471, 'anika.sharmin', 262, '2016-06-24', 'sur', 'day'),
(6472, 'sarbik.sahan', 262, '2016-06-24', 'bo', 'day'),
(6473, 'puspita.tapu', 262, '2016-06-24', 'bo', 'day'),
(6474, 'imroze.ahmed', 262, '2016-06-24', 'iig', 'day'),
(6475, 'sadia.afrin', 262, '2016-06-24', 'iig', 'day'),
(6476, 'rayhan.hossain', 262, '2016-06-24', 'icx', 'day'),
(6477, 'sadaf.mahmud', 262, '2016-06-24', 'shift_leader', 'evening'),
(6478, 'umar.rafaet', 262, '2016-06-24', 'sur', 'evening'),
(6479, 's.majumder', 262, '2016-06-24', 'sur', 'evening'),
(6480, 'etanvir.ahmed', 262, '2016-06-24', 'bo', 'evening'),
(6481, 'maruf.mohammad', 262, '2016-06-24', 'bo', 'evening'),
(6482, 'iftakhar.jahan', 262, '2016-06-24', 'iig', 'evening'),
(6483, 'shamim.hassan', 262, '2016-06-24', 'icx', 'evening'),
(6484, 'mir.raihan', 262, '2016-06-24', 'shift_leader', 'night'),
(6485, 'samar.kumar', 262, '2016-06-24', 'sur', 'night'),
(6486, 'akramul.tarafdar', 262, '2016-06-24', 'sur', 'night'),
(6487, 'tanveer.ahmed', 262, '2016-06-24', 'bo', 'night'),
(6488, 'rahul.biswas', 262, '2016-06-24', 'iig', 'night'),
(6489, 'jalal.mahedi', 262, '2016-06-24', 'iig', 'night'),
(6490, 'ashiqur.rahman', 262, '2016-06-24', 'icx', 'night'),
(6503, 'sarbik.sahan', 263, '2016-06-25', 'bo', 'evening'),
(6514, 'sakib.ullah', 264, '2016-06-26', 'shift_leader', 'day'),
(6515, 'nafisa.sayed', 264, '2016-06-26', 'sur', 'day'),
(6516, 'rifat.hasan', 264, '2016-06-26', 'sur', 'day'),
(6517, 'nowrin.karim', 264, '2016-06-26', 'bo', 'day'),
(6518, 'wahidul.ashrafe', 264, '2016-06-26', 'bo', 'day'),
(6519, 'puspita.tapu', 264, '2016-06-26', 'bo', 'day'),
(6520, 'tahsinul.ferdous', 264, '2016-06-26', 'iig', 'day'),
(6521, 'ahsan.zaki', 264, '2016-06-26', 'icx', 'day'),
(6522, 'mahbub.hasan', 264, '2016-06-26', 'shift_leader', 'evening'),
(6523, 'nasrin.akter', 264, '2016-06-26', 'sur', 'evening'),
(6524, 's.majumder', 264, '2016-06-26', 'sur', 'evening'),
(6525, 'sadaf.mahmud', 264, '2016-06-26', 'bo', 'evening'),
(6526, 'iqbal.ahmed', 264, '2016-06-26', 'bo', 'evening'),
(6527, 'sadia.afrin', 264, '2016-06-26', 'iig', 'evening'),
(6528, 'imroze.ahmed', 264, '2016-06-26', 'iig', 'evening'),
(6529, 'rayhan.hossain', 264, '2016-06-26', 'icx', 'evening'),
(6530, 'saeed.naser', 264, '2016-06-26', 'shift_leader', 'night'),
(6531, 'sarbik.sahan', 264, '2016-06-26', 'sur', 'night'),
(6532, 'nazmul.hasan', 264, '2016-06-26', 'sur', 'night'),
(6533, 'maruf.mohammad', 264, '2016-06-26', 'bo', 'night'),
(6534, 'iftakhar.jahan', 264, '2016-06-26', 'iig', 'night'),
(6535, 'shamim.hassan', 264, '2016-06-26', 'icx', 'night'),
(6536, 'sakib.ullah', 265, '2016-06-27', 'shift_leader', 'day'),
(6537, 'nafisa.sayed', 265, '2016-06-27', 'sur', 'day'),
(6538, 'anika.sharmin', 265, '2016-06-27', 'sur', 'day'),
(6539, 'nowrin.karim', 265, '2016-06-27', 'bo', 'day'),
(6540, 'samar.kumar', 265, '2016-06-27', 'bo', 'day'),
(6541, 'tanveer.ahmed', 265, '2016-06-27', 'iig', 'day'),
(6542, 'rahul.biswas', 265, '2016-06-27', 'iig', 'day'),
(6543, 'saiham.rahman', 265, '2016-06-27', 'icx', 'day'),
(6544, 'mahbub.hasan', 265, '2016-06-27', 'shift_leader', 'evening'),
(6545, 'mir.raihan', 265, '2016-06-27', 'shift_leader', 'evening'),
(6546, 'wahidul.ashrafe', 265, '2016-06-27', 'sur', 'evening'),
(6547, 'rifat.hasan', 265, '2016-06-27', 'sur', 'evening'),
(6548, 'iqbal.ahmed', 265, '2016-06-27', 'bo', 'evening'),
(6549, 'puspita.tapu', 265, '2016-06-27', 'bo', 'evening'),
(6550, 'tahsinul.ferdous', 265, '2016-06-27', 'iig', 'evening'),
(6551, 'sadia.afrin', 265, '2016-06-27', 'iig', 'evening'),
(6552, 'rayhan.hossain', 265, '2016-06-27', 'icx', 'evening'),
(6553, 'jalal.mahedi', 265, '2016-06-27', 'icx', 'evening'),
(6554, 'ahsan.zaki', 265, '2016-06-27', 'icx', 'evening'),
(6555, 'sadaf.mahmud', 265, '2016-06-27', 'shift_leader', 'night'),
(6556, 's.majumder', 265, '2016-06-27', 'sur', 'night'),
(6557, 'nazmul.hasan', 265, '2016-06-27', 'sur', 'night'),
(6558, 'sarbik.sahan', 265, '2016-06-27', 'bo', 'night'),
(6559, 'imroze.ahmed', 265, '2016-06-27', 'iig', 'night'),
(6560, 'shamim.hassan', 265, '2016-06-27', 'icx', 'night'),
(6561, 'mir.raihan', 266, '2016-06-28', 'shift_leader', 'day'),
(6562, 'nasrin.akter', 266, '2016-06-28', 'sur', 'day'),
(6563, 'umar.rafaet', 266, '2016-06-28', 'sur', 'day'),
(6564, 'nowrin.karim', 266, '2016-06-28', 'bo', 'day'),
(6565, 'etanvir.ahmed', 266, '2016-06-28', 'bo', 'day'),
(6566, '', 266, '2016-06-28', 'bo', 'day'),
(6567, 'rahul.biswas', 266, '2016-06-28', 'iig', 'day'),
(6568, 'ashiqur.rahman', 266, '2016-06-28', 'icx', 'day'),
(6569, 'sakib.ullah', 266, '2016-06-28', 'shift_leader', 'evening'),
(6570, 'akramul.tarafdar', 266, '2016-06-28', 'sur', 'evening'),
(6571, 'nafisa.sayed', 266, '2016-06-28', 'sur', 'evening'),
(6572, 'rifat.hasan', 266, '2016-06-28', 'sur', 'evening'),
(6573, 'samar.kumar', 266, '2016-06-28', 'bo', 'evening'),
(6574, 'wahidul.ashrafe', 266, '2016-06-28', 'bo', 'evening'),
(6575, 'puspita.tapu', 266, '2016-06-28', 'bo', 'evening'),
(6576, 'tanveer.ahmed', 266, '2016-06-28', 'iig', 'evening'),
(6577, 'sadia.afrin', 266, '2016-06-28', 'iig', 'evening'),
(6578, 'ahsan.zaki', 266, '2016-06-28', 'icx', 'evening'),
(6579, 'saiham.rahman', 266, '2016-06-28', 'icx', 'evening'),
(6580, 'jalal.mahedi', 266, '2016-06-28', 'icx', 'evening'),
(6581, 'mahbub.hasan', 266, '2016-06-28', 'shift_leader', 'night'),
(6582, 'iqbal.ahmed', 266, '2016-06-28', 'sur', 'night'),
(6583, 's.majumder', 266, '2016-06-28', 'sur', 'night'),
(6584, 'sadaf.mahmud', 266, '2016-06-28', 'bo', 'night'),
(6585, 'tahsinul.ferdous', 266, '2016-06-28', 'iig', 'night'),
(6586, 'rayhan.hossain', 266, '2016-06-28', 'icx', 'night'),
(6587, 'mir.raihan', 267, '2016-06-29', 'shift_leader', 'day'),
(6588, 'saeed.naser', 267, '2016-06-29', 'shift_leader', 'day'),
(6589, 'nasrin.akter', 267, '2016-06-29', 'sur', 'day'),
(6590, 'anika.sharmin', 267, '2016-06-29', 'sur', 'day'),
(6591, 'etanvir.ahmed', 267, '2016-06-29', 'bo', 'day'),
(6592, 'maruf.mohammad', 267, '2016-06-29', 'bo', 'day'),
(6593, 'iftakhar.jahan', 267, '2016-06-29', 'iig', 'day'),
(6594, 'ashiqur.rahman', 267, '2016-06-29', 'icx', 'day'),
(6595, 'sakib.ullah', 267, '2016-06-29', 'shift_leader', 'evening'),
(6596, 'nafisa.sayed', 267, '2016-06-29', 'sur', 'evening'),
(6597, 'akramul.tarafdar', 267, '2016-06-29', 'sur', 'evening'),
(6598, 'nowrin.karim', 267, '2016-06-29', 'bo', 'evening'),
(6599, 'samar.kumar', 267, '2016-06-29', 'bo', 'evening'),
(6600, 'umar.rafaet', 267, '2016-06-29', 'bo', 'evening'),
(6601, 'rahul.biswas', 267, '2016-06-29', 'iig', 'evening'),
(6602, 'tanveer.ahmed', 267, '2016-06-29', 'iig', 'evening'),
(6603, 'saiham.rahman', 267, '2016-06-29', 'icx', 'evening'),
(6604, 'mahbub.hasan', 267, '2016-06-29', 'shift_leader', 'night'),
(6605, 'rifat.hasan', 267, '2016-06-29', 'sur', 'night'),
(6606, 'wahidul.ashrafe', 267, '2016-06-29', 'sur', 'night'),
(6607, 'iqbal.ahmed', 267, '2016-06-29', 'bo', 'night'),
(6608, 'tahsinul.ferdous', 267, '2016-06-29', 'iig', 'night'),
(6609, 'ahsan.zaki', 267, '2016-06-29', 'icx', 'night'),
(6628, 'rifat.hasan', 268, '2016-06-30', 'sur', 'night'),
(6656, 'mahbub.hasan', 256, '2016-06-18', 'shift_leader', 'day'),
(6657, 'nafisa.sayed', 256, '2016-06-18', 'sur', 'day'),
(6658, 'sadia.afrin', 256, '2016-06-18', 'sur', 'day'),
(6659, 'nazmul.hasan', 256, '2016-06-18', 'bo', 'day'),
(6660, 'puspita.tapu', 256, '2016-06-18', 'bo', 'day'),
(6661, 'iqbal.ahmed', 256, '2016-06-18', 'bo', 'day'),
(6662, 'tahsinul.ferdous', 256, '2016-06-18', 'iig', 'day'),
(6663, 'ahsan.zaki', 256, '2016-06-18', 'icx', 'day'),
(6664, 'saiham.rahman', 256, '2016-06-18', 'icx', 'day'),
(6665, 'sadaf.mahmud', 256, '2016-06-18', 'shift_leader', 'evening'),
(6666, 'nasrin.akter', 256, '2016-06-18', 'sur', 'evening'),
(6667, 's.majumder', 256, '2016-06-18', 'sur', 'evening'),
(6668, 'sarbik.sahan', 256, '2016-06-18', 'bo', 'evening'),
(6669, 'maruf.mohammad', 256, '2016-06-18', 'bo', 'evening'),
(6670, 'imroze.ahmed', 256, '2016-06-18', 'iig', 'evening'),
(6671, 'shamim.hassan', 256, '2016-06-18', 'icx', 'evening'),
(6672, 'rayhan.hossain', 256, '2016-06-18', 'icx', 'evening'),
(6673, 'saeed.naser', 256, '2016-06-18', 'shift_leader', 'night'),
(6674, 'umar.rafaet', 256, '2016-06-18', 'sur', 'night'),
(6675, 'akramul.tarafdar', 256, '2016-06-18', 'sur', 'night'),
(6676, 'etanvir.ahmed', 256, '2016-06-18', 'bo', 'night'),
(6677, 'iftakhar.jahan', 256, '2016-06-18', 'iig', 'night'),
(6678, 'ashiqur.rahman', 256, '2016-06-18', 'icx', 'night'),
(6682, 'nowrin.karim', 257, '2016-06-19', 'bo', 'day'),
(6700, 'sakib.ullah', 257, '2016-06-19', 'shift_leader', 'day'),
(6701, 'nafisa.sayed', 257, '2016-06-19', 'sur', 'day'),
(6702, 'wahidul.ashrafe', 257, '2016-06-19', 'sur', 'day'),
(6703, 'nowrin.karim', 257, '2016-06-19', 'bo', 'day'),
(6704, 'puspita.tapu', 257, '2016-06-19', 'bo', 'day'),
(6705, 'sadia.afrin', 257, '2016-06-19', 'iig', 'day'),
(6706, 'ahsan.zaki', 257, '2016-06-19', 'icx', 'day'),
(6707, 'mahbub.hasan', 257, '2016-06-19', 'shift_leader', 'evening'),
(6708, 'nasrin.akter', 257, '2016-06-19', 'sur', 'evening'),
(6709, 's.majumder', 257, '2016-06-19', 'sur', 'evening'),
(6710, 'rifat.hasan', 257, '2016-06-19', 'sur', 'evening'),
(6711, 'sadaf.mahmud', 257, '2016-06-19', 'bo', 'evening'),
(6712, 'iqbal.ahmed', 257, '2016-06-19', 'bo', 'evening'),
(6713, 'imroze.ahmed', 257, '2016-06-19', 'iig', 'evening'),
(6714, 'rayhan.hossain', 257, '2016-06-19', 'icx', 'evening'),
(6715, 'saeed.naser', 257, '2016-06-19', 'shift_leader', 'night'),
(6716, 'sarbik.sahan', 257, '2016-06-19', 'sur', 'night'),
(6717, 'nazmul.hasan', 257, '2016-06-19', 'sur', 'night'),
(6718, 'maruf.mohammad', 257, '2016-06-19', 'bo', 'night'),
(6719, 'iftakhar.jahan', 257, '2016-06-19', 'iig', 'night'),
(6720, 'shamim.hassan', 257, '2016-06-19', 'icx', 'night'),
(6721, 'mir.raihan', 259, '2016-06-21', 'shift_leader', 'day'),
(6722, 'nasrin.akter', 259, '2016-06-21', 'sur', 'day'),
(6723, 'umar.rafaet', 259, '2016-06-21', 'sur', 'day'),
(6724, 'nowrin.karim', 259, '2016-06-21', 'bo', 'day'),
(6725, 'etanvir.ahmed', 259, '2016-06-21', 'bo', 'day'),
(6726, 'anika.sharmin', 259, '2016-06-21', 'bo', 'day'),
(6727, 'rahul.biswas', 259, '2016-06-21', 'iig', 'day'),
(6728, 'ashiqur.rahman', 259, '2016-06-21', 'icx', 'day'),
(6729, 'sakib.ullah', 259, '2016-06-21', 'shift_leader', 'evening'),
(6730, 'akramul.tarafdar', 259, '2016-06-21', 'sur', 'evening'),
(6731, 'nafisa.sayed', 259, '2016-06-21', 'sur', 'evening'),
(6732, 'rifat.hasan', 259, '2016-06-21', 'sur', 'evening'),
(6733, 'samar.kumar', 259, '2016-06-21', 'bo', 'evening'),
(6734, 'wahidul.ashrafe', 259, '2016-06-21', 'bo', 'evening'),
(6735, 'puspita.tapu', 259, '2016-06-21', 'bo', 'evening'),
(6736, 'tanveer.ahmed', 259, '2016-06-21', 'iig', 'evening'),
(6737, 'sadia.afrin', 259, '2016-06-21', 'iig', 'evening'),
(6738, 'saiham.rahman', 259, '2016-06-21', 'icx', 'evening'),
(6739, 'mahbub.hasan', 259, '2016-06-21', 'shift_leader', 'night'),
(6740, 'iqbal.ahmed', 259, '2016-06-21', 'sur', 'night'),
(6741, 's.majumder', 259, '2016-06-21', 'sur', 'night'),
(6742, 'sadaf.mahmud', 259, '2016-06-21', 'bo', 'night'),
(6743, 'tahsinul.ferdous', 259, '2016-06-21', 'iig', 'night'),
(6744, 'rayhan.hossain', 259, '2016-06-21', 'icx', 'night'),
(6745, 'mahbub.hasan', 263, '2016-06-25', 'shift_leader', 'day'),
(6746, 'nafisa.sayed', 263, '2016-06-25', 'sur', 'day'),
(6747, 'sadia.afrin', 263, '2016-06-25', 'sur', 'day'),
(6748, 'nazmul.hasan', 263, '2016-06-25', 'bo', 'day'),
(6749, 'puspita.tapu', 263, '2016-06-25', 'bo', 'day'),
(6750, 'iqbal.ahmed', 263, '2016-06-25', 'bo', 'day'),
(6751, 'tahsinul.ferdous', 263, '2016-06-25', 'iig', 'day'),
(6752, 'rayhan.hossain', 263, '2016-06-25', 'icx', 'day'),
(6753, 'ahsan.zaki', 263, '2016-06-25', 'icx', 'day'),
(6754, 'sadaf.mahmud', 263, '2016-06-25', 'shift_leader', 'evening'),
(6755, 'nasrin.akter', 263, '2016-06-25', 'sur', 'evening'),
(6756, 's.majumder', 263, '2016-06-25', 'sur', 'evening'),
(6758, 'maruf.mohammad', 263, '2016-06-25', 'bo', 'evening'),
(6759, 'imroze.ahmed', 263, '2016-06-25', 'iig', 'evening'),
(6760, 'shamim.hassan', 263, '2016-06-25', 'icx', 'evening'),
(6761, 'saiham.rahman', 263, '2016-06-25', 'icx', 'evening'),
(6762, 'saeed.naser', 263, '2016-06-25', 'shift_leader', 'night'),
(6763, 'umar.rafaet', 263, '2016-06-25', 'sur', 'night'),
(6764, 'akramul.tarafdar', 263, '2016-06-25', 'sur', 'night'),
(6765, 'samar.kumar', 263, '2016-06-25', 'bo', 'night'),
(6766, 'iftakhar.jahan', 263, '2016-06-25', 'iig', 'night'),
(6767, 'ashiqur.rahman', 263, '2016-06-25', 'icx', 'night'),
(6773, 'imroze.ahmed', 269, '2016-07-01', 'iig', 'day'),
(6787, 'rahul.biswas', 269, '2016-07-01', 'iig', 'night'),
(6793, 'nazmul.hasan', 270, '2016-07-02', 'bo', 'day'),
(6797, 'rayhan.hossain', 270, '2016-07-02', 'icx', 'day'),
(6802, 'sarbik.sahan', 270, '2016-07-02', 'bo', 'evening'),
(6805, 'shamim.hassan', 270, '2016-07-02', 'icx', 'evening'),
(6843, 'mahbub.hasan', 272, '2016-07-04', 'shift_leader', 'evening'),
(6849, 'tahsinul.ferdous', 272, '2016-07-04', 'iig', 'evening'),
(6851, 'rayhan.hossain', 272, '2016-07-04', 'icx', 'evening'),
(6852, 'jalal.mahedi', 272, '2016-07-04', 'icx', 'evening'),
(6868, 'akramul.tarafdar', 273, '2016-07-05', 'sur', 'evening'),
(6871, 'samar.kumar', 273, '2016-07-05', 'bo', 'evening'),
(6874, 'tanveer.ahmed', 273, '2016-07-05', 'iig', 'evening'),
(6876, 'ahsan.zaki', 273, '2016-07-05', 'icx', 'evening'),
(6877, 'saiham.rahman', 273, '2016-07-05', 'icx', 'evening'),
(6880, 'iqbal.ahmed', 273, '2016-07-05', 'sur', 'night'),
(6885, 'mir.raihan', 274, '2016-07-06', 'shift_leader', 'day'),
(6889, 'etanvir.ahmed', 274, '2016-07-06', 'bo', 'day'),
(6896, 'nowrin.karim', 274, '2016-07-06', 'bo', 'evening'),
(6897, 'samar.kumar', 274, '2016-07-06', 'bo', 'evening'),
(6899, 'rahul.biswas', 274, '2016-07-06', 'iig', 'evening'),
(6903, 'rifat.hasan', 274, '2016-07-06', 'sur', 'night'),
(6911, 'sarbik.sahan', 275, '2016-07-07', 'bo', 'day'),
(6914, 'imroze.ahmed', 275, '2016-07-07', 'iig', 'day'),
(6920, 'nowrin.karim', 275, '2016-07-07', 'bo', 'evening'),
(6922, 'iftakhar.jahan', 275, '2016-07-07', 'iig', 'evening'),
(6926, 'rifat.hasan', 275, '2016-07-07', 'sur', 'night'),
(6936, 'imroze.ahmed', 276, '2016-07-08', 'iig', 'day'),
(6942, 'etanvir.ahmed', 276, '2016-07-08', 'bo', 'evening'),
(6947, 'samar.kumar', 276, '2016-07-08', 'sur', 'night'),
(6950, 'rahul.biswas', 276, '2016-07-08', 'iig', 'night'),
(6956, 'nazmul.hasan', 277, '2016-07-09', 'bo', 'day'),
(6960, 'rayhan.hossain', 277, '2016-07-09', 'icx', 'day'),
(6965, 'sarbik.sahan', 277, '2016-07-09', 'bo', 'evening'),
(6968, 'shamim.hassan', 277, '2016-07-09', 'icx', 'evening'),
(6971, 'umar.rafaet', 277, '2016-07-09', 'sur', 'night'),
(6979, 'nowrin.karim', 278, '2016-07-10', 'bo', 'day'),
(6987, 'sadaf.mahmud', 278, '2016-07-10', 'bo', 'evening'),
(6989, 'sadia.afrin', 278, '2016-07-10', 'iig', 'evening'),
(6993, 'sarbik.sahan', 278, '2016-07-10', 'sur', 'night'),
(7003, 'tanveer.ahmed', 279, '2016-07-11', 'iig', 'day'),
(7006, 'mahbub.hasan', 279, '2016-07-11', 'shift_leader', 'evening'),
(7012, 'tahsinul.ferdous', 279, '2016-07-11', 'iig', 'evening'),
(7014, 'rayhan.hossain', 279, '2016-07-11', 'icx', 'evening'),
(7015, 'jalal.mahedi', 279, '2016-07-11', 'icx', 'evening'),
(7018, 's.majumder', 279, '2016-07-11', 'sur', 'night'),
(7031, 'akramul.tarafdar', 280, '2016-07-12', 'sur', 'evening'),
(7034, 'samar.kumar', 280, '2016-07-12', 'bo', 'evening'),
(7035, 'wahidul.ashrafe', 280, '2016-07-12', 'bo', 'evening'),
(7037, 'tanveer.ahmed', 280, '2016-07-12', 'iig', 'evening'),
(7039, 'ahsan.zaki', 280, '2016-07-12', 'icx', 'evening'),
(7040, 'saiham.rahman', 280, '2016-07-12', 'icx', 'evening'),
(7043, 'iqbal.ahmed', 280, '2016-07-12', 'sur', 'night'),
(7048, 'mir.raihan', 281, '2016-07-13', 'shift_leader', 'day'),
(7059, 'nowrin.karim', 281, '2016-07-13', 'bo', 'evening'),
(7060, 'samar.kumar', 281, '2016-07-13', 'bo', 'evening'),
(7062, 'rahul.biswas', 281, '2016-07-13', 'iig', 'evening'),
(7066, 'rifat.hasan', 281, '2016-07-13', 'sur', 'night'),
(7074, 'sarbik.sahan', 282, '2016-07-14', 'bo', 'day'),
(7077, 'imroze.ahmed', 282, '2016-07-14', 'iig', 'day'),
(7083, 'nowrin.karim', 282, '2016-07-14', 'bo', 'evening'),
(7085, 'iftakhar.jahan', 282, '2016-07-14', 'iig', 'evening'),
(7089, 'rifat.hasan', 282, '2016-07-14', 'sur', 'night'),
(7099, 'imroze.ahmed', 283, '2016-07-15', 'iig', 'day'),
(7105, 'etanvir.ahmed', 283, '2016-07-15', 'bo', 'evening'),
(7110, 'samar.kumar', 283, '2016-07-15', 'sur', 'night'),
(7113, 'rahul.biswas', 283, '2016-07-15', 'iig', 'night'),
(7119, 'nazmul.hasan', 284, '2016-07-16', 'bo', 'day'),
(7128, 'sarbik.sahan', 284, '2016-07-16', 'bo', 'evening'),
(7131, 'shamim.hassan', 284, '2016-07-16', 'icx', 'evening'),
(7134, 'umar.rafaet', 284, '2016-07-16', 'sur', 'night'),
(7142, 'nowrin.karim', 285, '2016-07-17', 'bo', 'day'),
(7156, 'sarbik.sahan', 285, '2016-07-17', 'sur', 'night'),
(7177, 'rayhan.hossain', 286, '2016-07-18', 'icx', 'evening'),
(7194, 'akramul.tarafdar', 287, '2016-07-19', 'sur', 'evening'),
(7197, 'samar.kumar', 287, '2016-07-19', 'bo', 'evening'),
(7202, 'ahsan.zaki', 287, '2016-07-19', 'icx', 'evening'),
(7203, 'saiham.rahman', 287, '2016-07-19', 'icx', 'evening'),
(7222, 'nowrin.karim', 288, '2016-07-20', 'bo', 'evening'),
(7240, 'imroze.ahmed', 289, '2016-07-21', 'iig', 'day'),
(7276, 'rahul.biswas', 290, '2016-07-22', 'iig', 'night'),
(7487, 'saeed.naser', 269, '2016-07-01', 'shift_leader', 'day'),
(7488, 'rifat.hasan', 269, '2016-07-01', 'sur', 'day'),
(7489, 'sadia.afrin', 269, '2016-07-01', 'sur', 'day'),
(7490, 'puspita.tapu', 269, '2016-07-01', 'bo', 'day'),
(7491, 'anika.sharmin', 269, '2016-07-01', 'bo', 'day'),
(7492, 'imroze.ahmed', 269, '2016-07-01', 'iig', 'day'),
(7493, 'rayhan.hossain', 269, '2016-07-01', 'icx', 'day'),
(7494, 'sadaf.mahmud', 269, '2016-07-01', 'shift_leader', 'evening'),
(7495, 'umar.rafaet', 269, '2016-07-01', 'sur', 'evening'),
(7496, 's.majumder', 269, '2016-07-01', 'sur', 'evening'),
(7497, 'maruf.mohammad', 269, '2016-07-01', 'bo', 'evening'),
(7498, 'sarbik.sahan', 269, '2016-07-01', 'bo', 'evening'),
(7499, 'iftakhar.jahan', 269, '2016-07-01', 'iig', 'evening'),
(7500, 'shamim.hassan', 269, '2016-07-01', 'icx', 'evening'),
(7501, 'mir.raihan', 269, '2016-07-01', 'shift_leader', 'night'),
(7502, 'akramul.tarafdar', 269, '2016-07-01', 'sur', 'night'),
(7503, 'iqbal.ahmed', 269, '2016-07-01', 'sur', 'night'),
(7504, 'samar.kumar', 269, '2016-07-01', 'bo', 'night'),
(7505, 'rahul.biswas', 269, '2016-07-01', 'iig', 'night'),
(7506, 'ashiqur.rahman', 269, '2016-07-01', 'icx', 'night'),
(7507, 'mahbub.hasan', 270, '2016-07-02', 'shift_leader', 'day'),
(7508, 'nafisa.sayed', 270, '2016-07-02', 'sur', 'day'),
(7509, 'rifat.hasan', 270, '2016-07-02', 'sur', 'day'),
(7510, 'puspita.tapu', 270, '2016-07-02', 'bo', 'day'),
(7511, 'etanvir.ahmed', 270, '2016-07-02', 'bo', 'day'),
(7512, 'tahsinul.ferdous', 270, '2016-07-02', 'iig', 'day'),
(7513, 'sadia.afrin', 270, '2016-07-02', 'iig', 'day'),
(7514, 'ahsan.zaki', 270, '2016-07-02', 'icx', 'day'),
(7515, 'sadaf.mahmud', 270, '2016-07-02', 'shift_leader', 'evening'),
(7516, 'nasrin.akter', 270, '2016-07-02', 'sur', 'evening'),
(7517, 's.majumder', 270, '2016-07-02', 'sur', 'evening'),
(7519, 'maruf.mohammad', 270, '2016-07-02', 'bo', 'evening'),
(7520, 'imroze.ahmed', 270, '2016-07-02', 'iig', 'evening'),
(7521, 'shamim.hassan', 270, '2016-07-02', 'icx', 'evening'),
(7522, 'saeed.naser', 270, '2016-07-02', 'shift_leader', 'night'),
(7523, 'umar.rafaet', 270, '2016-07-02', 'sur', 'night'),
(7524, 'akramul.tarafdar', 270, '2016-07-02', 'sur', 'night'),
(7525, 'iqbal.ahmed', 270, '2016-07-02', 'bo', 'night'),
(7526, 'iftakhar.jahan', 270, '2016-07-02', 'iig', 'night'),
(7527, 'ashiqur.rahman', 270, '2016-07-02', 'icx', 'night'),
(7555, 'tanveer.ahmed', 272, '2016-07-04', 'iig', 'day'),
(7591, 'saeed.naser', 274, '2016-07-06', 'shift_leader', 'day'),
(7592, 'anika.sharmin', 274, '2016-07-06', 'sur', 'day'),
(7593, 'rifat.hasan', 274, '2016-07-06', 'sur', 'day'),
(7594, 'biplob.barua', 274, '2016-07-06', 'bo', 'day'),
(7595, 'imroze.ahmed', 274, '2016-07-06', 'iig', 'day'),
(7596, 'rayhan.hossain', 274, '2016-07-06', 'icx', 'day'),
(7597, 'saeed.naser', 274, '2016-07-06', 'shift_leader', 'evening'),
(7598, 'nafisa.sayed', 274, '2016-07-06', 'sur', 'evening'),
(7599, 'samar.kumar', 274, '2016-07-06', 'sur', 'evening'),
(7600, 'maruf.mohammad', 274, '2016-07-06', 'bo', 'evening'),
(7601, 'rahul.biswas', 274, '2016-07-06', 'iig', 'evening'),
(7602, 'saiham.rahman', 274, '2016-07-06', 'icx', 'evening'),
(7603, 'mahbub.hasan', 274, '2016-07-06', 'shift_leader', 'night'),
(7604, 'umar.rafaet', 274, '2016-07-06', 'sur', 'night'),
(7605, 'iqbal.ahmed', 274, '2016-07-06', 'bo', 'night'),
(7606, 'iftakhar.jahan', 274, '2016-07-06', 'iig', 'night'),
(7607, 'shamim.hassan', 274, '2016-07-06', 'icx', 'night'),
(7608, 'saeed.naser', 275, '2016-07-07', 'shift_leader', 'day'),
(7609, 'anika.sharmin', 275, '2016-07-07', 'sur', 'day'),
(7610, 'rifat.hasan', 275, '2016-07-07', 'sur', 'day'),
(7611, 'puspita.tapu', 275, '2016-07-07', 'bo', 'day'),
(7612, 'biplob.barua', 275, '2016-07-07', 'bo', 'day'),
(7613, 'imroze.ahmed', 275, '2016-07-07', 'iig', 'day'),
(7614, 'rayhan.hossain', 275, '2016-07-07', 'icx', 'day'),
(7615, 'sadaf.mahmud', 275, '2016-07-07', 'shift_leader', 'evening'),
(7616, 'akramul.tarafdar', 275, '2016-07-07', 'sur', 'evening'),
(7617, 'nafisa.sayed', 275, '2016-07-07', 'sur', 'evening'),
(7618, 'sarbik.sahan', 275, '2016-07-07', 'bo', 'evening'),
(7619, 'rahul.biswas', 275, '2016-07-07', 'iig', 'evening'),
(7620, 'saiham.rahman', 275, '2016-07-07', 'icx', 'evening'),
(7621, 'mahbub.hasan', 275, '2016-07-07', 'shift_leader', 'night'),
(7622, 'samar.kumar', 275, '2016-07-07', 'sur', 'night'),
(7623, 'maruf.mohammad', 275, '2016-07-07', 'bo', 'night'),
(7624, 'iftakhar.jahan', 275, '2016-07-07', 'iig', 'night'),
(7625, 'shamim.hassan', 275, '2016-07-07', 'icx', 'night'),
(7626, 'saeed.naser', 276, '2016-07-08', 'shift_leader', 'day'),
(7627, 's.majumder', 276, '2016-07-08', 'sur', 'day'),
(7628, 'akramul.tarafdar', 276, '2016-07-08', 'sur', 'day'),
(7629, 'puspita.tapu', 276, '2016-07-08', 'bo', 'day'),
(7630, 'anika.sharmin', 276, '2016-07-08', 'bo', 'day'),
(7631, 'imroze.ahmed', 276, '2016-07-08', 'iig', 'day'),
(7632, 'saiham.rahman', 276, '2016-07-08', 'icx', 'day'),
(7633, 'sadaf.mahmud', 276, '2016-07-08', 'shift_leader', 'evening'),
(7634, 'umar.rafaet', 276, '2016-07-08', 'sur', 'evening'),
(7635, 'rifat.hasan', 276, '2016-07-08', 'sur', 'evening'),
(7636, 'sarbik.sahan', 276, '2016-07-08', 'bo', 'evening'),
(7637, 'rahul.biswas', 276, '2016-07-08', 'iig', 'evening'),
(7638, 'shamim.hassan', 276, '2016-07-08', 'icx', 'evening'),
(7639, 'mahbub.hasan', 276, '2016-07-08', 'shift_leader', 'night'),
(7640, 'iqbal.ahmed', 276, '2016-07-08', 'sur', 'night'),
(7641, 'maruf.mohammad', 276, '2016-07-08', 'bo', 'night'),
(7642, 'iftakhar.jahan', 276, '2016-07-08', 'iig', 'night'),
(7643, 'rayhan.hossain', 276, '2016-07-08', 'icx', 'night'),
(7644, 'emtiaz.hossain', 277, '2016-07-09', 'shift_leader', 'day'),
(7645, 'nafisa.sayed', 277, '2016-07-09', 'sur', 'day'),
(7646, 'nasrin.akter', 277, '2016-07-09', 'sur', 'day'),
(7647, 'puspita.tapu', 277, '2016-07-09', 'bo', 'day'),
(7648, 'trina.majumder', 277, '2016-07-09', 'bo', 'day'),
(7649, 'imroze.ahmed', 277, '2016-07-09', 'iig', 'day'),
(7650, 'saiham.rahman', 277, '2016-07-09', 'icx', 'day'),
(7651, 'sadaf.mahmud', 277, '2016-07-09', 'shift_leader', 'evening'),
(7652, 's.majumder', 277, '2016-07-09', 'sur', 'evening'),
(7653, 'biplob.barua', 277, '2016-07-09', 'sur', 'evening'),
(7654, 'sarbik.sahan', 277, '2016-07-09', 'bo', 'evening'),
(7655, 'iftakhar.jahan', 277, '2016-07-09', 'iig', 'evening'),
(7656, 'shamim.hassan', 277, '2016-07-09', 'icx', 'evening'),
(7657, 'saeed.naser', 277, '2016-07-09', 'shift_leader', 'night'),
(7658, 'rifat.hasan', 277, '2016-07-09', 'sur', 'night'),
(7659, 'iqbal.ahmed', 277, '2016-07-09', 'bo', 'night'),
(7660, 'rahul.biswas', 277, '2016-07-09', 'iig', 'night'),
(7661, 'ahsan.zaki', 277, '2016-07-09', 'icx', 'night'),
(7662, 'emtiaz.hossain', 278, '2016-07-10', 'shift_leader', 'day'),
(7663, 'nafisa.sayed', 278, '2016-07-10', 'sur', 'day'),
(7664, 'nasrin.akter', 278, '2016-07-10', 'sur', 'day'),
(7665, 'wahidul.ashrafe', 278, '2016-07-10', 'bo', 'day'),
(7666, 'etanvir.ahmed', 278, '2016-07-10', 'bo', 'day'),
(7667, 'iftakhar.jahan', 278, '2016-07-10', 'iig', 'day'),
(7668, 'rayhan.hossain', 278, '2016-07-10', 'icx', 'day'),
(7669, 'sadaf.mahmud', 278, '2016-07-10', 'shift_leader', 'evening'),
(7670, 's.majumder', 278, '2016-07-10', 'sur', 'evening'),
(7671, 'biplob.barua', 278, '2016-07-10', 'sur', 'evening'),
(7672, 'maruf.mohammad', 278, '2016-07-10', 'bo', 'evening'),
(7673, 'imroze.ahmed', 278, '2016-07-10', 'iig', 'evening'),
(7674, 'shamim.hassan', 278, '2016-07-10', 'icx', 'evening'),
(7675, 'saeed.naser', 278, '2016-07-10', 'shift_leader', 'night'),
(7676, 'iqbal.ahmed', 278, '2016-07-10', 'sur', 'night'),
(7677, 'sarbik.sahan', 278, '2016-07-10', 'bo', 'night'),
(7678, 'rahul.biswas', 278, '2016-07-10', 'iig', 'night'),
(7679, 'ahsan.zaki', 278, '2016-07-10', 'icx', 'night'),
(7680, 'sakib.ullah', 279, '2016-07-11', 'shift_leader', 'day'),
(7681, 'nafisa.sayed', 279, '2016-07-11', 'sur', 'day'),
(7682, 'nazmul.hasan', 279, '2016-07-11', 'sur', 'day'),
(7683, 'nowrin.karim', 279, '2016-07-11', 'bo', 'day'),
(7684, 'samar.kumar', 279, '2016-07-11', 'bo', 'day'),
(7685, 'sadia.afrin', 279, '2016-07-11', 'iig', 'day'),
(7686, 'ashiqur.rahman', 279, '2016-07-11', 'icx', 'day'),
(7687, 'mahbub.hasan', 279, '2016-07-11', 'shift_leader', 'evening'),
(7688, 'wahidul.ashrafe', 279, '2016-07-11', 'sur', 'evening'),
(7689, 'nasrin.akter', 279, '2016-07-11', 'sur', 'evening'),
(7690, 'maruf.mohammad', 279, '2016-07-11', 'bo', 'evening'),
(7691, 'samar.kumar', 279, '2016-07-11', 'bo', 'evening'),
(7692, 'tahsinul.ferdous', 279, '2016-07-11', 'iig', 'evening'),
(7693, 'rayhan.hossain', 279, '2016-07-11', 'icx', 'evening'),
(7694, 'sadaf.mahmud', 279, '2016-07-11', 'shift_leader', 'night'),
(7695, 's.majumder', 279, '2016-07-11', 'sur', 'night'),
(7696, 'sarbik.sahan', 279, '2016-07-11', 'bo', 'night'),
(7697, 'tanveer.ahmed', 279, '2016-07-11', 'iig', 'night'),
(7698, 'ahsan.zaki', 279, '2016-07-11', 'icx', 'night'),
(7717, 'saeed.naser', 281, '2016-07-13', 'shift_leader', 'day'),
(7718, 'rifat.hasan', 281, '2016-07-13', 'sur', 'day'),
(7719, 'akramul.tarafdar', 281, '2016-07-13', 'sur', 'day'),
(7720, 'nowrin.karim', 281, '2016-07-13', 'bo', 'day'),
(7721, 'puspita.tapu', 281, '2016-07-13', 'bo', 'day'),
(7722, 'rahul.biswas', 281, '2016-07-13', 'iig', 'day'),
(7723, 'shamim.hassan', 281, '2016-07-13', 'icx', 'day'),
(7724, 'mir.raihan', 281, '2016-07-13', 'shift_leader', 'evening'),
(7725, 'nasrin.akter', 281, '2016-07-13', 'sur', 'evening'),
(7726, 'nazmul.hasan', 281, '2016-07-13', 'sur', 'evening'),
(7727, 'etanvir.ahmed', 281, '2016-07-13', 'bo', 'evening'),
(7728, 'sadia.afrin', 281, '2016-07-13', 'iig', 'evening'),
(7729, 'ashiqur.rahman', 281, '2016-07-13', 'icx', 'evening'),
(7730, 'sakib.ullah', 281, '2016-07-13', 'shift_leader', 'night'),
(7731, 'wahidul.ashrafe', 281, '2016-07-13', 'sur', 'night'),
(7732, 'samar.kumar', 281, '2016-07-13', 'bo', 'night'),
(7733, 'tahsinul.ferdous', 281, '2016-07-13', 'iig', 'night'),
(7734, 'ahsan.zaki', 281, '2016-07-13', 'icx', 'night'),
(7735, 'saeed.naser', 282, '2016-07-14', 'shift_leader', 'day'),
(7736, 'nafisa.sayed', 282, '2016-07-14', 'sur', 'day'),
(7737, 'akramul.tarafdar', 282, '2016-07-14', 'sur', 'day'),
(7738, 'puspita.tapu', 282, '2016-07-14', 'bo', 'day'),
(7739, 'umar.rafaet', 282, '2016-07-14', 'bo', 'day'),
(7740, 'tanveer.ahmed', 282, '2016-07-14', 'iig', 'day'),
(7741, 'shamim.hassan', 282, '2016-07-14', 'icx', 'day'),
(7742, 'mir.raihan', 282, '2016-07-14', 'shift_leader', 'evening'),
(7743, 'nazmul.hasan', 282, '2016-07-14', 'sur', 'evening'),
(7744, 'rifat.hasan', 282, '2016-07-14', 'sur', 'evening'),
(7745, 'nowrin.karim', 282, '2016-07-14', 'bo', 'evening'),
(7746, 'rahul.biswas', 282, '2016-07-14', 'iig', 'evening'),
(7747, 'ashiqur.rahman', 282, '2016-07-14', 'icx', 'evening'),
(7748, 'sakib.ullah', 282, '2016-07-14', 'shift_leader', 'night'),
(7749, 'wahidul.ashrafe', 282, '2016-07-14', 'sur', 'night'),
(7750, 'etanvir.ahmed', 282, '2016-07-14', 'bo', 'night'),
(7751, 'tahsinul.ferdous', 282, '2016-07-14', 'iig', 'night'),
(7752, 'ahsan.zaki', 282, '2016-07-14', 'icx', 'night'),
(7776, 'tahsinul.ferdous', 284, '2016-07-16', 'iig', 'day'),
(7804, 'sadia.afrin', 285, '2016-07-17', 'iig', 'evening'),
(7825, 'tahsinul.ferdous', 286, '2016-07-18', 'iig', 'evening'),
(7858, 'sakib.ullah', 272, '2016-07-04', 'shift_leader', 'day'),
(7859, 'nafisa.sayed', 272, '2016-07-04', 'sur', 'day'),
(7860, 'anika.sharmin', 272, '2016-07-04', 'sur', 'day'),
(7861, 'nowrin.karim', 272, '2016-07-04', 'bo', 'day'),
(7862, 'etanvir.ahmed', 272, '2016-07-04', 'bo', 'day'),
(7863, 'rahul.biswas', 272, '2016-07-04', 'iig', 'day'),
(7864, 'saiham.rahman', 272, '2016-07-04', 'icx', 'day'),
(7865, 'sakib.ullah', 272, '2016-07-04', 'shift_leader', 'evening'),
(7866, 'sadia.afrin', 272, '2016-07-04', 'sur', 'evening'),
(7867, 'puspita.tapu', 272, '2016-07-04', 'sur', 'evening'),
(7868, 'samar.kumar', 272, '2016-07-04', 'bo', 'evening'),
(7869, 'nazmul.hasan', 272, '2016-07-04', 'bo', 'evening'),
(7870, 'tahsinul.ferdous', 272, '2016-07-04', 'iig', 'evening'),
(7871, 'rayhan.hossain', 272, '2016-07-04', 'icx', 'evening'),
(7872, 'sadaf.mahmud', 272, '2016-07-04', 'shift_leader', 'night'),
(7873, 's.majumder', 272, '2016-07-04', 'sur', 'night'),
(7874, 'rifat.hasan', 272, '2016-07-04', 'sur', 'night'),
(7875, 'sarbik.sahan', 272, '2016-07-04', 'bo', 'night'),
(7876, 'imroze.ahmed', 272, '2016-07-04', 'iig', 'night'),
(7877, 'shamim.hassan', 272, '2016-07-04', 'icx', 'night'),
(7898, 'mir.raihan', 288, '2016-07-20', 'shift_leader', 'day'),
(7943, 'saeed.naser', 287, '2016-07-19', 'shift_leader', 'day'),
(7944, 'iqbal.ahmed', 287, '2016-07-19', 'sur', 'day'),
(7945, 'umar.rafaet', 287, '2016-07-19', 'sur', 'day'),
(7946, 'akramul.tarafdar', 287, '2016-07-19', 'sur', 'day'),
(7947, 'nowrin.karim', 287, '2016-07-19', 'bo', 'day'),
(7948, 'nasrin.akter', 287, '2016-07-19', 'bo', 'day'),
(7949, 'anika.sharmin', 287, '2016-07-19', 'bo', 'day'),
(7950, 'rahul.biswas', 287, '2016-07-19', 'iig', 'day'),
(7951, 'ashiqur.rahman', 287, '2016-07-19', 'icx', 'day'),
(7952, 'sakib.ullah', 287, '2016-07-19', 'shift_leader', 'evening'),
(7953, 'puspita.tapu', 287, '2016-07-19', 'sur', 'evening'),
(7954, 'wahidul.ashrafe', 287, '2016-07-19', 'sur', 'evening'),
(7955, 'samar.kumar', 287, '2016-07-19', 'bo', 'evening'),
(7956, 'nazmul.hasan', 287, '2016-07-19', 'bo', 'evening'),
(7957, 'tanveer.ahmed', 287, '2016-07-19', 'iig', 'evening'),
(7958, 'sadia.afrin', 287, '2016-07-19', 'iig', 'evening'),
(7959, 'saiham.rahman', 287, '2016-07-19', 'icx', 'evening'),
(7960, 'mahbub.hasan', 287, '2016-07-19', 'shift_leader', 'night'),
(7961, 'etanvir.ahmed', 287, '2016-07-19', 'sur', 'night'),
(7962, 's.majumder', 287, '2016-07-19', 'sur', 'night'),
(7963, 'sadaf.mahmud', 287, '2016-07-19', 'bo', 'night'),
(7964, 'tahsinul.ferdous', 287, '2016-07-19', 'iig', 'night'),
(7965, 'rayhan.hossain', 287, '2016-07-19', 'icx', 'night'),
(7979, 'rahul.biswas', 288, '2016-07-20', 'iig', 'evening'),
(7988, 'saeed.naser', 268, '2016-06-30', 'shift_leader', 'day'),
(7989, 'nazmul.hasan', 268, '2016-06-30', 'sur', 'day'),
(7990, 'nasrin.akter', 268, '2016-06-30', 'sur', 'day'),
(7991, 'sarbik.sahan', 268, '2016-06-30', 'bo', 'day'),
(7992, 'maruf.mohammad', 268, '2016-06-30', 'bo', 'day'),
(7993, 'anika.sharmin', 268, '2016-06-30', 'bo', 'day'),
(7994, 'imroze.ahmed', 268, '2016-06-30', 'iig', 'day'),
(7995, 'jalal.mahedi', 268, '2016-06-30', 'iig', 'day'),
(7996, 'shamim.hassan', 268, '2016-06-30', 'icx', 'day'),
(7997, 'mir.raihan', 268, '2016-06-30', 'shift_leader', 'evening'),
(7998, 'akramul.tarafdar', 268, '2016-06-30', 'sur', 'evening'),
(7999, 'umar.rafaet', 268, '2016-06-30', 'sur', 'evening'),
(8000, 'nowrin.karim', 268, '2016-06-30', 'bo', 'evening'),
(8001, 'etanvir.ahmed', 268, '2016-06-30', 'bo', 'evening'),
(8002, 'iftakhar.jahan', 268, '2016-06-30', 'iig', 'evening'),
(8003, 'tanveer.ahmed', 268, '2016-06-30', 'iig', 'evening'),
(8004, 'saiham.rahman', 268, '2016-06-30', 'icx', 'evening'),
(8005, 'sakib.ullah', 268, '2016-06-30', 'shift_leader', 'night'),
(8006, 'wahidul.ashrafe', 268, '2016-06-30', 'sur', 'night'),
(8007, 'samar.kumar', 268, '2016-06-30', 'bo', 'night'),
(8008, 'rahul.biswas', 268, '2016-06-30', 'iig', 'night'),
(8009, 'ashiqur.rahman', 268, '2016-06-30', 'icx', 'night'),
(8010, 'sakib.ullah', 271, '2016-07-03', 'shift_leader', 'day'),
(8011, 'puspita.tapu', 271, '2016-07-03', 'sur', 'day'),
(8012, 'nazmul.hasan', 271, '2016-07-03', 'sur', 'day'),
(8013, 'nowrin.karim', 271, '2016-07-03', 'bo', 'day'),
(8014, 'tanveer.ahmed', 271, '2016-07-03', 'bo', 'day'),
(8015, 'wahidul.ashrafe', 271, '2016-07-03', 'bo', 'day'),
(8016, 'tahsinul.ferdous', 271, '2016-07-03', 'iig', 'day'),
(8017, 'ahsan.zaki', 271, '2016-07-03', 'icx', 'day'),
(8018, 'mahbub.hasan', 271, '2016-07-03', 'shift_leader', 'evening'),
(8019, 'nasrin.akter', 271, '2016-07-03', 'sur', 'evening'),
(8020, 's.majumder', 271, '2016-07-03', 'sur', 'evening'),
(8021, 'sadaf.mahmud', 271, '2016-07-03', 'bo', 'evening'),
(8022, 'etanvir.ahmed', 271, '2016-07-03', 'bo', 'evening'),
(8023, 'sadia.afrin', 271, '2016-07-03', 'iig', 'evening'),
(8024, 'imroze.ahmed', 271, '2016-07-03', 'iig', 'evening'),
(8025, 'rayhan.hossain', 271, '2016-07-03', 'icx', 'evening'),
(8026, 'saiham.rahman', 271, '2016-07-03', 'icx', 'evening'),
(8027, 'saeed.naser', 271, '2016-07-03', 'shift_leader', 'night'),
(8028, 'sarbik.sahan', 271, '2016-07-03', 'sur', 'night'),
(8029, 'rifat.hasan', 271, '2016-07-03', 'sur', 'night'),
(8030, 'maruf.mohammad', 271, '2016-07-03', 'bo', 'night'),
(8031, 'iftakhar.jahan', 271, '2016-07-03', 'iig', 'night'),
(8032, 'shamim.hassan', 271, '2016-07-03', 'icx', 'night'),
(8072, 'mir.raihan', 273, '2016-07-05', 'shift_leader', 'day'),
(8073, 'umar.rafaet', 273, '2016-07-05', 'sur', 'day');
INSERT INTO `rostertable` (`roster_table_id`, `user_id`, `shift_id`, `shift_date`, `shift_position`, `shift_time`) VALUES
(8074, 'iqbal.ahmed', 273, '2016-07-05', 'sur', 'day'),
(8075, 'akramul.tarafdar', 273, '2016-07-05', 'sur', 'day'),
(8076, 'nowrin.karim', 273, '2016-07-05', 'bo', 'day'),
(8077, 'anika.sharmin', 273, '2016-07-05', 'bo', 'day'),
(8078, 'sadia.afrin', 273, '2016-07-05', 'iig', 'day'),
(8079, 'ashiqur.rahman', 273, '2016-07-05', 'icx', 'day'),
(8080, 'mahbub.hasan', 273, '2016-07-05', 'shift_leader', 'evening'),
(8081, 'nafisa.sayed', 273, '2016-07-05', 'sur', 'evening'),
(8082, 'puspita.tapu', 273, '2016-07-05', 'sur', 'evening'),
(8083, 'samar.kumar', 273, '2016-07-05', 'bo', 'evening'),
(8084, 'nazmul.hasan', 273, '2016-07-05', 'bo', 'evening'),
(8085, 'iftakhar.jahan', 273, '2016-07-05', 'iig', 'evening'),
(8086, 'rayhan.hossain', 273, '2016-07-05', 'icx', 'evening'),
(8087, 'sadaf.mahmud', 273, '2016-07-05', 'shift_leader', 'night'),
(8088, 's.majumder', 273, '2016-07-05', 'sur', 'night'),
(8089, 'sarbik.sahan', 273, '2016-07-05', 'bo', 'night'),
(8090, 'tahsinul.ferdous', 273, '2016-07-05', 'iig', 'night'),
(8091, 'saiham.rahman', 273, '2016-07-05', 'icx', 'night'),
(8155, 'mir.raihan', 288, '2016-07-20', 'shift_leader', 'day'),
(8156, 'nasrin.akter', 288, '2016-07-20', 'sur', 'day'),
(8157, 'iqbal.ahmed', 288, '2016-07-20', 'sur', 'day'),
(8158, 'akramul.tarafdar', 288, '2016-07-20', 'sur', 'day'),
(8159, 'maruf.mohammad', 288, '2016-07-20', 'bo', 'day'),
(8160, 'anika.sharmin', 288, '2016-07-20', 'bo', 'day'),
(8161, 'iftakhar.jahan', 288, '2016-07-20', 'iig', 'day'),
(8162, 'ashiqur.rahman', 288, '2016-07-20', 'icx', 'day'),
(8163, 'sakib.ullah', 288, '2016-07-20', 'shift_leader', 'evening'),
(8164, 'nafisa.sayed', 288, '2016-07-20', 'sur', 'evening'),
(8165, 'umar.rafaet', 288, '2016-07-20', 'sur', 'evening'),
(8166, 'nowrin.karim', 288, '2016-07-20', 'bo', 'evening'),
(8167, 'tanveer.ahmed', 288, '2016-07-20', 'bo', 'evening'),
(8168, 'rahul.biswas', 288, '2016-07-20', 'iig', 'evening'),
(8169, 'saiham.rahman', 288, '2016-07-20', 'icx', 'evening'),
(8170, 'mahbub.hasan', 288, '2016-07-20', 'shift_leader', 'night'),
(8171, 'wahidul.ashrafe', 288, '2016-07-20', 'sur', 'night'),
(8172, 'nazmul.hasan', 288, '2016-07-20', 'sur', 'night'),
(8173, 'etanvir.ahmed', 288, '2016-07-20', 'bo', 'night'),
(8174, 'tahsinul.ferdous', 288, '2016-07-20', 'iig', 'night'),
(8175, 'ahsan.zaki', 288, '2016-07-20', 'icx', 'night'),
(8176, 'saeed.naser', 284, '2016-07-16', 'shift_leader', 'day'),
(8177, 'nasrin.akter', 284, '2016-07-16', 'sur', 'day'),
(8178, 'anika.sharmin', 284, '2016-07-16', 'sur', 'day'),
(8179, 'samar.kumar', 284, '2016-07-16', 'bo', 'day'),
(8180, 'umar.rafaet', 284, '2016-07-16', 'bo', 'day'),
(8181, 'sadia.afrin', 284, '2016-07-16', 'iig', 'day'),
(8182, 'rayhan.hossain', 284, '2016-07-16', 'icx', 'day'),
(8183, '', 284, '2016-07-16', 'icx', 'day'),
(8184, 'jalal.mahedi', 284, '2016-07-16', 'shift_leader', 'evening'),
(8185, 's.majumder', 284, '2016-07-16', 'sur', 'evening'),
(8186, 'rifat.hasan', 284, '2016-07-16', 'sur', 'evening'),
(8187, 'puspita.tapu', 284, '2016-07-16', 'bo', 'evening'),
(8188, 'imroze.ahmed', 284, '2016-07-16', 'iig', 'evening'),
(8189, 'shamim.hassan', 284, '2016-07-16', 'icx', 'evening'),
(8190, 'mir.raihan', 284, '2016-07-16', 'shift_leader', 'night'),
(8191, 'akramul.tarafdar', 284, '2016-07-16', 'sur', 'night'),
(8192, 'maruf.mohammad', 284, '2016-07-16', 'bo', 'night'),
(8193, 'rahul.biswas', 284, '2016-07-16', 'iig', 'night'),
(8194, 'ashiqur.rahman', 284, '2016-07-16', 'icx', 'night'),
(8195, 'mir.raihan', 280, '2016-07-12', 'shift_leader', 'day'),
(8196, 'nafisa.sayed', 280, '2016-07-12', 'sur', 'day'),
(8197, 'nazmul.hasan', 280, '2016-07-12', 'sur', 'day'),
(8198, 'nowrin.karim', 280, '2016-07-12', 'bo', 'day'),
(8199, 'puspita.tapu', 280, '2016-07-12', 'bo', 'day'),
(8200, 'sadia.afrin', 280, '2016-07-12', 'iig', 'day'),
(8201, 'ashiqur.rahman', 280, '2016-07-12', 'icx', 'day'),
(8202, 'sakib.ullah', 280, '2016-07-12', 'shift_leader', 'evening'),
(8203, 'nasrin.akter', 280, '2016-07-12', 'sur', 'evening'),
(8204, 'wahidul.ashrafe', 280, '2016-07-12', 'sur', 'evening'),
(8205, 'etanvir.ahmed', 280, '2016-07-12', 'bo', 'evening'),
(8206, 'tahsinul.ferdous', 280, '2016-07-12', 'iig', 'evening'),
(8207, 'saiham.rahman', 280, '2016-07-12', 'icx', 'evening'),
(8208, 'sadaf.mahmud', 280, '2016-07-12', 'shift_leader', 'night'),
(8209, 's.majumder', 280, '2016-07-12', 'sur', 'night'),
(8210, 'samar.kumar', 280, '2016-07-12', 'bo', 'night'),
(8211, 'showmen.barua', 280, '2016-07-12', 'bo', 'night'),
(8212, 'tanveer.ahmed', 280, '2016-07-12', 'iig', 'night'),
(8213, 'rayhan.hossain', 280, '2016-07-12', 'icx', 'night'),
(8214, 'jalal.mahedi', 283, '2016-07-15', 'shift_leader', 'day'),
(8215, 'anika.sharmin', 283, '2016-07-15', 'sur', 'day'),
(8216, 's.majumder', 283, '2016-07-15', 'sur', 'day'),
(8217, 'umar.rafaet', 283, '2016-07-15', 'bo', 'day'),
(8218, 'samar.kumar', 283, '2016-07-15', 'bo', 'day'),
(8219, 'tanveer.ahmed', 283, '2016-07-15', 'iig', 'day'),
(8220, 'rayhan.hossain', 283, '2016-07-15', 'icx', 'day'),
(8221, 'saeed.naser', 283, '2016-07-15', 'shift_leader', 'evening'),
(8222, 'akramul.tarafdar', 283, '2016-07-15', 'sur', 'evening'),
(8223, 'rifat.hasan', 283, '2016-07-15', 'sur', 'evening'),
(8224, 'nowrin.karim', 283, '2016-07-15', 'bo', 'evening'),
(8225, 'sadia.afrin', 283, '2016-07-15', 'iig', 'evening'),
(8226, 'shamim.hassan', 283, '2016-07-15', 'icx', 'evening'),
(8227, 'mir.raihan', 283, '2016-07-15', 'shift_leader', 'night'),
(8228, 'nazmul.hasan', 283, '2016-07-15', 'sur', 'night'),
(8229, 'etanvir.ahmed', 283, '2016-07-15', 'bo', 'night'),
(8230, 'rahul.biswas', 283, '2016-07-15', 'iig', 'night'),
(8231, 'ashiqur.rahman', 283, '2016-07-15', 'icx', 'night'),
(8275, 'sakib.ullah', 285, '2016-07-17', 'shift_leader', 'day'),
(8276, 'nasrin.akter', 285, '2016-07-17', 'sur', 'day'),
(8277, 'wahidul.ashrafe', 285, '2016-07-17', 'sur', 'day'),
(8278, 'sarbik.sahan', 285, '2016-07-17', 'bo', 'day'),
(8279, 'samar.kumar', 285, '2016-07-17', 'bo', 'day'),
(8280, 'tanveer.ahmed', 285, '2016-07-17', 'iig', 'day'),
(8281, 'sadia.afrin', 285, '2016-07-17', 'iig', 'day'),
(8282, 'ahsan.zaki', 285, '2016-07-17', 'icx', 'day'),
(8283, 'jalal.mahedi', 285, '2016-07-17', 'shift_leader', 'evening'),
(8284, 's.majumder', 285, '2016-07-17', 'sur', 'evening'),
(8285, 'rifat.hasan', 285, '2016-07-17', 'sur', 'evening'),
(8286, 'puspita.tapu', 285, '2016-07-17', 'bo', 'evening'),
(8287, 'umar.rafaet', 285, '2016-07-17', 'bo', 'evening'),
(8288, 'tahsinul.ferdous', 285, '2016-07-17', 'iig', 'evening'),
(8289, 'rayhan.hossain', 285, '2016-07-17', 'icx', 'evening'),
(8290, 'saeed.naser', 285, '2016-07-17', 'shift_leader', 'night'),
(8291, 'akramul.tarafdar', 285, '2016-07-17', 'sur', 'night'),
(8292, 'maruf.mohammad', 285, '2016-07-17', 'bo', 'night'),
(8293, 'imroze.ahmed', 285, '2016-07-17', 'iig', 'night'),
(8294, 'shamim.hassan', 285, '2016-07-17', 'icx', 'night'),
(8310, 'rayhan.hossain', 286, '2016-07-18', 'icx', 'evening'),
(8318, 'sakib.ullah', 286, '2016-07-18', 'shift_leader', 'day'),
(8319, 'anika.sharmin', 286, '2016-07-18', 'sur', 'day'),
(8320, 'tanveer.ahmed', 286, '2016-07-18', 'sur', 'day'),
(8321, 'nowrin.karim', 286, '2016-07-18', 'bo', 'day'),
(8322, 'etanvir.ahmed', 286, '2016-07-18', 'bo', 'day'),
(8323, 'rahul.biswas', 286, '2016-07-18', 'iig', 'day'),
(8324, 'sadia.afrin', 286, '2016-07-18', 'iig', 'day'),
(8325, 'ahsan.zaki', 286, '2016-07-18', 'icx', 'day'),
(8326, 'mahbub.hasan', 286, '2016-07-18', 'shift_leader', 'evening'),
(8327, 'mir.raihan', 286, '2016-07-18', 'shift_leader', 'evening'),
(8328, 'wahidul.ashrafe', 286, '2016-07-18', 'sur', 'evening'),
(8329, 'puspita.tapu', 286, '2016-07-18', 'sur', 'evening'),
(8330, 'samar.kumar', 286, '2016-07-18', 'bo', 'evening'),
(8331, 'nazmul.hasan', 286, '2016-07-18', 'bo', 'evening'),
(8332, 'tahsinul.ferdous', 286, '2016-07-18', 'iig', 'evening'),
(8333, 'rayhan.hossain', 286, '2016-07-18', 'icx', 'evening'),
(8334, 'sadaf.mahmud', 286, '2016-07-18', 'shift_leader', 'night'),
(8335, 's.majumder', 286, '2016-07-18', 'sur', 'night'),
(8336, 'rifat.hasan', 286, '2016-07-18', 'sur', 'night'),
(8337, 'sarbik.sahan', 286, '2016-07-18', 'bo', 'night'),
(8338, 'imroze.ahmed', 286, '2016-07-18', 'iig', 'night'),
(8339, 'shamim.hassan', 286, '2016-07-18', 'icx', 'night'),
(8365, 'sarbik.sahan', 289, '2016-07-21', 'bo', 'day'),
(8375, 'iftakhar.jahan', 289, '2016-07-21', 'iig', 'evening'),
(8389, 'imroze.ahmed', 290, '2016-07-22', 'iig', 'day'),
(8405, 'saeed.naser', 289, '2016-07-21', 'shift_leader', 'day'),
(8406, 'nasrin.akter', 289, '2016-07-21', 'sur', 'day'),
(8407, 'anika.sharmin', 289, '2016-07-21', 'sur', 'day'),
(8408, 'maruf.mohammad', 289, '2016-07-21', 'bo', 'day'),
(8409, 'iqbal.ahmed', 289, '2016-07-21', 'bo', 'day'),
(8410, 'imroze.ahmed', 289, '2016-07-21', 'iig', 'day'),
(8411, 'iftakhar.jahan', 289, '2016-07-21', 'icx', 'day'),
(8412, 'mir.raihan', 289, '2016-07-21', 'shift_leader', 'evening'),
(8413, 'akramul.tarafdar', 289, '2016-07-21', 'sur', 'evening'),
(8414, 'nafisa.sayed', 289, '2016-07-21', 'sur', 'evening'),
(8415, 'nowrin.karim', 289, '2016-07-21', 'bo', 'evening'),
(8416, 'sarbik.sahan', 289, '2016-07-21', 'bo', 'evening'),
(8417, 'rahul.biswas', 289, '2016-07-21', 'iig', 'evening'),
(8418, 'shamim.hassan', 289, '2016-07-21', 'icx', 'evening'),
(8419, 'umar.rafaet', 289, '2016-07-21', 'icx', 'evening'),
(8420, 'mir.raihan', 289, '2016-07-21', 'shift_leader', 'night'),
(8421, 'wahidul.ashrafe', 289, '2016-07-21', 'sur', 'night'),
(8422, 'nazmul.hasan', 289, '2016-07-21', 'sur', 'night'),
(8423, 'samar.kumar', 289, '2016-07-21', 'bo', 'night'),
(8424, 'tanveer.ahmed', 289, '2016-07-21', 'iig', 'night'),
(8425, 'ashiqur.rahman', 289, '2016-07-21', 'icx', 'night'),
(8426, 'saeed.naser', 290, '2016-07-22', 'shift_leader', 'day'),
(8427, 'sadia.afrin', 290, '2016-07-22', 'sur', 'day'),
(8428, 's.majumder', 290, '2016-07-22', 'sur', 'day'),
(8429, 'puspita.tapu', 290, '2016-07-22', 'bo', 'day'),
(8430, 'anika.sharmin', 290, '2016-07-22', 'bo', 'day'),
(8431, 'imroze.ahmed', 290, '2016-07-22', 'iig', 'day'),
(8432, 'rayhan.hossain', 290, '2016-07-22', 'icx', 'day'),
(8433, 'saeed.naser', 290, '2016-07-22', 'shift_leader', 'evening'),
(8434, 'akramul.tarafdar', 290, '2016-07-22', 'sur', 'evening'),
(8435, 'rifat.hasan', 290, '2016-07-22', 'sur', 'evening'),
(8436, 'maruf.mohammad', 290, '2016-07-22', 'bo', 'evening'),
(8437, 'sarbik.sahan', 290, '2016-07-22', 'bo', 'evening'),
(8438, 'iftakhar.jahan', 290, '2016-07-22', 'iig', 'evening'),
(8439, 'saiham.rahman', 290, '2016-07-22', 'icx', 'evening'),
(8440, 'sakib.ullah', 290, '2016-07-22', 'shift_leader', 'night'),
(8441, 'iqbal.ahmed', 290, '2016-07-22', 'sur', 'night'),
(8442, 'umar.rafaet', 290, '2016-07-22', 'sur', 'night'),
(8443, 'samar.kumar', 290, '2016-07-22', 'bo', 'night'),
(8444, 'rahul.biswas', 290, '2016-07-22', 'iig', 'night'),
(8445, 'shamim.hassan', 290, '2016-07-22', 'icx', 'night'),
(8457, 'sarbik.sahan', 300, '2016-07-23', 'bo', 'evening'),
(8805, 'mahbub.hasan', 300, '2016-07-23', 'shift_leader', 'day'),
(8806, 'nafisa.sayed', 300, '2016-07-23', 'sur', 'day'),
(8807, 'nasrin.akter', 300, '2016-07-23', 'sur', 'day'),
(8808, 'puspita.tapu', 300, '2016-07-23', 'bo', 'day'),
(8809, 'etanvir.ahmed', 300, '2016-07-23', 'bo', 'day'),
(8810, 'tahsinul.ferdous', 300, '2016-07-23', 'iig', 'day'),
(8811, 'sadia.afrin', 300, '2016-07-23', 'iig', 'day'),
(8812, 'ashiqur.rahman', 300, '2016-07-23', 'icx', 'day'),
(8813, 'sadaf.mahmud', 300, '2016-07-23', 'shift_leader', 'evening'),
(8814, 's.majumder', 300, '2016-07-23', 'sur', 'evening'),
(8815, 'rifat.hasan', 300, '2016-07-23', 'sur', 'evening'),
(8817, 'maruf.mohammad', 300, '2016-07-23', 'bo', 'evening'),
(8818, 'imroze.ahmed', 300, '2016-07-23', 'iig', 'evening'),
(8819, 'saiham.rahman', 300, '2016-07-23', 'icx', 'evening'),
(8820, 'saeed.naser', 300, '2016-07-23', 'shift_leader', 'night'),
(8821, 'umar.rafaet', 300, '2016-07-23', 'sur', 'night'),
(8822, 'akramul.tarafdar', 300, '2016-07-23', 'sur', 'night'),
(8823, 'iqbal.ahmed', 300, '2016-07-23', 'bo', 'night'),
(8824, 'iftakhar.jahan', 300, '2016-07-23', 'iig', 'night'),
(8825, 'shamim.hassan', 300, '2016-07-23', 'icx', 'night'),
(8939, 'sakib.ullah', 318, '2016-07-25', 'shift_leader', 'day'),
(8940, 'anika.sharmin', 318, '2016-07-25', 'sur', 'day'),
(8941, 'wahidul.ashrafe', 318, '2016-07-25', 'sur', 'day'),
(8942, 'nowrin.karim', 318, '2016-07-25', 'bo', 'day'),
(8943, 'samar.kumar', 318, '2016-07-25', 'bo', 'day'),
(8944, 'tanveer.ahmed', 318, '2016-07-25', 'iig', 'day'),
(8945, 'rahul.biswas', 318, '2016-07-25', 'iig', 'day'),
(8946, 'ashiqur.rahman', 318, '2016-07-25', 'icx', 'day'),
(8947, 'mir.raihan', 318, '2016-07-25', 'shift_leader', 'evening'),
(8948, 'sadaf.mahmud', 318, '2016-07-25', 'shift_leader', 'evening'),
(8949, 'puspita.tapu', 318, '2016-07-25', 'sur', 'evening'),
(8950, 'nafisa.sayed', 318, '2016-07-25', 'sur', 'evening'),
(8951, 'etanvir.ahmed', 318, '2016-07-25', 'bo', 'evening'),
(8952, 'nazmul.hasan', 318, '2016-07-25', 'bo', 'evening'),
(8953, 'tahsinul.ferdous', 318, '2016-07-25', 'iig', 'evening'),
(8954, 'sadia.afrin', 318, '2016-07-25', 'iig', 'evening'),
(8955, 'saiham.rahman', 318, '2016-07-25', 'icx', 'evening'),
(8956, 'mahbub.hasan', 318, '2016-07-25', 'shift_leader', 'night'),
(8957, 's.majumder', 318, '2016-07-25', 'sur', 'night'),
(8958, 'rifat.hasan', 318, '2016-07-25', 'sur', 'night'),
(8959, 'sarbik.sahan', 318, '2016-07-25', 'bo', 'night'),
(8960, 'imroze.ahmed', 318, '2016-07-25', 'iig', 'night'),
(8961, 'iftakhar.jahan', 318, '2016-07-25', 'icx', 'night'),
(8962, 'mir.raihan', 319, '2016-07-26', 'shift_leader', 'day'),
(8963, 'nasrin.akter', 319, '2016-07-26', 'sur', 'day'),
(8964, 'akramul.tarafdar', 319, '2016-07-26', 'sur', 'day'),
(8965, 'iqbal.ahmed', 319, '2016-07-26', 'sur', 'day'),
(8966, 'nowrin.karim', 319, '2016-07-26', 'bo', 'day'),
(8967, 'anika.sharmin', 319, '2016-07-26', 'bo', 'day'),
(8968, 'rahul.biswas', 319, '2016-07-26', 'iig', 'day'),
(8969, 'shamim.hassan', 319, '2016-07-26', 'icx', 'day'),
(8970, 'umar.rafaet', 319, '2016-07-26', 'icx', 'day'),
(8971, 'sakib.ullah', 319, '2016-07-26', 'shift_leader', 'evening'),
(8972, 'puspita.tapu', 319, '2016-07-26', 'sur', 'evening'),
(8973, 'wahidul.ashrafe', 319, '2016-07-26', 'sur', 'evening'),
(8974, 'samar.kumar', 319, '2016-07-26', 'bo', 'evening'),
(8975, 'nazmul.hasan', 319, '2016-07-26', 'bo', 'evening'),
(8976, 'tanveer.ahmed', 319, '2016-07-26', 'iig', 'evening'),
(8977, 'sadia.afrin', 319, '2016-07-26', 'iig', 'evening'),
(8978, 'shamim.hassan', 319, '2016-07-26', 'icx', 'evening'),
(8979, 'mahbub.hasan', 319, '2016-07-26', 'shift_leader', 'night'),
(8980, 's.majumder', 319, '2016-07-26', 'sur', 'night'),
(8981, 'etanvir.ahmed', 319, '2016-07-26', 'sur', 'night'),
(8982, 'sadaf.mahmud', 319, '2016-07-26', 'bo', 'night'),
(8983, 'tahsinul.ferdous', 319, '2016-07-26', 'iig', 'night'),
(8984, 'rayhan.hossain', 319, '2016-07-26', 'icx', 'night'),
(8997, 'nowrin.karim', 320, '2016-07-27', 'bo', 'evening'),
(9009, 'saeed.naser', 321, '2016-07-28', 'shift_leader', 'day'),
(9010, 'nasrin.akter', 321, '2016-07-28', 'sur', 'day'),
(9011, 'anika.sharmin', 321, '2016-07-28', 'sur', 'day'),
(9012, 'nafisa.sayed', 321, '2016-07-28', 'sur', 'day'),
(9013, 'nowrin.karim', 321, '2016-07-28', 'bo', 'day'),
(9014, 'iqbal.ahmed', 321, '2016-07-28', 'bo', 'day'),
(9015, 'imroze.ahmed', 321, '2016-07-28', 'iig', 'day'),
(9016, 'iftakhar.jahan', 321, '2016-07-28', 'icx', 'day'),
(9017, 'mir.raihan', 321, '2016-07-28', 'shift_leader', 'evening'),
(9018, 'akramul.tarafdar', 321, '2016-07-28', 'sur', 'evening'),
(9019, 'rifat.hasan', 321, '2016-07-28', 'sur', 'evening'),
(9020, 'nowrin.karim', 321, '2016-07-28', 'bo', 'evening'),
(9021, 'sarbik.sahan', 321, '2016-07-28', 'bo', 'evening'),
(9022, 'rahul.biswas', 321, '2016-07-28', 'iig', 'evening'),
(9023, 'shamim.hassan', 321, '2016-07-28', 'icx', 'evening'),
(9024, 'umar.rafaet', 321, '2016-07-28', 'icx', 'evening'),
(9025, 'sakib.ullah', 321, '2016-07-28', 'shift_leader', 'night'),
(9026, 'wahidul.ashrafe', 321, '2016-07-28', 'sur', 'night'),
(9027, 'nazmul.hasan', 321, '2016-07-28', 'sur', 'night'),
(9028, 'samar.kumar', 321, '2016-07-28', 'bo', 'night'),
(9029, 'tanveer.ahmed', 321, '2016-07-28', 'iig', 'night'),
(9030, 'ashiqur.rahman', 321, '2016-07-28', 'icx', 'night'),
(9031, 'saeed.naser', 322, '2016-07-29', 'shift_leader', 'day'),
(9032, 'sadia.afrin', 322, '2016-07-29', 'sur', 'day'),
(9033, 'nafisa.sayed', 322, '2016-07-29', 'sur', 'day'),
(9034, 'puspita.tapu', 322, '2016-07-29', 'bo', 'day'),
(9035, 'anika.sharmin', 322, '2016-07-29', 'bo', 'day'),
(9036, 'imroze.ahmed', 322, '2016-07-29', 'iig', 'day'),
(9037, 'rayhan.hossain', 322, '2016-07-29', 'icx', 'day'),
(9038, 'sadaf.mahmud', 322, '2016-07-29', 'shift_leader', 'evening'),
(9039, 's.majumder', 322, '2016-07-29', 'sur', 'evening'),
(9040, 'nafisa.sayed', 322, '2016-07-29', 'sur', 'evening'),
(9041, 'puspita.tapu', 322, '2016-07-29', 'bo', 'evening'),
(9042, 'sarbik.sahan', 322, '2016-07-29', 'bo', 'evening'),
(9043, 'iftakhar.jahan', 322, '2016-07-29', 'iig', 'evening'),
(9044, 'saiham.rahman', 322, '2016-07-29', 'icx', 'evening'),
(9045, 'saeed.naser', 322, '2016-07-29', 'shift_leader', 'night'),
(9046, 'umar.rafaet', 322, '2016-07-29', 'sur', 'night'),
(9047, 'iqbal.ahmed', 322, '2016-07-29', 'sur', 'night'),
(9048, 'samar.kumar', 322, '2016-07-29', 'bo', 'night'),
(9049, 'rahul.biswas', 322, '2016-07-29', 'iig', 'night'),
(9050, 'shamim.hassan', 322, '2016-07-29', 'icx', 'night'),
(9095, 'sakib.ullah', 309, '2016-07-24', 'shift_leader', 'day'),
(9096, 'wahidul.ashrafe', 309, '2016-07-24', 'sur', 'day'),
(9097, 'nasrin.akter', 309, '2016-07-24', 'sur', 'day'),
(9098, 'nowrin.karim', 309, '2016-07-24', 'bo', 'day'),
(9099, 'nazmul.hasan', 309, '2016-07-24', 'bo', 'day'),
(9100, 'sadia.afrin', 309, '2016-07-24', 'iig', 'day'),
(9101, 'tanveer.ahmed', 309, '2016-07-24', 'iig', 'day'),
(9102, 'ashiqur.rahman', 309, '2016-07-24', 'icx', 'day'),
(9103, 'mahbub.hasan', 309, '2016-07-24', 'shift_leader', 'evening'),
(9104, 'puspita.tapu', 309, '2016-07-24', 'sur', 'evening'),
(9105, 'nafisa.sayed', 309, '2016-07-24', 'sur', 'evening'),
(9106, 's.majumder', 309, '2016-07-24', 'sur', 'evening'),
(9107, 'sadaf.mahmud', 309, '2016-07-24', 'bo', 'evening'),
(9108, 'etanvir.ahmed', 309, '2016-07-24', 'bo', 'evening'),
(9109, 'imroze.ahmed', 309, '2016-07-24', 'iig', 'evening'),
(9110, 'tahsinul.ferdous', 309, '2016-07-24', 'iig', 'evening'),
(9111, 'saiham.rahman', 309, '2016-07-24', 'icx', 'evening'),
(9112, 'saeed.naser', 309, '2016-07-24', 'shift_leader', 'night'),
(9113, 'sarbik.sahan', 309, '2016-07-24', 'sur', 'night'),
(9114, 'rifat.hasan', 309, '2016-07-24', 'sur', 'night'),
(9115, 'iqbal.ahmed', 309, '2016-07-24', 'bo', 'night'),
(9116, 'iftakhar.jahan', 309, '2016-07-24', 'iig', 'night'),
(9117, 'shamim.hassan', 309, '2016-07-24', 'icx', 'night'),
(9132, 'imroze.ahmed', 324, '2016-07-31', 'iig', 'evening'),
(9146, 'tahsinul.ferdous', 323, '2016-07-30', 'iig', 'day'),
(9162, 'mir.raihan', 320, '2016-07-27', 'shift_leader', 'day'),
(9163, 'saeed.naser', 320, '2016-07-27', 'shift_leader', 'day'),
(9164, 'nasrin.akter', 320, '2016-07-27', 'sur', 'day'),
(9165, 'iqbal.ahmed', 320, '2016-07-27', 'sur', 'day'),
(9166, 'maruf.mohammad', 320, '2016-07-27', 'bo', 'day'),
(9167, 'anika.sharmin', 320, '2016-07-27', 'bo', 'day'),
(9168, 'iftakhar.jahan', 320, '2016-07-27', 'iig', 'day'),
(9169, 'saiham.rahman', 320, '2016-07-27', 'icx', 'day'),
(9170, 'umar.rafaet', 320, '2016-07-27', 'icx', 'day'),
(9171, 'sakib.ullah', 320, '2016-07-27', 'shift_leader', 'evening'),
(9172, 'akramul.tarafdar', 320, '2016-07-27', 'sur', 'evening'),
(9173, 'nazmul.hasan', 320, '2016-07-27', 'sur', 'evening'),
(9174, 'nowrin.karim', 320, '2016-07-27', 'bo', 'evening'),
(9175, 'samar.kumar', 320, '2016-07-27', 'bo', 'evening'),
(9176, 'rahul.biswas', 320, '2016-07-27', 'iig', 'evening'),
(9177, 'tanveer.ahmed', 320, '2016-07-27', 'iig', 'evening'),
(9178, 'shamim.hassan', 320, '2016-07-27', 'icx', 'evening'),
(9179, 'mahbub.hasan', 320, '2016-07-27', 'shift_leader', 'night'),
(9180, 'wahidul.ashrafe', 320, '2016-07-27', 'sur', 'night'),
(9181, 'rifat.hasan', 320, '2016-07-27', 'sur', 'night'),
(9182, 'etanvir.ahmed', 320, '2016-07-27', 'bo', 'night'),
(9183, 'tahsinul.ferdous', 320, '2016-07-27', 'iig', 'night'),
(9184, 'ashiqur.rahman', 320, '2016-07-27', 'icx', 'night'),
(9185, 'mahbub.hasan', 323, '2016-07-30', 'shift_leader', 'day'),
(9186, 'nafisa.sayed', 323, '2016-07-30', 'sur', 'day'),
(9187, 'nasrin.akter', 323, '2016-07-30', 'sur', 'day'),
(9188, 'puspita.tapu', 323, '2016-07-30', 'bo', 'day'),
(9189, 'etanvir.ahmed', 323, '2016-07-30', 'bo', 'day'),
(9190, 'sadia.afrin', 323, '2016-07-30', 'iig', 'day'),
(9191, 'saiham.rahman', 323, '2016-07-30', 'icx', 'day'),
(9192, 'sadaf.mahmud', 323, '2016-07-30', 'shift_leader', 'evening'),
(9193, 's.majumder', 323, '2016-07-30', 'sur', 'evening'),
(9194, 'rifat.hasan', 323, '2016-07-30', 'sur', 'evening'),
(9195, 'sarbik.sahan', 323, '2016-07-30', 'bo', 'evening'),
(9196, 'maruf.mohammad', 323, '2016-07-30', 'bo', 'evening'),
(9197, 'tahsinul.ferdous', 323, '2016-07-30', 'iig', 'evening'),
(9198, 'rayhan.hossain', 323, '2016-07-30', 'icx', 'evening'),
(9199, 'saeed.naser', 323, '2016-07-30', 'shift_leader', 'night'),
(9200, 'umar.rafaet', 323, '2016-07-30', 'sur', 'night'),
(9201, 'akramul.tarafdar', 323, '2016-07-30', 'sur', 'night'),
(9202, 'iqbal.ahmed', 323, '2016-07-30', 'bo', 'night'),
(9203, 'imroze.ahmed', 323, '2016-07-30', 'iig', 'night'),
(9204, 'iftakhar.jahan', 323, '2016-07-30', 'icx', 'night'),
(9205, 'sakib.ullah', 324, '2016-07-31', 'shift_leader', 'day'),
(9206, 'wahidul.ashrafe', 324, '2016-07-31', 'sur', 'day'),
(9207, 'nasrin.akter', 324, '2016-07-31', 'sur', 'day'),
(9208, 'nowrin.karim', 324, '2016-07-31', 'bo', 'day'),
(9209, 'nazmul.hasan', 324, '2016-07-31', 'bo', 'day'),
(9210, 'tanveer.ahmed', 324, '2016-07-31', 'iig', 'day'),
(9211, 'sadia.afrin', 324, '2016-07-31', 'iig', 'day'),
(9212, 'rayhan.hossain', 324, '2016-07-31', 'icx', 'day'),
(9213, 'mahbub.hasan', 324, '2016-07-31', 'shift_leader', 'evening'),
(9214, 'puspita.tapu', 324, '2016-07-31', 'sur', 'evening'),
(9215, 'nafisa.sayed', 324, '2016-07-31', 'sur', 'evening'),
(9216, 's.majumder', 324, '2016-07-31', 'sur', 'evening'),
(9217, 'sadaf.mahmud', 324, '2016-07-31', 'bo', 'evening'),
(9218, 'etanvir.ahmed', 324, '2016-07-31', 'bo', 'evening'),
(9219, 'tahsinul.ferdous', 324, '2016-07-31', 'iig', 'evening'),
(9220, 'saiham.rahman', 324, '2016-07-31', 'icx', 'evening'),
(9221, 'saeed.naser', 324, '2016-07-31', 'shift_leader', 'night'),
(9222, 'sarbik.sahan', 324, '2016-07-31', 'sur', 'night'),
(9223, 'rifat.hasan', 324, '2016-07-31', 'sur', 'night'),
(9224, 'maruf.mohammad', 324, '2016-07-31', 'bo', 'night'),
(9225, 'imroze.ahmed', 324, '2016-07-31', 'iig', 'night'),
(9226, 'iftakhar.jahan', 324, '2016-07-31', 'icx', 'night'),
(9280, 'saiham.rahman', 327, '2016-08-03', 'icx', 'day'),
(9954, '', 327, '2016-08-03', 'shift_leader', 'day'),
(9998, 'sakib.ullah', 325, '2016-08-01', 'shift_leader', 'day'),
(9999, 'anika.sharmin', 325, '2016-08-01', 'sur', 'day'),
(10000, 'wahidul.ashrafe', 325, '2016-08-01', 'sur', 'day'),
(10001, 'nowrin.karim', 325, '2016-08-01', 'bo', 'day'),
(10002, 'samar.kumar', 325, '2016-08-01', 'bo', 'day'),
(10003, 'tanveer.ahmed', 325, '2016-08-01', 'iig', 'day'),
(10004, 'rahul.biswas', 325, '2016-08-01', 'iig', 'day'),
(10005, 'ashiqur.rahman', 325, '2016-08-01', 'icx', 'day'),
(10006, 'mir.raihan', 325, '2016-08-01', 'shift_leader', 'evening'),
(10007, 'mahbub.hasan', 325, '2016-08-01', 'shift_leader', 'evening'),
(10008, 'puspita.tapu', 325, '2016-08-01', 'sur', 'evening'),
(10009, 'nafisa.sayed', 325, '2016-08-01', 'sur', 'evening'),
(10010, 'etanvir.ahmed', 325, '2016-08-01', 'bo', 'evening'),
(10011, 'nazmul.hasan', 325, '2016-08-01', 'bo', 'evening'),
(10012, 'tahsinul.ferdous', 325, '2016-08-01', 'iig', 'evening'),
(10013, 'sadia.afrin', 325, '2016-08-01', 'iig', 'evening'),
(10014, 'saiham.rahman', 325, '2016-08-01', 'icx', 'evening'),
(10015, 'sadaf.mahmud', 325, '2016-08-01', 'shift_leader', 'night'),
(10016, 's.majumder', 325, '2016-08-01', 'sur', 'night'),
(10017, 'rifat.hasan', 325, '2016-08-01', 'sur', 'night'),
(10018, 'sarbik.sahan', 325, '2016-08-01', 'bo', 'night'),
(10019, 'imroze.ahmed', 325, '2016-08-01', 'iig', 'night'),
(10020, 'rayhan.hossain', 325, '2016-08-01', 'icx', 'night'),
(10432, 'mir.raihan', 326, '2016-08-02', 'shift_leader', 'day'),
(10433, 'nasrin.akter', 326, '2016-08-02', 'sur', 'day'),
(10434, 'akramul.tarafdar', 326, '2016-08-02', 'sur', 'day'),
(10435, 'iqbal.ahmed', 326, '2016-08-02', 'sur', 'day'),
(10436, 'nowrin.karim', 326, '2016-08-02', 'bo', 'day'),
(10437, 'anika.sharmin', 326, '2016-08-02', 'bo', 'day'),
(10438, 'rahul.biswas', 326, '2016-08-02', 'iig', 'day'),
(10439, 'rayhan.hossain', 326, '2016-08-02', 'icx', 'day'),
(10440, 'umar.rafaet', 326, '2016-08-02', 'icx', 'day'),
(10441, 'sakib.ullah', 326, '2016-08-02', 'shift_leader', 'evening'),
(10442, 'puspita.tapu', 326, '2016-08-02', 'sur', 'evening'),
(10443, 'wahidul.ashrafe', 326, '2016-08-02', 'sur', 'evening'),
(10444, 'samar.kumar', 326, '2016-08-02', 'bo', 'evening'),
(10445, 'nazmul.hasan', 326, '2016-08-02', 'bo', 'evening'),
(10446, 'tanveer.ahmed', 326, '2016-08-02', 'iig', 'evening'),
(10447, 'sadia.afrin', 326, '2016-08-02', 'iig', 'evening'),
(10448, 'saiham.rahman', 326, '2016-08-02', 'icx', 'evening'),
(10449, 'mahbub.hasan', 326, '2016-08-02', 'shift_leader', 'night'),
(10450, 's.majumder', 326, '2016-08-02', 'sur', 'night'),
(10451, 'etanvir.ahmed', 326, '2016-08-02', 'sur', 'night'),
(10452, 'sadaf.mahmud', 326, '2016-08-02', 'bo', 'night'),
(10453, 'tahsinul.ferdous', 326, '2016-08-02', 'iig', 'night'),
(10454, 'ashiqur.rahman', 326, '2016-08-02', 'icx', 'night'),
(11296, 'saeed.naser', 327, '2016-08-03', 'shift_leader', 'day'),
(11297, 'nasrin.akter', 327, '2016-08-03', 'sur', 'day'),
(11298, 'iqbal.ahmed', 327, '2016-08-03', 'sur', 'day'),
(11299, 'maruf.mohammad', 327, '2016-08-03', 'bo', 'day'),
(11300, 'anika.sharmin', 327, '2016-08-03', 'bo', 'day'),
(11301, 'iftakhar.jahan', 327, '2016-08-03', 'iig', 'day'),
(11302, 'umar.rafaet', 327, '2016-08-03', 'icx', 'day'),
(11303, 'sakib.ullah', 327, '2016-08-03', 'shift_leader', 'evening'),
(11304, 'akramul.tarafdar', 327, '2016-08-03', 'sur', 'evening'),
(11305, 'rifat.hasan', 327, '2016-08-03', 'sur', 'evening'),
(11306, 'nowrin.karim', 327, '2016-08-03', 'bo', 'evening'),
(11307, 'samar.kumar', 327, '2016-08-03', 'bo', 'evening'),
(11308, 'rahul.biswas', 327, '2016-08-03', 'iig', 'evening'),
(11309, 'tanveer.ahmed', 327, '2016-08-03', 'iig', 'evening'),
(11310, 'ashiqur.rahman', 327, '2016-08-03', 'icx', 'evening'),
(11311, 'mahbub.hasan', 327, '2016-08-03', 'shift_leader', 'night'),
(11312, 'wahidul.ashrafe', 327, '2016-08-03', 'sur', 'night'),
(11313, 'nazmul.hasan', 327, '2016-08-03', 'sur', 'night'),
(11314, 'etanvir.ahmed', 327, '2016-08-03', 'bo', 'night'),
(11315, 'tahsinul.ferdous', 327, '2016-08-03', 'iig', 'night'),
(11316, 'rayhan.hossain', 327, '2016-08-03', 'icx', 'night'),
(11427, 'saeed.naser', 356, '2016-08-04', 'shift_leader', 'day'),
(11428, 'nasrin.akter', 356, '2016-08-04', 'sur', 'day'),
(11429, 'anika.sharmin', 356, '2016-08-04', 'sur', 'day'),
(11430, 'nafisa.sayed', 356, '2016-08-04', 'sur', 'day'),
(11431, 'iqbal.ahmed', 356, '2016-08-04', 'bo', 'day'),
(11432, 'maruf.mohammad', 356, '2016-08-04', 'bo', 'day'),
(11433, 'imroze.ahmed', 356, '2016-08-04', 'iig', 'day'),
(11434, 'iftakhar.jahan', 356, '2016-08-04', 'icx', 'day'),
(11435, 'mir.raihan', 356, '2016-08-04', 'shift_leader', 'evening'),
(11436, 'akramul.tarafdar', 356, '2016-08-04', 'sur', 'evening'),
(11437, 'rifat.hasan', 356, '2016-08-04', 'sur', 'evening'),
(11438, 'sarbik.sahan', 356, '2016-08-04', 'bo', 'evening'),
(11439, 'nowrin.karim', 356, '2016-08-04', 'bo', 'evening'),
(11440, 'rahul.biswas', 356, '2016-08-04', 'iig', 'evening'),
(11441, 'umar.rafaet', 356, '2016-08-04', 'icx', 'evening'),
(11442, 'ashiqur.rahman', 356, '2016-08-04', 'icx', 'evening'),
(11443, 'sakib.ullah', 356, '2016-08-04', 'shift_leader', 'night'),
(11444, 'wahidul.ashrafe', 356, '2016-08-04', 'sur', 'night'),
(11445, 'nazmul.hasan', 356, '2016-08-04', 'sur', 'night'),
(11446, 'samar.kumar', 356, '2016-08-04', 'bo', 'night'),
(11447, 'tanveer.ahmed', 356, '2016-08-04', 'iig', 'night'),
(11448, 'saiham.rahman', 356, '2016-08-04', 'icx', 'night'),
(11464, 'umar.rafaet', 357, '2016-08-05', 'sur', 'night'),
(11528, 'saeed.naser', 357, '2016-08-05', 'shift_leader', 'day'),
(11529, 'sadia.afrin', 357, '2016-08-05', 'sur', 'day'),
(11530, 'nafisa.sayed', 357, '2016-08-05', 'sur', 'day'),
(11531, 'anika.sharmin', 357, '2016-08-05', 'bo', 'day'),
(11532, 'puspita.tapu', 357, '2016-08-05', 'bo', 'day'),
(11533, 'imroze.ahmed', 357, '2016-08-05', 'iig', 'day'),
(11534, 'rayhan.hossain', 357, '2016-08-05', 'icx', 'day'),
(11535, 'sadaf.mahmud', 357, '2016-08-05', 'shift_leader', 'evening'),
(11536, 's.majumder', 357, '2016-08-05', 'sur', 'evening'),
(11537, 'akramul.tarafdar', 357, '2016-08-05', 'sur', 'evening'),
(11538, 'sarbik.sahan', 357, '2016-08-05', 'bo', 'evening'),
(11539, 'maruf.mohammad', 357, '2016-08-05', 'bo', 'evening'),
(11540, 'iftakhar.jahan', 357, '2016-08-05', 'iig', 'evening'),
(11541, 'ashiqur.rahman', 357, '2016-08-05', 'icx', 'evening'),
(11542, 'mir.raihan', 357, '2016-08-05', 'shift_leader', 'night'),
(11543, 'umar.rafaet', 357, '2016-08-05', 'sur', 'night'),
(11544, '', 357, '2016-08-05', 'bo', 'night'),
(11545, 'iqbal.ahmed', 357, '2016-08-05', 'bo', 'night'),
(11546, 'rahul.biswas', 357, '2016-08-05', 'iig', 'night'),
(11547, 'shamim.hassan', 357, '2016-08-05', 'icx', 'night'),
(11587, 'iftakhar.jahan', 358, '2016-08-06', 'icx', 'night'),
(15339, 'sakib.ullah', 559, '2016-08-07', 'shift_leader', 'day'),
(15340, 'nasrin.akter', 559, '2016-08-07', 'sur', 'day'),
(15341, 'nazmul.hasan', 559, '2016-08-07', 'sur', 'day'),
(15342, 'nowrin.karim', 559, '2016-08-07', 'bo', 'day'),
(15343, 'etanvir.ahmed', 559, '2016-08-07', 'bo', 'day'),
(15344, 'rahul.biswas', 559, '2016-08-07', 'iig', 'day'),
(15345, 'sadia.afrin', 559, '2016-08-07', 'iig', 'day'),
(15346, 'umar.rafaet', 559, '2016-08-07', 'icx', 'day'),
(15347, 'mahbub.hasan', 559, '2016-08-07', 'shift_leader', 'evening'),
(15348, 'puspita.tapu', 559, '2016-08-07', 'sur', 'evening'),
(15349, 'nafisa.sayed', 559, '2016-08-07', 'sur', 'evening'),
(15350, 's.majumder', 559, '2016-08-07', 'sur', 'evening'),
(15351, 'sadaf.mahmud', 559, '2016-08-07', 'bo', 'evening'),
(15352, 'sarbik.sahan', 559, '2016-08-07', 'bo', 'evening'),
(15353, 'imroze.ahmed', 559, '2016-08-07', 'iig', 'evening'),
(15354, 'ashiqur.rahman', 559, '2016-08-07', 'icx', 'evening'),
(15355, 'saeed.naser', 559, '2016-08-07', 'shift_leader', 'night'),
(15356, 'iqbal.ahmed', 559, '2016-08-07', 'sur', 'night'),
(15357, 'maruf.mohammad', 559, '2016-08-07', 'bo', 'night'),
(15358, 'tahsinul.ferdous', 559, '2016-08-07', 'iig', 'night'),
(15359, 'rayhan.hossain', 559, '2016-08-07', 'icx', 'night'),
(16363, 'sadia.afrin', 608, '2016-08-10', 'iig', 'day'),
(16372, 'saiham.rahman', 608, '2016-08-10', 'icx', 'evening'),
(16379, 'saeed.naser', 609, '2016-08-11', 'shift_leader', 'day'),
(16380, 'nasrin.akter', 609, '2016-08-11', 'sur', 'day'),
(16381, 'nafisa.sayed', 609, '2016-08-11', 'sur', 'day'),
(16382, 'iqbal.ahmed', 609, '2016-08-11', 'bo', 'day'),
(16383, 'maruf.mohammad', 609, '2016-08-11', 'bo', 'day'),
(16384, 'sadia.afrin', 609, '2016-08-11', 'iig', 'day'),
(16385, 'tahsinul.ferdous', 609, '2016-08-11', 'iig', 'day'),
(16386, 'rayhan.hossain', 609, '2016-08-11', 'icx', 'day'),
(16387, 'mir.raihan', 609, '2016-08-11', 'shift_leader', 'evening'),
(16388, 'akramul.tarafdar', 609, '2016-08-11', 'sur', 'evening'),
(16389, 'umar.rafaet', 609, '2016-08-11', 'sur', 'evening'),
(16390, 'nowrin.karim', 609, '2016-08-11', 'bo', 'evening'),
(16391, 'wahidul.ashrafe', 609, '2016-08-11', 'bo', 'evening'),
(16392, 'tanveer.ahmed', 609, '2016-08-11', 'iig', 'evening'),
(16393, 'rayhan.hossain', 609, '2016-08-11', 'icx', 'evening'),
(16394, 'sakib.ullah', 609, '2016-08-11', 'shift_leader', 'night'),
(16395, 'nazmul.hasan', 609, '2016-08-11', 'sur', 'night'),
(16396, 'samar.kumar', 609, '2016-08-11', 'sur', 'night'),
(16397, 'sarbik.sahan', 609, '2016-08-11', 'bo', 'night'),
(16398, 'rahul.biswas', 609, '2016-08-11', 'iig', 'night'),
(16399, 'shamim.hassan', 609, '2016-08-11', 'icx', 'night'),
(16429, 'maruf.mohammad', 611, '2016-08-13', 'bo', 'evening'),
(16452, 'sadia.afrin', 612, '2016-08-14', 'iig', 'evening'),
(16480, 'mir.raihan', 614, '2016-08-16', 'shift_leader', 'day'),
(16481, 'nasrin.akter', 614, '2016-08-16', 'sur', 'day'),
(16482, 'akramul.tarafdar', 614, '2016-08-16', 'sur', 'day'),
(16483, 'nowrin.karim', 614, '2016-08-16', 'bo', 'day'),
(16484, 'wahidul.ashrafe', 614, '2016-08-16', 'bo', 'day'),
(16485, 'tanveer.ahmed', 614, '2016-08-16', 'iig', 'day'),
(16486, '', 614, '2016-08-16', 'icx', 'day'),
(16487, 'saiham.rahman', 614, '2016-08-16', 'icx', 'day'),
(16488, 'sakib.ullah', 614, '2016-08-16', 'shift_leader', 'evening'),
(16489, 'puspita.tapu', 614, '2016-08-16', 'sur', 'evening'),
(16490, 'nazmul.hasan', 614, '2016-08-16', 'sur', 'evening'),
(16491, 'samar.kumar', 614, '2016-08-16', 'bo', 'evening'),
(16492, 'sarbik.sahan', 614, '2016-08-16', 'bo', 'evening'),
(16493, 'rahul.biswas', 614, '2016-08-16', 'iig', 'evening'),
(16494, 'imroze.ahmed', 614, '2016-08-16', 'iig', 'evening'),
(16495, 'shamim.hassan', 614, '2016-08-16', 'icx', 'evening'),
(16496, 'mahbub.hasan', 614, '2016-08-16', 'shift_leader', 'night'),
(16497, 's.majumder', 614, '2016-08-16', 'sur', 'night'),
(16498, 'etanvir.ahmed', 614, '2016-08-16', 'sur', 'night'),
(16499, 'sadaf.mahmud', 614, '2016-08-16', 'bo', 'night'),
(16500, 'iftakhar.jahan', 614, '2016-08-16', 'iig', 'night'),
(16501, 'ashiqur.rahman', 614, '2016-08-16', 'icx', 'night'),
(16508, 'sadia.afrin', 615, '2016-08-17', 'iig', 'day'),
(16821, 'umar.rafaet', 607, '2016-08-09', 'icx', 'day'),
(16941, 'mir.raihan', 607, '2016-08-09', 'shift_leader', 'day'),
(16942, '', 607, '2016-08-09', 'shift_leader', 'day'),
(16943, 'nasrin.akter', 607, '2016-08-09', 'sur', 'day'),
(16944, 'akramul.tarafdar', 607, '2016-08-09', 'sur', 'day'),
(16945, 'nowrin.karim', 607, '2016-08-09', 'bo', 'day'),
(16946, 'wahidul.ashrafe', 607, '2016-08-09', 'bo', 'day'),
(16947, 'tanveer.ahmed', 607, '2016-08-09', 'iig', 'day'),
(16948, 'saiham.rahman', 607, '2016-08-09', 'icx', 'day'),
(16949, 'sakib.ullah', 607, '2016-08-09', 'shift_leader', 'evening'),
(16950, 'puspita.tapu', 607, '2016-08-09', 'sur', 'evening'),
(16951, 'umar.rafaet', 607, '2016-08-09', 'sur', 'evening'),
(16952, 'samar.kumar', 607, '2016-08-09', 'bo', 'evening'),
(16953, 'nazmul.hasan', 607, '2016-08-09', 'bo', 'evening'),
(16954, 'rahul.biswas', 607, '2016-08-09', 'iig', 'evening'),
(16955, 'imroze.ahmed', 607, '2016-08-09', 'iig', 'evening'),
(16956, 'shamim.hassan', 607, '2016-08-09', 'icx', 'evening'),
(16957, 'mahbub.hasan', 607, '2016-08-09', 'shift_leader', 'night'),
(16958, 's.majumder', 607, '2016-08-09', 'sur', 'night'),
(16959, 'etanvir.ahmed', 607, '2016-08-09', 'sur', 'night'),
(16960, 'sadaf.mahmud', 607, '2016-08-09', 'bo', 'night'),
(16961, 'iftakhar.jahan', 607, '2016-08-09', 'iig', 'night'),
(16962, 'ashiqur.rahman', 607, '2016-08-09', 'icx', 'night'),
(16963, 'mir.raihan', 608, '2016-08-10', 'shift_leader', 'day'),
(16984, '', 611, '2016-08-13', 'shift_leader', 'day'),
(16985, 'nafisa.sayed', 611, '2016-08-13', 'sur', 'day'),
(16986, 'nasrin.akter', 611, '2016-08-13', 'sur', 'day'),
(16987, 'puspita.tapu', 611, '2016-08-13', 'bo', 'day'),
(16988, 'etanvir.ahmed', 611, '2016-08-13', 'bo', 'day'),
(16989, 'imroze.ahmed', 611, '2016-08-13', 'iig', 'day'),
(16990, 'iftakhar.jahan', 611, '2016-08-13', 'icx', 'day'),
(16991, 'sadaf.mahmud', 611, '2016-08-13', 'shift_leader', 'evening'),
(16992, 's.majumder', 611, '2016-08-13', 'sur', 'evening'),
(16993, 'akramul.tarafdar', 611, '2016-08-13', 'sur', 'evening'),
(16995, 'iqbal.ahmed', 611, '2016-08-13', 'bo', 'evening'),
(16996, 'sadia.afrin', 611, '2016-08-13', 'iig', 'evening'),
(16997, 'ashiqur.rahman', 611, '2016-08-13', 'icx', 'evening'),
(16998, 'saeed.naser', 611, '2016-08-13', 'shift_leader', 'night'),
(16999, 'wahidul.ashrafe', 611, '2016-08-13', 'sur', 'night'),
(17000, 'tanveer.ahmed', 611, '2016-08-13', 'bo', 'night'),
(17001, 'tahsinul.ferdous', 611, '2016-08-13', 'iig', 'night'),
(17002, 'rayhan.hossain', 611, '2016-08-13', 'icx', 'night'),
(17041, 'mir.raihan', 608, '2016-08-10', 'shift_leader', 'day'),
(17042, 'saeed.naser', 608, '2016-08-10', 'shift_leader', 'day'),
(17043, 'nasrin.akter', 608, '2016-08-10', 'sur', 'day'),
(17044, 'akramul.tarafdar', 608, '2016-08-10', 'sur', 'day'),
(17045, 'maruf.mohammad', 608, '2016-08-10', 'bo', 'day'),
(17046, 'wahidul.ashrafe', 608, '2016-08-10', 'bo', 'day'),
(17047, 'tahsinul.ferdous', 608, '2016-08-10', 'iig', 'day'),
(17048, 'rayhan.hossain', 608, '2016-08-10', 'icx', 'day'),
(17049, 'sakib.ullah', 608, '2016-08-10', 'shift_leader', 'evening'),
(17050, 'umar.rafaet', 608, '2016-08-10', 'sur', 'evening'),
(17051, 'samar.kumar', 608, '2016-08-10', 'sur', 'evening'),
(17052, 'nowrin.karim', 608, '2016-08-10', 'bo', 'evening'),
(17053, 'tanveer.ahmed', 608, '2016-08-10', 'bo', 'evening'),
(17054, 'rahul.biswas', 608, '2016-08-10', 'iig', 'evening'),
(17055, 'saiham.rahman', 608, '2016-08-10', 'icx', 'evening'),
(17056, 'mahbub.hasan', 608, '2016-08-10', 'shift_leader', 'night'),
(17057, 'nazmul.hasan', 608, '2016-08-10', 'sur', 'night'),
(17058, 'etanvir.ahmed', 608, '2016-08-10', 'bo', 'night'),
(17059, 'imroze.ahmed', 608, '2016-08-10', 'iig', 'night'),
(17060, 'shamim.hassan', 608, '2016-08-10', 'icx', 'night'),
(17061, 'sakib.ullah', 560, '2016-08-08', 'shift_leader', 'day'),
(17062, 'nazmul.hasan', 560, '2016-08-08', 'sur', 'day'),
(17063, 'umar.rafaet', 560, '2016-08-08', 'sur', 'day'),
(17064, 'nowrin.karim', 560, '2016-08-08', 'bo', 'day'),
(17065, 'samar.kumar', 560, '2016-08-08', 'bo', 'day'),
(17066, 'rahul.biswas', 560, '2016-08-08', 'iig', 'day'),
(17067, 'shamim.hassan', 560, '2016-08-08', 'icx', 'day'),
(17068, 'mir.raihan', 560, '2016-08-08', 'shift_leader', 'evening'),
(17069, 'mahbub.hasan', 560, '2016-08-08', 'shift_leader', 'evening'),
(17070, 'nafisa.sayed', 560, '2016-08-08', 'sur', 'evening'),
(17071, 'sadia.afrin', 560, '2016-08-08', 'sur', 'evening'),
(17072, 'etanvir.ahmed', 560, '2016-08-08', 'bo', 'evening'),
(17073, 'puspita.tapu', 560, '2016-08-08', 'bo', 'evening'),
(17074, 'imroze.ahmed', 560, '2016-08-08', 'iig', 'evening'),
(17075, 'saiham.rahman', 560, '2016-08-08', 'icx', 'evening'),
(17076, 'mahbub.hasan', 560, '2016-08-08', 'shift_leader', 'night'),
(17077, 's.majumder', 560, '2016-08-08', 'sur', 'night'),
(17078, 'sadaf.mahmud', 560, '2016-08-08', 'sur', 'night'),
(17079, 'iqbal.ahmed', 560, '2016-08-08', 'bo', 'night'),
(17080, 'iftakhar.jahan', 560, '2016-08-08', 'iig', 'night'),
(17081, 'ashiqur.rahman', 560, '2016-08-08', 'icx', 'night'),
(17082, 'mahbub.hasan', 358, '2016-08-06', 'shift_leader', 'day'),
(17083, 'nafisa.sayed', 358, '2016-08-06', 'sur', 'day'),
(17084, 'nasrin.akter', 358, '2016-08-06', 'sur', 'day'),
(17085, 'puspita.tapu', 358, '2016-08-06', 'bo', 'day'),
(17086, 'etanvir.ahmed', 358, '2016-08-06', 'bo', 'day'),
(17087, 'sadia.afrin', 358, '2016-08-06', 'iig', 'day'),
(17088, 'tahsinul.ferdous', 358, '2016-08-06', 'iig', 'day'),
(17089, 'rayhan.hossain', 358, '2016-08-06', 'icx', 'day'),
(17090, 'sadaf.mahmud', 358, '2016-08-06', 'shift_leader', 'evening'),
(17091, 's.majumder', 358, '2016-08-06', 'sur', 'evening'),
(17092, 'rifat.hasan', 358, '2016-08-06', 'sur', 'evening'),
(17093, 'sarbik.sahan', 358, '2016-08-06', 'bo', 'evening'),
(17094, 'maruf.mohammad', 358, '2016-08-06', 'bo', 'evening'),
(17095, 'imroze.ahmed', 358, '2016-08-06', 'iig', 'evening'),
(17096, 'saiham.rahman', 358, '2016-08-06', 'icx', 'evening'),
(17097, 'saeed.naser', 358, '2016-08-06', 'shift_leader', 'night'),
(17098, 'akramul.tarafdar', 358, '2016-08-06', 'sur', 'night'),
(17099, 'tanveer.ahmed', 358, '2016-08-06', 'sur', 'night'),
(17100, 'iqbal.ahmed', 358, '2016-08-06', 'bo', 'night'),
(17101, 'iftakhar.jahan', 358, '2016-08-06', 'iig', 'night'),
(17102, 'shamim.hassan', 358, '2016-08-06', 'icx', 'night'),
(17113, 'maruf.mohammad', 610, '2016-08-12', 'bo', 'evening'),
(17169, 'puspita.tapu', 612, '2016-08-14', 'sur', 'evening'),
(17181, 'sakib.ullah', 613, '2016-08-15', 'shift_leader', 'day'),
(17182, 'nazmul.hasan', 613, '2016-08-15', 'sur', 'day'),
(17183, 'sadia.afrin', 613, '2016-08-15', 'sur', 'day'),
(17184, 'nowrin.karim', 613, '2016-08-15', 'bo', 'day'),
(17185, 'samar.kumar', 613, '2016-08-15', 'bo', 'day'),
(17186, 'rahul.biswas', 613, '2016-08-15', 'iig', 'day'),
(17187, 'saiham.rahman', 613, '2016-08-15', 'icx', 'day'),
(17188, 'mir.raihan', 613, '2016-08-15', 'shift_leader', 'evening'),
(17189, 'mahbub.hasan', 613, '2016-08-15', 'shift_leader', 'evening'),
(17190, 'puspita.tapu', 613, '2016-08-15', 'sur', 'evening'),
(17191, 'nafisa.sayed', 613, '2016-08-15', 'sur', 'evening'),
(17192, 'etanvir.ahmed', 613, '2016-08-15', 'bo', 'evening'),
(17193, 'sarbik.sahan', 613, '2016-08-15', 'bo', 'evening'),
(17194, 'imroze.ahmed', 613, '2016-08-15', 'iig', 'evening'),
(17195, 'shamim.hassan', 613, '2016-08-15', 'icx', 'evening'),
(17196, 'sadaf.mahmud', 613, '2016-08-15', 'shift_leader', 'night'),
(17197, 's.majumder', 613, '2016-08-15', 'sur', 'night'),
(17198, 'iqbal.ahmed', 613, '2016-08-15', 'bo', 'night'),
(17199, 'iftakhar.jahan', 613, '2016-08-15', 'iig', 'night'),
(17200, 'ashiqur.rahman', 613, '2016-08-15', 'icx', 'night'),
(17220, 'saeed.naser', 610, '2016-08-12', 'shift_leader', 'day'),
(17221, 'nafisa.sayed', 610, '2016-08-12', 'sur', 'day'),
(17222, 's.majumder', 610, '2016-08-12', 'sur', 'day'),
(17223, 'puspita.tapu', 610, '2016-08-12', 'bo', 'day'),
(17224, 'iftakhar.jahan', 610, '2016-08-12', 'bo', 'day'),
(17225, 'tahsinul.ferdous', 610, '2016-08-12', 'iig', 'day'),
(17226, 'ashiqur.rahman', 610, '2016-08-12', 'icx', 'day'),
(17227, 'sadaf.mahmud', 610, '2016-08-12', 'shift_leader', 'evening'),
(17228, 'akramul.tarafdar', 610, '2016-08-12', 'sur', 'evening'),
(17229, 'iqbal.ahmed', 610, '2016-08-12', 'sur', 'evening'),
(17230, 'maruf.mohammad', 610, '2016-08-12', 'bo', 'evening'),
(17231, 'sadia.afrin', 610, '2016-08-12', 'iig', 'evening'),
(17232, 'rayhan.hossain', 610, '2016-08-12', 'icx', 'evening'),
(17233, 'mir.raihan', 610, '2016-08-12', 'shift_leader', 'night'),
(17234, 'umar.rafaet', 610, '2016-08-12', 'sur', 'night'),
(17235, 'showmen.barua', 610, '2016-08-12', 'sur', 'night'),
(17236, 'samar.kumar', 610, '2016-08-12', 'bo', 'night'),
(17237, 'wahidul.ashrafe', 610, '2016-08-12', 'bo', 'night'),
(17238, 'tanveer.ahmed', 610, '2016-08-12', 'iig', 'night'),
(17239, 'saiham.rahman', 610, '2016-08-12', 'icx', 'night'),
(17240, 'sakib.ullah', 612, '2016-08-14', 'shift_leader', 'day'),
(17241, 'nasrin.akter', 612, '2016-08-14', 'sur', 'day'),
(17242, 'nazmul.hasan', 612, '2016-08-14', 'sur', 'day'),
(17243, 'nowrin.karim', 612, '2016-08-14', 'bo', 'day'),
(17244, 'sarbik.sahan', 612, '2016-08-14', 'bo', 'day'),
(17245, 'rahul.biswas', 612, '2016-08-14', 'iig', 'day'),
(17246, 'imroze.ahmed', 612, '2016-08-14', 'iig', 'day'),
(17247, 'shamim.hassan', 612, '2016-08-14', 'icx', 'day'),
(17248, 'sadaf.mahmud', 612, '2016-08-14', 'shift_leader', 'evening'),
(17249, 'nafisa.sayed', 612, '2016-08-14', 'sur', 'evening'),
(17250, 's.majumder', 612, '2016-08-14', 'sur', 'evening'),
(17251, 'etanvir.ahmed', 612, '2016-08-14', 'bo', 'evening'),
(17252, 'puspita.tapu', 612, '2016-08-14', 'bo', 'evening'),
(17253, 'iftakhar.jahan', 612, '2016-08-14', 'iig', 'evening'),
(17254, 'ashiqur.rahman', 612, '2016-08-14', 'icx', 'evening'),
(17255, 'saeed.naser', 612, '2016-08-14', 'shift_leader', 'night'),
(17256, 'iqbal.ahmed', 612, '2016-08-14', 'sur', 'night'),
(17257, 'maruf.mohammad', 612, '2016-08-14', 'bo', 'night'),
(17258, 'tahsinul.ferdous', 612, '2016-08-14', 'iig', 'night'),
(17259, 'rayhan.hossain', 612, '2016-08-14', 'icx', 'night'),
(17260, 'mir.raihan', 615, '2016-08-17', 'shift_leader', 'day'),
(17261, 'saeed.naser', 615, '2016-08-17', 'shift_leader', 'day'),
(17262, 'nasrin.akter', 615, '2016-08-17', 'sur', 'day'),
(17263, 'sadia.afrin', 615, '2016-08-17', 'sur', 'day'),
(17264, 'maruf.mohammad', 615, '2016-08-17', 'bo', 'day'),
(17265, 'anika.sharmin', 615, '2016-08-17', 'bo', 'day'),
(17266, 'tahsinul.ferdous', 615, '2016-08-17', 'iig', 'day'),
(17267, 'saiham.rahman', 615, '2016-08-17', 'icx', 'day'),
(17268, 'sakib.ullah', 615, '2016-08-17', 'shift_leader', 'evening'),
(17269, 'akramul.tarafdar', 615, '2016-08-17', 'sur', 'evening'),
(17270, 'umar.rafaet', 615, '2016-08-17', 'sur', 'evening'),
(17271, 'nowrin.karim', 615, '2016-08-17', 'bo', 'evening'),
(17272, 'samar.kumar', 615, '2016-08-17', 'bo', 'evening'),
(17273, 'rahul.biswas', 615, '2016-08-17', 'iig', 'evening'),
(17274, 'tanveer.ahmed', 615, '2016-08-17', 'icx', 'evening'),
(17275, 'rayhan.hossain', 615, '2016-08-17', 'icx', 'evening'),
(17276, 'mahbub.hasan', 615, '2016-08-17', 'shift_leader', 'night'),
(17277, 'sarbik.sahan', 615, '2016-08-17', 'sur', 'night'),
(17278, 'nazmul.hasan', 615, '2016-08-17', 'sur', 'night'),
(17279, 'etanvir.ahmed', 615, '2016-08-17', 'bo', 'night'),
(17280, 'imroze.ahmed', 615, '2016-08-17', 'iig', 'night'),
(17281, 'shamim.hassan', 615, '2016-08-17', 'icx', 'night'),
(17303, 'saeed.naser', 630, '2016-08-18', 'shift_leader', 'day'),
(17304, 'nasrin.akter', 630, '2016-08-18', 'sur', 'day'),
(17305, 'anika.sharmin', 630, '2016-08-18', 'sur', 'day'),
(17306, 'iqbal.ahmed', 630, '2016-08-18', 'bo', 'day'),
(17307, 'maruf.mohammad', 630, '2016-08-18', 'bo', 'day'),
(17308, 'sadia.afrin', 630, '2016-08-18', 'iig', 'day'),
(17309, 'tahsinul.ferdous', 630, '2016-08-18', 'iig', 'day'),
(17310, 'rayhan.hossain', 630, '2016-08-18', 'icx', 'day'),
(17311, 'mir.raihan', 630, '2016-08-18', 'shift_leader', 'evening'),
(17312, 'akramul.tarafdar', 630, '2016-08-18', 'sur', 'evening'),
(17313, 'umar.rafaet', 630, '2016-08-18', 'sur', 'evening'),
(17314, 'nowrin.karim', 630, '2016-08-18', 'bo', 'evening'),
(17315, 'wahidul.ashrafe', 630, '2016-08-18', 'bo', 'evening'),
(17316, 'tanveer.ahmed', 630, '2016-08-18', 'iig', 'evening'),
(17317, 'saiham.rahman', 630, '2016-08-18', 'icx', 'evening'),
(17318, 'sakib.ullah', 630, '2016-08-18', 'shift_leader', 'night'),
(17319, 'nazmul.hasan', 630, '2016-08-18', 'sur', 'night'),
(17320, 'samar.kumar', 630, '2016-08-18', 'sur', 'night'),
(17321, 'sarbik.sahan', 630, '2016-08-18', 'bo', 'night'),
(17322, 'rahul.biswas', 630, '2016-08-18', 'iig', 'night'),
(17323, 'shamim.hassan', 630, '2016-08-18', 'icx', 'night'),
(17339, 'umar.rafaet', 631, '2016-08-19', 'sur', 'night'),
(17354, 'maruf.mohammad', 632, '2016-08-20', 'bo', 'evening'),
(17359, 'etanvir.ahmed', 632, '2016-08-20', 'sur', 'night'),
(17364, 'sakib.ullah', 633, '2016-08-21', 'shift_leader', 'day'),
(17365, 'nasrin.akter', 633, '2016-08-21', 'sur', 'day'),
(17366, 'nafisa.sayed', 633, '2016-08-21', 'sur', 'day'),
(17367, 'nowrin.karim', 633, '2016-08-21', 'bo', 'day'),
(17368, 'sarbik.sahan', 633, '2016-08-21', 'bo', 'day'),
(17369, 'nazmul.hasan', 633, '2016-08-21', 'bo', 'day'),
(17370, 'rahul.biswas', 633, '2016-08-21', 'iig', 'day'),
(17371, 'imroze.ahmed', 633, '2016-08-21', 'iig', 'day'),
(17372, 'shamim.hassan', 633, '2016-08-21', 'icx', 'day'),
(17373, 'mahbub.hasan', 633, '2016-08-21', 'shift_leader', 'evening'),
(17374, 'puspita.tapu', 633, '2016-08-21', 'sur', 'evening'),
(17375, 's.majumder', 633, '2016-08-21', 'sur', 'evening'),
(17376, 'sadaf.mahmud', 633, '2016-08-21', 'bo', 'evening'),
(17377, 'etanvir.ahmed', 633, '2016-08-21', 'bo', 'evening'),
(17378, 'sadia.afrin', 633, '2016-08-21', 'iig', 'evening'),
(17379, 'iftakhar.jahan', 633, '2016-08-21', 'iig', 'evening'),
(17380, 'ashiqur.rahman', 633, '2016-08-21', 'icx', 'evening'),
(17381, 'saeed.naser', 633, '2016-08-21', 'shift_leader', 'night'),
(17382, 'iqbal.ahmed', 633, '2016-08-21', 'sur', 'night'),
(17383, 'akramul.tarafdar', 633, '2016-08-21', 'sur', 'night'),
(17384, 'maruf.mohammad', 633, '2016-08-21', 'bo', 'night'),
(17385, 'tahsinul.ferdous', 633, '2016-08-21', 'iig', 'night'),
(17386, 'rayhan.hossain', 633, '2016-08-21', 'icx', 'night'),
(17408, 'mir.raihan', 635, '2016-08-23', 'shift_leader', 'day'),
(17409, 'nasrin.akter', 635, '2016-08-23', 'sur', 'day'),
(17410, 'anika.sharmin', 635, '2016-08-23', 'sur', 'day'),
(17411, 'nowrin.karim', 635, '2016-08-23', 'bo', 'day'),
(17412, 'wahidul.ashrafe', 635, '2016-08-23', 'bo', 'day'),
(17413, 'nazmul.hasan', 635, '2016-08-23', 'bo', 'day'),
(17414, 'tanveer.ahmed', 635, '2016-08-23', 'iig', 'day'),
(17415, 'umar.rafaet', 635, '2016-08-23', 'icx', 'day'),
(17416, 'saiham.rahman', 635, '2016-08-23', 'icx', 'day'),
(17417, 'sakib.ullah', 635, '2016-08-23', 'shift_leader', 'evening'),
(17418, 'puspita.tapu', 635, '2016-08-23', 'sur', 'evening'),
(17419, 'nafisa.sayed', 635, '2016-08-23', 'sur', 'evening'),
(17420, 'samar.kumar', 635, '2016-08-23', 'bo', 'evening'),
(17421, 'sarbik.sahan', 635, '2016-08-23', 'bo', 'evening'),
(17422, 'rahul.biswas', 635, '2016-08-23', 'iig', 'evening'),
(17423, 'imroze.ahmed', 635, '2016-08-23', 'iig', 'evening'),
(17424, 'shamim.hassan', 635, '2016-08-23', 'icx', 'evening'),
(17425, 'mahbub.hasan', 635, '2016-08-23', 'shift_leader', 'night'),
(17426, 's.majumder', 635, '2016-08-23', 'sur', 'night'),
(17427, 'etanvir.ahmed', 635, '2016-08-23', 'sur', 'night'),
(17428, 'sadaf.mahmud', 635, '2016-08-23', 'bo', 'night'),
(17429, 'iftakhar.jahan', 635, '2016-08-23', 'iig', 'night'),
(17430, 'ashiqur.rahman', 635, '2016-08-23', 'icx', 'night'),
(17431, 'mir.raihan', 636, '2016-08-24', 'shift_leader', 'day'),
(17489, 'umar.rafaet', 638, '2016-08-26', 'sur', 'night'),
(17504, 'maruf.mohammad', 639, '2016-08-27', 'bo', 'evening'),
(17509, 'wahidul.ashrafe', 639, '2016-08-27', 'sur', 'night'),
(17520, 'rahul.biswas', 640, '2016-08-28', 'iig', 'day'),
(17561, 'nowrin.karim', 642, '2016-08-30', 'bo', 'day'),
(17572, '', 642, '2016-08-30', 'iig', 'evening'),
(17595, 'saiham.rahman', 643, '2016-08-31', 'icx', 'evening'),
(17603, 'mahbub.hasan', 632, '2016-08-20', 'shift_leader', 'day'),
(17604, 'nafisa.sayed', 632, '2016-08-20', 'sur', 'day'),
(17605, 'nazmul.hasan', 632, '2016-08-20', 'sur', 'day'),
(17606, 'puspita.tapu', 632, '2016-08-20', 'bo', 'day'),
(17607, 'etanvir.ahmed', 632, '2016-08-20', 'bo', 'day'),
(17608, 'imroze.ahmed', 632, '2016-08-20', 'iig', 'day'),
(17609, 'iftakhar.jahan', 632, '2016-08-20', 'icx', 'day'),
(17610, 'sadaf.mahmud', 632, '2016-08-20', 'shift_leader', 'evening'),
(17611, 's.majumder', 632, '2016-08-20', 'sur', 'evening'),
(17612, 'akramul.tarafdar', 632, '2016-08-20', 'sur', 'evening'),
(17614, 'etanvir.ahmed', 632, '2016-08-20', 'bo', 'evening'),
(17615, 'sadia.afrin', 632, '2016-08-20', 'iig', 'evening'),
(17616, 'ashiqur.rahman', 632, '2016-08-20', 'icx', 'evening'),
(17617, 'saeed.naser', 632, '2016-08-20', 'shift_leader', 'night'),
(17618, 'umar.rafaet', 632, '2016-08-20', 'sur', 'night'),
(17619, 'tanveer.ahmed', 632, '2016-08-20', 'bo', 'night');
INSERT INTO `rostertable` (`roster_table_id`, `user_id`, `shift_id`, `shift_date`, `shift_position`, `shift_time`) VALUES
(17620, 'tahsinul.ferdous', 632, '2016-08-20', 'iig', 'night'),
(17621, 'rayhan.hossain', 632, '2016-08-20', 'icx', 'night'),
(17622, 'saeed.naser', 631, '2016-08-19', 'shift_leader', 'day'),
(17623, 'nafisa.sayed', 631, '2016-08-19', 'sur', 'day'),
(17624, 's.majumder', 631, '2016-08-19', 'sur', 'day'),
(17625, 'puspita.tapu', 631, '2016-08-19', 'bo', 'day'),
(17626, 'iftakhar.jahan', 631, '2016-08-19', 'bo', 'day'),
(17627, 'tahsinul.ferdous', 631, '2016-08-19', 'iig', 'day'),
(17628, 'ashiqur.rahman', 631, '2016-08-19', 'icx', 'day'),
(17629, 'sadaf.mahmud', 631, '2016-08-19', 'shift_leader', 'evening'),
(17630, 'akramul.tarafdar', 631, '2016-08-19', 'sur', 'evening'),
(17631, 'wahidul.ashrafe', 631, '2016-08-19', 'sur', 'evening'),
(17632, 'maruf.mohammad', 631, '2016-08-19', 'bo', 'evening'),
(17633, 'anika.sharmin', 631, '2016-08-19', 'bo', 'evening'),
(17634, 'sadia.afrin', 631, '2016-08-19', 'iig', 'evening'),
(17635, 'rayhan.hossain', 631, '2016-08-19', 'icx', 'evening'),
(17636, 'mir.raihan', 631, '2016-08-19', 'shift_leader', 'night'),
(17637, 'umar.rafaet', 631, '2016-08-19', 'sur', 'night'),
(17638, 'samar.kumar', 631, '2016-08-19', 'bo', 'night'),
(17639, 'tanveer.ahmed', 631, '2016-08-19', 'iig', 'night'),
(17640, 'saiham.rahman', 631, '2016-08-19', 'icx', 'night'),
(17641, 'mir.raihan', 643, '2016-08-31', 'shift_leader', 'day'),
(17642, 'saeed.naser', 643, '2016-08-31', 'shift_leader', 'day'),
(17643, 'nasrin.akter', 643, '2016-08-31', 'sur', 'day'),
(17644, 'sadia.afrin', 643, '2016-08-31', 'sur', 'day'),
(17645, 'maruf.mohammad', 643, '2016-08-31', 'bo', 'day'),
(17646, 'anika.sharmin', 643, '2016-08-31', 'bo', 'day'),
(17647, 'tahsinul.ferdous', 643, '2016-08-31', 'iig', 'day'),
(17648, 'rayhan.hossain', 643, '2016-08-31', 'icx', 'day'),
(17649, 'sakib.ullah', 643, '2016-08-31', 'shift_leader', 'evening'),
(17650, 'wahidul.ashrafe', 643, '2016-08-31', 'sur', 'evening'),
(17651, 'umar.rafaet', 643, '2016-08-31', 'sur', 'evening'),
(17652, 'nowrin.karim', 643, '2016-08-31', 'bo', 'evening'),
(17653, 'samar.kumar', 643, '2016-08-31', 'bo', 'evening'),
(17654, 'tanveer.ahmed', 643, '2016-08-31', 'iig', 'evening'),
(17655, 'saiham.rahman', 643, '2016-08-31', 'icx', 'evening'),
(17656, 'mahbub.hasan', 643, '2016-08-31', 'shift_leader', 'night'),
(17657, 'sarbik.sahan', 643, '2016-08-31', 'sur', 'night'),
(17658, 'nazmul.hasan', 643, '2016-08-31', 'sur', 'night'),
(17659, 'etanvir.ahmed', 643, '2016-08-31', 'bo', 'night'),
(17660, 'imroze.ahmed', 643, '2016-08-31', 'iig', 'night'),
(17661, 'shamim.hassan', 643, '2016-08-31', 'icx', 'night'),
(17675, 'sadia.afrin', 640, '2016-08-28', 'iig', 'evening'),
(17684, 'mahbub.hasan', 639, '2016-08-27', 'shift_leader', 'day'),
(17685, 'nafisa.sayed', 639, '2016-08-27', 'sur', 'day'),
(17686, 'nasrin.akter', 639, '2016-08-27', 'sur', 'day'),
(17687, 'puspita.tapu', 639, '2016-08-27', 'bo', 'day'),
(17688, 'etanvir.ahmed', 639, '2016-08-27', 'bo', 'day'),
(17689, 'imroze.ahmed', 639, '2016-08-27', 'iig', 'day'),
(17690, 'iftakhar.jahan', 639, '2016-08-27', 'icx', 'day'),
(17691, 'sadaf.mahmud', 639, '2016-08-27', 'shift_leader', 'evening'),
(17692, 's.majumder', 639, '2016-08-27', 'sur', 'evening'),
(17693, 'akramul.tarafdar', 639, '2016-08-27', 'sur', 'evening'),
(17695, 'iqbal.ahmed', 639, '2016-08-27', 'bo', 'evening'),
(17696, 'sadia.afrin', 639, '2016-08-27', 'iig', 'evening'),
(17697, 'rayhan.hossain', 639, '2016-08-27', 'icx', 'evening'),
(17698, 'saeed.naser', 639, '2016-08-27', 'shift_leader', 'night'),
(17699, 'wahidul.ashrafe', 639, '2016-08-27', 'sur', 'night'),
(17700, 'tanveer.ahmed', 639, '2016-08-27', 'bo', 'night'),
(17701, 'tahsinul.ferdous', 639, '2016-08-27', 'iig', 'night'),
(17702, 'umar.rafaet', 639, '2016-08-27', 'icx', 'night'),
(17724, 'sakib.ullah', 634, '2016-08-22', 'shift_leader', 'day'),
(17725, 'nasrin.akter', 634, '2016-08-22', 'sur', 'day'),
(17726, 'anika.sharmin', 634, '2016-08-22', 'sur', 'day'),
(17727, 'nowrin.karim', 634, '2016-08-22', 'bo', 'day'),
(17728, 'samar.kumar', 634, '2016-08-22', 'bo', 'day'),
(17729, 'rahul.biswas', 634, '2016-08-22', 'iig', 'day'),
(17730, 'saiham.rahman', 634, '2016-08-22', 'icx', 'day'),
(17731, 'mir.raihan', 634, '2016-08-22', 'shift_leader', 'evening'),
(17732, 'mahbub.hasan', 634, '2016-08-22', 'shift_leader', 'evening'),
(17733, 'puspita.tapu', 634, '2016-08-22', 'sur', 'evening'),
(17734, 'nafisa.sayed', 634, '2016-08-22', 'sur', 'evening'),
(17735, 'etanvir.ahmed', 634, '2016-08-22', 'bo', 'evening'),
(17736, 'sarbik.sahan', 634, '2016-08-22', 'bo', 'evening'),
(17737, 'imroze.ahmed', 634, '2016-08-22', 'iig', 'evening'),
(17738, 'shamim.hassan', 634, '2016-08-22', 'icx', 'evening'),
(17739, 'sadaf.mahmud', 634, '2016-08-22', 'shift_leader', 'night'),
(17740, 's.majumder', 634, '2016-08-22', 'sur', 'night'),
(17741, 'akramul.tarafdar', 634, '2016-08-22', 'sur', 'night'),
(17742, 'iqbal.ahmed', 634, '2016-08-22', 'bo', 'night'),
(17743, 'iftakhar.jahan', 634, '2016-08-22', 'iig', 'night'),
(17744, 'ashiqur.rahman', 634, '2016-08-22', 'icx', 'night'),
(17771, 'sadia.afrin', 637, '2016-08-25', 'iig', 'day'),
(17806, 'saeed.naser', 637, '2016-08-25', 'shift_leader', 'day'),
(17807, 'nasrin.akter', 637, '2016-08-25', 'sur', 'day'),
(17808, 'anika.sharmin', 637, '2016-08-25', 'sur', 'day'),
(17809, 'iqbal.ahmed', 637, '2016-08-25', 'bo', 'day'),
(17810, 'maruf.mohammad', 637, '2016-08-25', 'bo', 'day'),
(17811, 'tahsinul.ferdous', 637, '2016-08-25', 'iig', 'day'),
(17812, 'rayhan.hossain', 637, '2016-08-25', 'icx', 'day'),
(17813, 'mir.raihan', 637, '2016-08-25', 'shift_leader', 'evening'),
(17814, 'akramul.tarafdar', 637, '2016-08-25', 'sur', 'evening'),
(17815, 'umar.rafaet', 637, '2016-08-25', 'sur', 'evening'),
(17816, 'nowrin.karim', 637, '2016-08-25', 'bo', 'evening'),
(17817, 'wahidul.ashrafe', 637, '2016-08-25', 'bo', 'evening'),
(17818, 'tanveer.ahmed', 637, '2016-08-25', 'iig', 'evening'),
(17819, 'saiham.rahman', 637, '2016-08-25', 'icx', 'evening'),
(17820, 'sakib.ullah', 637, '2016-08-25', 'shift_leader', 'night'),
(17821, 'nazmul.hasan', 637, '2016-08-25', 'sur', 'night'),
(17822, 'samar.kumar', 637, '2016-08-25', 'sur', 'night'),
(17823, 'sarbik.sahan', 637, '2016-08-25', 'bo', 'night'),
(17824, 'iftakhar.jahan', 637, '2016-08-25', 'iig', 'night'),
(17825, 'shamim.hassan', 637, '2016-08-25', 'icx', 'night'),
(17826, 'mir.raihan', 636, '2016-08-24', 'shift_leader', 'day'),
(17827, 'nasrin.akter', 636, '2016-08-24', 'sur', 'day'),
(17828, 'sadia.afrin', 636, '2016-08-24', 'sur', 'day'),
(17829, 'maruf.mohammad', 636, '2016-08-24', 'bo', 'day'),
(17830, 'anika.sharmin', 636, '2016-08-24', 'bo', 'day'),
(17831, 'tahsinul.ferdous', 636, '2016-08-24', 'iig', 'day'),
(17832, 'rayhan.hossain', 636, '2016-08-24', 'icx', 'day'),
(17833, 'sakib.ullah', 636, '2016-08-24', 'shift_leader', 'evening'),
(17834, 'saeed.naser', 636, '2016-08-24', 'shift_leader', 'evening'),
(17835, 'wahidul.ashrafe', 636, '2016-08-24', 'sur', 'evening'),
(17836, 'umar.rafaet', 636, '2016-08-24', 'sur', 'evening'),
(17837, 'nowrin.karim', 636, '2016-08-24', 'bo', 'evening'),
(17838, 'samar.kumar', 636, '2016-08-24', 'bo', 'evening'),
(17839, 'rahul.biswas', 636, '2016-08-24', 'iig', 'evening'),
(17840, 'saiham.rahman', 636, '2016-08-24', 'icx', 'evening'),
(17841, 'tanveer.ahmed', 636, '2016-08-24', 'icx', 'evening'),
(17842, 'mahbub.hasan', 636, '2016-08-24', 'shift_leader', 'night'),
(17843, 'sarbik.sahan', 636, '2016-08-24', 'sur', 'night'),
(17844, 'nazmul.hasan', 636, '2016-08-24', 'sur', 'night'),
(17845, 'etanvir.ahmed', 636, '2016-08-24', 'bo', 'night'),
(17846, 'imroze.ahmed', 636, '2016-08-24', 'iig', 'night'),
(17847, 'shamim.hassan', 636, '2016-08-24', 'icx', 'night'),
(17848, 'saeed.naser', 638, '2016-08-26', 'shift_leader', 'day'),
(17849, 'nafisa.sayed', 638, '2016-08-26', 'sur', 'day'),
(17850, 's.majumder', 638, '2016-08-26', 'sur', 'day'),
(17851, 'puspita.tapu', 638, '2016-08-26', 'bo', 'day'),
(17852, 'anika.sharmin', 638, '2016-08-26', 'bo', 'day'),
(17853, 'tahsinul.ferdous', 638, '2016-08-26', 'iig', 'day'),
(17854, 'ashiqur.rahman', 638, '2016-08-26', 'icx', 'day'),
(17855, 'sadaf.mahmud', 638, '2016-08-26', 'shift_leader', 'evening'),
(17856, 'akramul.tarafdar', 638, '2016-08-26', 'sur', 'evening'),
(17857, 'umar.rafaet', 638, '2016-08-26', 'sur', 'evening'),
(17858, 'maruf.mohammad', 638, '2016-08-26', 'bo', 'evening'),
(17859, 'iqbal.ahmed', 638, '2016-08-26', 'bo', 'evening'),
(17860, 'sadia.afrin', 638, '2016-08-26', 'iig', 'evening'),
(17861, 'rayhan.hossain', 638, '2016-08-26', 'icx', 'evening'),
(17862, 'mir.raihan', 638, '2016-08-26', 'shift_leader', 'night'),
(17863, 'wahidul.ashrafe', 638, '2016-08-26', 'sur', 'night'),
(17864, 'samar.kumar', 638, '2016-08-26', 'bo', 'night'),
(17865, 'tanveer.ahmed', 638, '2016-08-26', 'iig', 'night'),
(17866, 'saiham.rahman', 638, '2016-08-26', 'icx', 'night'),
(17896, 'mahbub.hasan', 640, '2016-08-28', 'shift_leader', 'evening'),
(17916, 'mir.raihan', 641, '2016-08-29', 'shift_leader', 'evening'),
(17930, 'sakib.ullah', 640, '2016-08-28', 'shift_leader', 'day'),
(17931, 's.majumder', 640, '2016-08-28', 'sur', 'day'),
(17932, 'nafisa.sayed', 640, '2016-08-28', 'sur', 'day'),
(17933, 'nowrin.karim', 640, '2016-08-28', 'bo', 'day'),
(17934, 'sarbik.sahan', 640, '2016-08-28', 'bo', 'day'),
(17935, 'nazmul.hasan', 640, '2016-08-28', 'bo', 'day'),
(17936, 'imroze.ahmed', 640, '2016-08-28', 'iig', 'day'),
(17937, 'shamim.hassan', 640, '2016-08-28', 'icx', 'day'),
(17938, 'puspita.tapu', 640, '2016-08-28', 'sur', 'evening'),
(17939, 'nasrin.akter', 640, '2016-08-28', 'sur', 'evening'),
(17940, 'sadaf.mahmud', 640, '2016-08-28', 'bo', 'evening'),
(17941, 'etanvir.ahmed', 640, '2016-08-28', 'bo', 'evening'),
(17942, 'sadia.afrin', 640, '2016-08-28', 'iig', 'evening'),
(17943, 'iftakhar.jahan', 640, '2016-08-28', 'icx', 'evening'),
(17944, 'saeed.naser', 640, '2016-08-28', 'shift_leader', 'night'),
(17945, 'iqbal.ahmed', 640, '2016-08-28', 'sur', 'night'),
(17946, 'akramul.tarafdar', 640, '2016-08-28', 'sur', 'night'),
(17947, 'maruf.mohammad', 640, '2016-08-28', 'bo', 'night'),
(17948, 'tahsinul.ferdous', 640, '2016-08-28', 'iig', 'night'),
(17949, 'rayhan.hossain', 640, '2016-08-28', 'icx', 'night'),
(17970, 'mir.raihan', 642, '2016-08-30', 'shift_leader', 'day'),
(17971, 'nasrin.akter', 642, '2016-08-30', 'sur', 'day'),
(17972, 'anika.sharmin', 642, '2016-08-30', 'sur', 'day'),
(17973, 'nowrin.karim', 642, '2016-08-30', 'bo', 'day'),
(17974, 'wahidul.ashrafe', 642, '2016-08-30', 'bo', 'day'),
(17975, 'tanveer.ahmed', 642, '2016-08-30', 'iig', 'day'),
(17976, 'umar.rafaet', 642, '2016-08-30', 'icx', 'day'),
(17977, 'saiham.rahman', 642, '2016-08-30', 'icx', 'day'),
(17978, 'sakib.ullah', 642, '2016-08-30', 'shift_leader', 'evening'),
(17979, 'puspita.tapu', 642, '2016-08-30', 'sur', 'evening'),
(17980, 'nafisa.sayed', 642, '2016-08-30', 'sur', 'evening'),
(17981, 'samar.kumar', 642, '2016-08-30', 'bo', 'evening'),
(17982, 'sarbik.sahan', 642, '2016-08-30', 'bo', 'evening'),
(17983, 'imroze.ahmed', 642, '2016-08-30', 'iig', 'evening'),
(17984, 'shamim.hassan', 642, '2016-08-30', 'icx', 'evening'),
(17985, 'mahbub.hasan', 642, '2016-08-30', 'shift_leader', 'night'),
(17986, 's.majumder', 642, '2016-08-30', 'sur', 'night'),
(17987, 'etanvir.ahmed', 642, '2016-08-30', 'sur', 'night'),
(17988, 'sadaf.mahmud', 642, '2016-08-30', 'bo', 'night'),
(17989, 'iftakhar.jahan', 642, '2016-08-30', 'iig', 'night'),
(17990, 'ashiqur.rahman', 642, '2016-08-30', 'icx', 'night'),
(17991, 'sakib.ullah', 641, '2016-08-29', 'shift_leader', 'day'),
(17992, 'nazmul.hasan', 641, '2016-08-29', 'sur', 'day'),
(17993, 'anika.sharmin', 641, '2016-08-29', 'sur', 'day'),
(17994, 'nowrin.karim', 641, '2016-08-29', 'bo', 'day'),
(17995, 'samar.kumar', 641, '2016-08-29', 'bo', 'day'),
(17996, 'imroze.ahmed', 641, '2016-08-29', 'iig', 'day'),
(17997, 'saiham.rahman', 641, '2016-08-29', 'icx', 'day'),
(17998, 'mir.raihan', 641, '2016-08-29', 'shift_leader', 'evening'),
(17999, 'nafisa.sayed', 641, '2016-08-29', 'sur', 'evening'),
(18000, 'puspita.tapu', 641, '2016-08-29', 'sur', 'evening'),
(18001, 'sarbik.sahan', 641, '2016-08-29', 'bo', 'evening'),
(18002, 'nazmul.hasan', 641, '2016-08-29', 'bo', 'evening'),
(18003, 'sadia.afrin', 641, '2016-08-29', 'iig', 'evening'),
(18004, 'shamim.hassan', 641, '2016-08-29', 'icx', 'evening'),
(18005, 'sadaf.mahmud', 641, '2016-08-29', 'shift_leader', 'night'),
(18006, 's.majumder', 641, '2016-08-29', 'sur', 'night'),
(18007, 'akramul.tarafdar', 641, '2016-08-29', 'sur', 'night'),
(18008, 'iqbal.ahmed', 641, '2016-08-29', 'bo', 'night'),
(18009, 'iftakhar.jahan', 641, '2016-08-29', 'iig', 'night'),
(18010, 'ashiqur.rahman', 641, '2016-08-29', 'icx', 'night'),
(18650, 'nazmul.hasan', 674, '2016-09-01', 'sur', 'night'),
(19252, '', 674, '2016-09-01', 'bo', 'evening'),
(19329, 'tahsinul.ferdous', 675, '2016-09-02', 'iig', 'day'),
(19473, 'saeed.naser', 675, '2016-09-02', 'shift_leader', 'day'),
(19474, 'nafisa.sayed', 675, '2016-09-02', 'sur', 'day'),
(19475, 's.majumder', 675, '2016-09-02', 'sur', 'day'),
(19476, 'puspita.tapu', 675, '2016-09-02', 'bo', 'day'),
(19477, 'anika.sharmin', 675, '2016-09-02', 'bo', 'day'),
(19478, 'iftakhar.jahan', 675, '2016-09-02', 'iig', 'day'),
(19479, 'ashiqur.rahman', 675, '2016-09-02', 'icx', 'day'),
(19480, 'sadaf.mahmud', 675, '2016-09-02', 'shift_leader', 'evening'),
(19481, 'akramul.tarafdar', 675, '2016-09-02', 'sur', 'evening'),
(19482, 'umar.rafaet', 675, '2016-09-02', 'sur', 'evening'),
(19483, 'maruf.mohammad', 675, '2016-09-02', 'bo', 'evening'),
(19484, 'iqbal.ahmed', 675, '2016-09-02', 'bo', 'evening'),
(19485, 'sadia.afrin', 675, '2016-09-02', 'iig', 'evening'),
(19486, 'rayhan.hossain', 675, '2016-09-02', 'icx', 'evening'),
(19487, 'mir.raihan', 675, '2016-09-02', 'shift_leader', 'night'),
(19488, 'wahidul.ashrafe', 675, '2016-09-02', 'sur', 'night'),
(19489, 'samar.kumar', 675, '2016-09-02', 'bo', 'night'),
(19490, 'tanveer.ahmed', 675, '2016-09-02', 'iig', 'night'),
(19491, 'saiham.rahman', 675, '2016-09-02', 'icx', 'night'),
(19533, 'saeed.naser', 674, '2016-09-01', 'shift_leader', 'day'),
(19534, 'nasrin.akter', 674, '2016-09-01', 'sur', 'day'),
(19535, 'anika.sharmin', 674, '2016-09-01', 'sur', 'day'),
(19536, 'iqbal.ahmed', 674, '2016-09-01', 'bo', 'day'),
(19537, 'maruf.mohammad', 674, '2016-09-01', 'bo', 'day'),
(19538, 'tahsinul.ferdous', 674, '2016-09-01', 'iig', 'day'),
(19539, 'rayhan.hossain', 674, '2016-09-01', 'icx', 'day'),
(19540, 'mir.raihan', 674, '2016-09-01', 'shift_leader', 'evening'),
(19541, 'akramul.tarafdar', 674, '2016-09-01', 'sur', 'evening'),
(19542, 'umar.rafaet', 674, '2016-09-01', 'sur', 'evening'),
(19543, 'wahidul.ashrafe', 674, '2016-09-01', 'bo', 'evening'),
(19544, 'samar.kumar', 674, '2016-09-01', 'bo', 'evening'),
(19545, 'tanveer.ahmed', 674, '2016-09-01', 'iig', 'evening'),
(19546, 'saiham.rahman', 674, '2016-09-01', 'icx', 'evening'),
(19547, 'sakib.ullah', 674, '2016-09-01', 'shift_leader', 'night'),
(19548, 'nazmul.hasan', 674, '2016-09-01', 'sur', 'night'),
(19549, 'sarbik.sahan', 674, '2016-09-01', 'bo', 'night'),
(19550, 'imroze.ahmed', 674, '2016-09-01', 'iig', 'night'),
(19551, 'shamim.hassan', 674, '2016-09-01', 'icx', 'night'),
(19727, 'nowrin.karim', 707, '2016-09-06', 'bo', 'day'),
(19816, 'maruf.mohammad', 711, '2016-09-10', 'bo', 'evening'),
(19828, 'nowrin.karim', 712, '2016-09-11', 'bo', 'day'),
(19829, 'sarbik.sahan', 712, '2016-09-11', 'bo', 'day'),
(19834, 'puspita.tapu', 712, '2016-09-11', 'sur', 'evening'),
(19836, 'sadaf.mahmud', 712, '2016-09-11', 'bo', 'evening'),
(19841, 'iqbal.ahmed', 712, '2016-09-11', 'sur', 'night'),
(19847, 'nazmul.hasan', 713, '2016-09-12', 'sur', 'day'),
(19849, 'nowrin.karim', 713, '2016-09-12', 'bo', 'day'),
(19853, 'mir.raihan', 713, '2016-09-12', 'shift_leader', 'evening'),
(19855, 'nafisa.sayed', 713, '2016-09-12', 'sur', 'evening'),
(19857, 'sarbik.sahan', 713, '2016-09-12', 'bo', 'evening'),
(19862, 's.majumder', 713, '2016-09-12', 'sur', 'night'),
(19868, 'nasrin.akter', 714, '2016-09-13', 'sur', 'day'),
(19870, 'nowrin.karim', 714, '2016-09-13', 'bo', 'day'),
(19871, 'wahidul.ashrafe', 714, '2016-09-13', 'bo', 'day'),
(19874, 'umar.rafaet', 714, '2016-09-13', 'icx', 'day'),
(19877, 'puspita.tapu', 714, '2016-09-13', 'sur', 'evening'),
(19879, 'samar.kumar', 714, '2016-09-13', 'bo', 'evening'),
(19884, 's.majumder', 714, '2016-09-13', 'sur', 'night'),
(19889, 'mir.raihan', 715, '2016-09-14', 'shift_leader', 'day'),
(19891, 'nasrin.akter', 715, '2016-09-14', 'sur', 'day'),
(19893, 'maruf.mohammad', 715, '2016-09-14', 'bo', 'day'),
(19898, 'wahidul.ashrafe', 715, '2016-09-14', 'sur', 'evening'),
(19900, 'nowrin.karim', 715, '2016-09-14', 'bo', 'evening'),
(19905, 'sarbik.sahan', 715, '2016-09-14', 'sur', 'night'),
(19920, 'nowrin.karim', 716, '2016-09-15', 'bo', 'evening'),
(19925, 'nazmul.hasan', 716, '2016-09-15', 'sur', 'night'),
(19933, 'puspita.tapu', 717, '2016-09-16', 'bo', 'day'),
(19940, 'maruf.mohammad', 717, '2016-09-16', 'bo', 'evening'),
(19959, 'maruf.mohammad', 718, '2016-09-17', 'bo', 'evening'),
(19971, 'nowrin.karim', 719, '2016-09-18', 'bo', 'day'),
(19972, 'sarbik.sahan', 719, '2016-09-18', 'bo', 'day'),
(19979, 'sadaf.mahmud', 719, '2016-09-18', 'bo', 'evening'),
(19996, 'mir.raihan', 720, '2016-09-19', 'shift_leader', 'evening'),
(20013, 'nowrin.karim', 721, '2016-09-20', 'bo', 'day'),
(20017, 'umar.rafaet', 721, '2016-09-20', 'icx', 'day'),
(20027, 's.majumder', 721, '2016-09-20', 'sur', 'night'),
(20032, 'mir.raihan', 722, '2016-09-21', 'shift_leader', 'day'),
(20041, 'wahidul.ashrafe', 722, '2016-09-21', 'sur', 'evening'),
(20043, 'nowrin.karim', 722, '2016-09-21', 'bo', 'evening'),
(20048, 'sarbik.sahan', 722, '2016-09-21', 'sur', 'night'),
(20068, 'nazmul.hasan', 723, '2016-09-22', 'sur', 'night'),
(20100, 's.majumder', 725, '2016-09-24', 'sur', 'evening'),
(20114, 'nowrin.karim', 726, '2016-09-25', 'bo', 'day'),
(20160, 'umar.rafaet', 728, '2016-09-27', 'icx', 'day'),
(20238, 'puspita.tapu', 704, '2016-09-03', 'bo', 'day'),
(20255, 'mahbub.hasan', 704, '2016-09-03', 'shift_leader', 'day'),
(20256, 'nafisa.sayed', 704, '2016-09-03', 'sur', 'day'),
(20257, 'nasrin.akter', 704, '2016-09-03', 'sur', 'day'),
(20258, 'puspita.tapu', 704, '2016-09-03', 'bo', 'day'),
(20259, 'imroze.ahmed', 704, '2016-09-03', 'iig', 'day'),
(20260, 'iftakhar.jahan', 704, '2016-09-03', 'icx', 'day'),
(20261, 'sadaf.mahmud', 704, '2016-09-03', 'shift_leader', 'evening'),
(20262, 's.majumder', 704, '2016-09-03', 'sur', 'evening'),
(20263, 'akramul.tarafdar', 704, '2016-09-03', 'sur', 'evening'),
(20264, 'maruf.mohammad', 704, '2016-09-03', 'bo', 'evening'),
(20265, 'iqbal.ahmed', 704, '2016-09-03', 'bo', 'evening'),
(20266, 'sadia.afrin', 704, '2016-09-03', 'iig', 'evening'),
(20267, 'ashiqur.rahman', 704, '2016-09-03', 'icx', 'evening'),
(20268, 'saeed.naser', 704, '2016-09-03', 'shift_leader', 'night'),
(20269, 'wahidul.ashrafe', 704, '2016-09-03', 'sur', 'night'),
(20270, 'umar.rafaet', 704, '2016-09-03', 'sur', 'night'),
(20271, 'tanveer.ahmed', 704, '2016-09-03', 'bo', 'night'),
(20272, 'tahsinul.ferdous', 704, '2016-09-03', 'iig', 'night'),
(20273, 'rayhan.hossain', 704, '2016-09-03', 'icx', 'night'),
(20290, 'iqbal.ahmed', 705, '2016-09-04', 'sur', 'night'),
(20378, 'sakib.ullah', 705, '2016-09-04', 'shift_leader', 'day'),
(20379, 'nafisa.sayed', 705, '2016-09-04', 'sur', 'day'),
(20380, 'nasrin.akter', 705, '2016-09-04', 'sur', 'day'),
(20381, 'nowrin.karim', 705, '2016-09-04', 'bo', 'day'),
(20382, 'sarbik.sahan', 705, '2016-09-04', 'bo', 'day'),
(20383, 'nazmul.hasan', 705, '2016-09-04', 'bo', 'day'),
(20384, 'rahul.biswas', 705, '2016-09-04', 'iig', 'day'),
(20385, 'shamim.hassan', 705, '2016-09-04', 'icx', 'day'),
(20386, 'mahbub.hasan', 705, '2016-09-04', 'shift_leader', 'evening'),
(20387, 'puspita.tapu', 705, '2016-09-04', 'sur', 'evening'),
(20388, 's.majumder', 705, '2016-09-04', 'sur', 'evening'),
(20389, 'sadaf.mahmud', 705, '2016-09-04', 'bo', 'evening'),
(20390, 'iqbal.ahmed', 705, '2016-09-04', 'bo', 'evening'),
(20391, 'sadia.afrin', 705, '2016-09-04', 'iig', 'evening'),
(20392, 'iftakhar.jahan', 705, '2016-09-04', 'iig', 'evening'),
(20393, 'ashiqur.rahman', 705, '2016-09-04', 'icx', 'evening'),
(20394, 'saeed.naser', 705, '2016-09-04', 'shift_leader', 'night'),
(20395, 's.majumder', 705, '2016-09-04', 'sur', 'night'),
(20396, 'maruf.mohammad', 705, '2016-09-04', 'bo', 'night'),
(20397, 'tahsinul.ferdous', 705, '2016-09-04', 'iig', 'night'),
(20398, 'rayhan.hossain', 705, '2016-09-04', 'icx', 'night'),
(20440, 'sakib.ullah', 706, '2016-09-05', 'shift_leader', 'day'),
(20441, 'nazmul.hasan', 706, '2016-09-05', 'sur', 'day'),
(20442, 'anika.sharmin', 706, '2016-09-05', 'sur', 'day'),
(20443, 'nowrin.karim', 706, '2016-09-05', 'bo', 'day'),
(20444, 'samar.kumar', 706, '2016-09-05', 'bo', 'day'),
(20445, 'rahul.biswas', 706, '2016-09-05', 'iig', 'day'),
(20446, 'saiham.rahman', 706, '2016-09-05', 'icx', 'day'),
(20447, 'mir.raihan', 706, '2016-09-05', 'shift_leader', 'evening'),
(20448, 'mahbub.hasan', 706, '2016-09-05', 'shift_leader', 'evening'),
(20449, 'nafisa.sayed', 706, '2016-09-05', 'sur', 'evening'),
(20450, 'puspita.tapu', 706, '2016-09-05', 'sur', 'evening'),
(20451, 'sarbik.sahan', 706, '2016-09-05', 'bo', 'evening'),
(20452, 'wahidul.ashrafe', 706, '2016-09-05', 'bo', 'evening'),
(20453, 'imroze.ahmed', 706, '2016-09-05', 'iig', 'evening'),
(20454, 'shamim.hassan', 706, '2016-09-05', 'icx', 'evening'),
(20455, 'sadaf.mahmud', 706, '2016-09-05', 'shift_leader', 'night'),
(20456, 's.majumder', 706, '2016-09-05', 'sur', 'night'),
(20457, 'akramul.tarafdar', 706, '2016-09-05', 'sur', 'night'),
(20458, 'iqbal.ahmed', 706, '2016-09-05', 'bo', 'night'),
(20459, 'iftakhar.jahan', 706, '2016-09-05', 'iig', 'night'),
(20460, 'ashiqur.rahman', 706, '2016-09-05', 'icx', 'night'),
(20467, 'umar.rafaet', 707, '2016-09-06', 'icx', 'day'),
(20483, 'mir.raihan', 708, '2016-09-07', 'shift_leader', 'day'),
(20538, 'imroze.ahmed', 707, '2016-09-06', 'iig', 'evening'),
(20547, 'mir.raihan', 707, '2016-09-06', 'shift_leader', 'day'),
(20548, 'nasrin.akter', 707, '2016-09-06', 'sur', 'day'),
(20549, 'anika.sharmin', 707, '2016-09-06', 'sur', 'day'),
(20550, 'nowrin.karim', 707, '2016-09-06', 'bo', 'day'),
(20551, 'nazmul.hasan', 707, '2016-09-06', 'bo', 'day'),
(20552, 'tanveer.ahmed', 707, '2016-09-06', 'iig', 'day'),
(20553, 'umar.rafaet', 707, '2016-09-06', 'icx', 'day'),
(20554, 'sakib.ullah', 707, '2016-09-06', 'shift_leader', 'evening'),
(20555, 'puspita.tapu', 707, '2016-09-06', 'sur', 'evening'),
(20556, 'nafisa.sayed', 707, '2016-09-06', 'sur', 'evening'),
(20557, 'samar.kumar', 707, '2016-09-06', 'bo', 'evening'),
(20558, 'sarbik.sahan', 707, '2016-09-06', 'bo', 'evening'),
(20559, 'imroze.ahmed', 707, '2016-09-06', 'iig', 'evening'),
(20560, 'shamim.hassan', 707, '2016-09-06', 'icx', 'evening'),
(20561, 'mahbub.hasan', 707, '2016-09-06', 'shift_leader', 'night'),
(20562, 's.majumder', 707, '2016-09-06', 'sur', 'night'),
(20563, 'etanvir.ahmed', 707, '2016-09-06', 'sur', 'night'),
(20564, 'sadaf.mahmud', 707, '2016-09-06', 'bo', 'night'),
(20565, 'iftakhar.jahan', 707, '2016-09-06', 'iig', 'night'),
(20566, 'ashiqur.rahman', 707, '2016-09-06', 'icx', 'night'),
(20567, 'saeed.naser', 708, '2016-09-07', 'shift_leader', 'day'),
(20568, 'nasrin.akter', 708, '2016-09-07', 'sur', 'day'),
(20569, 'sadia.afrin', 708, '2016-09-07', 'sur', 'day'),
(20570, 'maruf.mohammad', 708, '2016-09-07', 'bo', 'day'),
(20571, 'anika.sharmin', 708, '2016-09-07', 'bo', 'day'),
(20572, 'tahsinul.ferdous', 708, '2016-09-07', 'iig', 'day'),
(20573, 'rayhan.hossain', 708, '2016-09-07', 'icx', 'day'),
(20574, 'sakib.ullah', 708, '2016-09-07', 'shift_leader', 'evening'),
(20575, 'wahidul.ashrafe', 708, '2016-09-07', 'sur', 'evening'),
(20576, 'umar.rafaet', 708, '2016-09-07', 'sur', 'evening'),
(20577, 'nowrin.karim', 708, '2016-09-07', 'bo', 'evening'),
(20578, 'samar.kumar', 708, '2016-09-07', 'bo', 'evening'),
(20579, 'rahul.biswas', 708, '2016-09-07', 'iig', 'evening'),
(20580, 'saiham.rahman', 708, '2016-09-07', 'icx', 'evening'),
(20581, 'tanveer.ahmed', 708, '2016-09-07', 'icx', 'evening'),
(20582, 'mahbub.hasan', 708, '2016-09-07', 'shift_leader', 'night'),
(20583, 'sarbik.sahan', 708, '2016-09-07', 'sur', 'night'),
(20584, 'nazmul.hasan', 708, '2016-09-07', 'sur', 'night'),
(20585, 'etanvir.ahmed', 708, '2016-09-07', 'bo', 'night'),
(20586, 'imroze.ahmed', 708, '2016-09-07', 'iig', 'night'),
(20587, 'shamim.hassan', 708, '2016-09-07', 'icx', 'night'),
(20588, 'sakib.ullah', 709, '2016-09-08', 'shift_leader', 'day'),
(20589, 'nasrin.akter', 709, '2016-09-08', 'sur', 'day'),
(20590, 'anika.sharmin', 709, '2016-09-08', 'sur', 'day'),
(20591, 'iqbal.ahmed', 709, '2016-09-08', 'bo', 'day'),
(20592, 'maruf.mohammad', 709, '2016-09-08', 'bo', 'day'),
(20593, 'tahsinul.ferdous', 709, '2016-09-08', 'iig', 'day'),
(20594, 'sadia.afrin', 709, '2016-09-08', 'iig', 'day'),
(20595, 'rayhan.hossain', 709, '2016-09-08', 'icx', 'day'),
(20596, 'saeed.naser', 709, '2016-09-08', 'shift_leader', 'evening'),
(20597, 'akramul.tarafdar', 709, '2016-09-08', 'sur', 'evening'),
(20598, 'umar.rafaet', 709, '2016-09-08', 'sur', 'evening'),
(20599, 'nowrin.karim', 709, '2016-09-08', 'bo', 'evening'),
(20600, 'wahidul.ashrafe', 709, '2016-09-08', 'bo', 'evening'),
(20601, 'tanveer.ahmed', 709, '2016-09-08', 'iig', 'evening'),
(20602, 'saiham.rahman', 709, '2016-09-08', 'icx', 'evening'),
(20603, 'mir.raihan', 709, '2016-09-08', 'shift_leader', 'night'),
(20604, 'nazmul.hasan', 709, '2016-09-08', 'sur', 'night'),
(20605, 'samar.kumar', 709, '2016-09-08', 'sur', 'night'),
(20606, 'sarbik.sahan', 709, '2016-09-08', 'bo', 'night'),
(20607, 'rahul.biswas', 709, '2016-09-08', 'iig', 'night'),
(20608, 'shamim.hassan', 709, '2016-09-08', 'icx', 'night'),
(20643, 'wahidul.ashrafe', 711, '2016-09-10', 'sur', 'night'),
(20648, 'mir.raihan', 712, '2016-09-11', 'shift_leader', 'day'),
(20649, 'anika.sharmin', 712, '2016-09-11', 'sur', 'day'),
(20650, 'nazmul.hasan', 712, '2016-09-11', 'sur', 'day'),
(20651, 'nowrin.karim', 712, '2016-09-11', 'bo', 'day'),
(20652, 'sadia.afrin', 712, '2016-09-11', 'iig', 'day'),
(20653, 'rayhan.hossain', 712, '2016-09-11', 'icx', 'day'),
(20654, 'mahbub.hasan', 712, '2016-09-11', 'shift_leader', 'evening'),
(20655, 'iqbal.ahmed', 712, '2016-09-11', 'sur', 'evening'),
(20656, 'etanvir.ahmed', 712, '2016-09-11', 'bo', 'evening'),
(20657, 'tanveer.ahmed', 712, '2016-09-11', 'iig', 'evening'),
(20658, 'shamim.hassan', 712, '2016-09-11', 'icx', 'evening'),
(20659, 'saeed.naser', 712, '2016-09-11', 'shift_leader', 'night'),
(20660, 's.majumder', 712, '2016-09-11', 'sur', 'night'),
(20661, 'maruf.mohammad', 712, '2016-09-11', 'bo', 'night'),
(20662, 'imroze.ahmed', 712, '2016-09-11', 'iig', 'night'),
(20663, 'ashiqur.rahman', 712, '2016-09-11', 'icx', 'night'),
(20679, 'mir.raihan', 714, '2016-09-13', 'shift_leader', 'day'),
(20680, 'samar.kumar', 714, '2016-09-13', 'sur', 'day'),
(20681, 'nowrin.karim', 714, '2016-09-13', 'bo', 'day'),
(20682, 'sadia.afrin', 714, '2016-09-13', 'iig', 'day'),
(20683, 'rayhan.hossain', 714, '2016-09-13', 'icx', 'day'),
(20684, 'jalal.mahedi', 714, '2016-09-13', 'shift_leader', 'evening'),
(20685, 's.majumder', 714, '2016-09-13', 'sur', 'evening'),
(20686, 'puspita.tapu', 714, '2016-09-13', 'bo', 'evening'),
(20687, 'rahul.biswas', 714, '2016-09-13', 'iig', 'evening'),
(20688, 'shamim.hassan', 714, '2016-09-13', 'icx', 'evening'),
(20689, 'mahbub.hasan', 714, '2016-09-13', 'shift_leader', 'night'),
(20690, 'iqbal.ahmed', 714, '2016-09-13', 'sur', 'night'),
(20691, 'etanvir.ahmed', 714, '2016-09-13', 'bo', 'night'),
(20692, 'tahsinul.ferdous', 714, '2016-09-13', 'iig', 'night'),
(20693, 'ashiqur.rahman', 714, '2016-09-13', 'icx', 'night'),
(20746, 'puspita.tapu', 718, '2016-09-17', 'bo', 'day'),
(20793, 's.majumder', 720, '2016-09-19', 'sur', 'night'),
(20908, 'sakib.ullah', 727, '2016-09-26', 'shift_leader', 'day'),
(20909, 'nazmul.hasan', 727, '2016-09-26', 'sur', 'day'),
(20910, 'anika.sharmin', 727, '2016-09-26', 'sur', 'day'),
(20911, 'nowrin.karim', 727, '2016-09-26', 'bo', 'day'),
(20912, 'samar.kumar', 727, '2016-09-26', 'bo', 'day'),
(20913, 'imroze.ahmed', 727, '2016-09-26', 'iig', 'day'),
(20914, 'saiham.rahman', 727, '2016-09-26', 'icx', 'day'),
(20915, 'mir.raihan', 727, '2016-09-26', 'shift_leader', 'evening'),
(20916, 'mahbub.hasan', 727, '2016-09-26', 'shift_leader', 'evening'),
(20917, 'nafisa.sayed', 727, '2016-09-26', 'sur', 'evening'),
(20918, 'puspita.tapu', 727, '2016-09-26', 'sur', 'evening'),
(20919, 'sarbik.sahan', 727, '2016-09-26', 'bo', 'evening'),
(20920, 'etanvir.ahmed', 727, '2016-09-26', 'bo', 'evening'),
(20921, 'rahul.biswas', 727, '2016-09-26', 'iig', 'evening'),
(20922, 'shamim.hassan', 727, '2016-09-26', 'icx', 'evening'),
(20923, 'sadaf.mahmud', 727, '2016-09-26', 'shift_leader', 'night'),
(20924, 's.majumder', 727, '2016-09-26', 'sur', 'night'),
(20925, 'akramul.tarafdar', 727, '2016-09-26', 'sur', 'night'),
(20926, 'iqbal.ahmed', 727, '2016-09-26', 'bo', 'night'),
(20927, 'iftakhar.jahan', 727, '2016-09-26', 'iig', 'night'),
(20928, 'ashiqur.rahman', 727, '2016-09-26', 'icx', 'night'),
(20957, 'tahsinul.ferdous', 729, '2016-09-28', 'iig', 'day'),
(20973, 'saeed.naser', 730, '2016-09-29', 'shift_leader', 'day'),
(20974, 'nasrin.akter', 730, '2016-09-29', 'sur', 'day'),
(20975, 'anika.sharmin', 730, '2016-09-29', 'sur', 'day'),
(20976, 'iqbal.ahmed', 730, '2016-09-29', 'bo', 'day'),
(20977, 'maruf.mohammad', 730, '2016-09-29', 'bo', 'day'),
(20978, 'tahsinul.ferdous', 730, '2016-09-29', 'iig', 'day'),
(20979, 'iftakhar.jahan', 730, '2016-09-29', 'iig', 'day'),
(20980, 'rayhan.hossain', 730, '2016-09-29', 'icx', 'day'),
(20981, 'mir.raihan', 730, '2016-09-29', 'shift_leader', 'evening'),
(20982, 'akramul.tarafdar', 730, '2016-09-29', 'sur', 'evening'),
(20983, 'umar.rafaet', 730, '2016-09-29', 'sur', 'evening'),
(20984, 'nowrin.karim', 730, '2016-09-29', 'bo', 'evening'),
(20985, 'wahidul.ashrafe', 730, '2016-09-29', 'bo', 'evening'),
(20986, 'tanveer.ahmed', 730, '2016-09-29', 'iig', 'evening'),
(20987, 'saiham.rahman', 730, '2016-09-29', 'icx', 'evening'),
(20988, 'sakib.ullah', 730, '2016-09-29', 'shift_leader', 'night'),
(20989, 'nazmul.hasan', 730, '2016-09-29', 'sur', 'night'),
(20990, 'samar.kumar', 730, '2016-09-29', 'sur', 'night'),
(20991, 'sarbik.sahan', 730, '2016-09-29', 'bo', 'night'),
(20992, 'rahul.biswas', 730, '2016-09-29', 'iig', 'night'),
(20993, 'shamim.hassan', 730, '2016-09-29', 'icx', 'night'),
(20994, 'mir.raihan', 729, '2016-09-28', 'shift_leader', 'day'),
(20995, 'saeed.naser', 729, '2016-09-28', 'shift_leader', 'day'),
(20996, 'nasrin.akter', 729, '2016-09-28', 'sur', 'day'),
(20997, 'sadia.afrin', 729, '2016-09-28', 'sur', 'day'),
(20998, 'maruf.mohammad', 729, '2016-09-28', 'bo', 'day'),
(20999, 'anika.sharmin', 729, '2016-09-28', 'bo', 'day'),
(21000, 'tahsinul.ferdous', 729, '2016-09-28', 'iig', 'day'),
(21001, 'rayhan.hossain', 729, '2016-09-28', 'icx', 'day'),
(21002, 'sakib.ullah', 729, '2016-09-28', 'shift_leader', 'evening'),
(21003, 'wahidul.ashrafe', 729, '2016-09-28', 'sur', 'evening'),
(21004, 'umar.rafaet', 729, '2016-09-28', 'sur', 'evening'),
(21005, 'nowrin.karim', 729, '2016-09-28', 'bo', 'evening'),
(21006, 'samar.kumar', 729, '2016-09-28', 'bo', 'evening'),
(21007, 'tanveer.ahmed', 729, '2016-09-28', 'iig', 'evening'),
(21008, 'saiham.rahman', 729, '2016-09-28', 'icx', 'evening'),
(21009, 'mahbub.hasan', 729, '2016-09-28', 'shift_leader', 'night'),
(21010, 'sarbik.sahan', 729, '2016-09-28', 'sur', 'night'),
(21011, 'nazmul.hasan', 729, '2016-09-28', 'sur', 'night'),
(21012, 'etanvir.ahmed', 729, '2016-09-28', 'bo', 'night'),
(21013, 'imroze.ahmed', 729, '2016-09-28', 'iig', 'night'),
(21014, 'shamim.hassan', 729, '2016-09-28', 'icx', 'night'),
(21015, 'saeed.naser', 731, '2016-09-30', 'shift_leader', 'day'),
(21016, 'nafisa.sayed', 731, '2016-09-30', 'sur', 'day'),
(21017, 's.majumder', 731, '2016-09-30', 'sur', 'day'),
(21018, 'puspita.tapu', 731, '2016-09-30', 'bo', 'day'),
(21019, 'iftakhar.jahan', 731, '2016-09-30', 'bo', 'day'),
(21020, 'sadia.afrin', 731, '2016-09-30', 'iig', 'day'),
(21021, 'ashiqur.rahman', 731, '2016-09-30', 'icx', 'day'),
(21022, 'sadaf.mahmud', 731, '2016-09-30', 'shift_leader', 'evening'),
(21023, 'akramul.tarafdar', 731, '2016-09-30', 'sur', 'evening'),
(21024, 'iqbal.ahmed', 731, '2016-09-30', 'sur', 'evening'),
(21025, 'maruf.mohammad', 731, '2016-09-30', 'bo', 'evening'),
(21026, 'anika.sharmin', 731, '2016-09-30', 'bo', 'evening'),
(21027, 'tahsinul.ferdous', 731, '2016-09-30', 'iig', 'evening'),
(21028, 'rayhan.hossain', 731, '2016-09-30', 'icx', 'evening'),
(21029, 'mir.raihan', 731, '2016-09-30', 'shift_leader', 'night'),
(21030, 'wahidul.ashrafe', 731, '2016-09-30', 'sur', 'night'),
(21031, 'umar.rafaet', 731, '2016-09-30', 'sur', 'night'),
(21032, 'samar.kumar', 731, '2016-09-30', 'bo', 'night'),
(21033, 'tanveer.ahmed', 731, '2016-09-30', 'iig', 'night'),
(21034, 'saiham.rahman', 731, '2016-09-30', 'icx', 'night'),
(21139, 'nafisa.sayed', 717, '2016-09-16', 'sur', 'day'),
(21142, 'sadia.afrin', 717, '2016-09-16', 'iig', 'day'),
(21183, 'samar.kumar', 721, '2016-09-20', 'bo', 'evening'),
(21213, 'wahidul.ashrafe', 716, '2016-09-15', 'bo', 'day'),
(21228, 'saeed.naser', 717, '2016-09-16', 'shift_leader', 'day'),
(21229, 'nafisa.sayed', 717, '2016-09-16', 'sur', 'day'),
(21230, 'puspita.tapu', 717, '2016-09-16', 'bo', 'day'),
(21231, 'sadia.afrin', 717, '2016-09-16', 'iig', 'day'),
(21232, 'umar.rafaet', 717, '2016-09-16', 'icx', 'day'),
(21233, 'saeed.naser', 717, '2016-09-16', 'shift_leader', 'evening'),
(21234, 'akramul.tarafdar', 717, '2016-09-16', 'sur', 'evening'),
(21235, 'wahidul.ashrafe', 717, '2016-09-16', 'sur', 'evening'),
(21236, 'sarbik.sahan', 717, '2016-09-16', 'bo', 'evening'),
(21237, 'iftakhar.jahan', 717, '2016-09-16', 'iig', 'evening'),
(21238, 'umar.rafaet', 717, '2016-09-16', 'icx', 'evening'),
(21239, 'sakib.ullah', 717, '2016-09-16', 'shift_leader', 'night'),
(21240, 's.majumder', 717, '2016-09-16', 'sur', 'night'),
(21241, 'samar.kumar', 717, '2016-09-16', 'bo', 'night'),
(21242, 'rahul.biswas', 717, '2016-09-16', 'iig', 'night'),
(21243, 'saiham.rahman', 717, '2016-09-16', 'icx', 'night'),
(21244, 'saeed.naser', 716, '2016-09-15', 'shift_leader', 'day'),
(21245, 'nafisa.sayed', 716, '2016-09-15', 'sur', 'day'),
(21246, 'nasrin.akter', 716, '2016-09-15', 'sur', 'day'),
(21247, 'iftakhar.jahan', 716, '2016-09-15', 'bo', 'day'),
(21248, 'sadia.afrin', 716, '2016-09-15', 'iig', 'day'),
(21249, 'shamim.hassan', 716, '2016-09-15', 'icx', 'day'),
(21250, 'saeed.naser', 716, '2016-09-15', 'shift_leader', 'evening'),
(21251, 'akramul.tarafdar', 716, '2016-09-15', 'sur', 'evening'),
(21252, 'wahidul.ashrafe', 716, '2016-09-15', 'sur', 'evening'),
(21253, 'samar.kumar', 716, '2016-09-15', 'bo', 'evening'),
(21254, 'tahsinul.ferdous', 716, '2016-09-15', 'iig', 'evening'),
(21255, 'umar.rafaet', 716, '2016-09-15', 'icx', 'evening'),
(21256, 'sakib.ullah', 716, '2016-09-15', 'shift_leader', 'night'),
(21257, 's.majumder', 716, '2016-09-15', 'sur', 'night'),
(21258, 'etanvir.ahmed', 716, '2016-09-15', 'bo', 'night'),
(21259, 'rahul.biswas', 716, '2016-09-15', 'iig', 'night'),
(21260, 'saiham.rahman', 716, '2016-09-15', 'icx', 'night'),
(21261, 'sadaf.mahmud', 719, '2016-09-18', 'shift_leader', 'day'),
(21262, 'nafisa.sayed', 719, '2016-09-18', 'sur', 'day'),
(21263, 'anika.sharmin', 719, '2016-09-18', 'sur', 'day'),
(21264, 'puspita.tapu', 719, '2016-09-18', 'bo', 'day'),
(21265, 'imroze.ahmed', 719, '2016-09-18', 'iig', 'day'),
(21266, 'ashiqur.rahman', 719, '2016-09-18', 'icx', 'day'),
(21267, 'mahbub.hasan', 719, '2016-09-18', 'shift_leader', 'evening'),
(21268, 's.majumder', 719, '2016-09-18', 'sur', 'evening'),
(21269, 'nasrin.akter', 719, '2016-09-18', 'sur', 'evening'),
(21270, 'sarbik.sahan', 719, '2016-09-18', 'bo', 'evening'),
(21271, 'rahul.biswas', 719, '2016-09-18', 'iig', 'evening'),
(21272, 'umar.rafaet', 719, '2016-09-18', 'icx', 'evening'),
(21273, 'saeed.naser', 719, '2016-09-18', 'shift_leader', 'night'),
(21274, 'akramul.tarafdar', 719, '2016-09-18', 'sur', 'night'),
(21275, 'wahidul.ashrafe', 719, '2016-09-18', 'sur', 'night'),
(21276, 'maruf.mohammad', 719, '2016-09-18', 'bo', 'night'),
(21277, 'iftakhar.jahan', 719, '2016-09-18', 'iig', 'night'),
(21278, 'rayhan.hossain', 719, '2016-09-18', 'icx', 'night'),
(21279, 'mir.raihan', 722, '2016-09-21', 'shift_leader', 'day'),
(21280, 'anika.sharmin', 722, '2016-09-21', 'sur', 'day'),
(21281, 'wahidul.ashrafe', 722, '2016-09-21', 'sur', 'day'),
(21282, 'nowrin.karim', 722, '2016-09-21', 'bo', 'day'),
(21283, 'iqbal.ahmed', 722, '2016-09-21', 'bo', 'day'),
(21284, 'tahsinul.ferdous', 722, '2016-09-21', 'iig', 'day'),
(21285, 'umar.rafaet', 722, '2016-09-21', 'icx', 'day'),
(21286, 'sakib.ullah', 722, '2016-09-21', 'shift_leader', 'evening'),
(21287, 'nasrin.akter', 722, '2016-09-21', 'sur', 'evening'),
(21288, 'samar.kumar', 722, '2016-09-21', 'bo', 'evening'),
(21289, 'imroze.ahmed', 722, '2016-09-21', 'iig', 'evening'),
(21290, 'saiham.rahman', 722, '2016-09-21', 'icx', 'evening'),
(21291, 'mahbub.hasan', 722, '2016-09-21', 'shift_leader', 'night'),
(21292, 'nazmul.hasan', 722, '2016-09-21', 'sur', 'night'),
(21293, 'sarbik.sahan', 722, '2016-09-21', 'bo', 'night'),
(21294, 'rahul.biswas', 722, '2016-09-21', 'iig', 'night'),
(21295, 'shamim.hassan', 722, '2016-09-21', 'icx', 'night'),
(21296, 'jalal.mahedi', 723, '2016-09-22', 'shift_leader', 'day'),
(21297, 'anika.sharmin', 723, '2016-09-22', 'sur', 'day'),
(21298, 'akramul.tarafdar', 723, '2016-09-22', 'sur', 'day'),
(21299, 'maruf.mohammad', 723, '2016-09-22', 'bo', 'day'),
(21300, 'etanvir.ahmed', 723, '2016-09-22', 'bo', 'day'),
(21301, 'sadia.afrin', 723, '2016-09-22', 'iig', 'day'),
(21302, 'iftakhar.jahan', 723, '2016-09-22', 'icx', 'day'),
(21303, 'mir.raihan', 723, '2016-09-22', 'shift_leader', 'evening'),
(21304, 'nasrin.akter', 723, '2016-09-22', 'sur', 'evening'),
(21305, 'wahidul.ashrafe', 723, '2016-09-22', 'sur', 'evening'),
(21306, 'nowrin.karim', 723, '2016-09-22', 'bo', 'evening'),
(21307, 'samar.kumar', 723, '2016-09-22', 'bo', 'evening'),
(21308, 'tahsinul.ferdous', 723, '2016-09-22', 'iig', 'evening'),
(21309, 'saiham.rahman', 723, '2016-09-22', 'icx', 'evening'),
(21310, 'sakib.ullah', 723, '2016-09-22', 'shift_leader', 'night'),
(21311, 'nazmul.hasan', 723, '2016-09-22', 'sur', 'night'),
(21312, 'sarbik.sahan', 723, '2016-09-22', 'bo', 'night'),
(21313, 'imroze.ahmed', 723, '2016-09-22', 'iig', 'night'),
(21314, 'shamim.hassan', 723, '2016-09-22', 'icx', 'night'),
(21315, 'sadaf.mahmud', 724, '2016-09-23', 'shift_leader', 'day'),
(21316, 'nafisa.sayed', 724, '2016-09-23', 'sur', 'day'),
(21317, 'anika.sharmin', 724, '2016-09-23', 'sur', 'day'),
(21318, 'puspita.tapu', 724, '2016-09-23', 'bo', 'day'),
(21319, 'etanvir.ahmed', 724, '2016-09-23', 'bo', 'day'),
(21320, 'rahul.biswas', 724, '2016-09-23', 'iig', 'day'),
(21321, 'iftakhar.jahan', 724, '2016-09-23', 'icx', 'day'),
(21322, 'jalal.mahedi', 724, '2016-09-23', 'shift_leader', 'evening'),
(21323, 'iqbal.ahmed', 724, '2016-09-23', 'sur', 'evening'),
(21324, 'akramul.tarafdar', 724, '2016-09-23', 'sur', 'evening'),
(21325, 'maruf.mohammad', 724, '2016-09-23', 'bo', 'evening'),
(21326, 'tanveer.ahmed', 724, '2016-09-23', 'bo', 'evening'),
(21327, 'sadia.afrin', 724, '2016-09-23', 'iig', 'evening'),
(21328, 'umar.rafaet', 724, '2016-09-23', 'icx', 'evening'),
(21329, 'mir.raihan', 724, '2016-09-23', 'shift_leader', 'night'),
(21330, 's.majumder', 724, '2016-09-23', 'sur', 'night'),
(21331, 'wahidul.ashrafe', 724, '2016-09-23', 'sur', 'night'),
(21332, 'samar.kumar', 724, '2016-09-23', 'bo', 'night'),
(21333, 'tahsinul.ferdous', 724, '2016-09-23', 'iig', 'night'),
(21334, 'saiham.rahman', 724, '2016-09-23', 'icx', 'night'),
(21373, 'mir.raihan', 728, '2016-09-27', 'shift_leader', 'day'),
(21374, 'nasrin.akter', 728, '2016-09-27', 'sur', 'day'),
(21375, 'anika.sharmin', 728, '2016-09-27', 'sur', 'day'),
(21376, 'nowrin.karim', 728, '2016-09-27', 'bo', 'day'),
(21377, 'wahidul.ashrafe', 728, '2016-09-27', 'bo', 'day'),
(21378, 'nazmul.hasan', 728, '2016-09-27', 'bo', 'day'),
(21379, 'sadia.afrin', 728, '2016-09-27', 'iig', 'day'),
(21380, 'tahsinul.ferdous', 728, '2016-09-27', 'iig', 'day'),
(21381, 'saiham.rahman', 728, '2016-09-27', 'icx', 'day'),
(21382, 'sakib.ullah', 728, '2016-09-27', 'shift_leader', 'evening'),
(21383, 'puspita.tapu', 728, '2016-09-27', 'sur', 'evening'),
(21384, 'nafisa.sayed', 728, '2016-09-27', 'sur', 'evening'),
(21385, 'samar.kumar', 728, '2016-09-27', 'bo', 'evening'),
(21386, 'sarbik.sahan', 728, '2016-09-27', 'bo', 'evening'),
(21387, 'tanveer.ahmed', 728, '2016-09-27', 'iig', 'evening'),
(21388, 'shamim.hassan', 728, '2016-09-27', 'icx', 'evening'),
(21389, 'mahbub.hasan', 728, '2016-09-27', 'shift_leader', 'night'),
(21390, 's.majumder', 728, '2016-09-27', 'sur', 'night'),
(21391, 'etanvir.ahmed', 728, '2016-09-27', 'sur', 'night'),
(21392, 'sadaf.mahmud', 728, '2016-09-27', 'bo', 'night'),
(21393, 'imroze.ahmed', 728, '2016-09-27', 'iig', 'night'),
(21394, 'ashiqur.rahman', 728, '2016-09-27', 'icx', 'night'),
(21395, 'jalal.mahedi', 713, '2016-09-12', 'shift_leader', 'day'),
(21396, 'samar.kumar', 713, '2016-09-12', 'sur', 'day'),
(21397, 'nowrin.karim', 713, '2016-09-12', 'bo', 'day'),
(21398, 'sadia.afrin', 713, '2016-09-12', 'iig', 'day'),
(21399, 'rayhan.hossain', 713, '2016-09-12', 'icx', 'day'),
(21400, 'mir.raihan', 713, '2016-09-12', 'shift_leader', 'evening'),
(21401, 'puspita.tapu', 713, '2016-09-12', 'sur', 'evening'),
(21402, 'etanvir.ahmed', 713, '2016-09-12', 'bo', 'evening'),
(21403, 'rahul.biswas', 713, '2016-09-12', 'iig', 'evening'),
(21404, 'shamim.hassan', 713, '2016-09-12', 'icx', 'evening'),
(21405, 'mahbub.hasan', 713, '2016-09-12', 'shift_leader', 'night'),
(21406, 'nazmul.hasan', 713, '2016-09-12', 'sur', 'night'),
(21407, 'iqbal.ahmed', 713, '2016-09-12', 'bo', 'night'),
(21408, 'tanveer.ahmed', 713, '2016-09-12', 'iig', 'night'),
(21409, 'ashiqur.rahman', 713, '2016-09-12', 'icx', 'night'),
(21410, 'mir.raihan', 715, '2016-09-14', 'shift_leader', 'day'),
(21411, 'nazmul.hasan', 715, '2016-09-14', 'sur', 'day'),
(21412, 'samar.kumar', 715, '2016-09-14', 'bo', 'day'),
(21413, 'tanveer.ahmed', 715, '2016-09-14', 'iig', 'day'),
(21414, 'shamim.hassan', 715, '2016-09-14', 'icx', 'day'),
(21415, 'saeed.naser', 715, '2016-09-14', 'shift_leader', 'evening'),
(21416, 's.majumder', 715, '2016-09-14', 'sur', 'evening'),
(21417, 'puspita.tapu', 715, '2016-09-14', 'bo', 'evening'),
(21418, 'rahul.biswas', 715, '2016-09-14', 'iig', 'evening'),
(21419, 'umar.rafaet', 715, '2016-09-14', 'icx', 'evening'),
(21420, 'mahbub.hasan', 715, '2016-09-14', 'shift_leader', 'night'),
(21421, 'iqbal.ahmed', 715, '2016-09-14', 'sur', 'night'),
(21422, 'etanvir.ahmed', 715, '2016-09-14', 'bo', 'night'),
(21423, 'tahsinul.ferdous', 715, '2016-09-14', 'iig', 'night'),
(21424, 'rayhan.hossain', 715, '2016-09-14', 'icx', 'night'),
(21425, 'saeed.naser', 710, '2016-09-09', 'shift_leader', 'day'),
(21426, 'nafisa.sayed', 710, '2016-09-09', 'sur', 'day'),
(21427, 's.majumder', 710, '2016-09-09', 'sur', 'day'),
(21428, 'puspita.tapu', 710, '2016-09-09', 'bo', 'day'),
(21429, 'iftakhar.jahan', 710, '2016-09-09', 'bo', 'day'),
(21430, 'sadia.afrin', 710, '2016-09-09', 'iig', 'day'),
(21431, 'ashiqur.rahman', 710, '2016-09-09', 'icx', 'day'),
(21432, 'sadaf.mahmud', 710, '2016-09-09', 'shift_leader', 'evening'),
(21433, 'akramul.tarafdar', 710, '2016-09-09', 'sur', 'evening'),
(21434, 'iqbal.ahmed', 710, '2016-09-09', 'sur', 'evening'),
(21435, 'maruf.mohammad', 710, '2016-09-09', 'bo', 'evening'),
(21436, 'anika.sharmin', 710, '2016-09-09', 'bo', 'evening'),
(21437, 'tahsinul.ferdous', 710, '2016-09-09', 'iig', 'evening'),
(21438, 'iftakhar.jahan', 710, '2016-09-09', 'icx', 'evening'),
(21439, 'mir.raihan', 710, '2016-09-09', 'shift_leader', 'night'),
(21440, 'wahidul.ashrafe', 710, '2016-09-09', 'sur', 'night'),
(21441, 'umar.rafaet', 710, '2016-09-09', 'sur', 'night'),
(21442, 'samar.kumar', 710, '2016-09-09', 'bo', 'night'),
(21443, 'tanveer.ahmed', 710, '2016-09-09', 'iig', 'night'),
(21444, 'saiham.rahman', 710, '2016-09-09', 'icx', 'night'),
(21445, 'mahbub.hasan', 711, '2016-09-10', 'shift_leader', 'day'),
(21446, 'nafisa.sayed', 711, '2016-09-10', 'sur', 'day'),
(21447, 'nasrin.akter', 711, '2016-09-10', 'sur', 'day'),
(21448, 'puspita.tapu', 711, '2016-09-10', 'bo', 'day'),
(21449, 'sarbik.sahan', 711, '2016-09-10', 'bo', 'day'),
(21450, 'rahul.biswas', 711, '2016-09-10', 'iig', 'day'),
(21451, 'ashiqur.rahman', 711, '2016-09-10', 'icx', 'day'),
(21452, 'sadaf.mahmud', 711, '2016-09-10', 'shift_leader', 'evening'),
(21453, 's.majumder', 711, '2016-09-10', 'sur', 'evening'),
(21454, 'akramul.tarafdar', 711, '2016-09-10', 'sur', 'evening'),
(21455, 'etanvir.ahmed', 711, '2016-09-10', 'bo', 'evening'),
(21456, 'tahsinul.ferdous', 711, '2016-09-10', 'iig', 'evening'),
(21457, 'rayhan.hossain', 711, '2016-09-10', 'icx', 'evening'),
(21458, 'saeed.naser', 711, '2016-09-10', 'shift_leader', 'night'),
(21459, 'wahidul.ashrafe', 711, '2016-09-10', 'sur', 'night'),
(21460, 'maruf.mohammad', 711, '2016-09-10', 'bo', 'night'),
(21461, 'imroze.ahmed', 711, '2016-09-10', 'iig', 'night'),
(21462, 'saiham.rahman', 711, '2016-09-10', 'icx', 'night'),
(21463, 'sakib.ullah', 726, '2016-09-25', 'shift_leader', 'day'),
(21464, 'nazmul.hasan', 726, '2016-09-25', 'sur', 'day'),
(21465, 'nafisa.sayed', 726, '2016-09-25', 'sur', 'day'),
(21466, 'nowrin.karim', 726, '2016-09-25', 'bo', 'day'),
(21467, 'sarbik.sahan', 726, '2016-09-25', 'bo', 'day'),
(21468, 'imroze.ahmed', 726, '2016-09-25', 'iig', 'day'),
(21469, 'shamim.hassan', 726, '2016-09-25', 'icx', 'day'),
(21470, 'mahbub.hasan', 726, '2016-09-25', 'shift_leader', 'evening'),
(21471, 's.majumder', 726, '2016-09-25', 'sur', 'evening'),
(21472, 'nasrin.akter', 726, '2016-09-25', 'sur', 'evening'),
(21473, 'sadaf.mahmud', 726, '2016-09-25', 'bo', 'evening'),
(21474, 'puspita.tapu', 726, '2016-09-25', 'bo', 'evening'),
(21475, 'rahul.biswas', 726, '2016-09-25', 'iig', 'evening'),
(21476, 'ashiqur.rahman', 726, '2016-09-25', 'icx', 'evening'),
(21477, 'saeed.naser', 726, '2016-09-25', 'shift_leader', 'night'),
(21478, 'iqbal.ahmed', 726, '2016-09-25', 'sur', 'night'),
(21479, 'akramul.tarafdar', 726, '2016-09-25', 'sur', 'night'),
(21480, 'maruf.mohammad', 726, '2016-09-25', 'bo', 'night'),
(21481, 'iftakhar.jahan', 726, '2016-09-25', 'iig', 'night'),
(21482, 'rayhan.hossain', 726, '2016-09-25', 'icx', 'night'),
(21483, 'mir.raihan', 721, '2016-09-20', 'shift_leader', 'day'),
(21484, 'anika.sharmin', 721, '2016-09-20', 'sur', 'day'),
(21485, 'nazmul.hasan', 721, '2016-09-20', 'sur', 'day'),
(21486, 'nowrin.karim', 721, '2016-09-20', 'bo', 'day'),
(21487, 'iqbal.ahmed', 721, '2016-09-20', 'bo', 'day'),
(21488, 'tahsinul.ferdous', 721, '2016-09-20', 'iig', 'day'),
(21489, 'umar.rafaet', 721, '2016-09-20', 'icx', 'day'),
(21490, 'sakib.ullah', 721, '2016-09-20', 'shift_leader', 'evening'),
(21491, 'puspita.tapu', 721, '2016-09-20', 'sur', 'evening'),
(21492, 'tanveer.ahmed', 721, '2016-09-20', 'sur', 'evening'),
(21493, 'samar.kumar', 721, '2016-09-20', 'bo', 'evening'),
(21494, 'imroze.ahmed', 721, '2016-09-20', 'iig', 'evening'),
(21495, '', 721, '2016-09-20', 'icx', 'evening'),
(21496, 'saiham.rahman', 721, '2016-09-20', 'icx', 'evening'),
(21497, 'mahbub.hasan', 721, '2016-09-20', 'shift_leader', 'night'),
(21498, 's.majumder', 721, '2016-09-20', 'sur', 'night'),
(21499, 'sadaf.mahmud', 721, '2016-09-20', 'bo', 'night'),
(21500, 'rahul.biswas', 721, '2016-09-20', 'iig', 'night'),
(21501, 'ashiqur.rahman', 721, '2016-09-20', 'icx', 'night'),
(21502, 'sadaf.mahmud', 718, '2016-09-17', 'shift_leader', 'day'),
(21503, 'nafisa.sayed', 718, '2016-09-17', 'sur', 'day'),
(21504, 'anika.sharmin', 718, '2016-09-17', 'sur', 'day'),
(21505, 'puspita.tapu', 718, '2016-09-17', 'bo', 'day'),
(21506, 'imroze.ahmed', 718, '2016-09-17', 'iig', 'day'),
(21507, 'ashiqur.rahman', 718, '2016-09-17', 'icx', 'day'),
(21508, 'jalal.mahedi', 718, '2016-09-17', 'shift_leader', 'evening'),
(21509, 'sarbik.sahan', 718, '2016-09-17', 'sur', 'evening'),
(21510, 'nasrin.akter', 718, '2016-09-17', 'sur', 'evening'),
(21511, 'maruf.mohammad', 718, '2016-09-17', 'bo', 'evening'),
(21512, 'sadia.afrin', 718, '2016-09-17', 'iig', 'evening'),
(21513, 'ashiqur.rahman', 718, '2016-09-17', 'icx', 'evening'),
(21514, 'saeed.naser', 718, '2016-09-17', 'shift_leader', 'night'),
(21515, 'wahidul.ashrafe', 718, '2016-09-17', 'sur', 'night'),
(21516, 'akramul.tarafdar', 718, '2016-09-17', 'sur', 'night'),
(21517, 'samar.kumar', 718, '2016-09-17', 'bo', 'night'),
(21518, 'iftakhar.jahan', 718, '2016-09-17', 'iig', 'night'),
(21519, 'rayhan.hossain', 718, '2016-09-17', 'icx', 'night'),
(21520, 'mahbub.hasan', 725, '2016-09-24', 'shift_leader', 'day'),
(21521, 'nafisa.sayed', 725, '2016-09-24', 'sur', 'day'),
(21522, 'nasrin.akter', 725, '2016-09-24', 'sur', 'day'),
(21523, 'puspita.tapu', 725, '2016-09-24', 'bo', 'day'),
(21524, 'etanvir.ahmed', 725, '2016-09-24', 'bo', 'day'),
(21525, 'rahul.biswas', 725, '2016-09-24', 'iig', 'day'),
(21526, 'iftakhar.jahan', 725, '2016-09-24', 'icx', 'day'),
(21527, 'sadaf.mahmud', 725, '2016-09-24', 'shift_leader', 'evening'),
(21528, 'akramul.tarafdar', 725, '2016-09-24', 'sur', 'evening'),
(21529, 'maruf.mohammad', 725, '2016-09-24', 'bo', 'evening'),
(21530, 'iqbal.ahmed', 725, '2016-09-24', 'bo', 'evening'),
(21531, 'sadia.afrin', 725, '2016-09-24', 'iig', 'evening'),
(21532, 'umar.rafaet', 725, '2016-09-24', 'icx', 'evening'),
(21533, 'saeed.naser', 725, '2016-09-24', 'shift_leader', 'night'),
(21534, 'wahidul.ashrafe', 725, '2016-09-24', 'sur', 'night'),
(21535, 'tanveer.ahmed', 725, '2016-09-24', 'bo', 'night'),
(21536, 'tahsinul.ferdous', 725, '2016-09-24', 'iig', 'night'),
(21537, 'rayhan.hossain', 725, '2016-09-24', 'icx', 'night'),
(21538, 'sakib.ullah', 720, '2016-09-19', 'shift_leader', 'day'),
(21539, 'nazmul.hasan', 720, '2016-09-19', 'sur', 'day'),
(21540, 'nafisa.sayed', 720, '2016-09-19', 'sur', 'day'),
(21541, 'nowrin.karim', 720, '2016-09-19', 'bo', 'day'),
(21542, 'samar.kumar', 720, '2016-09-19', 'bo', 'day'),
(21543, 'tanveer.ahmed', 720, '2016-09-19', 'iig', 'day'),
(21544, 'saiham.rahman', 720, '2016-09-19', 'icx', 'day'),
(21545, 'mahbub.hasan', 720, '2016-09-19', 'shift_leader', 'evening'),
(21546, 'nasrin.akter', 720, '2016-09-19', 'sur', 'evening'),
(21547, 's.majumder', 720, '2016-09-19', 'sur', 'evening'),
(21548, 'sarbik.sahan', 720, '2016-09-19', 'bo', 'evening'),
(21549, 'puspita.tapu', 720, '2016-09-19', 'bo', 'evening'),
(21550, 'rahul.biswas', 720, '2016-09-19', 'iig', 'evening'),
(21551, 'ashiqur.rahman', 720, '2016-09-19', 'icx', 'evening'),
(21552, 'sadaf.mahmud', 720, '2016-09-19', 'shift_leader', 'night'),
(21553, 'akramul.tarafdar', 720, '2016-09-19', 'sur', 'night'),
(21554, 'maruf.mohammad', 720, '2016-09-19', 'bo', 'night'),
(21555, 'iftakhar.jahan', 720, '2016-09-19', 'iig', 'night'),
(21556, 'rayhan.hossain', 720, '2016-09-19', 'icx', 'night');
-- --------------------------------------------------------
--
-- Table structure for table `shifttable`
--
CREATE TABLE IF NOT EXISTS `shifttable` (
`shift_id` int(11) NOT NULL,
`shift_date` date NOT NULL,
`shift_last_updated` datetime NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=732 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `shifttable`
--
INSERT INTO `shifttable` (`shift_id`, `shift_date`, `shift_last_updated`) VALUES
(1, '2016-05-01', '0000-00-00 00:00:00'),
(2, '2016-05-02', '0000-00-00 00:00:00'),
(3, '2016-05-03', '0000-00-00 00:00:00'),
(4, '2016-05-04', '0000-00-00 00:00:00'),
(5, '2016-05-05', '0000-00-00 00:00:00'),
(6, '2016-05-06', '0000-00-00 00:00:00'),
(7, '2016-05-07', '0000-00-00 00:00:00'),
(8, '2016-05-08', '0000-00-00 00:00:00'),
(9, '2016-05-09', '0000-00-00 00:00:00'),
(10, '2016-05-10', '0000-00-00 00:00:00'),
(11, '2016-05-11', '0000-00-00 00:00:00'),
(12, '2016-05-12', '0000-00-00 00:00:00'),
(13, '2016-05-13', '0000-00-00 00:00:00'),
(14, '2016-05-14', '0000-00-00 00:00:00'),
(15, '2016-05-15', '0000-00-00 00:00:00'),
(16, '2016-05-16', '0000-00-00 00:00:00'),
(17, '2016-05-17', '0000-00-00 00:00:00'),
(18, '2016-05-18', '0000-00-00 00:00:00'),
(19, '2016-05-19', '0000-00-00 00:00:00'),
(20, '2016-05-20', '0000-00-00 00:00:00'),
(21, '2016-05-21', '0000-00-00 00:00:00'),
(22, '2016-05-22', '0000-00-00 00:00:00'),
(23, '2016-05-23', '0000-00-00 00:00:00'),
(24, '2016-05-24', '0000-00-00 00:00:00'),
(25, '2016-05-25', '0000-00-00 00:00:00'),
(26, '2016-05-26', '0000-00-00 00:00:00'),
(27, '2016-05-27', '0000-00-00 00:00:00'),
(32, '2016-05-28', '0000-00-00 00:00:00'),
(33, '2016-05-29', '0000-00-00 00:00:00'),
(34, '2016-05-30', '0000-00-00 00:00:00'),
(35, '2016-05-31', '0000-00-00 00:00:00'),
(66, '2016-06-01', '0000-00-00 00:00:00'),
(67, '2016-06-02', '0000-00-00 00:00:00'),
(180, '2016-06-03', '0000-00-00 00:00:00'),
(181, '2016-06-04', '0000-00-00 00:00:00'),
(182, '2016-06-05', '0000-00-00 00:00:00'),
(183, '2016-06-06', '0000-00-00 00:00:00'),
(232, '2016-06-07', '0000-00-00 00:00:00'),
(233, '2016-06-08', '0000-00-00 00:00:00'),
(234, '2016-06-09', '0000-00-00 00:00:00'),
(235, '2016-06-10', '0000-00-00 00:00:00'),
(236, '2016-06-11', '0000-00-00 00:00:00'),
(237, '2016-06-12', '0000-00-00 00:00:00'),
(238, '2016-06-13', '0000-00-00 00:00:00'),
(239, '2016-06-14', '0000-00-00 00:00:00'),
(240, '2016-06-15', '0000-00-00 00:00:00'),
(241, '2016-06-16', '0000-00-00 00:00:00'),
(242, '2016-06-17', '0000-00-00 00:00:00'),
(256, '2016-06-18', '0000-00-00 00:00:00'),
(257, '2016-06-19', '0000-00-00 00:00:00'),
(258, '2016-06-20', '0000-00-00 00:00:00'),
(259, '2016-06-21', '0000-00-00 00:00:00'),
(260, '2016-06-22', '0000-00-00 00:00:00'),
(261, '2016-06-23', '0000-00-00 00:00:00'),
(262, '2016-06-24', '0000-00-00 00:00:00'),
(263, '2016-06-25', '0000-00-00 00:00:00'),
(264, '2016-06-26', '0000-00-00 00:00:00'),
(265, '2016-06-27', '0000-00-00 00:00:00'),
(266, '2016-06-28', '0000-00-00 00:00:00'),
(267, '2016-06-29', '0000-00-00 00:00:00'),
(268, '2016-06-30', '0000-00-00 00:00:00'),
(269, '2016-07-01', '0000-00-00 00:00:00'),
(270, '2016-07-02', '0000-00-00 00:00:00'),
(271, '2016-07-03', '0000-00-00 00:00:00'),
(272, '2016-07-04', '0000-00-00 00:00:00'),
(273, '2016-07-05', '0000-00-00 00:00:00'),
(274, '2016-07-06', '0000-00-00 00:00:00'),
(275, '2016-07-07', '0000-00-00 00:00:00'),
(276, '2016-07-08', '0000-00-00 00:00:00'),
(277, '2016-07-09', '0000-00-00 00:00:00'),
(278, '2016-07-10', '0000-00-00 00:00:00'),
(279, '2016-07-11', '0000-00-00 00:00:00'),
(280, '2016-07-12', '0000-00-00 00:00:00'),
(281, '2016-07-13', '0000-00-00 00:00:00'),
(282, '2016-07-14', '0000-00-00 00:00:00'),
(283, '2016-07-15', '0000-00-00 00:00:00'),
(284, '2016-07-16', '0000-00-00 00:00:00'),
(285, '2016-07-17', '0000-00-00 00:00:00'),
(286, '2016-07-18', '0000-00-00 00:00:00'),
(287, '2016-07-19', '0000-00-00 00:00:00'),
(288, '2016-07-20', '0000-00-00 00:00:00'),
(289, '2016-07-21', '0000-00-00 00:00:00'),
(290, '2016-07-22', '0000-00-00 00:00:00'),
(300, '2016-07-23', '0000-00-00 00:00:00'),
(309, '2016-07-24', '0000-00-00 00:00:00'),
(318, '2016-07-25', '0000-00-00 00:00:00'),
(319, '2016-07-26', '0000-00-00 00:00:00'),
(320, '2016-07-27', '0000-00-00 00:00:00'),
(321, '2016-07-28', '0000-00-00 00:00:00'),
(322, '2016-07-29', '0000-00-00 00:00:00'),
(323, '2016-07-30', '0000-00-00 00:00:00'),
(324, '2016-07-31', '0000-00-00 00:00:00'),
(325, '2016-08-01', '0000-00-00 00:00:00'),
(326, '2016-08-02', '0000-00-00 00:00:00'),
(327, '2016-08-03', '0000-00-00 00:00:00'),
(356, '2016-08-04', '0000-00-00 00:00:00'),
(357, '2016-08-05', '0000-00-00 00:00:00'),
(358, '2016-08-06', '0000-00-00 00:00:00'),
(559, '2016-08-07', '0000-00-00 00:00:00'),
(560, '2016-08-08', '0000-00-00 00:00:00'),
(607, '2016-08-09', '0000-00-00 00:00:00'),
(608, '2016-08-10', '0000-00-00 00:00:00'),
(609, '2016-08-11', '0000-00-00 00:00:00'),
(610, '2016-08-12', '0000-00-00 00:00:00'),
(611, '2016-08-13', '0000-00-00 00:00:00'),
(612, '2016-08-14', '0000-00-00 00:00:00'),
(613, '2016-08-15', '0000-00-00 00:00:00'),
(614, '2016-08-16', '0000-00-00 00:00:00'),
(615, '2016-08-17', '0000-00-00 00:00:00'),
(630, '2016-08-18', '0000-00-00 00:00:00'),
(631, '2016-08-19', '0000-00-00 00:00:00'),
(632, '2016-08-20', '0000-00-00 00:00:00'),
(633, '2016-08-21', '0000-00-00 00:00:00'),
(634, '2016-08-22', '0000-00-00 00:00:00'),
(635, '2016-08-23', '0000-00-00 00:00:00'),
(636, '2016-08-24', '0000-00-00 00:00:00'),
(637, '2016-08-25', '0000-00-00 00:00:00'),
(638, '2016-08-26', '0000-00-00 00:00:00'),
(639, '2016-08-27', '0000-00-00 00:00:00'),
(640, '2016-08-28', '0000-00-00 00:00:00'),
(641, '2016-08-29', '0000-00-00 00:00:00'),
(642, '2016-08-30', '0000-00-00 00:00:00'),
(643, '2016-08-31', '0000-00-00 00:00:00'),
(674, '2016-09-01', '0000-00-00 00:00:00'),
(675, '2016-09-02', '0000-00-00 00:00:00'),
(704, '2016-09-03', '0000-00-00 00:00:00'),
(705, '2016-09-04', '0000-00-00 00:00:00'),
(706, '2016-09-05', '0000-00-00 00:00:00'),
(707, '2016-09-06', '0000-00-00 00:00:00'),
(708, '2016-09-07', '0000-00-00 00:00:00'),
(709, '2016-09-08', '0000-00-00 00:00:00'),
(710, '2016-09-09', '0000-00-00 00:00:00'),
(711, '2016-09-10', '0000-00-00 00:00:00'),
(712, '2016-09-11', '0000-00-00 00:00:00'),
(713, '2016-09-12', '0000-00-00 00:00:00'),
(714, '2016-09-13', '0000-00-00 00:00:00'),
(715, '2016-09-14', '0000-00-00 00:00:00'),
(716, '2016-09-15', '0000-00-00 00:00:00'),
(717, '2016-09-16', '0000-00-00 00:00:00'),
(718, '2016-09-17', '0000-00-00 00:00:00'),
(719, '2016-09-18', '0000-00-00 00:00:00'),
(720, '2016-09-19', '0000-00-00 00:00:00'),
(721, '2016-09-20', '0000-00-00 00:00:00'),
(722, '2016-09-21', '0000-00-00 00:00:00'),
(723, '2016-09-22', '0000-00-00 00:00:00'),
(724, '2016-09-23', '0000-00-00 00:00:00'),
(725, '2016-09-24', '0000-00-00 00:00:00'),
(726, '2016-09-25', '0000-00-00 00:00:00'),
(727, '2016-09-26', '0000-00-00 00:00:00'),
(728, '2016-09-27', '0000-00-00 00:00:00'),
(729, '2016-09-28', '0000-00-00 00:00:00'),
(730, '2016-09-29', '0000-00-00 00:00:00'),
(731, '2016-09-30', '0000-00-00 00:00:00');
-- --------------------------------------------------------
--
-- Table structure for table `swaptable`
--
CREATE TABLE IF NOT EXISTS `swaptable` (
`swap_row_id` int(11) NOT NULL,
`swapRequester` varchar(255) NOT NULL,
`swapAccepter` varchar(255) NOT NULL,
`swapShift1` date NOT NULL,
`swapShift2` date NOT NULL,
`swapStatus` varchar(255) NOT NULL,
`approved_by` varchar(255) NOT NULL,
`reason` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `swaptable`
--
INSERT INTO `swaptable` (`swap_row_id`, `swapRequester`, `swapAccepter`, `swapShift1`, `swapShift2`, `swapStatus`, `approved_by`, `reason`) VALUES
(1, 'sadia.afrin', 'tanveer.ahmed', '2016-05-31', '2016-05-31', 'Approved', 'sakib.ullah', 'Previous day evening duty (NTTN) .So next day choose to do evening shift.'),
(2, 'saeed.naser', 'mir.raihan', '2016-06-02', '2016-06-02', 'Approved', 'razib.hasan', 'I have some personal work at Thursday (02/06/16) morning.'),
(3, 'iftakhar.jahan', 'rahul.biswas', '2016-06-15', '2016-06-15', 'Approved', 'jalal.mahedi', 'Family problem.'),
(4, 'ashiqur.rahman', 'ahsan.zaki', '2016-06-15', '2016-06-15', 'Approved', 'jalal.mahedi', 'Family Issue (Highly Important)'),
(5, 'showmen.barua', 'etanvir.ahmed', '2016-06-17', '2016-06-17', 'Rejected', 'showmen.barua', 'test'),
(6, 'rayhan.hossain', 'saiham.rahman', '2016-06-18', '2016-06-18', 'Approved', 'sakib.ullah', 'Personal issue'),
(7, 'puspita.tapu', 'etanvir.ahmed', '2016-06-17', '2016-06-17', 'Approved', 'saeed.naser', 'family issue'),
(8, 'mir.raihan', 'saeed.naser', '2016-06-23', '2016-06-23', 'Approved', 'razib.hasan', 'Swap required due to family program.'),
(9, 'anika.sharmin', 'umar.rafaet', '2016-06-22', '2016-06-22', 'Approved', 'mir.raihan', 'i have to take my passport from HCI dhaka within 9AM to 2 PM on 22nd June 2016.'),
(10, 'ashiqur.rahman', 'saiham.rahman', '2016-06-30', '2016-06-30', 'Rejected', 'sakib.ullah', 'Iftar Party (Gateway Operations-SCL)'),
(11, 'rahul.biswas', 'tanveer.ahmed', '2016-06-30', '2016-06-30', 'Rejected', 'saeed.naser', 'Due to attend at Gateway ifter party,i''ll attend at Night Shift instead of Evening Shift and Saurav Bhai will attend at evening.'),
(12, 'rahul.biswas', 'tanveer.ahmed', '2016-06-30', '2016-06-30', 'Approved', 'mir.raihan', 'Personal Issue.'),
(13, 'ashiqur.rahman', 'saiham.rahman', '2016-06-30', '2016-06-30', 'Approved', 'jalal.mahedi', 'Iftar Party - SCL Gateway Operations'),
(14, 'ashiqur.rahman', 'saiham.rahman', '2016-06-30', '2016-06-30', 'Rejected', 'jalal.mahedi', 'Iftar Party - SCL Gateway Operations'),
(15, 'samar.kumar', 'etanvir.ahmed', '2016-07-18', '2016-07-18', 'Approved', 'sakib.ullah', 'Personal work'),
(16, 'sadia.afrin', 'iftakhar.jahan', '2016-07-05', '2016-07-05', 'Approved', 'mahbub.hasan', 'Due to family issue.'),
(17, 'sadia.afrin', 'iftakhar.jahan', '2016-07-05', '2016-07-05', 'Rejected', 'mahbub.hasan', 'Due to family issue'),
(18, 'samar.kumar', 'etanvir.ahmed', '2016-07-11', '2016-07-11', 'Approved', 'mahbub.hasan', 'Personal work '),
(19, 'samar.kumar', 'etanvir.ahmed', '2016-07-11', '2016-07-11', 'Rejected', 'mahbub.hasan', 'Personal work '),
(20, 'iftakhar.jahan', 'imroze.ahmed', '2016-07-17', '2016-07-17', 'Rejected', 'jalal.mahedi', 'For cox''s bazar tour'),
(21, 'iqbal.ahmed', 'maruf.mohammad', '2016-07-16', '2016-07-24', 'Approved', 'mahbub.hasan', 'For family issue '),
(22, 'saeed.naser', 'sadaf.mahmud', '2016-07-22', '2016-07-22', 'Approved', 'mahbub.hasan', 'Personal problem.'),
(23, 'shamim.hassan', 'ashiqur.rahman', '2016-07-26', '2016-07-26', 'Approved', 'mir.raihan', 'Medical Checkup.'),
(24, 'puspita.tapu', 'maruf.mohammad', '2016-07-29', '2016-07-29', 'Approved', 'sadaf.mahmud', 'family issue '),
(25, 'shamim.hassan', 'ashiqur.rahman', '2016-07-26', '2016-07-26', 'Rejected', 'mir.raihan', 'Medical Checkup.'),
(26, 'nazmul.hasan', 'rifat.hasan', '2016-07-27', '2016-07-27', 'Approved', 'mir.raihan', 'One of my very close relative is going abroad that night.'),
(27, 'shamim.hassan', 'saiham.rahman', '2016-07-27', '2016-07-27', 'Approved', 'sakib.ullah', 'Medical Checkup.'),
(28, 'saeed.naser', 'mir.raihan', '2016-07-29', '2016-07-29', 'Rejected', 'saeed.naser', 'Personal Problem'),
(29, 'nowrin.karim', 'maruf.mohammad', '2016-07-28', '2016-07-28', 'Approved', 'mir.raihan', 'will go to hospital due to my little sister''s illness'),
(30, 'nafisa.sayed', 'akramul.tarafdar', '2016-07-29', '2016-07-29', 'Approved', 'saeed.naser', 'Family problem'),
(31, 'saeed.naser', 'mir.raihan', '2016-07-29', '2016-07-29', 'Approved', 'mir.raihan', 'Personal Problem'),
(32, 'ashiqur.rahman', 'rayhan.hossain', '2016-08-02', '2016-08-02', 'Approved', 'mir.raihan', 'Sickness of Father '),
(33, 'shamim.hassan', 'saiham.rahman', '2016-08-08', '2016-08-08', 'Approved', 'mahbub.hasan', 'Personal Issue.'),
(34, 'rayhan.hossain', 'saiham.rahman', '2016-08-11', '2016-08-11', 'Approved', 'saeed.naser', 'Due to Family purpose.'),
(35, 'rayhan.hossain', 'saiham.rahman', '2016-08-17', '2016-08-17', 'Approved', 'saeed.naser', 'Family Purpose'),
(36, 'nasrin.akter', 'nazmul.hasan', '2016-08-20', '2016-08-22', 'Approved', 'saeed.naser', 'I have semester final exam at Saturday(20/08/2016) from 13:00 to 16:00. For this reason i am swapping my duty on that day.'),
(37, 'etanvir.ahmed', 'wahidul.ashrafe', '2016-08-20', '2016-08-20', 'Approved', 'mir.raihan', 'CCNA Exam '),
(38, 's.majumder', 'nasrin.akter', '2016-08-28', '2016-08-28', 'Approved', 'sadaf.mahmud', 'for emergency issue i will leave dhaka tomorrow noon.'),
(39, 's.majumder', 'akramul.tarafdar', '2016-09-04', '2016-09-04', 'Approved', 'sadaf.mahmud', 'For family purpose i am swapping with Akramul Tarafder.'),
(40, 'iftakhar.jahan', 'rayhan.hossain', '2016-09-10', '2016-09-09', 'Approved', 'mahbub.hasan', 'family problem'),
(41, 'ashiqur.rahman', 'umar.rafaet', '2016-09-16', '2016-09-17', 'Approved', 'sakib.ullah', 'family purpose ');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admintable`
--
ALTER TABLE `admintable`
ADD PRIMARY KEY (`role_row_id`);
--
-- Indexes for table `daytable`
--
ALTER TABLE `daytable`
ADD PRIMARY KEY (`day_row_id`);
--
-- Indexes for table `eveningtable`
--
ALTER TABLE `eveningtable`
ADD PRIMARY KEY (`evening_row_id`);
--
-- Indexes for table `leavetable`
--
ALTER TABLE `leavetable`
ADD PRIMARY KEY (`leave_row_id`);
--
-- Indexes for table `log_user`
--
ALTER TABLE `log_user`
ADD PRIMARY KEY (`log_row_id`);
--
-- Indexes for table `nighttable`
--
ALTER TABLE `nighttable`
ADD PRIMARY KEY (`night_row_id`);
--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
ADD KEY `password_resets_email_index` (`email`),
ADD KEY `password_resets_token_index` (`token`);
--
-- Indexes for table `rostertable`
--
ALTER TABLE `rostertable`
ADD PRIMARY KEY (`roster_table_id`);
--
-- Indexes for table `shifttable`
--
ALTER TABLE `shifttable`
ADD PRIMARY KEY (`shift_id`);
--
-- Indexes for table `swaptable`
--
ALTER TABLE `swaptable`
ADD PRIMARY KEY (`swap_row_id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admintable`
--
ALTER TABLE `admintable`
MODIFY `role_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=13;
--
-- AUTO_INCREMENT for table `daytable`
--
ALTER TABLE `daytable`
MODIFY `day_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3656;
--
-- AUTO_INCREMENT for table `eveningtable`
--
ALTER TABLE `eveningtable`
MODIFY `evening_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3656;
--
-- AUTO_INCREMENT for table `leavetable`
--
ALTER TABLE `leavetable`
MODIFY `leave_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=39;
--
-- AUTO_INCREMENT for table `log_user`
--
ALTER TABLE `log_user`
MODIFY `log_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=72;
--
-- AUTO_INCREMENT for table `nighttable`
--
ALTER TABLE `nighttable`
MODIFY `night_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3656;
--
-- AUTO_INCREMENT for table `rostertable`
--
ALTER TABLE `rostertable`
MODIFY `roster_table_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=21557;
--
-- AUTO_INCREMENT for table `shifttable`
--
ALTER TABLE `shifttable`
MODIFY `shift_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=732;
--
-- AUTO_INCREMENT for table `swaptable`
--
ALTER TABLE `swaptable`
MODIFY `swap_row_id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=42;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
| 60.347731 | 226 | 0.603258 |
9bc573ebff3b35593d0f5b102da056949d77d231 | 651 | js | JavaScript | js/index.js | vladimka/pwa-test | 28bc7794261fef891b6b01740447ba63baf04b77 | [
"MIT"
] | null | null | null | js/index.js | vladimka/pwa-test | 28bc7794261fef891b6b01740447ba63baf04b77 | [
"MIT"
] | null | null | null | js/index.js | vladimka/pwa-test | 28bc7794261fef891b6b01740447ba63baf04b77 | [
"MIT"
] | null | null | null | let balanceTx = document.getElementById('balance');
let upgrade1CostTx = document.querySelector('#upgrade1>p>span#cost');
document.getElementById('work').addEventListener('click', () => config.balance += config.coinsPerClick);
document.querySelector('#upgrade1>.upgrade-button').addEventListener('click', e => {
if(config.balance < config.upgrade1Cost)
return;
config.balance -= config.upgrade1Cost;
config.coinsPerClick *= 1.7;
config.upgrade1Cost *= 1.17;
});
function render(){
balanceTx.innerText = `Balance: ${config.balance.toFixed(2)}$`;
upgrade1CostTx.innerText = config.upgrade1Cost.toFixed(2);
}
setInterval(() => render(), 100); | 34.263158 | 104 | 0.737327 |
8604b8080dda6e76b4ee4d19361b65b45339b982 | 2,438 | rs | Rust | src/tracking_messages.rs | dmweis/openvr-tracker | 2b72c6666f2e07201f7609557e25ad85f8f76acc | [
"Apache-2.0",
"MIT"
] | null | null | null | src/tracking_messages.rs | dmweis/openvr-tracker | 2b72c6666f2e07201f7609557e25ad85f8f76acc | [
"Apache-2.0",
"MIT"
] | null | null | null | src/tracking_messages.rs | dmweis/openvr-tracker | 2b72c6666f2e07201f7609557e25ad85f8f76acc | [
"Apache-2.0",
"MIT"
] | null | null | null | use crate::openvr_adaptor;
use nalgebra as na;
use serde::Serialize;
use std::usize;
#[derive(Debug, Serialize)]
pub struct TrackedObjects {
ts: u128,
trackers: Vec<VrDevice>,
}
impl TrackedObjects {
pub fn new(ts: u128, trackers: Vec<VrDevice>) -> Self {
Self { ts, trackers }
}
}
#[derive(Debug, Eq, PartialEq, Copy, Clone, Serialize)]
pub enum VrDeviceClass {
Controller,
LeftController,
RightController,
Tracker,
HMD,
Sensor,
Other,
}
impl VrDeviceClass {
pub fn from_openvr_types(
device_class: openvr::TrackedDeviceClass,
controller: Option<openvr::TrackedControllerRole>,
) -> Self {
match device_class {
openvr::TrackedDeviceClass::HMD => VrDeviceClass::HMD,
openvr::TrackedDeviceClass::Controller => {
if let Some(role) = controller {
match role {
openvr::TrackedControllerRole::LeftHand => VrDeviceClass::LeftController,
openvr::TrackedControllerRole::RightHand => VrDeviceClass::RightController,
}
} else {
VrDeviceClass::Controller
}
}
openvr::TrackedDeviceClass::GenericTracker => VrDeviceClass::Tracker,
openvr::TrackedDeviceClass::TrackingReference => VrDeviceClass::Sensor,
_ => VrDeviceClass::Other,
}
}
}
#[derive(Debug, Clone, Serialize)]
pub struct VrDevice {
id: usize,
tracked: bool,
seen: bool,
position: na::Point3<f32>,
rotation: na::UnitQuaternion<f32>,
class: VrDeviceClass,
}
impl VrDevice {
pub fn new(id: usize) -> Self {
Self {
id,
tracked: false,
seen: false,
position: na::Point3::new(0., 0., 0.),
rotation: na::UnitQuaternion::identity(),
class: VrDeviceClass::Other,
}
}
pub fn update(
&mut self,
tracked: bool,
pose: &dyn openvr_adaptor::OpenVRPose,
class: VrDeviceClass,
) {
self.tracked = tracked;
if self.tracked {
self.seen = true;
}
self.position = pose.to_position();
self.rotation = pose.to_rotation();
self.class = class;
}
pub fn id(&self) -> usize {
self.id
}
pub fn seen(&self) -> bool {
self.seen
}
}
| 24.877551 | 99 | 0.559065 |
dc0e7c7ba3cef17e1053631cf14e61be56327e8f | 226 | py | Python | blog/forms.py | jarnalyrkar/DjangoUnleashed | a073e567f3e8c67debb368967b667e307e4c312c | [
"BSD-2-Clause"
] | null | null | null | blog/forms.py | jarnalyrkar/DjangoUnleashed | a073e567f3e8c67debb368967b667e307e4c312c | [
"BSD-2-Clause"
] | null | null | null | blog/forms.py | jarnalyrkar/DjangoUnleashed | a073e567f3e8c67debb368967b667e307e4c312c | [
"BSD-2-Clause"
] | null | null | null | from django import forms
from .models import Post
class PostForm(forms.ModelForm):
class Meta:
model = Post
fields = '__all__'
def clean_slug(self):
return self.cleaned_data['slug'].lower()
| 17.384615 | 48 | 0.650442 |
9cf954a6bfbf380e058df5e9e1486db75831da7e | 719 | css | CSS | src/components/utility/tooltip/style.css | Hazelfire/guesstimate-app | c7ff9ed19ff5f26d2ae6958be8d6fba312909268 | [
"MIT"
] | 2,384 | 2015-09-06T18:18:23.000Z | 2022-03-13T19:26:43.000Z | src/components/utility/tooltip/style.css | Hazelfire/guesstimate-app | c7ff9ed19ff5f26d2ae6958be8d6fba312909268 | [
"MIT"
] | 481 | 2015-08-21T19:53:46.000Z | 2022-02-24T05:43:45.000Z | src/components/utility/tooltip/style.css | Hazelfire/guesstimate-app | c7ff9ed19ff5f26d2ae6958be8d6fba312909268 | [
"MIT"
] | 182 | 2015-10-13T04:43:04.000Z | 2022-02-22T22:30:06.000Z | @import './variables.css';
.ToolTip {
position: absolute;
top: 100%;
margin-top: 10px;
padding: 0.75em;
border-radius: 2px;
z-index: 100;
left: -3px;
color: #111;
min-height: 40px;
font-size: 1.15rem;
line-height: 1.5rem;
font-weight: 400;
}
.ToolTip.SMALL {
background-color: white;
width: 207%;
border: 1px solid $grey-2;
}
.ToolTip.LARGE {
border: none;
background-color: rgba(250,250,250,0.99);
}
.ToolTip.LARGE .arrow-up{
left: 8%;
}
.ToolTip.SMALL .arrow-up{
left: 22%;
}
.ToolTip .arrow-up {
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid $grey-2;
position: absolute;
top: -8px;
}
| 15.297872 | 43 | 0.639777 |
92a9dd0b832e3ea4abcede0d845df4cca506d368 | 5,860 | c | C | trunk/SaltyOS/HAL/HardSPI.c | wtywtykk/STM32Framework_SaltyProject | ba52576006a9c4bdb3c0e6b0dbef2d261359da50 | [
"MIT"
] | 1 | 2019-04-03T12:17:25.000Z | 2019-04-03T12:17:25.000Z | trunk/SaltyOS/HAL/HardSPI.c | wtywtykk/STM32Framework_SaltyProject | ba52576006a9c4bdb3c0e6b0dbef2d261359da50 | [
"MIT"
] | null | null | null | trunk/SaltyOS/HAL/HardSPI.c | wtywtykk/STM32Framework_SaltyProject | ba52576006a9c4bdb3c0e6b0dbef2d261359da50 | [
"MIT"
] | 1 | 2021-06-09T11:20:08.000Z | 2021-06-09T11:20:08.000Z | #include "HCommon.h"
#include "HAL\UniGPIO.h"
#include "UniSPI.h"
#include "HardSPI.h"
STATUS HardSPI_TransmitWord(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u16 Data, u32 TimeOut);
STATUS HardSPI_TransmitBytes(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, void* Data, u16 Size, u32 TimeOut);
STATUS HardSPI_TransmitReceive(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, void* Data, u16 Size, u32 TimeOut);
STATUS HardSPI_MemRead(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u32 Address, u16 AddrSize, void* Buffer, u16 Size, u32 TimeOut);
STATUS HardSPI_MemWrite(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u32 Address, u16 AddrSize, void* Buffer, u16 Size, u32 TimeOut);
void HardSPI_Free(UniSPI_Handle* SPI_Handle);
u8 HardSPI_GetSPIWidthInBytes(SPI_HandleTypeDef* SPI_Handle);
u8 HardSPI_GetSPIIndex(SPI_TypeDef* Instance)
{
switch ((u32)Instance)
{
case (u32)SPI1:
return 1;
break;
case (u32)SPI2:
return 2;
break;
case (u32)SPI3:
return 3;
break;
default:
assert(false);
return 0;
break;
}
}
STATUS HardSPI_InitClock(SPI_TypeDef* Instance)
{
switch (HardSPI_GetSPIIndex(Instance))
{
case 1:
__HAL_RCC_SPI1_CLK_ENABLE();
return S_OK;
break;
case 2:
__HAL_RCC_SPI2_CLK_ENABLE();
return S_OK;
break;
case 3:
__HAL_RCC_SPI3_CLK_ENABLE();
return S_OK;
break;
default:
return S_FAIL;
break;
}
}
STATUS HardSPI_Init(UniSPI_Handle* SPI_Handle, SPI_TypeDef* Instance, SPI_InitTypeDef* InitParams)
{
SPI_Handle->SPI_Info.HardSPI_Info.HALHandle.Instance = Instance;
SPI_Handle->SPI_Info.HardSPI_Info.HALHandle.Init = *InitParams;
SPI_Handle->Free = NULL;
SPI_Handle->MemRead = NULL;
SPI_Handle->MemWrite = NULL;
SPI_Handle->TransmitBytes = NULL;
SPI_Handle->TransmitReceive = NULL;
SPI_Handle->TransmitWord = NULL;
if (HardSPI_InitClock(Instance) != S_OK)
{
return S_FAIL;
}
if (HAL_SPI_Init(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle) != HAL_OK)
{
return S_FAIL;
}
SPI_Handle->TransmitWord = &HardSPI_TransmitWord;
SPI_Handle->TransmitBytes = &HardSPI_TransmitBytes;
SPI_Handle->TransmitReceive = &HardSPI_TransmitReceive;
SPI_Handle->MemRead = &HardSPI_MemRead;
SPI_Handle->MemWrite = &HardSPI_MemWrite;
SPI_Handle->Free = &HardSPI_Free;
return S_OK;
}
STATUS HardSPI_TransmitWord(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u16 Data, u32 TimeOut)
{
STATUS Ret = S_FAIL;
UniGPIO_SetLow(CSPin);
if (HAL_SPI_Transmit(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)&Data, 1, TimeOut) == HAL_OK)
{
Ret = S_OK;
}
UniGPIO_SetHigh(CSPin);
return Ret;
}
STATUS HardSPI_TransmitBytes(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, void* Data, u16 Size, u32 TimeOut)
{
STATUS Ret = S_FAIL;
assert(Size % HardSPI_GetSPIWidthInBytes(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle) == 0);//Errors may occur if data are not aligned to spi width.
UniGPIO_SetLow(CSPin);
if (HAL_SPI_Transmit(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)Data, Size / HardSPI_GetSPIWidthInBytes(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle), TimeOut) == HAL_OK)
{
Ret = S_OK;
}
UniGPIO_SetHigh(CSPin);
return Ret;
}
STATUS HardSPI_TransmitReceive(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, void* Data, u16 Size, u32 TimeOut)
{
STATUS Ret = S_FAIL;
assert(Size % HardSPI_GetSPIWidthInBytes(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle) == 0);//Errors may occur if data are not aligned to spi width.
UniGPIO_SetLow(CSPin);
if (HAL_SPI_TransmitReceive(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)Data, (u8*)Data, Size / HardSPI_GetSPIWidthInBytes(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle), TimeOut) == HAL_OK)
{
Ret = S_OK;
}
UniGPIO_SetHigh(CSPin);
return Ret;
}
STATUS HardSPI_MemRead(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u32 Address, u16 AddrSize, void* Buffer, u16 Size, u32 TimeOut)
{
STATUS Ret = S_FAIL;
u8 SPIWidth = HardSPI_GetSPIWidthInBytes(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle);
assert(AddrSize % SPIWidth == 0);//Errors may occur if data are not aligned to spi width.
assert(Size % SPIWidth == 0);//Errors may occur if data are not aligned to spi width.
UniGPIO_SetLow(CSPin);
if (HAL_SPI_Transmit(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)&Address, AddrSize / SPIWidth, TimeOut) == HAL_OK)
{
if (HAL_SPI_Receive(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)Buffer, Size / SPIWidth, TimeOut) == HAL_OK)
{
Ret = S_OK;
}
}
UniGPIO_SetHigh(CSPin);
return Ret;
}
STATUS HardSPI_MemWrite(UniSPI_Handle* SPI_Handle, UniGPIO_Handle* CSPin, u32 Address, u16 AddrSize, void* Buffer, u16 Size, u32 TimeOut)
{
STATUS Ret = S_FAIL;
u32 SPIWidth = HardSPI_GetSPIWidthInBytes(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle);
assert(AddrSize %SPIWidth == 0);//Errors may occur if data are not aligned to spi width.
assert(Size % SPIWidth == 0);//Errors may occur if data are not aligned to spi width.
UniGPIO_SetLow(CSPin);
if (HAL_SPI_Transmit(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)&Address, AddrSize / SPIWidth, TimeOut) == HAL_OK)
{
if (HAL_SPI_Transmit(&SPI_Handle->SPI_Info.HardSPI_Info.HALHandle, (u8*)Buffer, Size / SPIWidth, TimeOut) == HAL_OK)
{
Ret = S_OK;
}
}
UniGPIO_SetHigh(CSPin);
return Ret;
}
void HardSPI_Free(UniSPI_Handle* SPI_Handle)
{
assert(false);
//not implemented
}
u8 HardSPI_GetPreScaler(u8 Index, u32 Speed)
{
u8 PreScaler = 0;
u32 PClk1 = Index == 1 ? HAL_RCC_GetPCLK2Freq() : HAL_RCC_GetPCLK1Freq();
while (Speed * (1 << (PreScaler + 1)) < PClk1 && PreScaler < 8)
{
PreScaler++;
}
if (PreScaler > 7)
{
assert(PreScaler <= 7);
PreScaler = 7;
}
return PreScaler << 3;
}
u8 HardSPI_GetSPIWidthInBytes(SPI_HandleTypeDef* SPI_Handle)
{
switch (SPI_Handle->Init.DataSize)
{
case SPI_DATASIZE_8BIT:
return 1;
case SPI_DATASIZE_16BIT:
return 2;
default:
return 1;
}
}
| 28.309179 | 197 | 0.749488 |
5fea165b7d70417a4e4493fc924b03b31376123c | 1,520 | h | C | core/utils/src/ElapsedTimer.h | Tazura/ngrest | b5ab161b5b96641e3eeb2e00e15e8c7d38e43e97 | [
"Apache-2.0"
] | 458 | 2016-02-05T15:07:48.000Z | 2022-03-26T09:48:08.000Z | core/utils/src/ElapsedTimer.h | DaniilOkrug/REST-Server | 853ebaca28b1a7344677165e0c8abf2a8a1193c5 | [
"Apache-2.0"
] | 81 | 2016-03-16T14:43:46.000Z | 2022-02-28T05:50:12.000Z | core/utils/src/ElapsedTimer.h | DaniilOkrug/REST-Server | 853ebaca28b1a7344677165e0c8abf2a8a1193c5 | [
"Apache-2.0"
] | 100 | 2016-04-18T06:14:08.000Z | 2022-03-25T07:01:35.000Z | /*
* Copyright 2016 Utkin Dmitry <loentar@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This file is part of ngrest: http://github.com/loentar/ngrest
*/
#ifndef NGREST_ELAPSEDTIMER_H
#define NGREST_ELAPSEDTIMER_H
#include <stdint.h>
#include "ngrestutilsexport.h"
namespace ngrest {
/**
* @brief class to calculate elapsed time
*/
class NGREST_UTILS_EXPORT ElapsedTimer
{
public:
inline ElapsedTimer(bool startNow = false)
{
if (startNow)
start();
}
/**
* @brief start measuring
*/
inline void start()
{
started = getTime();
}
/**
* @brief returns the number of microseconds since this ElapsedTimer was started
*/
inline int64_t elapsed() const
{
return getTime() - started;
}
/**
* @brief get current time in microseconds
*/
static int64_t getTime();
private:
int64_t started = 0;
};
} // namespace ngrest
#endif // NGREST_ELAPSEDTIMER_H
| 22.028986 | 84 | 0.664474 |
e71eda4861d8578828bc288e709c39c97c08b6dd | 527 | js | JavaScript | resources/js/luckyNumber.js | Gabeujin/Gabeujin.github.io | ff677fa6e7c590d31efb1d704bd534df204e41a0 | [
"MIT"
] | 1 | 2019-03-11T10:31:24.000Z | 2019-03-11T10:31:24.000Z | resources/js/luckyNumber.js | Gabeujin/Gabeujin.github.io | ff677fa6e7c590d31efb1d704bd534df204e41a0 | [
"MIT"
] | 7 | 2019-03-11T10:31:42.000Z | 2020-04-28T05:49:52.000Z | resources/js/luckyNumber.js | Gabeujin/Gabeujin.github.io | ff677fa6e7c590d31efb1d704bd534df204e41a0 | [
"MIT"
] | null | null | null | const luckyNum = (isRtn)=>{
let number = new Array();
let temp;
for(let i=0;i<6;i++){
temp = Math.floor(Math.random()*45)+1;
if(i>0){
while(number.includes(temp)){
temp = Math.floor(Math.random()*45)+1;
}
}
number.push(temp);
}
console.log('%c오늘도 좋은 하루:D\t\t\t\t\t'+'\nlucky Number : '+number.toString()+'\t\t','font-size:20px;color:#80c475;background-color:black;');
if(isNull(isRtn) != "" && typeof isRtn == "boolean" ){
return alert("행운번호\n" + number.toString());
}
} | 29.277778 | 141 | 0.573055 |
26ff95a49e172c37cc2c9b91ab905d6eaf9321c7 | 12,987 | sql | SQL | farrago/unitsql/ddl/med.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 14 | 2015-07-21T06:31:22.000Z | 2020-05-13T14:18:33.000Z | farrago/unitsql/ddl/med.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 1 | 2020-05-04T23:08:51.000Z | 2020-05-04T23:08:51.000Z | farrago/unitsql/ddl/med.sql | alexavila150/luciddb | e3125564eb18238677e6efb384b630cab17bb472 | [
"Apache-2.0"
] | 22 | 2015-01-03T14:27:36.000Z | 2021-09-14T02:09:13.000Z | -- $Id$
-- Test SQL/MED DDL
-- create a private wrapper for mdr (don't use the standard mdr wrapper
-- because we're going to drop it)
create foreign data wrapper test_mdr
library 'class net.sf.farrago.namespace.mdr.MedMdrForeignDataWrapper'
language java
description 'private data wrapper for mdr';
-- test name uniqueness: should fail
create foreign data wrapper test_mdr
library 'class net.sf.farrago.namespace.mdr.MedMdrForeignDataWrapper'
language java;
create server mof_server
foreign data wrapper test_mdr
options(
extent_name 'MOF',
schema_name 'Model',
"org.eigenbase.enki.implementationType" 'NETBEANS_MDR',
"org.netbeans.mdr.persistence.Dir" 'unitsql/ddl/mdr')
description 'a server';
-- test name uniqueness: should fail
create server mof_server
foreign data wrapper test_mdr
options(
extent_name 'MOF',
schema_name 'Model',
"org.eigenbase.enki.implementationType" 'NETBEANS_MDR',
"org.netbeans.mdr.persistence.Dir" 'unitsql/ddl/mdr');
-- test name uniqueness relative to a real catalog: should fail
create server localdb
foreign data wrapper test_mdr
options(
extent_name 'MOF',
schema_name 'Model',
"org.eigenbase.enki.implementationType" 'NETBEANS_MDR',
"org.netbeans.mdr.persistence.Dir" 'unitsql/ddl/mdr');
-- test a direct table reference without creating a foreign table
select "name" from mof_server."Model"."Exception" order by 1;
-- create a local schema to hold foreign table definitions
create schema mof_schema;
-- create a view with direct table reference
create view mof_schema.exception_names as
select "name" from mof_server."Model"."Exception";
-- test same query as above, but against view
select * from mof_schema.exception_names order by 1;
-- create a foreign table
-- (specifying datatypes, and using fixed-width char to make sure the
-- requested type is actually imposed and not ignored)
create foreign table mof_schema.mof_exception(
name char(20),
annotation varchar(128),
container varchar(128),
"SCOPE" varchar(128),
visibility varchar(128),
"mofId" varchar(128),
"mofClassName" varchar(128))
server mof_server
options(class_name 'Exception')
description 'a foreign table';
-- verify that creating a local table using foreign wrapper is illegal
create table mof_schema.local_table_foreign_wrapper(
id int not null primary key)
server mof_server;
-- and vice versa
create foreign table mof_schema.foreign_table_local_wrapper(
id int not null primary key)
server sys_mock_data_server;
-- foreign does not allow constraint: should fail
create foreign table mof_schema.test (name char(20) not null primary key)
server mof_server
options(class_name 'Exception');
create foreign table mof_schema.test (name char(20) not null constraint n_unique_name unique)
server mof_server
options(class_name 'Exception');
-- test same query as above, but against foreign table
select name from mof_schema.mof_exception order by 1;
-- create a foreign table (inferring datatypes)
create foreign table mof_schema.mof_exception_inferred
server mof_server
options(class_name 'Exception');
-- test same query as above, but against inferred foreign table
select "name" from mof_schema.mof_exception_inferred order by 1;
-- creating an index on a foreign table should fail
create index xyz on mof_schema.mof_exception_inferred("name");
-- create a view against foreign table
create view mof_schema.foreign_exception_names as
select name from mof_schema.mof_exception;
-- test same query as above, but against view
select * from mof_schema.foreign_exception_names order by 1;
-- test DROP FOREIGN DATA WRAPPER with RESTRICT: should fail
drop foreign data wrapper test_mdr restrict;
-- test DROP SERVER with RESTRICT: should fail
drop server mof_server restrict;
-- test DROP SERVER with CASCADE
drop server mof_server cascade;
-- table mof_exception and boths views should be gone now
select * from mof_schema.mof_exception;
select * from mof_schema.exception_names;
select * from mof_schema.foreign_exception_names;
-- should be OK to drop wrapper now
drop foreign data wrapper test_mdr restrict;
-- now make sure entries are gone from catalog too
select "name" from sys_fem.med."DataWrapper" order by 1;
select "name" from sys_fem.med."DataServer" order by 1;
-- test JDBC wrapper
-- test a direct table reference without creating a foreign table
select * from hsqldb_demo.sales.dept order by deptno;
create schema demo_schema;
-- create a foreign table (specifying datatypes)
create foreign table demo_schema.dept(
dno integer,
dname char(20),
loc char(20))
server hsqldb_demo
options(schema_name 'SALES', table_name 'DEPT');
-- test same query as above, but against foreign table
select * from demo_schema.dept order by dno;
-- create a foreign table (inferring datatypes)
create foreign table demo_schema.dept_inferred
server hsqldb_demo
options(schema_name 'SALES', table_name 'DEPT');
-- test same query as above, but against foreign table with inferred types
select * from demo_schema.dept_inferred order by deptno;
-- test SCHEMA_NAME of server specified
create server hsqldb_schema_qual
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb/scott',
user_name 'SA',
schema_name 'SALES',
table_types 'TABLE,VIEW');
-- create a foreign table without schema name: should fail
create foreign table demo_schema.dept_server_schema
server hsqldb_schema_qual
options(object 'DEPT');
-- test schema of server with USE_SCHEMA_NAME_AS_FOREIGN_QUALIFIER set
create or replace server hsqldb_schema_qual
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb/scott',
user_name 'SA',
schema_name 'SALES',
use_schema_name_as_foreign_qualifier 'true',
table_types 'TABLE,VIEW');
-- create a foreign table without schema name: should pass
create foreign table demo_schema.dept_server_schema
server hsqldb_schema_qual
options(object 'DEPT');
-- test same query as above, but against foreign table with schema name gotten from server
select * from demo_schema.dept_server_schema order by deptno;
create schema demo_import_schema;
-- test full import
import foreign schema sales
from server hsqldb_demo
into demo_import_schema;
select deptno from demo_import_schema.dept order by deptno;
select empno from demo_import_schema.emp order by empno;
drop schema demo_import_schema cascade;
create schema demo_import_schema;
-- test explicit import
import foreign schema sales
limit to (dept, salgrade)
from server hsqldb_demo
into demo_import_schema;
select deptno from demo_import_schema.dept order by deptno;
-- should fail: not there
select empno from demo_import_schema.emp order by empno;
drop schema demo_import_schema cascade;
create schema demo_import_schema;
-- should fail: attempt to explicitly import non-existent table
import foreign schema sales
limit to (dept, salgrade, space_ghost, green_lantern)
from server hsqldb_demo
into demo_import_schema;
-- test explicit exclusion
import foreign schema sales
except (dept, salgrade)
from server hsqldb_demo
into demo_import_schema;
select empno from demo_import_schema.emp order by empno;
-- should fail: not there
select deptno from demo_import_schema.dept order by deptno;
-- test booleans, since they need special handling
select * from demo_import_schema.bitflip order by b1,b2;
drop schema demo_import_schema cascade;
create schema demo_import_schema;
-- test pattern import
import foreign schema sales
limit to table_name like '%D%E%'
from server hsqldb_demo
into demo_import_schema;
select deptno from demo_import_schema.dept order by deptno;
-- should fail: not there
select empno from demo_import_schema.emp order by empno;
drop schema demo_import_schema cascade;
create schema demo_import_schema;
-- test pattern exclusion
import foreign schema sales
except table_name like '%D%E%'
from server hsqldb_demo
into demo_import_schema;
select empno from demo_import_schema.emp order by empno;
-- should fail: not there
select deptno from demo_import_schema.dept order by deptno;
-- negative test for type_substitution option; hsqldb VARCHAR comes
-- back as precision 0, which we don't accept
create server hsqldb_nosub
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb/scott',
user_name 'SA',
table_types 'TABLE,VIEW',
type_substitution 'FALSE');
-- should fail: direct table reference without creating a foreign table
select * from hsqldb_nosub.sales.dept order by deptno;
-- should fail: view against said reference
create view demo_schema.dept_nosub_direct_view as
select * from hsqldb_nosub.sales.dept order by deptno;
-- should fail: foreign table without column type info
create foreign table demo_schema.dept_inferred_nosub
server hsqldb_nosub
options(schema_name 'SALES', table_name 'DEPT');
-- should succeed: foreign table with column type info
create foreign table demo_schema.dept_nosub(
dno integer,
dname char(20),
loc char(20))
server hsqldb_nosub
options(schema_name 'SALES', table_name 'DEPT');
-- should succeed: query against foreign table with column type info
select * from demo_schema.dept_nosub order by dno;
-- should succeed: view against foreign table with column type info
create view demo_schema.dept_nosub_view as
select * from demo_schema.dept_nosub;
-- should succeed: query against said view
select * from demo_schema.dept_nosub_view order by dno;
-- should succeed: chained string literals
create foreign table demo_schema.dept_chained_literals(
dno integer options (
foo 'bar'
''
'baz'),
dname char(20),
loc char(20))
server hsqldb_nosub
options (
schema_name 'SALES',
table_name 'DE' // trailing line comment
'PT')
description 'a '
'foreign ' 'table';
-- test lenient option
create server hsqldb_orig
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb/scott',
user_name 'SA',
schema_name 'SALES',
use_schema_name_as_foreign_qualifier 'true',
table_types 'TABLE,VIEW',
lenient 'true'
);
create foreign table demo_schema.dept_changing
server hsqldb_orig
options (object 'DEPT');
!set showwarnings true
select * from demo_schema.dept_changing;
create or replace server hsqldb_orig
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb_modified/scott',
user_name 'SA',
schema_name 'SALES',
use_schema_name_as_foreign_qualifier 'true',
table_types 'TABLE,VIEW',
lenient 'true');
select * from demo_schema.dept_changing;
-- test strictness
-- missing columns, should fail
create foreign table demo_schema.dept_missing_col(
dno integer,
dname char(20))
server hsqldb_demo
options(schema_name 'SALES', table_name 'DEPT');
-- extra columns, should fail
create foreign table demo_schema.dept_extra_col(
dno integer,
dname char(20),
loc char(20),
extra_col integer)
server hsqldb_demo
options(schema_name 'SALES', table_name 'DEPT');
-- test trusting mode (skip type check when local catalog already has type
-- info)
create server hsqldb_trusting
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb/scott',
user_name 'SA',
schema_name 'SALES',
use_schema_name_as_foreign_qualifier 'true',
table_types 'TABLE,VIEW',
skip_type_check 'true'
);
-- should succeed even though column names are wrong
create foreign table demo_schema.dept_missing_col_trust(
dno integer,
dname char(20))
server hsqldb_trusting
options(schema_name 'SALES', table_name 'DEPT');
-- should succeed even though column type mismatch
create foreign table demo_schema.dept_wrong_col_trust(
dno date,
dname char(20))
server hsqldb_trusting
options(schema_name 'SALES', table_name 'DEPT');
-- should succeed even though column doesn't exist
create foreign table demo_schema.dept_extra_col_trust(
dno integer,
dname char(20),
loc char(20),
extra_col integer)
server hsqldb_trusting
options(schema_name 'SALES', table_name 'DEPT');
select * from demo_schema.dept_missing_col_trust;
-- failure will be deferred to execution time instead
select * from demo_schema.dept_wrong_col_trust;
select * from demo_schema.dept_extra_col_trust;
-- various options
create server hsqldb_opts1
foreign data wrapper sys_jdbc
options(
driver_class 'org.hsqldb.jdbcDriver',
url 'jdbc:hsqldb:testcases/hsqldb/scott',
user_name 'SA',
schema_name 'SALES',
use_schema_name_as_foreign_qualifier 'true',
table_types 'TABLE,VIEW',
autocommit 'false',
fetch_size '3');
select deptno from hsqldb_opts1.sales.dept order by deptno;
select dname from hsqldb_opts1.sales.dept order by dname;
-- End med.sql
| 29.718535 | 93 | 0.775853 |
f3352c6e3c3ccf972d3092eae4f7b12e192e11f9 | 2,368 | kt | Kotlin | builder/app/src/main/kotlin/org/promethist/core/builder/IllusionistModelBuilder.kt | petrLorenc/core | a2b699ecc6f28dbf215fd54145ae642b086676dd | [
"Apache-2.0"
] | null | null | null | builder/app/src/main/kotlin/org/promethist/core/builder/IllusionistModelBuilder.kt | petrLorenc/core | a2b699ecc6f28dbf215fd54145ae642b086676dd | [
"Apache-2.0"
] | null | null | null | builder/app/src/main/kotlin/org/promethist/core/builder/IllusionistModelBuilder.kt | petrLorenc/core | a2b699ecc6f28dbf215fd54145ae642b086676dd | [
"Apache-2.0"
] | 1 | 2021-08-10T13:53:34.000Z | 2021-08-10T13:53:34.000Z | package org.promethist.core.builder
import org.promethist.common.RestClient
import org.promethist.core.builder.IntentModelBuilder.Output
import org.promethist.core.dialogue.AbstractDialogue
import org.promethist.core.model.DialogueSourceCode
import org.promethist.core.model.IntentModel
import org.promethist.util.LoggerDelegate
import java.net.URL
import java.util.*
import javax.ws.rs.WebApplicationException
class IllusionistModelBuilder(val apiUrl: String, val apiKey: String, val approach: String) : IntentModelBuilder {
companion object {
const val buildTimeout = 180000
const val outOfDomainActionName = "outofdomain"
}
private val logger by LoggerDelegate()
init {
logger.info("Created with API URL $apiUrl (approach=$approach)")
}
override fun build(irModel: IntentModel, language: Locale, intents: List<AbstractDialogue.Intent>, oodExamples: List<DialogueSourceCode.GlobalIntent>) {
build(irModel.id, irModel.name, language, intents, oodExamples)
}
override fun build(modelId: String, name: String, language: Locale, intents: List<AbstractDialogue.Intent>, oodExamples: List<DialogueSourceCode.GlobalIntent>) {
val items = mutableMapOf<String, Output.Item>()
intents.forEach { intent ->
items[intent.name] = Output.Item(intent.utterances, intent.id.toString(), intent.threshold)
}
val oodStrings = mutableListOf<String>()
oodExamples.forEach { intent -> oodStrings.addAll(intent.utterances) }
if (approach == "logistic") {
items[outOfDomainActionName] = Output.Item(oodStrings.toTypedArray(), outOfDomainActionName, 0.0F)
}
build(modelId, name, language, items)
}
override fun build(modelId: String, name: String, language: Locale, intents: Map<String, Output.Item>) {
val output = Output(Output.Model(name, language.toString(), approach = approach), intents)
val url = URL("$apiUrl/models/$modelId?key=$apiKey")
// logger.info("$url < $output")
try {
RestClient.call<Any>(url, "POST", output = output, timeout = buildTimeout)
} catch (e: WebApplicationException) {
RestClient.call<Any>(url, "PUT", output = output, timeout = buildTimeout)
}
logger.info("Built intent model name=$name, id=$modelId")
}
} | 40.827586 | 165 | 0.699747 |
a175060c8d5f4bc9e1832a00b9a67f3ec2ae6d6b | 2,485 | h | C | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_command_list.d3d12.h | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_command_list.d3d12.h | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | graphics_test/graphics_test/src/ngl/rhi/d3d12/rhi_command_list.d3d12.h | nagakagachi/sample_projct | 300fcdaf65a009874ce1964a64682aeb6a6ef82e | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <vector>
#include "ngl/util/types.h"
#include "ngl/rhi/rhi.h"
#include "rhi.d3d12.h"
#include "rhi_util.d3d12.h"
#include "rhi_descriptor.d3d12.h"
namespace ngl
{
namespace rhi
{
class TextureDep;
class RenderTargetViewDep;
class DepthStencilViewDep;
// CommandList
class GraphicsCommandListDep
{
public:
struct Desc
{
u32 dummy = 0;
};
GraphicsCommandListDep();
~GraphicsCommandListDep();
bool Initialize(DeviceDep* p_device, const Desc& desc);
void Finalize();
ID3D12GraphicsCommandList* GetD3D12GraphicsCommandList()
{
return p_command_list_;
}
void Begin();
void End();
void SetRenderTargets(const RenderTargetViewDep** pp_rtv, int num_rtv, const DepthStencilViewDep* p_dsv);
void SetViewports(u32 num, const D3D12_VIEWPORT* p_viewports);
void SetScissor(u32 num, const D3D12_RECT* p_rects);
void SetPipelineState(GraphicsPipelineStateDep* p_pso);
void SetDescriptorSet(const GraphicsPipelineStateDep* p_pso, const DescriptorSetDep* p_desc_set);
void SetPrimitiveTopology(PrimitiveTopology topology);
void SetVertexBuffers(u32 slot, u32 num, const D3D12_VERTEX_BUFFER_VIEW* p_views);
void SetIndexBuffer(const D3D12_INDEX_BUFFER_VIEW* p_view);
void DrawInstanced(u32 num_vtx, u32 num_instance, u32 offset_vtx, u32 offset_instance);
void DrawIndexedInstanced(u32 index_count_per_instance, u32 instance_count, u32 start_index_location, s32 base_vertex_location, u32 start_instance_location);
void ClearRenderTarget(const RenderTargetViewDep* p_rtv, float(color)[4]);
void ClearDepthTarget(const DepthStencilViewDep* p_dsv, float depth, uint8_t stencil, bool clearDepth, bool clearStencil);
// Barrier
void ResourceBarrier(SwapChainDep* p_swapchain, unsigned int buffer_index, ResourceState prev, ResourceState next);
void ResourceBarrier(TextureDep* p_texture, ResourceState prev, ResourceState next);
public:
// 検証中は直接利用するかもしれないので取得関数追加
FrameDescriptorInterface* GetFrameDescriptorInterface() { return &frame_desc_interface_; }
private:
DeviceDep* parent_device_ = nullptr;
Desc desc_ = {};
// Cvb Srv Uav用.
FrameDescriptorInterface frame_desc_interface_ = {};
// Sampler用.
FrameDescriptorHeapPageInterface frame_desc_page_interface_for_sampler_ = {};
CComPtr<ID3D12CommandAllocator> p_command_allocator_;
CComPtr<ID3D12GraphicsCommandList> p_command_list_;
};
}
} | 28.238636 | 161 | 0.765795 |
1f95ae53ea84e099690be2d0de439fc67660f0a8 | 441 | swift | Swift | Sources/Substrate/RPC/payment/RuntimeDispatchInfo.swift | sbgiri/Substrate | bc7f33a187d8e33af41c5b43fb148f2f84ae8b0f | [
"Apache-2.0"
] | 9 | 2020-10-15T07:24:38.000Z | 2022-03-18T14:43:43.000Z | Sources/Substrate/RPC/payment/RuntimeDispatchInfo.swift | sbgiri/Substrate | bc7f33a187d8e33af41c5b43fb148f2f84ae8b0f | [
"Apache-2.0"
] | 6 | 2020-11-30T09:28:07.000Z | 2022-01-24T12:30:19.000Z | Sources/Substrate/RPC/payment/RuntimeDispatchInfo.swift | sbgiri/Substrate | bc7f33a187d8e33af41c5b43fb148f2f84ae8b0f | [
"Apache-2.0"
] | 6 | 2020-11-03T03:13:40.000Z | 2022-01-05T08:47:44.000Z | //
// RuntimeDispatchInfo.swift
//
//
// Created by Yehor Popovych on 06.08.2021.
//
import Foundation
public struct RuntimeDispatchInfo<Balance: Decodable, Weight: WeightProtocol>: Decodable {
public let weight: Weight
public let clazz: DispatchInfo<Weight>.Class
public let partialFee: Balance
enum CodingKeys: String, CodingKey {
case clazz = "class"
case partialFee
case weight
}
}
| 21 | 90 | 0.678005 |
b1c7dc59154b16fc05558bb91522ce1bc67a9beb | 2,665 | h | C | DFRobot_GravityTDS.h | cdjq/DFRobot_GravityTDS | 0378e8e90410e8e41a560b41af649cfa16b0978e | [
"MIT"
] | null | null | null | DFRobot_GravityTDS.h | cdjq/DFRobot_GravityTDS | 0378e8e90410e8e41a560b41af649cfa16b0978e | [
"MIT"
] | null | null | null | DFRobot_GravityTDS.h | cdjq/DFRobot_GravityTDS | 0378e8e90410e8e41a560b41af649cfa16b0978e | [
"MIT"
] | null | null | null | /*!
* @file DFRobot_GravityTDS.h
* @brief DFRobot_GravityTDS 类的基础结构
* @copyright Copyright (c) 2021 DFRobot Co.Ltd (http://www.dfrobot.com)
* @license The MIT License (MIT)
* @author [TangJie](jie.tang@dfrobot.com)
* @version V1.0.1
* @date 2021-12-21
* @url https://github.com/DFRobot/DFRobot_GravityTDS
*/
#ifndef GRAVITY_TDS_H
#define GRAVITY_TDS_H
#include "Arduino.h"
#define ReceivedBufferLength 15
#define TdsFactor 0.5 // tds = ec / 2
class DFRobot_GravityTDS
{
public:
/**
* @fn DFRobot_GravityTDS
* @brief DFRobot_GravityTDS构造函数
*/
DFRobot_GravityTDS();
~DFRobot_GravityTDS();
/**
* @fn begin
* @brief 初始化传感器
*/
void begin();
/**
* @fn update
* @brief 获取数据并计算准确数据
*/
void update();
/**
* @fn setPin
* @brief 设置模拟数据采集引脚
* @param pin 模拟数据采集引脚
*/
void setPin(int pin);
/**
* @fn setTemperature
* @brief 设置温度补偿数据
* @param temp 温度补偿值
*/
void setTemperature(float temp);
/**
* @fn setAref
* @brief 设置ADC参考电压,Arduino UNO 上默认为5.0V
* @param value 参考电压值
*/
void setAref(float value);
/**
* @fn setAdcRange
* @brief 设置ADC范围 10bit为1024,12bit为4096
* @param range ADC范围值
*/
void setAdcRange(float range); //1024 for 10bit ADC;4096 for 12bit ADC
/**
* @fn setKvalueAddress
* @brief 设置K值的地址
* @param address K值地址
*/
void setKvalueAddress(int address); //set the EEPROM address to store the k value,default address:0x08
/**
* @fn getKvalue
* @brief 获取K值
* @return 返回获取的K值
*/
float getKvalue();
/**
* @fn getTdsValue
* @brief 获取TDS数据值
* @return 返回获取的TDS数据
*/
float getTdsValue();
/**
* @fn getEcValue
* @brief 获取EC数据值
* @return 返回获取的EC值
*/
float getEcValue();
private:
int pin;
float aref; // default 5.0V on Arduino UNO
float adcRange;
float temperature;
int kValueAddress; //the address of the K value stored in the EEPROM
char cmdReceivedBuffer[ReceivedBufferLength+1]; // store the serial cmd from the serial monitor
byte cmdReceivedBufferIndex;
float kValue; // k value of the probe,you can calibrate in buffer solution ,such as 706.5ppm(1413us/cm)@25^C
float analogValue;
float voltage;
float ecValue; //before temperature compensation
float ecValue25; //after temperature compensation
float tdsValue;
void readKValues();
boolean cmdSerialDataAvailable();
byte cmdParse();
void ecCalibration(byte mode);
};
#endif
| 24.009009 | 118 | 0.610507 |
39426a8b5d2ba97f66ca701f0dfb699f39b84868 | 775 | sql | SQL | sqls/ASIR2.ASGBD.Examen.4.sql | gonzaleztroyano/ASIR2-ASGBD-Examples | 604d856a3612436c3f4977b1d7bc830b49249b35 | [
"CC-BY-4.0"
] | null | null | null | sqls/ASIR2.ASGBD.Examen.4.sql | gonzaleztroyano/ASIR2-ASGBD-Examples | 604d856a3612436c3f4977b1d7bc830b49249b35 | [
"CC-BY-4.0"
] | null | null | null | sqls/ASIR2.ASGBD.Examen.4.sql | gonzaleztroyano/ASIR2-ASGBD-Examples | 604d856a3612436c3f4977b1d7bc830b49249b35 | [
"CC-BY-4.0"
] | 1 | 2022-03-05T19:18:58.000Z | 2022-03-05T19:18:58.000Z | -- Queremos que cada vez que se inserte una nueva cuenta en la tabla cuenta, si el
-- cliente que abre la nueva cuenta tiene ya una cuenta en el banco, se le sume 200
-- euros al saldo con el que se abre esa cuenta.
DELIMITER $$
DROP TRIGGER IF EXISTS cuenta_cli_existente $$
CREATE TRIGGER cuenta_cli_existente BEFORE INSERT ON cuenta
FOR EACH ROW
BEGIN
IF EXISTS (SELECT cod_cliente
FROM cuenta
WHERE cod_cliente = NEW.cod_cliente) = 1
THEN
SET NEW.saldo = NEW.saldo + 200;
END IF;
END $$
INSERT INTO `ebanca`.`cuenta` (`fecha_creacion`, `saldo`, `cod_cuenta`, `cod_cliente`) VALUES ('2021-11-22', '0', '6', '5');
INSERT INTO `ebanca`.`cuenta` (`fecha_creacion`, `saldo`, `cod_cuenta`, `cod_cliente`) VALUES ('2021-11-23', '0', '7', '15');
| 36.904762 | 125 | 0.691613 |
0a3f318305fffcb313e25fbc04c97758be2e51d0 | 1,708 | ts | TypeScript | src/decorators/watch.test.ts | TomasLight/app-redux-utils | ed0e2a1ccf8d27d2729048e496719b6b326b47fd | [
"MIT"
] | null | null | null | src/decorators/watch.test.ts | TomasLight/app-redux-utils | ed0e2a1ccf8d27d2729048e496719b6b326b47fd | [
"MIT"
] | 3 | 2020-10-11T13:43:14.000Z | 2021-09-18T17:00:13.000Z | src/decorators/watch.test.ts | TomasLight/app-redux-utils | ed0e2a1ccf8d27d2729048e496719b6b326b47fd | [
"MIT"
] | null | null | null | import { ControllerBase } from '../controller';
import { createAction } from '../createAction';
import { Reducer } from '../Reducer';
import { controllerWatcherSymbol, watchersSymbol } from '../symbols';
import { Action, WatchedConstructor, DecoratedWatchedController } from '../types';
import { watch } from './watch';
test('', () => {
type State = any;
class MyStore {
static update = 'My_update_store';
static reducer = Reducer(new MyStore(), MyStore.update);
users: string[] = [];
}
@watch
class MyController extends ControllerBase<State> {
updateStore(store: Partial<MyStore>) {
this.dispatch(createAction(MyStore.update, store));
}
@watch
// eslint-disable-next-line no-empty-function
loadUsers() {
}
@watch('openUserForEditing')
// eslint-disable-next-line no-empty-function
openUser(action: Action<{ userID: string; }>) {
}
}
expect((MyController as WatchedConstructor<MyController>)[watchersSymbol]).toEqual({
My_loadUsers: 'loadUsers',
My_openUserForEditing: 'openUser',
});
const watcher = (MyController as WatchedConstructor<MyController>)[controllerWatcherSymbol];
expect(watcher).not.toBe(undefined);
expect(watcher!.get('My_loadUsers')).toEqual('loadUsers');
expect(watcher!.get('My_openUserForEditing')).toEqual('openUser');
const myController: DecoratedWatchedController<[
'loadUsers',
['openUserForEditing', { userID: string; }]
]> = MyController as any;
// you can use it as `dispatch(myController.method1());`
expect(myController.loadUsers().type).toBe('My_loadUsers');
expect(myController.openUserForEditing({ userID: '123' }).type).toBe('My_openUserForEditing');
});
| 31.054545 | 96 | 0.694379 |
263cc7a87157818e60b7e22edb4fae1197897979 | 891 | java | Java | oauth2-server/src/main/java/io/github/tiscs/demos/oauth2/entities/OAuth2AccountId.java | Tiscs/spring-cloud-oauth2-demo | fdbc08b3890a0e23429da8ca5aa806d255e0cb48 | [
"MIT"
] | 17 | 2017-02-15T09:14:00.000Z | 2019-08-03T04:15:29.000Z | oauth2-server/src/main/java/io/github/tiscs/demos/oauth2/entities/OAuth2AccountId.java | Tiscs/spring-cloud-oauth2-demo | fdbc08b3890a0e23429da8ca5aa806d255e0cb48 | [
"MIT"
] | null | null | null | oauth2-server/src/main/java/io/github/tiscs/demos/oauth2/entities/OAuth2AccountId.java | Tiscs/spring-cloud-oauth2-demo | fdbc08b3890a0e23429da8ca5aa806d255e0cb48 | [
"MIT"
] | 5 | 2017-02-15T09:20:05.000Z | 2018-08-24T01:53:26.000Z | package io.github.tiscs.demos.oauth2.entities;
import java.io.Serializable;
import java.util.Objects;
public class OAuth2AccountId implements Serializable {
private Long oauth2ClientId;
private Long userAccountId;
public OAuth2AccountId() {
}
public OAuth2AccountId(Long oauth2ClientId, Long userAccountId) {
this.oauth2ClientId = oauth2ClientId;
this.userAccountId = userAccountId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
OAuth2AccountId that = (OAuth2AccountId) o;
return Objects.equals(oauth2ClientId, that.oauth2ClientId) &&
Objects.equals(userAccountId, that.userAccountId);
}
@Override
public int hashCode() {
return Objects.hash(oauth2ClientId, userAccountId);
}
}
| 27.84375 | 69 | 0.67789 |
8a1b2867866255862db68a723c1774194d6c2df3 | 1,610 | swift | Swift | dracoon-sdk/Model/CreateDownloadShareRequest.swift | rikapsu2018/dracoon-swift-sdk | b0b169991bcc29742e87a7db68d52156b8031dce | [
"Apache-2.0"
] | null | null | null | dracoon-sdk/Model/CreateDownloadShareRequest.swift | rikapsu2018/dracoon-swift-sdk | b0b169991bcc29742e87a7db68d52156b8031dce | [
"Apache-2.0"
] | null | null | null | dracoon-sdk/Model/CreateDownloadShareRequest.swift | rikapsu2018/dracoon-swift-sdk | b0b169991bcc29742e87a7db68d52156b8031dce | [
"Apache-2.0"
] | null | null | null | //
// CreateDownloadShareRequest.swift
//
// Generated by swagger-codegen
// https://github.com/swagger-api/swagger-codegen
//
import Foundation
import crypto_sdk
public struct CreateDownloadShareRequest: Codable {
/** Source node ID */
public var nodeId: Int64
/** Alias name */
public var name: String?
/** Access password, not allowed for encrypted shares */
public var password: String?
/** Expiration date / time */
public var expiration: ObjectExpiration?
/** User notes Use empty string to remove. */
public var notes: String?
/** Show creator first and last name. (default: false) */
public var showCreatorName: Bool?
/** Show creator email address. (default: false) */
public var showCreatorUsername: Bool?
/** Notify creator on every download. (default: false) */
public var notifyCreator: Bool?
/** Max allowed downloads */
public var maxDownloads: Int?
/** Notify recipients (default: false) */
public var sendMail: Bool?
/** CSV string of recipient emails */
public var mailRecipients: String?
/** Notification email subject */
public var mailSubject: String?
/** Notification email content */
public var mailBody: String?
/** Keypair for Download Share pseudo-user */
public var keyPair: UserKeyPair?
/** Encrypted file key for shares out of encrypted rooms */
public var fileKey: EncryptedFileKey?
/** Send share password via SMS (default: false) */
public var sendSms: Bool?
/** CSV string of recipient MSISDNs */
public var smsRecipients: String?
}
| 30.377358 | 63 | 0.677019 |
32aa16faaacefd6f117c2add05d26aac0c0c901b | 10,379 | lua | Lua | mods/noita-mp/files/scripts/net/client_class.lua | Ismoh/NoitaMP | 10c0c970f409ae77f67b9c40ec685979f9b8da1c | [
"MIT"
] | 8 | 2021-12-17T17:21:22.000Z | 2022-02-19T22:51:45.000Z | mods/noita-mp/files/scripts/net/client_class.lua | Ismoh/NoitaMP | 10c0c970f409ae77f67b9c40ec685979f9b8da1c | [
"MIT"
] | 17 | 2021-11-25T00:44:22.000Z | 2022-03-11T21:55:49.000Z | mods/noita-mp/files/scripts/net/client_class.lua | Ismoh/NoitaMP | 10c0c970f409ae77f67b9c40ec685979f9b8da1c | [
"MIT"
] | 1 | 2022-01-18T08:54:14.000Z | 2022-01-18T08:54:14.000Z | local fu = require("file_util")
local sock = require("sock")
local Guid = require("guid")
local em = require("entity_manager")
local util = require("util")
-- https://www.tutorialspoint.com/lua/lua_object_oriented.htm
-- Meta class
Client = {
super = nil,
address = nil,
port = nil
}
-- Derived class method new
function Client:new(o, super, address, port)
o = o or {}
setmetatable(o, self)
self.__index = self
self.super = super
self.address = tostring(address)
self.port = tonumber(port)
return o
end
function Client:setGuid()
local guid = tostring(ModSettingGetNextValue("noita-mp.guid"))
if guid == "" or Guid.isPatternValid(guid) == false then
guid = Guid:getGuid()
ModSettingSetNextValue("noita-mp.guid", guid, false)
self.super.guid = guid
logger:debug("client_class.lua | guid set to " .. guid)
else
self.super.guid = guid
logger:debug("client_class.lua | guid was already set to " .. self.super.guid)
end
end
function Client:setSettings()
self.super:setTimeout(320, 50000, 100000)
self.super:setSchema("worldFiles", {"relDirPath", "fileName", "fileContent", "fileIndex", "amountOfFiles"})
self.super:setSchema("worldFilesFinished", {"progress"})
self.super:setSchema("seed", {"seed"})
self.super:setSchema("clientInfo", {"username", "guid"})
self.super:setSchema("needNuid", {"owner", "localEntityId", "x", "y", "rot", "velocity", "filename"})
self.super:setSchema("newNuid", {"owner", "localEntityId", "nuid", "x", "y", "rot", "velocity", "filename"})
self.super:setSchema("entityAlive", {"owner", "localEntityId", "nuid", "isAlive"})
self.super:setSchema("entityState", {"owner", "localEntityId", "nuid", "x", "y", "rot", "velocity", "health"})
end
-- Derived class methods
function Client:createCallbacks()
logger:debug("client_class.lua | Creating clients callback functions.")
self.super:on(
"connect",
function(data)
logger:debug("client_class.lua | Client connected to the server. Sending client info to server..")
util.pprint(data)
local connection_id = tostring(self.super:getConnectId())
local ip = tostring(self.super:getAddress())
local username = tostring(ModSettingGet("noita-mp.username"))
self.super.username = username
self.super:send("clientInfo", {username, self.super.guid})
end
)
self.super:on(
"worldFiles",
function(data)
if not data or next(data) == nil then
GamePrint(
"client_class.lua | Receiving world files from server, but data is nil or empty. " .. tostring(data)
)
return
end
local rel_dir_path = data.relDirPath
local file_name = data.fileName
local file_content = data.fileContent
local file_index = data.fileIndex
local amount_of_files = data.amountOfFiles
local msg =
("client_class.lua | Receiving world file: dir:%s, file:%s, content:%s, index:%s, amount:%s"):format(
rel_dir_path,
file_name,
file_content,
file_index,
amount_of_files
)
logger:debug(msg)
GamePrint(msg)
local save06_parent_directory_path = fu.GetAbsoluteDirectoryPathOfParentSave06()
-- if file_name ~= nil and file_name ~= ""
-- then -- file in save06 | "" -> directory was sent
-- WriteBinaryFile(save06_dir .. _G.path_separator .. file_name, file_content)
-- elseif rel_dir_path ~= nil and file_name ~= ""
-- then -- file in subdirectory was sent
-- WriteBinaryFile(save06_dir .. _G.path_separator .. rel_dir_path .. _G.path_separator .. file_name, file_content)
-- elseif rel_dir_path ~= nil and (file_name == nil or file_name == "")
-- then -- directory name was sent
-- MkDir(save06_dir .. _G.path_separator .. rel_dir_path)
-- else
-- GamePrint("client_class.lua | Unable to write file, because path and content aren't set.")
-- end
local archive_directory = fu.GetAbsoluteDirectoryPathOfMods() .. _G.path_separator .. rel_dir_path
fu.WriteBinaryFile(archive_directory .. _G.path_separator .. file_name, file_content)
if fu.Exists(fu.GetAbsoluteDirectoryPathOfSave06()) then -- Create backup if save06 exists
os.execute('cd "' .. fu.GetAbsoluteDirectoryPathOfParentSave06() .. '" && move save06 save06_backup')
end
fu.Extract7zipArchive(archive_directory, file_name, save06_parent_directory_path)
if file_index >= amount_of_files then
self.super:send("worldFilesFinished", {"" .. file_index .. "/" .. amount_of_files})
end
end
)
self.super:on(
"seed",
function(data)
local server_seed = tonumber(data.seed)
logger:debug("client_class.lua | Client got seed from the server. Seed = " .. server_seed)
util.pprint(data)
--ModSettingSet("noita-mp.connect_server_seed", server_seed)
logger:debug(
"client_class.lua | Creating magic numbers file to set clients world seed and restart the game."
)
fu.WriteFile(
fu.GetAbsoluteDirectoryPathOfMods() .. "/files/tmp/magic_numbers/world_seed.xml",
[[<MagicNumbers WORLD_SEED="]] .. tostring(server_seed) .. [["/>]]
)
--ModTextFileSetContent( GetRelativeDirectoryPathOfMods()
-- .. "/files/data/magic_numbers.xml", )
--BiomeMapLoad_KeepPlayer("data/biome_impl/biome_map_newgame_plus.lua", "data/biome/_pixel_scenes_newgame_plus.xml") -- StartReload(0)
end
)
self.super:on(
"restart",
function(data)
fu.StopWithoutSaveAndStartNoita()
--BiomeMapLoad_KeepPlayer("data/biome_impl/biome_map_newgame_plus.lua", "data/biome/_pixel_scenes_newgame_plus.xml") -- StartReload(0)
end
)
-- Called when the client disconnects from the server
self.super:on(
"disconnect",
function(data)
logger:debug("client_class.lua | Client disconnected from the server.")
util.pprint(data)
end
)
-- see lua-enet/enet.c
self.super:on(
"receive",
function(data, channel)
logger:debug("on_receive: data =")
util.pprint(data)
logger:debug("on_receive: channel =")
util.pprint(channel)
end
)
self.super:on(
"newNuid",
function(data)
logger:debug(
"%s (%s) needs a new NUID. nuid=%s, x=%s, y=%s, rot=%s, velocity=%s, filename=%s, localEntityId=%s",
data.owner.username,
data.owner.guid,
data.nuid,
data.x,
data.y,
data.rot,
data.velocity,
data.filename,
data.localEntityId
)
util.pprint(data)
em:SpawnEntity(
data.owner,
data.nuid,
data.x,
data.y,
data.rot,
data.velocity,
data.filename,
data.localEntityId
)
end
)
self.super:on(
"entityAlive",
function(data)
util.pprint(data)
em:DespawnEntity(data.owner, data.localEntityId, data.nuid, data.isAlive)
end
)
self.super:on(
"entityState",
function(data)
util.pprint(data)
local nc = em:GetNetworkComponent(data.owner, data.localEntityId, data.nuid)
if nc then
EntityApplyTransform(nc.local_entity_id, data.x, data.y, data.rot)
else
logger:warn(
"Got entityState, but unable to find the network component!" ..
" owner(%s, %s), localEntityId(%s), nuid(%s), x(%s), y(%s), rot(%s), velocity(x %s, y %s), health(%s)",
data.owner.username,
data.owner.guid,
data.localEntityId,
data.nuid,
data.x,
data.y,
data.rot,
data.velocity.x,
data.velocity.y,
data.health
)
end
end
)
end
function Client:connect()
if not self.super then
logger:debug("client_class.lua | Clients super wasn't set. Also refreshing ip and port.")
local ip = tostring(ModSettingGet("noita-mp.connect_server_ip"))
local port = tonumber(ModSettingGet("noita-mp.connect_server_port"))
logger:debug("client_class.lua | Connecting to server on " .. ip .. ":" .. port)
self.super = sock.newClient(ip, port)
end
self:setGuid()
self:setSettings()
self:createCallbacks()
GamePrintImportant(
"Client is connecting..",
"You are trying to connect to " .. self.super:getAddress() .. ":" .. self.super:getPort() .. "!"
)
self.super:connect(0)
-- You can send different types of data
self.super:send("greeting", "Hello, my name is Inigo Montoya.")
self.super:send("isShooting", true)
self.super:send("bulletsLeft", 1)
self.super:send(
"position",
{
x = 465.3,
y = 50
}
)
end
function Client:disconnect()
self.super:disconnect()
end
function Client:update()
if not self.super then
return -- Client not established
end
em:AddNetworkComponentsResumeCoroutine()
em:UpdateEntities()
self.super:update()
end
function Client:sendNeedNuid(owner, entity_id, velocity)
local x, y, rot = EntityGetTransform(entity_id)
local filename = EntityGetFilename(entity_id)
self.super:send("needNuid", {owner, entity_id, x, y, rot, velocity, filename})
end
-- Create a new global object of the server
_G.Client = Client:new()
| 34.712375 | 146 | 0.576549 |
df4f8bdaaa283949234362692204acf55f1abfcc | 14,668 | rb | Ruby | db/migrate/20210221112059_add_companies.rb | Josalmer/MiComercio_API | a0eabbdb56d7f571cdaff4e727b68cc648f06b79 | [
"Apache-2.0"
] | null | null | null | db/migrate/20210221112059_add_companies.rb | Josalmer/MiComercio_API | a0eabbdb56d7f571cdaff4e727b68cc648f06b79 | [
"Apache-2.0"
] | null | null | null | db/migrate/20210221112059_add_companies.rb | Josalmer/MiComercio_API | a0eabbdb56d7f571cdaff4e727b68cc648f06b79 | [
"Apache-2.0"
] | null | null | null | class AddCompanies < ActiveRecord::Migration[6.0]
def change
# Categorias
["Ocio y Restauración", "Deportes", "Salud", "Belleza", "Moda", "Alimentación", "Educación"].each do |name|
CompanyCategory.create(category: name)
end
# Tipos
category = CompanyCategory.where(category: "Ocio y Restauración").first
["Bar", "Restaurante", "Cafetería"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
category = CompanyCategory.where(category: "Deportes").first
["Ropa y complementos deportivos", "Aventura y experiencias"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
category = CompanyCategory.where(category: "Salud").first
["Clínica médica", "Clínica dental", "Clínica fisioterapia", "Cliníca podológica", "Balneario y spa"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
category = CompanyCategory.where(category: "Belleza").first
["Clínica estética", "Peluquería y estética", "Tienda de cosméticos", "Perfumería"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
category = CompanyCategory.where(category: "Moda").first
["Ropa y complementos", "Zapatería", "Joyería"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
category = CompanyCategory.where(category: "Alimentación").first
["Panadería", "Frutería", "Carnicería"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
category = CompanyCategory.where(category: "Educación").first
["Colegio", "Escuela Superior"].each do |name|
CompanyType.create(company_category_id: category.id, company_type: name)
end
User.create(name: "Admin", admin: true, organization_manager: false, email: "admin@mail.com", password: "123456")
User.create(name: "Jose", surname: "Saldaña", admin: false, organization_manager: true, email: "manager1@mail.com", password: "123456")
User.create(name: "Alvaro", surname: "Saldaña", admin: false, organization_manager: true, email: "manager2@mail.com", password: "123456")
User.create(name: "Andrea", surname: "Saldaña", admin: false, organization_manager: true, email: "manager3@mail.com", password: "123456")
# Negocios
user = User.where(email: "manager1@mail.com").first
user2 = User.where(email: "manager2@mail.com").first
user3 = User.where(email: "manager3@mail.com").first
type = CompanyType.where(company_type: "Bar").first
name = "Casa Pepe"
web = "www.casapepe.com"
mail = "contacto@casapepe.es"
phone = "612345678"
description = "Ven a disfrutar de la comida tradicional y la cerveza mas fria en Casa Pepe."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Bar").first
name = "Casa Juan"
web = "www.casajuan.com"
mail = "contacto@casajuan.es"
phone = "612345678"
description = "Restaurante familiar donde puedes desayunar, comer y cenar de manera fantástica por su relación calidad precio."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Bar").first
name = "Casa Paco"
web = "www.casapaco.com"
mail = "contacto@casapaco.es"
phone = "612345678"
description = "A un par de calles de la Gran Vía, se esconde uno de esos rincones que guarda la esencia de las bodegas con solera en las que importa el contenido y el continente."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Restaurante").first
name = "Los Pablos"
web = "www.lospablos.com"
mail = "contacto@lospablos.es"
phone = "612345678"
description = "Este bar con más de cien años de vida es un ícono de la gastronomía local no solamente por sus croquetas sino por su tortilla de sacromonte o sus habas con jamón. Platos tradicionales para uno de los rincones que buscan más intensamente los turistas que llegan a Granada. La buena fama es lo que tiene."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Restaurante").first
name = "Mesón Rocío"
web = "www.mesonrocio.com"
mail = "contacto@mesonrocio.es"
phone = "612345678"
description = "Especialidades como el bocata de habas con jamón, el de morcilla o el de perrito caliente. Aunque también se puede disfrutar de buenas tapas de arroz, migas, ensaladilla o salpicón y de raciones de croquetas, flamenquín o un caldo caliente."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Bar").first
name = "Bar La Luna"
web = "www.laluna.com"
mail = "contacto@laluna.es"
phone = "612345678"
description = "Desde el 1947 lleva La Luna ofreciendo rapidez, cercanía y buenos momentos a los granadinos con un variado tablón de bocadillos fríos y calientes."
Company.create(user_id: user3.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Clínica dental").first
name = "Ortodoncia Dr. Gallardo"
web = "www.doctoresgallardo.com"
mail = "contacto@doctoresgallardo.es"
phone = "612345678"
description = "Clínica dental con modernos aparatos y tratamientos de ortodoncia, enfermedades y afecciones periodontales."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Clínica fisioterapia").first
name = "Músculos sanos"
web = "www.musculossanos.com"
mail = "contacto@musculossanos.es"
phone = "612345679"
description = "En músculos sanos llevamos más de 20 años al servicio de nuestros clientes, la confianza de todos ellos nos avala."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Aventura y experiencias").first
name = "Multiaventura Monachil"
web = "www.multiaventuramonachil.com"
mail = "contacto@multiaventuramonachil.es"
phone = "612345680"
description = "Para pasar un día inolvidable con la familia en un entorno natural, tirolinas, pasarelas y zona de camping."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Joyería").first
name = "Endiamantados"
web = "www.endiamantados.com"
mail = "contacto@endiamantados.es"
phone = "612345681"
description = "En Endiamantandos encontraras los mejores diamantes de Granada, tambén joyería en oro blanco y oro."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Ropa y complementos").first
name = "Botique de Rocío"
web = "www.boutiquederocio.com"
mail = "contacto@boutiquederocio.es"
phone = "612345682"
description = "En la Boutique de Rocío encontrarás todo lo que necesitas para ir a la última."
Company.create(user_id: user2.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Peluquería y estética").first
name = "Juan García Peluqueros"
web = "www.juangarcia.com"
mail = "contacto@juangarcia.es"
phone = "612345683"
description = "Juan García peluqueros, una peluquería para hombres con personalidad."
Company.create(user_id: user3.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Panadería").first
name = "Panadería Pablo Santiago"
web = "www.pablo.com"
mail = "contacto@pablo.es"
phone = "612345683"
description = "Panadería artesana, especialidad pan rústico de Alfacar. Bollería. Repostería. Tartas por encargo. Dulces de temporada"
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Cafetería").first
name = "Café Sol"
web = "www.sol.com"
mail = "contacto@sol.es"
phone = "612345683"
description = "Cafetería con atractiva y acogedora decoración."
Company.create(user_id: user3.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Cafetería").first
name = "Cafetería Pastelería Monachil"
web = "www.pastelesmonachil.com"
mail = "contacto@pastelesmonachil.es"
phone = "612345683"
description = "Cafetería. Obrador propio artesano: Pastelería, Bollería, Tartas, Dulces Tradicionales... . Disfrute en un ambiente agradable de desayunos y meriendas, en interior o en terraza. Encargos y Pedidos, Servicio a Domicilio"
Company.create(user_id: user2.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Clínica médica").first
name = "Clínica Doctor Morales"
web = "www.doctormorales.com"
mail = "contacto@doctormorales.es"
phone = "612345683"
description = "Somos una clínica médica de Granada especializada en análisis, PCR, vasectomías, hemorroides y circuncisión. Contamos con un equipo joven y una larga experiencia."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Frutería").first
name = "Frutas Bolívar"
web = "www.bolivar.com"
mail = "contacto@bolivar.es"
phone = "612345683"
description = "Productos alimenticios deshidratados. Un sabor tradicional también puede ser moderno. Fácil, sano y sin complicaciones"
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Carnicería").first
name = "La Picanta de Marcelo"
web = "www.picantamarcelo.com"
mail = "contacto@picantamarcelo.es"
phone = "612345683"
description = "Hacemos una selección de los mejores productos, para ofrecer a nuestros clientes una calidad inmejorable"
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Carnicería").first
name = "La Picanta de Manuel"
web = "www.picantamanuel.com"
mail = "contacto@picantamanuel.es"
phone = "612345683"
description = "Tradición, confianza y calidad en cada uno de nuestros productos."
Company.create(user_id: user2.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Peluquería y estética").first
name = "Magdalena Fernandez Peluqueros"
web = "www.magdalenafernandez.com"
mail = "contacto@magdalenafernandez.es"
phone = "612345683"
description = "Magdalena Fernandez Peluqueros es una elegante peluquería ubicada en el centro de Granada en el que realizarse el mejor corte de pelo o cambio de look."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Peluquería y estética").first
name = "Salón Belleza"
web = "www.salonbelleza.com"
mail = "contacto@salonbelleza.es"
phone = "612345683"
description = "Salón Belleza es un centro de peluquería y estética que busca un vínculo con sus clientes para prestar la mejor experiencia que les diferencia del resto de peluquerías."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Peluquería y estética").first
name = "Estefanía Per"
web = "www.estefaniaper.com"
mail = "contacto@estefaniaper.es"
phone = "612345683"
description = "El compromiso de Estefanía Per con la calidad y el trabajo bien hecho es su mejor carta de presentación."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Balneario y spa").first
name = "Balnearium Granada"
web = "www.balneariumgranada.com"
mail = "contacto@balneariumgranada.es"
phone = "612345683"
description = "El Balnearium Granada se encuentra a 5 minutos a pie de la estación de tren del AVE y ofrece una piscina y un solárium en la azotea con vistas a la ciudad y servicio de bar."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Cliníca podológica").first
name = "Pies sanos"
web = "www.piessanos.com"
mail = "contacto@piessanos.es"
phone = "612345683"
description = "En pies sanos cuidamos de lo que más importa, sus pies."
Company.create(user_id: user3.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
type = CompanyType.where(company_type: "Ropa y complementos deportivos").first
name = "Bicicletas Rafa"
web = "www.bicicletasrafa.com"
mail = "contacto@bicicletasrafa.es"
phone = "612345683"
description = "Tu tienda de bicicletas en Granada. Bicicletas de carretera y montaña. Ebikes. Servicio oficial Cannondale, Specialized, Giant y Orbea. Disponemos de taller para tu bici ofreciendo los mejores servicios de mecánica."
Company.create(user_id: user.id, company_type_id: type.id, name: name, web: web, mail: mail, phone: phone, description: description)
end
end
| 58.672 | 322 | 0.722525 |
5bab36bd9d94f61b18002702fe3f4a83c3e9f56e | 361 | sql | SQL | src/Persistence/MySQL/schema/patch-1000801.sql | frantzcy/snuze | da8bda3b1c194372b61f4ad3e16345f0fb046002 | [
"Apache-2.0"
] | 2 | 2020-02-14T23:10:10.000Z | 2021-01-29T13:18:26.000Z | src/Persistence/MySQL/schema/patch-1000801.sql | frantzcy/snuze | da8bda3b1c194372b61f4ad3e16345f0fb046002 | [
"Apache-2.0"
] | 7 | 2019-08-19T22:17:34.000Z | 2022-03-16T22:17:45.000Z | src/Persistence/MySQL/schema/patch-1000801.sql | frantzcy/snuze | da8bda3b1c194372b61f4ad3e16345f0fb046002 | [
"Apache-2.0"
] | 1 | 2022-03-16T00:58:51.000Z | 2022-03-16T00:58:51.000Z | /**
* These DDL statements implement the changes made to the Snuze MySQL schema in
* version: 1000801 (Snuze 0.8.1).
*/
--
ALTER TABLE `links`
ADD COLUMN `steward_reports` TEXT NULL AFTER `spoiler`;
--
ALTER TABLE `subreddits`
ADD COLUMN `is_crosspostable_subreddit` BIT(1) NULL DEFAULT 0 AFTER `icon_size`;
--
UPDATE `snuze` SET `schema_version` = 1000801;
| 27.769231 | 80 | 0.734072 |
456ee3255149bd17907d6b2106aa5be35fc2c791 | 140,453 | swift | Swift | Sources/Soto/Services/SSM/SSM_Paginator.swift | axtonpitt/soto | c6495f8d54529121db22f5dd9f12d67e3a2fdfd2 | [
"Apache-2.0"
] | null | null | null | Sources/Soto/Services/SSM/SSM_Paginator.swift | axtonpitt/soto | c6495f8d54529121db22f5dd9f12d67e3a2fdfd2 | [
"Apache-2.0"
] | null | null | null | Sources/Soto/Services/SSM/SSM_Paginator.swift | axtonpitt/soto | c6495f8d54529121db22f5dd9f12d67e3a2fdfd2 | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// This source file is part of the Soto for AWS open source project
//
// Copyright (c) 2017-2021 the Soto project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Soto project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
// THIS FILE IS AUTOMATICALLY GENERATED by https://github.com/soto-project/soto-codegenerator.
// DO NOT EDIT.
import SotoCore
// MARK: Paginators
extension SSM {
/// Describes details about the activation, such as the date and time the activation was created, its expiration date, the Identity and Access Management (IAM) role assigned to the instances in the activation, and the number of instances registered by using this activation.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeActivationsPaginator<Result>(
_ input: DescribeActivationsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeActivationsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeActivations,
inputKey: \DescribeActivationsRequest.nextToken,
outputKey: \DescribeActivationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeActivationsPaginator(
_ input: DescribeActivationsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeActivationsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeActivations,
inputKey: \DescribeActivationsRequest.nextToken,
outputKey: \DescribeActivationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Views information about a specific execution of a specific association.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeAssociationExecutionTargetsPaginator<Result>(
_ input: DescribeAssociationExecutionTargetsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeAssociationExecutionTargetsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeAssociationExecutionTargets,
inputKey: \DescribeAssociationExecutionTargetsRequest.nextToken,
outputKey: \DescribeAssociationExecutionTargetsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeAssociationExecutionTargetsPaginator(
_ input: DescribeAssociationExecutionTargetsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeAssociationExecutionTargetsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeAssociationExecutionTargets,
inputKey: \DescribeAssociationExecutionTargetsRequest.nextToken,
outputKey: \DescribeAssociationExecutionTargetsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Views all executions for a specific association ID.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeAssociationExecutionsPaginator<Result>(
_ input: DescribeAssociationExecutionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeAssociationExecutionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeAssociationExecutions,
inputKey: \DescribeAssociationExecutionsRequest.nextToken,
outputKey: \DescribeAssociationExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeAssociationExecutionsPaginator(
_ input: DescribeAssociationExecutionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeAssociationExecutionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeAssociationExecutions,
inputKey: \DescribeAssociationExecutionsRequest.nextToken,
outputKey: \DescribeAssociationExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provides details about all active and terminated Automation executions.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeAutomationExecutionsPaginator<Result>(
_ input: DescribeAutomationExecutionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeAutomationExecutionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeAutomationExecutions,
inputKey: \DescribeAutomationExecutionsRequest.nextToken,
outputKey: \DescribeAutomationExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeAutomationExecutionsPaginator(
_ input: DescribeAutomationExecutionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeAutomationExecutionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeAutomationExecutions,
inputKey: \DescribeAutomationExecutionsRequest.nextToken,
outputKey: \DescribeAutomationExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Information about all active and terminated step executions in an Automation workflow.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeAutomationStepExecutionsPaginator<Result>(
_ input: DescribeAutomationStepExecutionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeAutomationStepExecutionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeAutomationStepExecutions,
inputKey: \DescribeAutomationStepExecutionsRequest.nextToken,
outputKey: \DescribeAutomationStepExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeAutomationStepExecutionsPaginator(
_ input: DescribeAutomationStepExecutionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeAutomationStepExecutionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeAutomationStepExecutions,
inputKey: \DescribeAutomationStepExecutionsRequest.nextToken,
outputKey: \DescribeAutomationStepExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists all patches eligible to be included in a patch baseline.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeAvailablePatchesPaginator<Result>(
_ input: DescribeAvailablePatchesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeAvailablePatchesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeAvailablePatches,
inputKey: \DescribeAvailablePatchesRequest.nextToken,
outputKey: \DescribeAvailablePatchesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeAvailablePatchesPaginator(
_ input: DescribeAvailablePatchesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeAvailablePatchesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeAvailablePatches,
inputKey: \DescribeAvailablePatchesRequest.nextToken,
outputKey: \DescribeAvailablePatchesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// All associations for the instance(s).
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeEffectiveInstanceAssociationsPaginator<Result>(
_ input: DescribeEffectiveInstanceAssociationsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeEffectiveInstanceAssociationsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeEffectiveInstanceAssociations,
inputKey: \DescribeEffectiveInstanceAssociationsRequest.nextToken,
outputKey: \DescribeEffectiveInstanceAssociationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeEffectiveInstanceAssociationsPaginator(
_ input: DescribeEffectiveInstanceAssociationsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeEffectiveInstanceAssociationsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeEffectiveInstanceAssociations,
inputKey: \DescribeEffectiveInstanceAssociationsRequest.nextToken,
outputKey: \DescribeEffectiveInstanceAssociationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves the current effective patches (the patch and the approval state) for the specified patch baseline. Applies to patch baselines for Windows only.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeEffectivePatchesForPatchBaselinePaginator<Result>(
_ input: DescribeEffectivePatchesForPatchBaselineRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeEffectivePatchesForPatchBaselineResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeEffectivePatchesForPatchBaseline,
inputKey: \DescribeEffectivePatchesForPatchBaselineRequest.nextToken,
outputKey: \DescribeEffectivePatchesForPatchBaselineResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeEffectivePatchesForPatchBaselinePaginator(
_ input: DescribeEffectivePatchesForPatchBaselineRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeEffectivePatchesForPatchBaselineResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeEffectivePatchesForPatchBaseline,
inputKey: \DescribeEffectivePatchesForPatchBaselineRequest.nextToken,
outputKey: \DescribeEffectivePatchesForPatchBaselineResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// The status of the associations for the instance(s).
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeInstanceAssociationsStatusPaginator<Result>(
_ input: DescribeInstanceAssociationsStatusRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeInstanceAssociationsStatusResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeInstanceAssociationsStatus,
inputKey: \DescribeInstanceAssociationsStatusRequest.nextToken,
outputKey: \DescribeInstanceAssociationsStatusResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeInstanceAssociationsStatusPaginator(
_ input: DescribeInstanceAssociationsStatusRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeInstanceAssociationsStatusResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeInstanceAssociationsStatus,
inputKey: \DescribeInstanceAssociationsStatusRequest.nextToken,
outputKey: \DescribeInstanceAssociationsStatusResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Describes one or more of your instances, including information about the operating system platform, the version of SSM Agent installed on the instance, instance status, and so on. If you specify one or more instance IDs, it returns information for those instances. If you don't specify instance IDs, it returns information for all your instances. If you specify an instance ID that isn't valid or an instance that you don't own, you receive an error. The IamRole field for this API operation is the Identity and Access Management (IAM) role assigned to on-premises instances. This call doesn't return the IAM role for EC2 instances.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeInstanceInformationPaginator<Result>(
_ input: DescribeInstanceInformationRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeInstanceInformationResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeInstanceInformation,
inputKey: \DescribeInstanceInformationRequest.nextToken,
outputKey: \DescribeInstanceInformationResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeInstanceInformationPaginator(
_ input: DescribeInstanceInformationRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeInstanceInformationResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeInstanceInformation,
inputKey: \DescribeInstanceInformationRequest.nextToken,
outputKey: \DescribeInstanceInformationResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves the high-level patch state of one or more instances.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeInstancePatchStatesPaginator<Result>(
_ input: DescribeInstancePatchStatesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeInstancePatchStatesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeInstancePatchStates,
inputKey: \DescribeInstancePatchStatesRequest.nextToken,
outputKey: \DescribeInstancePatchStatesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeInstancePatchStatesPaginator(
_ input: DescribeInstancePatchStatesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeInstancePatchStatesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeInstancePatchStates,
inputKey: \DescribeInstancePatchStatesRequest.nextToken,
outputKey: \DescribeInstancePatchStatesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves the high-level patch state for the instances in the specified patch group.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeInstancePatchStatesForPatchGroupPaginator<Result>(
_ input: DescribeInstancePatchStatesForPatchGroupRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeInstancePatchStatesForPatchGroupResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeInstancePatchStatesForPatchGroup,
inputKey: \DescribeInstancePatchStatesForPatchGroupRequest.nextToken,
outputKey: \DescribeInstancePatchStatesForPatchGroupResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeInstancePatchStatesForPatchGroupPaginator(
_ input: DescribeInstancePatchStatesForPatchGroupRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeInstancePatchStatesForPatchGroupResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeInstancePatchStatesForPatchGroup,
inputKey: \DescribeInstancePatchStatesForPatchGroupRequest.nextToken,
outputKey: \DescribeInstancePatchStatesForPatchGroupResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves information about the patches on the specified instance and their state relative to the patch baseline being used for the instance.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeInstancePatchesPaginator<Result>(
_ input: DescribeInstancePatchesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeInstancePatchesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeInstancePatches,
inputKey: \DescribeInstancePatchesRequest.nextToken,
outputKey: \DescribeInstancePatchesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeInstancePatchesPaginator(
_ input: DescribeInstancePatchesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeInstancePatchesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeInstancePatches,
inputKey: \DescribeInstancePatchesRequest.nextToken,
outputKey: \DescribeInstancePatchesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Describes a specific delete inventory operation.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeInventoryDeletionsPaginator<Result>(
_ input: DescribeInventoryDeletionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeInventoryDeletionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeInventoryDeletions,
inputKey: \DescribeInventoryDeletionsRequest.nextToken,
outputKey: \DescribeInventoryDeletionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeInventoryDeletionsPaginator(
_ input: DescribeInventoryDeletionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeInventoryDeletionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeInventoryDeletions,
inputKey: \DescribeInventoryDeletionsRequest.nextToken,
outputKey: \DescribeInventoryDeletionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves the individual task executions (one per target) for a particular task run as part of a maintenance window execution.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowExecutionTaskInvocationsPaginator<Result>(
_ input: DescribeMaintenanceWindowExecutionTaskInvocationsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowExecutionTaskInvocationsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowExecutionTaskInvocations,
inputKey: \DescribeMaintenanceWindowExecutionTaskInvocationsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowExecutionTaskInvocationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowExecutionTaskInvocationsPaginator(
_ input: DescribeMaintenanceWindowExecutionTaskInvocationsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowExecutionTaskInvocationsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowExecutionTaskInvocations,
inputKey: \DescribeMaintenanceWindowExecutionTaskInvocationsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowExecutionTaskInvocationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// For a given maintenance window execution, lists the tasks that were run.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowExecutionTasksPaginator<Result>(
_ input: DescribeMaintenanceWindowExecutionTasksRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowExecutionTasksResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowExecutionTasks,
inputKey: \DescribeMaintenanceWindowExecutionTasksRequest.nextToken,
outputKey: \DescribeMaintenanceWindowExecutionTasksResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowExecutionTasksPaginator(
_ input: DescribeMaintenanceWindowExecutionTasksRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowExecutionTasksResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowExecutionTasks,
inputKey: \DescribeMaintenanceWindowExecutionTasksRequest.nextToken,
outputKey: \DescribeMaintenanceWindowExecutionTasksResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists the executions of a maintenance window. This includes information about when the maintenance window was scheduled to be active, and information about tasks registered and run with the maintenance window.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowExecutionsPaginator<Result>(
_ input: DescribeMaintenanceWindowExecutionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowExecutionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowExecutions,
inputKey: \DescribeMaintenanceWindowExecutionsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowExecutionsPaginator(
_ input: DescribeMaintenanceWindowExecutionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowExecutionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowExecutions,
inputKey: \DescribeMaintenanceWindowExecutionsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowExecutionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves information about upcoming executions of a maintenance window.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowSchedulePaginator<Result>(
_ input: DescribeMaintenanceWindowScheduleRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowScheduleResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowSchedule,
inputKey: \DescribeMaintenanceWindowScheduleRequest.nextToken,
outputKey: \DescribeMaintenanceWindowScheduleResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowSchedulePaginator(
_ input: DescribeMaintenanceWindowScheduleRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowScheduleResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowSchedule,
inputKey: \DescribeMaintenanceWindowScheduleRequest.nextToken,
outputKey: \DescribeMaintenanceWindowScheduleResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists the targets registered with the maintenance window.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowTargetsPaginator<Result>(
_ input: DescribeMaintenanceWindowTargetsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowTargetsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowTargets,
inputKey: \DescribeMaintenanceWindowTargetsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowTargetsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowTargetsPaginator(
_ input: DescribeMaintenanceWindowTargetsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowTargetsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowTargets,
inputKey: \DescribeMaintenanceWindowTargetsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowTargetsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists the tasks in a maintenance window. For maintenance window tasks without a specified target, you can't supply values for --max-errors and --max-concurrency. Instead, the system inserts a placeholder value of 1, which may be reported in the response to this command. These values don't affect the running of your task and can be ignored.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowTasksPaginator<Result>(
_ input: DescribeMaintenanceWindowTasksRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowTasksResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowTasks,
inputKey: \DescribeMaintenanceWindowTasksRequest.nextToken,
outputKey: \DescribeMaintenanceWindowTasksResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowTasksPaginator(
_ input: DescribeMaintenanceWindowTasksRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowTasksResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowTasks,
inputKey: \DescribeMaintenanceWindowTasksRequest.nextToken,
outputKey: \DescribeMaintenanceWindowTasksResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves the maintenance windows in an Amazon Web Services account.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowsPaginator<Result>(
_ input: DescribeMaintenanceWindowsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindows,
inputKey: \DescribeMaintenanceWindowsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowsPaginator(
_ input: DescribeMaintenanceWindowsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindows,
inputKey: \DescribeMaintenanceWindowsRequest.nextToken,
outputKey: \DescribeMaintenanceWindowsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves information about the maintenance window targets or tasks that an instance is associated with.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeMaintenanceWindowsForTargetPaginator<Result>(
_ input: DescribeMaintenanceWindowsForTargetRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeMaintenanceWindowsForTargetResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeMaintenanceWindowsForTarget,
inputKey: \DescribeMaintenanceWindowsForTargetRequest.nextToken,
outputKey: \DescribeMaintenanceWindowsForTargetResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeMaintenanceWindowsForTargetPaginator(
_ input: DescribeMaintenanceWindowsForTargetRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeMaintenanceWindowsForTargetResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeMaintenanceWindowsForTarget,
inputKey: \DescribeMaintenanceWindowsForTargetRequest.nextToken,
outputKey: \DescribeMaintenanceWindowsForTargetResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide. Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeOpsItemsPaginator<Result>(
_ input: DescribeOpsItemsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeOpsItemsResponse, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeOpsItems,
inputKey: \DescribeOpsItemsRequest.nextToken,
outputKey: \DescribeOpsItemsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeOpsItemsPaginator(
_ input: DescribeOpsItemsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeOpsItemsResponse, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeOpsItems,
inputKey: \DescribeOpsItemsRequest.nextToken,
outputKey: \DescribeOpsItemsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Get information about a parameter. Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results. If you change the KMS key alias for the KMS key used to encrypt a parameter, then you must also update the key alias the parameter uses to reference KMS. Otherwise, DescribeParameters retrieves whatever the original key alias was referencing.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeParametersPaginator<Result>(
_ input: DescribeParametersRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeParametersResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeParameters,
inputKey: \DescribeParametersRequest.nextToken,
outputKey: \DescribeParametersResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeParametersPaginator(
_ input: DescribeParametersRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeParametersResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeParameters,
inputKey: \DescribeParametersRequest.nextToken,
outputKey: \DescribeParametersResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists the patch baselines in your Amazon Web Services account.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describePatchBaselinesPaginator<Result>(
_ input: DescribePatchBaselinesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribePatchBaselinesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describePatchBaselines,
inputKey: \DescribePatchBaselinesRequest.nextToken,
outputKey: \DescribePatchBaselinesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describePatchBaselinesPaginator(
_ input: DescribePatchBaselinesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribePatchBaselinesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describePatchBaselines,
inputKey: \DescribePatchBaselinesRequest.nextToken,
outputKey: \DescribePatchBaselinesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists all patch groups that have been registered with patch baselines.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describePatchGroupsPaginator<Result>(
_ input: DescribePatchGroupsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribePatchGroupsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describePatchGroups,
inputKey: \DescribePatchGroupsRequest.nextToken,
outputKey: \DescribePatchGroupsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describePatchGroupsPaginator(
_ input: DescribePatchGroupsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribePatchGroupsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describePatchGroups,
inputKey: \DescribePatchGroupsRequest.nextToken,
outputKey: \DescribePatchGroupsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists the properties of available patches organized by product, product family, classification, severity, and other properties of available patches. You can use the reported properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines. The following section lists the properties that can be used in filters for each major operating system type: AMAZON_LINUX Valid properties: PRODUCT | CLASSIFICATION | SEVERITY AMAZON_LINUX_2 Valid properties: PRODUCT | CLASSIFICATION | SEVERITY CENTOS Valid properties: PRODUCT | CLASSIFICATION | SEVERITY DEBIAN Valid properties: PRODUCT | PRIORITY MACOS Valid properties: PRODUCT | CLASSIFICATION ORACLE_LINUX Valid properties: PRODUCT | CLASSIFICATION | SEVERITY REDHAT_ENTERPRISE_LINUX Valid properties: PRODUCT | CLASSIFICATION | SEVERITY SUSE Valid properties: PRODUCT | CLASSIFICATION | SEVERITY UBUNTU Valid properties: PRODUCT | PRIORITY WINDOWS Valid properties: PRODUCT | PRODUCT_FAMILY | CLASSIFICATION | MSRC_SEVERITY
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describePatchPropertiesPaginator<Result>(
_ input: DescribePatchPropertiesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribePatchPropertiesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describePatchProperties,
inputKey: \DescribePatchPropertiesRequest.nextToken,
outputKey: \DescribePatchPropertiesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describePatchPropertiesPaginator(
_ input: DescribePatchPropertiesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribePatchPropertiesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describePatchProperties,
inputKey: \DescribePatchPropertiesRequest.nextToken,
outputKey: \DescribePatchPropertiesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves a list of all active sessions (both connected and disconnected) or terminated sessions from the past 30 days.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func describeSessionsPaginator<Result>(
_ input: DescribeSessionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, DescribeSessionsResponse, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: describeSessions,
inputKey: \DescribeSessionsRequest.nextToken,
outputKey: \DescribeSessionsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func describeSessionsPaginator(
_ input: DescribeSessionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (DescribeSessionsResponse, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: describeSessions,
inputKey: \DescribeSessionsRequest.nextToken,
outputKey: \DescribeSessionsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Query inventory information. This includes instance status, such as Stopped or Terminated.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func getInventoryPaginator<Result>(
_ input: GetInventoryRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, GetInventoryResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: getInventory,
inputKey: \GetInventoryRequest.nextToken,
outputKey: \GetInventoryResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func getInventoryPaginator(
_ input: GetInventoryRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (GetInventoryResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: getInventory,
inputKey: \GetInventoryRequest.nextToken,
outputKey: \GetInventoryResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Return a list of inventory type names for the account, or return a list of attribute names for a specific Inventory item type.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func getInventorySchemaPaginator<Result>(
_ input: GetInventorySchemaRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, GetInventorySchemaResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: getInventorySchema,
inputKey: \GetInventorySchemaRequest.nextToken,
outputKey: \GetInventorySchemaResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func getInventorySchemaPaginator(
_ input: GetInventorySchemaRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (GetInventorySchemaResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: getInventorySchema,
inputKey: \GetInventorySchemaRequest.nextToken,
outputKey: \GetInventorySchemaResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// View a summary of operations metadata (OpsData) based on specified filters and aggregators. OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager Explorer.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func getOpsSummaryPaginator<Result>(
_ input: GetOpsSummaryRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, GetOpsSummaryResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: getOpsSummary,
inputKey: \GetOpsSummaryRequest.nextToken,
outputKey: \GetOpsSummaryResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func getOpsSummaryPaginator(
_ input: GetOpsSummaryRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (GetOpsSummaryResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: getOpsSummary,
inputKey: \GetOpsSummaryRequest.nextToken,
outputKey: \GetOpsSummaryResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves the history of all changes to a parameter. If you change the KMS key alias for the KMS key used to encrypt a parameter, then you must also update the key alias the parameter uses to reference KMS. Otherwise, GetParameterHistory retrieves whatever the original key alias was referencing.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func getParameterHistoryPaginator<Result>(
_ input: GetParameterHistoryRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, GetParameterHistoryResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: getParameterHistory,
inputKey: \GetParameterHistoryRequest.nextToken,
outputKey: \GetParameterHistoryResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func getParameterHistoryPaginator(
_ input: GetParameterHistoryRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (GetParameterHistoryResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: getParameterHistory,
inputKey: \GetParameterHistoryRequest.nextToken,
outputKey: \GetParameterHistoryResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieve information about one or more parameters in a specific hierarchy. Request results are returned on a best-effort basis. If you specify MaxResults in the request, the response includes information up to the limit specified. The number of items returned, however, can be between zero and the value of MaxResults. If the service reaches an internal limit while processing the results, it stops the operation and returns the matching values up to that point and a NextToken. You can specify the NextToken in a subsequent call to get the next set of results.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func getParametersByPathPaginator<Result>(
_ input: GetParametersByPathRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, GetParametersByPathResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: getParametersByPath,
inputKey: \GetParametersByPathRequest.nextToken,
outputKey: \GetParametersByPathResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func getParametersByPathPaginator(
_ input: GetParametersByPathRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (GetParametersByPathResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: getParametersByPath,
inputKey: \GetParametersByPathRequest.nextToken,
outputKey: \GetParametersByPathResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Retrieves all versions of an association for a specific association ID.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listAssociationVersionsPaginator<Result>(
_ input: ListAssociationVersionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListAssociationVersionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listAssociationVersions,
inputKey: \ListAssociationVersionsRequest.nextToken,
outputKey: \ListAssociationVersionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listAssociationVersionsPaginator(
_ input: ListAssociationVersionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListAssociationVersionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listAssociationVersions,
inputKey: \ListAssociationVersionsRequest.nextToken,
outputKey: \ListAssociationVersionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Returns all State Manager associations in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results to a specific State Manager association document or instance by specifying a filter. State Manager is a capability of Amazon Web Services Systems Manager.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listAssociationsPaginator<Result>(
_ input: ListAssociationsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListAssociationsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listAssociations,
inputKey: \ListAssociationsRequest.nextToken,
outputKey: \ListAssociationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listAssociationsPaginator(
_ input: ListAssociationsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListAssociationsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listAssociations,
inputKey: \ListAssociationsRequest.nextToken,
outputKey: \ListAssociationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user runs SendCommand against three instances, then a command invocation is created for each requested instance ID. ListCommandInvocations provide status about command execution.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listCommandInvocationsPaginator<Result>(
_ input: ListCommandInvocationsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListCommandInvocationsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listCommandInvocations,
inputKey: \ListCommandInvocationsRequest.nextToken,
outputKey: \ListCommandInvocationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listCommandInvocationsPaginator(
_ input: ListCommandInvocationsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListCommandInvocationsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listCommandInvocations,
inputKey: \ListCommandInvocationsRequest.nextToken,
outputKey: \ListCommandInvocationsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists the commands requested by users of the Amazon Web Services account.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listCommandsPaginator<Result>(
_ input: ListCommandsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListCommandsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listCommands,
inputKey: \ListCommandsRequest.nextToken,
outputKey: \ListCommandsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listCommandsPaginator(
_ input: ListCommandsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListCommandsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listCommands,
inputKey: \ListCommandsRequest.nextToken,
outputKey: \ListCommandsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// For a specified resource ID, this API operation returns a list of compliance statuses for different resource types. Currently, you can only specify one resource ID per call. List results depend on the criteria specified in the filter.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listComplianceItemsPaginator<Result>(
_ input: ListComplianceItemsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListComplianceItemsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listComplianceItems,
inputKey: \ListComplianceItemsRequest.nextToken,
outputKey: \ListComplianceItemsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listComplianceItemsPaginator(
_ input: ListComplianceItemsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListComplianceItemsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listComplianceItems,
inputKey: \ListComplianceItemsRequest.nextToken,
outputKey: \ListComplianceItemsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Returns a summary count of compliant and non-compliant resources for a compliance type. For example, this call can return State Manager associations, patches, or custom compliance types according to the filter criteria that you specify.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listComplianceSummariesPaginator<Result>(
_ input: ListComplianceSummariesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListComplianceSummariesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listComplianceSummaries,
inputKey: \ListComplianceSummariesRequest.nextToken,
outputKey: \ListComplianceSummariesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listComplianceSummariesPaginator(
_ input: ListComplianceSummariesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListComplianceSummariesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listComplianceSummaries,
inputKey: \ListComplianceSummariesRequest.nextToken,
outputKey: \ListComplianceSummariesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// List all versions for a document.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listDocumentVersionsPaginator<Result>(
_ input: ListDocumentVersionsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListDocumentVersionsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listDocumentVersions,
inputKey: \ListDocumentVersionsRequest.nextToken,
outputKey: \ListDocumentVersionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listDocumentVersionsPaginator(
_ input: ListDocumentVersionsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListDocumentVersionsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listDocumentVersions,
inputKey: \ListDocumentVersionsRequest.nextToken,
outputKey: \ListDocumentVersionsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Returns all Systems Manager (SSM) documents in the current Amazon Web Services account and Amazon Web Services Region. You can limit the results of this request by using a filter.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listDocumentsPaginator<Result>(
_ input: ListDocumentsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListDocumentsResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listDocuments,
inputKey: \ListDocumentsRequest.nextToken,
outputKey: \ListDocumentsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listDocumentsPaginator(
_ input: ListDocumentsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListDocumentsResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listDocuments,
inputKey: \ListDocumentsRequest.nextToken,
outputKey: \ListDocumentsResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Returns a list of all OpsItem events in the current Amazon Web Services Region and Amazon Web Services account. You can limit the results to events associated with specific OpsItems by specifying a filter.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listOpsItemEventsPaginator<Result>(
_ input: ListOpsItemEventsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListOpsItemEventsResponse, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listOpsItemEvents,
inputKey: \ListOpsItemEventsRequest.nextToken,
outputKey: \ListOpsItemEventsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listOpsItemEventsPaginator(
_ input: ListOpsItemEventsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListOpsItemEventsResponse, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listOpsItemEvents,
inputKey: \ListOpsItemEventsRequest.nextToken,
outputKey: \ListOpsItemEventsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists all related-item resources associated with a Systems Manager OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services Systems Manager.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listOpsItemRelatedItemsPaginator<Result>(
_ input: ListOpsItemRelatedItemsRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListOpsItemRelatedItemsResponse, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listOpsItemRelatedItems,
inputKey: \ListOpsItemRelatedItemsRequest.nextToken,
outputKey: \ListOpsItemRelatedItemsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listOpsItemRelatedItemsPaginator(
_ input: ListOpsItemRelatedItemsRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListOpsItemRelatedItemsResponse, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listOpsItemRelatedItems,
inputKey: \ListOpsItemRelatedItemsRequest.nextToken,
outputKey: \ListOpsItemRelatedItemsResponse.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or blobs.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listOpsMetadataPaginator<Result>(
_ input: ListOpsMetadataRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListOpsMetadataResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listOpsMetadata,
inputKey: \ListOpsMetadataRequest.nextToken,
outputKey: \ListOpsMetadataResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listOpsMetadataPaginator(
_ input: ListOpsMetadataRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListOpsMetadataResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listOpsMetadata,
inputKey: \ListOpsMetadataRequest.nextToken,
outputKey: \ListOpsMetadataResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Returns a resource-level summary count. The summary includes information about compliant and non-compliant statuses and detailed compliance-item severity counts, according to the filter criteria you specify.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listResourceComplianceSummariesPaginator<Result>(
_ input: ListResourceComplianceSummariesRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListResourceComplianceSummariesResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listResourceComplianceSummaries,
inputKey: \ListResourceComplianceSummariesRequest.nextToken,
outputKey: \ListResourceComplianceSummariesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listResourceComplianceSummariesPaginator(
_ input: ListResourceComplianceSummariesRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListResourceComplianceSummariesResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listResourceComplianceSummaries,
inputKey: \ListResourceComplianceSummariesRequest.nextToken,
outputKey: \ListResourceComplianceSummariesResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Lists your resource data sync configurations. Includes information about the last time a sync attempted to start, the last sync status, and the last time a sync successfully completed. The number of sync configurations might be too large to return using a single call to ListResourceDataSync. You can limit the number of sync configurations returned by using the MaxResults parameter. To determine whether there are more sync configurations to list, check the value of NextToken in the output. If there are more sync configurations to list, you can request them by specifying the NextToken returned in the call to the parameter of a subsequent call.
///
/// Provide paginated results to closure `onPage` for it to combine them into one result.
/// This works in a similar manner to `Array.reduce<Result>(_:_:) -> Result`.
///
/// Parameters:
/// - input: Input for request
/// - initialValue: The value to use as the initial accumulating value. `initialValue` is passed to `onPage` the first time it is called.
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each paginated response. It combines an accumulating result with the contents of response. This combined result is then returned
/// along with a boolean indicating if the paginate operation should continue.
public func listResourceDataSyncPaginator<Result>(
_ input: ListResourceDataSyncRequest,
_ initialValue: Result,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (Result, ListResourceDataSyncResult, EventLoop) -> EventLoopFuture<(Bool, Result)>
) -> EventLoopFuture<Result> {
return client.paginate(
input: input,
initialValue: initialValue,
command: listResourceDataSync,
inputKey: \ListResourceDataSyncRequest.nextToken,
outputKey: \ListResourceDataSyncResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
/// Provide paginated results to closure `onPage`.
///
/// - Parameters:
/// - input: Input for request
/// - logger: Logger used flot logging
/// - eventLoop: EventLoop to run this process on
/// - onPage: closure called with each block of entries. Returns boolean indicating whether we should continue.
public func listResourceDataSyncPaginator(
_ input: ListResourceDataSyncRequest,
logger: Logger = AWSClient.loggingDisabled,
on eventLoop: EventLoop? = nil,
onPage: @escaping (ListResourceDataSyncResult, EventLoop) -> EventLoopFuture<Bool>
) -> EventLoopFuture<Void> {
return client.paginate(
input: input,
command: listResourceDataSync,
inputKey: \ListResourceDataSyncRequest.nextToken,
outputKey: \ListResourceDataSyncResult.nextToken,
on: eventLoop,
onPage: onPage
)
}
}
extension SSM.DescribeActivationsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeActivationsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeAssociationExecutionTargetsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeAssociationExecutionTargetsRequest {
return .init(
associationId: self.associationId,
executionId: self.executionId,
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeAssociationExecutionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeAssociationExecutionsRequest {
return .init(
associationId: self.associationId,
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeAutomationExecutionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeAutomationExecutionsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeAutomationStepExecutionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeAutomationStepExecutionsRequest {
return .init(
automationExecutionId: self.automationExecutionId,
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
reverseOrder: self.reverseOrder
)
}
}
extension SSM.DescribeAvailablePatchesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeAvailablePatchesRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeEffectiveInstanceAssociationsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeEffectiveInstanceAssociationsRequest {
return .init(
instanceId: self.instanceId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeEffectivePatchesForPatchBaselineRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeEffectivePatchesForPatchBaselineRequest {
return .init(
baselineId: self.baselineId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeInstanceAssociationsStatusRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeInstanceAssociationsStatusRequest {
return .init(
instanceId: self.instanceId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeInstanceInformationRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeInstanceInformationRequest {
return .init(
filters: self.filters,
instanceInformationFilterList: self.instanceInformationFilterList,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeInstancePatchStatesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeInstancePatchStatesRequest {
return .init(
instanceIds: self.instanceIds,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeInstancePatchStatesForPatchGroupRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeInstancePatchStatesForPatchGroupRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
patchGroup: self.patchGroup
)
}
}
extension SSM.DescribeInstancePatchesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeInstancePatchesRequest {
return .init(
filters: self.filters,
instanceId: self.instanceId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeInventoryDeletionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeInventoryDeletionsRequest {
return .init(
deletionId: self.deletionId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeMaintenanceWindowExecutionTaskInvocationsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowExecutionTaskInvocationsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
taskId: self.taskId,
windowExecutionId: self.windowExecutionId
)
}
}
extension SSM.DescribeMaintenanceWindowExecutionTasksRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowExecutionTasksRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
windowExecutionId: self.windowExecutionId
)
}
}
extension SSM.DescribeMaintenanceWindowExecutionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowExecutionsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
windowId: self.windowId
)
}
}
extension SSM.DescribeMaintenanceWindowScheduleRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowScheduleRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
resourceType: self.resourceType,
targets: self.targets,
windowId: self.windowId
)
}
}
extension SSM.DescribeMaintenanceWindowTargetsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowTargetsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
windowId: self.windowId
)
}
}
extension SSM.DescribeMaintenanceWindowTasksRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowTasksRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
windowId: self.windowId
)
}
}
extension SSM.DescribeMaintenanceWindowsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribeMaintenanceWindowsForTargetRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeMaintenanceWindowsForTargetRequest {
return .init(
maxResults: self.maxResults,
nextToken: token,
resourceType: self.resourceType,
targets: self.targets
)
}
}
extension SSM.DescribeOpsItemsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeOpsItemsRequest {
return .init(
maxResults: self.maxResults,
nextToken: token,
opsItemFilters: self.opsItemFilters
)
}
}
extension SSM.DescribeParametersRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeParametersRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
parameterFilters: self.parameterFilters
)
}
}
extension SSM.DescribePatchBaselinesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribePatchBaselinesRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribePatchGroupsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribePatchGroupsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.DescribePatchPropertiesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribePatchPropertiesRequest {
return .init(
maxResults: self.maxResults,
nextToken: token,
operatingSystem: self.operatingSystem,
patchSet: self.patchSet,
property: self.property
)
}
}
extension SSM.DescribeSessionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.DescribeSessionsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
state: self.state
)
}
}
extension SSM.GetInventoryRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.GetInventoryRequest {
return .init(
aggregators: self.aggregators,
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
resultAttributes: self.resultAttributes
)
}
}
extension SSM.GetInventorySchemaRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.GetInventorySchemaRequest {
return .init(
aggregator: self.aggregator,
maxResults: self.maxResults,
nextToken: token,
subType: self.subType,
typeName: self.typeName
)
}
}
extension SSM.GetOpsSummaryRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.GetOpsSummaryRequest {
return .init(
aggregators: self.aggregators,
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
resultAttributes: self.resultAttributes,
syncName: self.syncName
)
}
}
extension SSM.GetParameterHistoryRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.GetParameterHistoryRequest {
return .init(
maxResults: self.maxResults,
name: self.name,
nextToken: token,
withDecryption: self.withDecryption
)
}
}
extension SSM.GetParametersByPathRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.GetParametersByPathRequest {
return .init(
maxResults: self.maxResults,
nextToken: token,
parameterFilters: self.parameterFilters,
path: self.path,
recursive: self.recursive,
withDecryption: self.withDecryption
)
}
}
extension SSM.ListAssociationVersionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListAssociationVersionsRequest {
return .init(
associationId: self.associationId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListAssociationsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListAssociationsRequest {
return .init(
associationFilterList: self.associationFilterList,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListCommandInvocationsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListCommandInvocationsRequest {
return .init(
commandId: self.commandId,
details: self.details,
filters: self.filters,
instanceId: self.instanceId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListCommandsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListCommandsRequest {
return .init(
commandId: self.commandId,
filters: self.filters,
instanceId: self.instanceId,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListComplianceItemsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListComplianceItemsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
resourceIds: self.resourceIds,
resourceTypes: self.resourceTypes
)
}
}
extension SSM.ListComplianceSummariesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListComplianceSummariesRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListDocumentVersionsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListDocumentVersionsRequest {
return .init(
maxResults: self.maxResults,
name: self.name,
nextToken: token
)
}
}
extension SSM.ListDocumentsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListDocumentsRequest {
return .init(
documentFilterList: self.documentFilterList,
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListOpsItemEventsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListOpsItemEventsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListOpsItemRelatedItemsRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListOpsItemRelatedItemsRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token,
opsItemId: self.opsItemId
)
}
}
extension SSM.ListOpsMetadataRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListOpsMetadataRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListResourceComplianceSummariesRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListResourceComplianceSummariesRequest {
return .init(
filters: self.filters,
maxResults: self.maxResults,
nextToken: token
)
}
}
extension SSM.ListResourceDataSyncRequest: AWSPaginateToken {
public func usingPaginationToken(_ token: String) -> SSM.ListResourceDataSyncRequest {
return .init(
maxResults: self.maxResults,
nextToken: token,
syncType: self.syncType
)
}
}
| 47.402295 | 1,111 | 0.667974 |
0ba9712fc123430212c77ba9226c68e992d537af | 2,238 | js | JavaScript | WorkerFunction.js | arqex/worker-function | 1ffcc04b513b9ee186d354f35376326a4f54a70b | [
"MIT"
] | 8 | 2017-06-25T15:33:06.000Z | 2021-04-27T08:48:15.000Z | WorkerFunction.js | arqex/worker-function | 1ffcc04b513b9ee186d354f35376326a4f54a70b | [
"MIT"
] | 1 | 2021-05-11T11:55:00.000Z | 2021-05-11T11:55:00.000Z | WorkerFunction.js | arqex/worker-function | 1ffcc04b513b9ee186d354f35376326a4f54a70b | [
"MIT"
] | null | null | null | (function( glob ) {
var WORKER_ENABLED = areWorkersAvailable();
var wrapper = function(){
// user function already defined as uf
var done = function( result ){
self.postMessage( result );
self.close();
}
self.onmessage = function( msg ){
var args = msg.data.slice();
args.push( done );
uf.apply(self, args);
};
}
var WorkerFunction;
if( WORKER_ENABLED ){
WorkerFunction = function(fn) {
return function WorkedFunction(){
var args = Array.prototype.slice.call( arguments, 0 );
return new Promise( function( resolve, reject ){
var fnSrc = 'var uf = ' + fn.toString() + ';\n';
var wSrc = 'var w = ' + wrapper.toString() + ';\n' + 'w();';
var worker = new SrcWorker( fnSrc + wSrc );
worker.onmessage = function( result ){
resolve( result.data );
};
worker.onerror = function( err ){
reject( err );
}
worker.postMessage( args );
});
}
}
}
else {
console.warn('worker-function: BROWSER NOT SUPPORTED - falling back to non-worker methods')
WorkerFunction = function(fn) {
return function NonWorkedFunction() {
var args = Array.prototype.slice.call(arguments, 0);
return new Promise(function (resolve, reject) {
try {
args.push(resolve);
fn.apply(null, args);
}
catch (e) {
reject(e);
}
});
}
}
}
function areWorkersAvailable(){
var available = !!(glob && glob.URL && glob.Blob && glob.Worker);
if( available ){
// One more test
try {
var worker = new SrcWorker('');
worker.terminate();
}
catch( err ){
return false;
}
}
return available;
}
function SrcWorker( src ){
return new glob.Worker( glob.URL.createObjectURL(
new glob.Blob([ src ], { type: "text/javascript" })
));
}
if( typeof module !== 'undefined' ){
module.exports = WorkerFunction;
}
else if ( glob ){
glob.WorkerFunction = WorkerFunction;
}
})(typeof globalThis !== 'undefined' ? globalThis : this);
| 25.146067 | 95 | 0.537534 |
5bb07bbfc31038a7415aad18a2d5bb21f9a19b7f | 18,332 | rs | Rust | src/backend/built_ins.rs | Shafin098/pakhi-bhasha | 9805017f595169a9b49c9f36d9b30bbbee3e7b28 | [
"MIT"
] | 120 | 2020-10-11T07:55:50.000Z | 2022-02-28T12:36:20.000Z | src/backend/built_ins.rs | Shafin098/pakhi-bhasha | 9805017f595169a9b49c9f36d9b30bbbee3e7b28 | [
"MIT"
] | 1 | 2021-07-08T01:57:34.000Z | 2021-07-08T06:04:54.000Z | src/backend/built_ins.rs | Shafin098/pakhi-bhasha | 9805017f595169a9b49c9f36d9b30bbbee3e7b28 | [
"MIT"
] | 1 | 2021-07-08T00:00:04.000Z | 2021-07-08T00:00:04.000Z | use std::collections::HashMap;
use std::path::Path;
use crate::backend::interpreter::DataType;
// Contains all built-in function and constant names
pub struct BuiltInFunctionList {
built_in_functions: HashMap<Vec<char>, String>,
}
impl BuiltInFunctionList {
pub(crate) fn new() -> Self {
let mut functions_map: HashMap<Vec<char>, String> = HashMap::new();
// this functions are built-in
let function_list = vec!["_স্ট্রিং", "_সংখ্যা", "_লিস্ট-পুশ", "_লিস্ট-পপ", "_লিস্ট-লেন", "_রিড-লাইন", "_এরর",
"_স্ট্রিং-স্প্লিট", "_স্ট্রিং-জয়েন", "_টাইপ", "_রিড-ফাইল", "_রাইট-ফাইল", "_ডিলিট-ফাইল",
"_নতুন-ডাইরেক্টরি", "_রিড-ডাইরেক্টরি", "_ডিলিট-ডাইরেক্টরি", "_ফাইল-নাকি-ডাইরেক্টরি"];
for f_name in function_list {
functions_map.insert(f_name.chars().collect(), f_name.to_string());
}
BuiltInFunctionList {
built_in_functions: functions_map,
}
}
pub(crate) fn is_built_in(&self, function_name: &Vec<char>) -> bool {
if self.built_in_functions.contains_key(function_name) {
true
} else { false }
}
pub(crate) fn get_name(&self, function_name: &Vec<char>) -> String {
self.built_in_functions.get(function_name).unwrap().clone()
}
// Converts DataType::Num to DataType::String
pub(crate) fn _to_string(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let number = arguments[0].clone();
if let DataType::Num(n) = number {
let bn_num_string = BuiltInFunctionList::replace_en_with_bn_digit(n.to_string());
return Ok(DataType::String(bn_num_string));
} else {
return Err("Datatype must be Number for converting to string".to_string());
}
} else { return Err("Function requires one arguments".to_string()); }
}
// Converts DataType::String to DataType::Num
pub(crate) fn _to_num(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let string = arguments[0].clone();
if let DataType::String(bangla_num_string) = string {
let eng_num_string = BuiltInFunctionList::replace_bn_with_en_digit(bangla_num_string);
let convert_result = eng_num_string.parse::<f64>();
match convert_result {
Ok(n) => return Ok(DataType::Num(n)),
Err(e) => return Err(format!("{:?}", e)),
}
} else {
return Err(format!("Datatype must be Number for converting to string"));
}
} else { return Err(format!("Function requires one arguments")); }
}
fn replace_bn_with_en_digit(bn_num_string: String) -> String {
let mut num_chars: Vec<char> = bn_num_string.chars().collect();
for (i, c) in num_chars.clone().iter().enumerate() {
num_chars[i] = BuiltInFunctionList::bn_digit_to_en_digit(c);
}
let num_string: String = num_chars.iter().collect();
num_string
}
fn replace_en_with_bn_digit(en_num_string: String) -> String {
let mut num_chars: Vec<char> = en_num_string.chars().collect();
for (i, c) in num_chars.clone().iter().enumerate() {
num_chars[i] = BuiltInFunctionList::en_digit_to_bn_digit(c);
}
let num_string: String = num_chars.iter().collect();
num_string
}
fn bn_digit_to_en_digit(digit: &char) -> char {
match digit {
'০' => '0',
'১' => '1',
'২' => '2',
'৩' => '3',
'৪' => '4',
'৫' => '5',
'৬' => '6',
'৭' => '7',
'৮' => '8',
'৯' => '9',
_ => digit.clone(),
}
}
fn en_digit_to_bn_digit(digit: &char) -> char {
match digit {
'0' => '০',
'1' => '১',
'2' => '২',
'3' => '৩',
'4' => '৪',
'5' => '৫',
'6' => '৬',
'7' => '৭',
'8' => '৮',
'9' => '৯',
_ => digit.clone(),
}
}
pub(crate) fn _list_push(arguments: Vec<DataType>, lists: &mut Vec<Vec<DataType>>) -> Result<DataType, String> {
if arguments.len() == 2 {
let list = arguments[0].clone();
if let DataType::List(index) = list {
let push_value = arguments[1].clone();
let actual_list = lists.get_mut(index).unwrap();
actual_list.push(push_value);
} else {
return Err(format!("Datatype must be array to push value"));
}
} else if arguments.len() == 3 {
let list = arguments[0].clone();
if let DataType::List(index) = list {
let push_at = arguments[1].clone();
let push_value = arguments[2].clone();
let actual_list = lists.get_mut(index).unwrap();
if let DataType::Num(push_at_i_f) = push_at {
let push_at_u = push_at_i_f as usize;
actual_list.insert(push_at_u, push_value);
} else { return Err(format!("Index must evaluate to number type")); }
} else { return Err(format!("Datatype must be array to push value")); }
} else { return Err(format!("Function requires two arguments")); }
return Ok(DataType::Nil);
}
pub(crate) fn _list_pop(arguments: Vec<DataType>, lists: &mut Vec<Vec<DataType>>) -> Result<DataType, String> {
if arguments.len() == 1 {
let list = arguments[0].clone();
if let DataType::List(index) = list {
let actual_list = lists.get_mut(index).unwrap();
actual_list.pop();
} else { return Err(format!("Datatype must be array to push value")); }
} else if arguments.len() == 2 {
let list = arguments[0].clone();
if let DataType::List(index) = list {
let pop_at = arguments[1].clone();
let actual_list = lists.get_mut(index).unwrap();
if let DataType::Num(pop_at_i_f) = pop_at {
let pop_at_i = pop_at_i_f as usize;
actual_list.remove(pop_at_i);
}
} else { return Err(format!("Datatype must be array to push value")); }
} else { return Err(format!("Function requires one argument")); }
return Ok(DataType::Nil);
}
pub(crate) fn _list_len(arguments: Vec<DataType>, lists: &mut Vec<Vec<DataType>>) -> Result<DataType, String> {
if arguments.len() == 1 {
let list = arguments[0].clone();
if let DataType::List(index) = list {
let actual_list = lists.get_mut(index).unwrap();
let length = actual_list.len();
return Ok(DataType::Num(length as f64));
} else { return Err(format!("Datatype must be list to get length")); }
} else { return Err(format!("Function requires one argument")); }
}
pub(crate) fn _read_line(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 0 {
let mut input = String::new();
match std::io::stdin().read_line(&mut input) {
Ok(_) => return Ok(DataType::String(input.trim_end().into())),
Err(e) => return Err(format!("{}", e)),
}
} else { return Err(format!("Function requires zero argument")); }
}
pub(crate) fn _error(arguments: Vec<DataType>) -> Result<String, String> {
if arguments.len() == 1 {
let error = arguments[0].clone();
match error {
DataType::String(err_message) => return Ok(err_message),
_ => return Err(format!("_এরর() functions arguments must be string")),
}
} else {
return Err(format!("_এরর() function expects one argument"));
}
}
pub(crate) fn _string_split(arguments: Vec<DataType>, lists: &mut Vec<Vec<DataType>>) -> Result<DataType, String> {
if arguments.len() == 2 {
let string = arguments[0].clone();
let split_by = arguments[1].clone();
match (string, split_by) {
(DataType::String(string), DataType::String(split_by)) => {
let mut splitted_string: Vec<&str> = string.split(&split_by).collect();
// For some reason split with "" causes splits to have "" at benginning and end
// Thats why removes character at start finish
if splitted_string[0] == "" && splitted_string[splitted_string.len() - 1] == "" {
splitted_string.remove(0);
splitted_string.remove(splitted_string.len() - 1);
}
let splitted_string: Vec<DataType> = splitted_string.iter()
.map(|s| DataType::String(String::from(s.clone()))).collect();
lists.push(splitted_string);
return Ok(DataType::List(lists.len() - 1));
},
_ => return Err(format!("_স্ট্রিং-স্প্লিট()); functions arguments must be string")),
}
} else {
return Err(format!("_স্ট্রিং-স্প্লিট()); function expects two argument"));
}
}
pub(crate) fn _string_join(arguments: Vec<DataType>, lists: &mut Vec<Vec<DataType>>) -> Result<DataType, String> {
if arguments.len() == 2 {
let list_of_strings = arguments[0].clone();
let join_by = arguments[1].clone();
match (list_of_strings, join_by) {
(DataType::List(list_index), DataType::String(join_by)) => {
let string_list = lists.get(list_index).unwrap();
let mut strings: Vec<String> = Vec::new();
for string in string_list {
if let DataType::String(string) = string.clone() {
strings.push(string);
} else { return Err(format!("_স্ট্রিং-জয়েন()); functions only accepts list of strings")); }
}
let joined_string = strings.join(&join_by);
return Ok(DataType::String(joined_string));
},
_ => return Err(format!("_স্ট্রিং-জয়েন()); functions arguments must be list and string")),
}
} else {
return Err(format!("_স্ট্রিং-জয়েন()); function expects two argument"));
}
}
pub(crate) fn _type(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let data = arguments[0].clone();
let d = match data {
DataType::Num(_) => DataType::String(String::from("_সংখ্যা")),
DataType::Bool(_) => DataType::String(String::from("_বুলিয়ান")),
DataType::String(_) => DataType::String(String::from("_স্ট্রিং")),
DataType::List(_) => DataType::String(String::from("_লিস্ট")),
DataType::NamelessRecord(_) => DataType::String(String::from("_রেকর্ড")),
DataType::Function(_) => DataType::String(String::from("_ফাং")),
DataType::Nil => DataType::String(String::from("_শূন্য")),
};
return Ok(d);
} else {
return Err(format!("_টাইপ() function expects one argument"));
}
}
pub(crate) fn _read_file(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let path_data = arguments[0].clone();
match path_data {
DataType::String(p) => {
let path = Path::new(&p);
let read_result = std::fs::read_to_string(path);
match read_result {
Ok(content) => Ok(DataType::String(content)),
Err(e) => return Err(format!("_রিড-ফাইল());: {}", e.to_string())),
}
},
_ => return Err(format!("_রিড-ফাইল());function's path argument must be of type string")),
}
} else {
return Err(format!("_রিড-ফাইল() function expects one argument"));
}
}
pub(crate) fn _write_file(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 2 {
let path_data = arguments[0].clone();
let content_data = arguments[1].clone();
match (path_data, content_data) {
(DataType::String(p), DataType::String(content)) => {
let path = Path::new(&p);
let write_result = std::fs::write(path, content);
match write_result {
Ok(_) => return Ok(DataType::Bool(true)),
Err(e) => return Err(format!("_রাইট-ফাইল(): {}", e.to_string())),
}
},
_ => return Err(format!("_রাইট-ফাইল() function's both argument must be of type string")),
}
} else {
return Err(format!("_রাইট-ফাইল() function expects two argument"));
}
}
pub(crate) fn _delete_file(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let path_data = arguments[0].clone();
match path_data {
DataType::String(p) => {
let path = Path::new(&p);
let delete_result = std::fs::remove_file(path);
match delete_result {
Ok(_) => Ok(DataType::Bool(true)),
Err(e) => return Err(format!("_ডিলিট-ফাইল(): {}", e.to_string())),
}
},
_ => return Err(format!("_ডিলিট-ফাইল() function's argument must be of type string")),
}
} else {
return Err(format!("_ডিলিট-ফাইল() function expects one argument"));
}
}
pub(crate) fn _create_dir(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let path_data = arguments[0].clone();
match path_data {
DataType::String(p) => {
let path = Path::new(&p);
let create_dir_result = std::fs::create_dir_all(path);
match create_dir_result {
Ok(_) => return Ok(DataType::Bool(true)),
Err(e) => return Err(format!("_ক্রিয়েট-ডাইরেক্টরি(): {}", e.to_string())),
}
},
_ => return Err(format!("_ক্রিয়েট-ডাইরেক্টরি() function's argument must be of type string")),
}
} else {
return Err(format!("_ক্রিয়েট-ডাইরেক্টরি() function expects one argument"));
}
}
pub(crate) fn _read_dir(arguments: Vec<DataType>) -> Result<Vec<String>, String> {
if arguments.len() == 1 {
let path_data = arguments[0].clone();
match path_data {
DataType::String(p) => {
let path = Path::new(&p);
let read_dir_result = std::fs::read_dir(path);
match read_dir_result {
Ok(paths) => {
let mut all_files_dirs: Vec<String> = Vec::new();
for path in paths {
let file_dir_name = path.unwrap().file_name().to_str().unwrap().to_string();
all_files_dirs.push(file_dir_name);
}
return Ok(all_files_dirs);
},
Err(e) => return Err(format!("_রিড-ডাইরেক্টরি(): {}, path: {}", e.to_string(), path.display())),
}
},
_ => return Err(format!("_রিড-ডাইরেক্টরি() function's argument must be of type string")),
}
} else {
return Err(format!("_রিড-ডাইরেক্টরি() function expects one argument"));
}
}
pub(crate) fn _delete_dir(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let path_data = arguments[0].clone();
match path_data {
DataType::String(p) => {
let path = Path::new(&p);
let delete_result = std::fs::remove_dir_all(path);
match delete_result {
Ok(_) => return Ok(DataType::Bool(true)),
Err(e) => return Err(format!("_ডিলিট-ডাইরেক্টরি(): {}", e.to_string()))
}
},
_ => return Err(format!("_ডিলিট-ডাইরেক্টরি() function's argument must be of type string")),
}
} else {
return Err(format!("_ডিলিট-ডাইরেক্টরি() function expects one argument"));
}
}
pub(crate) fn _file_or_dir(arguments: Vec<DataType>) -> Result<DataType, String> {
if arguments.len() == 1 {
let path_data = arguments[0].clone();
match path_data {
DataType::String(p) => {
let path = Path::new(&p);
let result = std::fs::metadata(path);
match result {
Ok(m) => {
match m.is_file() {
true => return Ok(DataType::String("ফাইল".to_string())),
false => return Ok(DataType::String("ডাইরেক্টরি".to_string())),
}
},
Err(e) => return Err(format!("_ফাইল-নাকি-ডাইরেক্টরি(): {}, path: {}", e.to_string(), path.display())),
}
},
_ => return Err(format!("_ফাইল-নাকি-ডাইরেক্টরি() function's argument must be of type string")),
}
} else {
return Err(format!("_ফাইল-নাকি-ডাইরেক্টরি() function expects one argument"));
}
}
}
| 42.932084 | 126 | 0.493345 |
060500b86fdd41bc41db21b0a63385e27975ec14 | 1,343 | sql | SQL | docker/postgres/records.sql | jpolgins/track-me | a20369e8aeee604039c3d29eacd52710b7ae2564 | [
"WTFPL"
] | null | null | null | docker/postgres/records.sql | jpolgins/track-me | a20369e8aeee604039c3d29eacd52710b7ae2564 | [
"WTFPL"
] | 1 | 2020-04-05T16:48:25.000Z | 2020-04-05T16:48:25.000Z | docker/postgres/records.sql | jpolgins/track-me | a20369e8aeee604039c3d29eacd52710b7ae2564 | [
"WTFPL"
] | null | null | null | CREATE TABLE records (
id SERIAL NOT NULL,
time_spent varchar(20) NOT NULL,
description text NOT NULL,
createdat TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL,
PRIMARY KEY(id)
);
INSERT INTO records (time_spent, description, createdat) VALUES
('6h', 'Working on task', '2018-11-01 20:07:53'),
('1h', 'Writing and putting on a play', '2018-11-01 16:07:53'),
('2h30m', 'Creating and producing a show.', '2018-11-01 16:07:53'),
('49m', 'Producing a short film ', '2018-10-01 16:07:53'),
('1m', 'Participating in writing, painting, ceramics and jewellery-making workshops and exhibiting the resulting creations', '2018-10-01 14:07:53'),
('22h', 'Singing in a choir.', '2018-10-01 11:07:53'),
('3h', 'Supporting various organizations or humanitarian causes throughout the year.', '2017-12-05 11:07:53'),
('4h50m', 'Actively participating in a committee to improve the school climate and physical environment.', '2017-11-05 11:07:53'),
('2h', 'Visiting and participating in activities in retirement homes.', '2017-11-05 12:07:53'),
('6h', 'Becoming involved in the student radio station or the student council.', '2017-10-05 12:07:53'),
('6h', 'Playing sports in an organized competitive association.', '2017-09-05 12:07:53'),
('1h', 'Doing sports for fun (football, hockey, soccer, long-distance running, badminton).', '2017-09-04 12:07:53');
| 61.045455 | 148 | 0.71035 |
5b10ca53cb24739d55dc2bda7c87f43327c15012 | 778 | h | C | oactobjs32/include/qc.h | codeforboston/anypia-emscripten | d4d1d154bae6b97acc619d5588d9a7515d220338 | [
"CC0-1.0"
] | 1 | 2020-09-23T21:46:55.000Z | 2020-09-23T21:46:55.000Z | oactobjs32/include/qc.h | codeforboston/anypia-emscripten | d4d1d154bae6b97acc619d5588d9a7515d220338 | [
"CC0-1.0"
] | 16 | 2020-05-07T18:53:55.000Z | 2021-03-24T03:16:29.000Z | oactobjs32/include/qc.h | codeforboston/anypia-emscripten | d4d1d154bae6b97acc619d5588d9a7515d220338 | [
"CC0-1.0"
] | 6 | 2020-04-19T23:04:22.000Z | 2021-03-17T01:40:10.000Z | // Declarations for the <see cref="Qc"/> class to manage one annual quarters
// of coverage number.
//
// $Id: qc.h 1.17 2011/08/09 14:58:42EDT 044579 Development $
#pragma once
/// <summary>Handles calculations with quarters of coverage for one year.
/// </summary>
///
/// <remarks>The number of quarters of coverage for one year must not exceed 4.
/// This class has two static functions to handle qc calculations.</remarks>
class Qc
{
public:
/// <summary>The maximum number of qcs in one year (4).</summary>
static const unsigned int MAXQCSINYEAR = 4u;
static void check( unsigned newNumber );
static unsigned qcCal( double earnings, double qcAmount );
private:
Qc();
Qc( const Qc& qc );
~Qc();
Qc& operator=( const Qc& qc );
};
| 29.923077 | 80 | 0.672237 |
963821d2677f6a1de9dbc09131759d501466d9db | 1,182 | php | PHP | vendor/laminas/laminas-oauth/library/Laminas/OAuth/Signature/Rsa.php | zhangshoushen/myRoad | 7505adcabc490ea45510e910eec9df5d8aff32c2 | [
"BSD-3-Clause"
] | null | null | null | vendor/laminas/laminas-oauth/library/Laminas/OAuth/Signature/Rsa.php | zhangshoushen/myRoad | 7505adcabc490ea45510e910eec9df5d8aff32c2 | [
"BSD-3-Clause"
] | null | null | null | vendor/laminas/laminas-oauth/library/Laminas/OAuth/Signature/Rsa.php | zhangshoushen/myRoad | 7505adcabc490ea45510e910eec9df5d8aff32c2 | [
"BSD-3-Clause"
] | null | null | null | <?php
/**
* @see https://github.com/laminas/laminas-oauth for the canonical source repository
* @copyright https://github.com/laminas/laminas-oauth/blob/master/COPYRIGHT.md
* @license https://github.com/laminas/laminas-oauth/blob/master/LICENSE.md New BSD License
*/
namespace Laminas\OAuth\Signature;
use Laminas\Crypt\PublicKey\Rsa as RsaEnc;
use Laminas\Crypt\PublicKey\RsaOptions as RsaEncOptions;
/**
* @category Laminas
* @package Laminas_OAuth
*/
class Rsa extends AbstractSignature
{
/**
* Sign a request
*
* @param array $params
* @param null|string $method
* @param null|string $url
* @return string
*/
public function sign(array $params, $method = null, $url = null)
{
$rsa = new RsaEnc(new RsaEncOptions(array(
'hash_algorithm' => $this->_hashAlgorithm,
'binary_output' => true
)));
return $rsa->sign($this->_getBaseSignatureString($params, $method, $url), $this->_key);
}
/**
* Assemble encryption key
*
* @return string
*/
protected function _assembleKey()
{
return $this->_consumerSecret;
}
}
| 24.625 | 95 | 0.628596 |
40c3210235a84a579477391a3e248774f0292f44 | 6,272 | py | Python | portfolios/stats/basics.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 4 | 2020-08-18T09:52:37.000Z | 2021-03-26T19:59:03.000Z | portfolios/stats/basics.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 4 | 2019-07-06T17:48:46.000Z | 2020-05-11T01:40:18.000Z | portfolios/stats/basics.py | ahwkuepper/portfolio | 4ab6eebbb36c6064d58df62dbe931ead3b297be4 | [
"BSD-3-Clause"
] | 2 | 2019-02-28T08:02:47.000Z | 2019-07-09T04:23:23.000Z | # -*- coding: utf-8 -*-
import numpy as np
from scipy.stats import linregress
from portfolios.utils.helpers import restrict_to_trading_days
def runrate_column(df=None, column=None, window=5, win_type=None):
"""
Calculate the run rate, that is, the moving average,
of a column, and add it as a new column.
Parameters
==========
df : input dataframe
column : column for which the run rate should be computed
window : how many observations are used for run rate
win_type : window type, see https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.rolling.html
'None' means equal weighting
Returns
=======
df : dataframe with run rate appended as column + "_rr"
column_rr : name of newly added column
"""
column_rr = column + "_rr" + str(window)
df[column_rr] = df[column].rolling(window=window, win_type=win_type).mean()
return df, column_rr
def ewm_column(df=None, column=None, alpha=0.8, ignore_na=True, func="mean"):
"""
Calculate the exponentially weighted moving average
of a column, and add it as a new column.
Parameters
==========
df : input dataframe
column : column for which the run rate should be computed
alpha : smoothing factor [0 < alpha <= 1]
ignore_na : ignore missing values
Returns
=======
df : dataframe with exponentially weighted moving average appended as column + "_ewm"
column_ewm : name of newly added column
"""
column_ewm = column + "_ewm" + str(alpha)
if func == "mean":
column_ewm = column_ewm + "_mean"
df[column_ewm] = df[column].ewm(alpha=alpha, ignore_na=ignore_na).mean()
elif func == "var":
column_ewm = column_ewm + "_var"
df[column_ewm] = df[column].ewm(alpha=alpha, ignore_na=ignore_na).var()
elif func == "std":
column_ewm = column_ewm + "_std"
df[column_ewm] = df[column].ewm(alpha=alpha, ignore_na=ignore_na).std()
return df, column_ewm
def resample_df(df=None, column=None, resolution="B"):
"""
Resample data with new resolution, return as new dataframe
"""
return df.resample(resolution).agg({column: ["mean", "std", "median"]})
def shift_column(df=None, column=None, shift=1):
"""
Shift column by shift rows
"""
column_shift = column + "_sh" + str(shift)
df[column_shift] = df[column].shift(shift)
return df, column_shift
def standard_deviation_column(df=None, column=None, window=1, shift=1):
"""
Calculate the standard deviation of data - run rate
"""
if window > 1:
print("Calculating '{0}' run rate for window size {1}".format(column, window))
df, column_rr = runrate_column(df=df, column=column, window=window)
else:
column_rr = column
df, column_shift = shift_column(df=df, column=column_rr, shift=shift)
column_return = column_shift + "_ret"
df[column_return] = (df[column_rr] - df[column_shift]) / df[column_rr]
column_squared_error = column_shift + "_sqerr"
df[column_squared_error] = np.square(df[column_return])
print(
"Standard deviation of '{0}' is {1}".format(
column, df[column_squared_error].mean()
)
)
print(
"Average volatility of '{0}' is {1}".format(
column, np.sqrt(df[column_squared_error].mean())
)
)
return df, column_squared_error
def difference(df=None, column=None, start="1900-01-01", end="2100-01-01"):
"""
Returns start and end value, absolute and relative difference
"""
startdate = df[df.index >= start].index[0]
enddate = df[df.index <= end].index[-1]
startvalue = df.loc[df.index == startdate, column][0]
endvalue = df.loc[df.index == enddate, column][0]
return (
startdate,
startvalue,
enddate,
endvalue,
endvalue - startvalue,
(endvalue - startvalue) / startvalue,
)
def returns_column(df=None, column=None, uselogs=True, outname="Return"):
"""
Calculate return from timeseries of prices
"""
def get_reldiff(a, b):
return (a - b) / b
def get_logratio(a, b):
return np.log(a / b)
try:
out_col = outname
except NameError:
out_col = "Return"
_df, column_shift = shift_column(df, column=column, shift=1)
if uselogs == False:
_df[out_col] = _df.apply(
lambda row: get_reldiff(row[column], row[column_shift]), axis=1
)
else:
_df[out_col] = _df.apply(
lambda row: get_logratio(row[column], row[column_shift]), axis=1
)
return _df.drop(column_shift, axis=1), out_col
def rsq(sec1=None, sec2=None, col1="Close", col2="Close"):
"""
Function that returns R^2 correlation measure between two securities
:param sec1: First security (object of class security)
:param sec2: Second security
:return: R^2
"""
if col1 == col2:
col1 = str(col1) + "_2"
_df = sec1.data.join(sec2.data, how="inner", rsuffix="_2")[[col1, col2]].dropna(
how="any"
)
# _df = restrict_to_trading_days(df=_df, exchange='NYSE')
slope, intercept, r_value, p_value, std_err = linregress(
_df[col1].values, _df[col2].values
)
return r_value ** 2
def beta(sec1=None, sec2=None, col1="Return", col2="Return"):
"""
Function that returns the beta of a security (sec1) with respect to
its benchmark (sec2)
"""
if col1 == col2:
col2 = str(col2) + "_2"
_df = sec1.data.join(sec2.data, how="inner", rsuffix="_2")[[col1, col2]].dropna(
how="any"
)
# _df = restrict_to_trading_days(df=_df, exchange='NYSE')
_cov = np.cov(_df[col1], _df[col2])[0, 1]
_var = np.var(_df[col2])
return _cov / _var
def alpha(sec1=None, sec2=None, col1="Return", col2="Return", risk_free_rate=0.004484):
"""
Calculates alpha of a security
Risk-free daily rate (from 3-mo. U.S. Treasury bills) = .004484 as of 8/13/18
"""
_beta = beta(sec1=sec1, sec2=sec2, col1=col1, col2=col2)
_avg_return1 = sec1.data[col1].mean()
_avg_return2 = sec2.data[col2].mean()
return _avg_return1 - risk_free_rate - _beta * (_avg_return2 - risk_free_rate)
| 28 | 116 | 0.63058 |
d5a1f3f192c6470ee9ab3f140ccef61a5a99f9f9 | 10,734 | lua | Lua | Data/Script/Lua/Classes/UTActivity.Ui.ManualLaunch.lua | tkdrob/Battle-Tag | 84f857d9ef55db94fc0c54833d12453f7dfc9ff0 | [
"MIT"
] | 2 | 2017-10-13T06:28:19.000Z | 2019-08-11T23:30:33.000Z | Data/Script/Lua/Classes/UTActivity.Ui.ManualLaunch.lua | tkdrob/Battle-Tag | 84f857d9ef55db94fc0c54833d12453f7dfc9ff0 | [
"MIT"
] | null | null | null | Data/Script/Lua/Classes/UTActivity.Ui.ManualLaunch.lua | tkdrob/Battle-Tag | 84f857d9ef55db94fc0c54833d12453f7dfc9ff0 | [
"MIT"
] | 3 | 2016-12-13T10:26:27.000Z | 2020-08-25T21:08:17.000Z |
--[[--------------------------------------------------------------------------
--
-- File: UTActivity.Ui.ManualLaunch.lua
-- Copyright (c) Ubisoft Entertainment. All rights reserved.
--
-- Project: Ubitoys.Tag
-- Date: September 20s, 2010
--
------------------------------------------------------------------------------
--
-- Description: ...
--
----------------------------------------------------------------------------]]
--[[ Dependencies ----------------------------------------------------------]]
require "Ui/UIPopupWindow"
--[[ Class -----------------------------------------------------------------]]
UTActivity.Ui = UTActivity.Ui or {}
UTActivity.Ui.ManualLaunch = UTClass(UIPopupWindow)
-- __ctor -------------------------------------------------------------------
function UTActivity.Ui.ManualLaunch:__ctor(...)
assert(activity)
self.title = l"oth018"
self.text = nil
self.player = nil
self.device = nil
-- panel
self.uiPanel = self:AddComponent(UIPanel:New(), "uiPanel")
self.uiPanel.color = UIComponent.colors.lightgray
self.uiPanel.background = "base:texture/ui/Components/UIPanel07.tga"
self.uiPanel.rectangle = {
self.clientRectangle[1],
self.clientRectangle[2] + 25,
self.clientRectangle[3] - 20,
self.clientRectangle[2] + 25 + 15,
}
-- gun picture
self.uiPicture1 = self:AddComponent(UIPicture:New(), "uiPicture1")
self.uiPicture1.color = UIComponent.colors.white
self.uiPicture1.texture = "base:texture/ui/gunbutton1.tga"
self.uiPicture1.rectangle = {
self.clientRectangle[3] - 220,
self.clientRectangle[2],
self.clientRectangle[3] - 220 + 241,
self.clientRectangle[2] + 176,
}
-- FX !!!
self.myFx = UIManager:AddFx("value", { duration = 0.6, __self = self.uiPicture1, value = "texture", from = "base:texture/ui/gunbutton1.tga", to = "base:texture/ui/gunbutton2.tga", type = "blink"})
-- gun hud
self.uiPicture2 = self.uiPanel:AddComponent(UIPicture:New(), "uiPicture2")
self.uiPicture2.color = UIComponent.colors.white
self.uiPicture2.texture = "base:texture/ui/pictograms/64x/Hud_1.tga"
self.uiPicture2.rectangle = {
0,
-6,
0 + 32,
26,
}
-- player icon
self.uiPicture3 = self.uiPanel:AddComponent(UIPicture:New(), "uiPicture3")
self.uiPicture3.color = UIComponent.colors.white
self.uiPicture4 = self.uiPanel:AddComponent(UIPicture:New(), "uiPicture4")
self.uiPicture4.color = UIComponent.colors.white
self.uiPicture4.texture = ""
self.uiPicture4.rectangle = {
25,
-26,
25 + 64,
-26 + 64,
}
-- player name
self.uiLabel1 = self.uiPanel:AddComponent(UILabel:New(), "uiLabel1")
self.uiLabel1.font = UIComponent.fonts.header
self.uiLabel1.fontColor = UIComponent.colors.orange
self.uiLabel1.text = ""
self.uiLabel1.rectangle = {
90,
-5,
210,
20,
}
-- uiButton1: quit
self.uiButton1 = self:AddComponent(UIButton:New(), "uiButton1")
self.uiButton1.rectangle = UIPopupWindow.buttonRectangles[1]
self.uiButton1.text = l"but018"
self.uiButton1.tip = l"tip006"
self.uiButton1.OnAction = function (_self)
quartz.framework.audio.loadsound("base:audio/ui/back.wav")
quartz.framework.audio.loadvolume(game.settings.audio["volume:sfx"])
quartz.framework.audio.playsound()
UIManager.stack:Pop()
end
-- text
self.uiLabel2 = self:AddComponent(UILabel:New(), "uiLabel2")
self.uiLabel2.font = UIComponent.fonts.default
self.uiLabel2.fontColor = UIComponent.colors.orange
self.uiLabel2.fontJustification = quartz.system.drawing.justification.topleft + quartz.system.drawing.justification.wordbreak
self.uiLabel2.text = l"oth064"
self.uiLabel2.rectangle = {
self.clientRectangle[1] + 20,
self.clientRectangle[2] + 60,
self.clientRectangle[3] - 215,
self.clientRectangle[4],
}
-- uiButton2: force game start
self.uiButton2 = self:AddComponent(UIButton:New(), "uiButton2")
self.uiButton2.rectangle = UIPopupWindow.buttonRectangles[2]
self.uiButton2.text = l"but008"
self.uiButton2.tip = l"tip020"
self.uiButton2.OnAction = function (_self)
UIManager.stack:Pop()
activity:PostStateChange("beginmatch")
end
if (activity.category ~= UTActivity.categories.single) then
-- uiButton3: change player
self.uiButton3 = self:AddComponent(UIButton:New())
self.uiButton3.rectangle = { 17, 135, 37, 155 }
self.uiButton3.tip = l"tip166"
self.uiButton3.OnAction = function (_self)
quartz.framework.audio.loadsound("base:audio/ui/validation.wav")
quartz.framework.audio.loadvolume(game.settings.audio["volume:sfx"])
quartz.framework.audio.playsound()
game.manualdefaultplayer = nil
self:GetFirstAvailableDevice()
end
end
-- msg timer
self.msgTimer = 0
self.timer = quartz.system.time.gettimemicroseconds()
self.warningMessage = 0
self.done = false
self.count = 1
end
-- GetFirstAvailableDevice ---------------------------------------------------
function UTActivity.Ui.ManualLaunch:GetFirstAvailableDevice()
self.player = nil
self.playercount = 0
if (game.manualdefaultplayer and game.manualdefaultplayer.rfGunDevice.classId == 1) then
self.count = 2
end
for _, player in ipairs(activity.match.players) do
self.playercount = self.playercount + 1
if (player.rfGunDevice and player.rfGunDevice.owner) then
if (self.playercount == self.count) then
self.player = player
if (#activity.players == self.count) then
self.count = 0
end
self.count = self.count + 1
break
end
end
end
self.player = game.manualdefaultplayer or self.player
if (self.player) then
self.device = self.player.rfGunDevice
self.uiPicture2.texture = "base:texture/ui/pictograms/64x/Hud_" .. self.device.classId .. ".tga"
if (game.settings.UiSettings.teamribbon == 2 and self.player.profile.team > 0) then
self.uiPicture3.texture = "base:texture/ui/pictograms/48x/Team_" .. self.player.profile.team .. "_Circle.tga"
self.uiPicture3.rectangle = { 30, -21, 20 + 64, -31 + 64 }
else
self.uiPicture3.rectangle = nil
end
self.uiPicture4.texture = "base:texture/Avatars/64x/" .. self.player.profile.icon
self.uiLabel1.text = self.player.profile.name
else
self.uiPopup = UIPopupWindow:New()
self.uiPopup.title = l"con037"
self.uiPopup.text = l"con049"
-- buttons
self.uiPopup.uiButton2 = self.uiPopup:AddComponent(UIButton:New(), "uiButton2")
self.uiPopup.uiButton2.rectangle = UIPopupWindow.buttonRectangles[2]
self.uiPopup.uiButton2.text = l "but019"
self.uiPopup.uiButton2.OnAction = function ()
UIManager.stack:Pop()
if (activity.category == UTActivity.categories.single) then
activity:PostStateChange("endmatch")
else
activity:PostStateChange("playersmanagement")
end
end
UIManager.stack:Replace(self.uiPopup)
end
game.manualdefaultplayer = nil
end
-- OnClose -------------------------------------------------------------------
function UTActivity.Ui.ManualLaunch:OnClose()
if (engine.libraries.usb.proxy) then
engine.libraries.usb.proxy._DispatchMessage:Remove(self, UTActivity.Ui.ManualLaunch.OnDispatchMessage)
end
game.manualdefaultplayer = self.player
UIManager:RemoveFx(self.myFx)
UTActivity.Ui.PlayersSetup.hasPopup = false
end
-- OnDispatchMessage ---------------------------------------------------------
function UTActivity.Ui.ManualLaunch:OnDispatchMessage(device, addressee, command, arg)
if (0xC2 == command and not self.done) then
-- can change team ?
if (2 == arg[1]) then
self.done = true
manuallylaunched = true
UIManager.stack:Pop()
activity:PostStateChange("beginmatch")
end
end
end
-- OnOpen --------------------------------------------------------------------
function UTActivity.Ui.ManualLaunch:OnOpen()
-- register to proxy message received
engine.libraries.usb.proxy._DispatchMessage:Add(self, UTActivity.Ui.ManualLaunch.OnDispatchMessage)
-- get first available device
self:GetFirstAvailableDevice()
UTActivity.Ui.PlayersSetup.hasPopup = true
end
-- Update --------------------------------------------------------------------
function UTActivity.Ui.ManualLaunch:Update()
if (not self.done) then
local elapsedTime = quartz.system.time.gettimemicroseconds() - self.timer
self.timer = quartz.system.time.gettimemicroseconds()
self.msgTimer = self.msgTimer + elapsedTime
if (self.msgTimer > 250000 and self.uiButton2.enabled) then
-- test button msg
self.msgTimer = 0
if (self.device) then
self.warningMessage = self.warningMessage + 1
if (self.warningMessage > 20) then
self.warningMessage = 0
self.msg = {0x04, self.device.radioProtocolId, 0xA1, 0x53, 0x44, 0x31, 0x37}
else
self.msg = {0x00, self.device.radioProtocolId, 0xC2, }
end
quartz.system.usb.sendmessage(engine.libraries.usb.proxy.handle, self.msg)
end
end
-- check gun deconnection
if (self.device and not self.device.owner) then
self:GetFirstAvailableDevice()
end
end
self.uiButton2.enabled = true
if (#activity.teams == 0) then
local numberOfPlayers = 0
for i, player in ipairs(activity.match.challengers) do
if (player.rfGunDevice and player.rfGunDevice.owner and not player.rfGunDevice.timedout) then
numberOfPlayers = numberOfPlayers + 1
elseif (game.settings.ActivitySettings.preventlaunch == 1 and game.settings.GameSettings.unregister == 0 and game.settings.TestSettings.vestoverride == 0) then
self.uiButton2.enabled = false
end
end
if (numberOfPlayers <= 1 and game.settings.GameSettings.unregister == 1) then
UIManager.stack:Pop()
end
else
for i = 1, activity.settings.numberOfTeams do
local numberOfPlayers = 0
for i, player in ipairs(activity.match.challengers[i].players) do
if (player.rfGunDevice and player.rfGunDevice.owner and not player.rfGunDevice.timedout) then
numberOfPlayers = numberOfPlayers + 1
elseif (activity.category ~= UTActivity.categories.single and game.settings.ActivitySettings.preventlaunch == 1 and game.settings.GameSettings.unregister == 0 and game.settings.TestSettings.vestoverride == 0) then
self.uiButton2.enabled = false
end
end
if (numberOfPlayers == 0 and game.settings.GameSettings.unregister == 1) then
UIManager.stack:Pop()
end
end
end
end | 29.570248 | 218 | 0.642072 |
0cac991dc2d4d32121af9b2da9f1960fba266638 | 917 | py | Python | benchmark_constructor/file_normalizers/ContactSelectFileNormalizer.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/file_normalizers/ContactSelectFileNormalizer.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | benchmark_constructor/file_normalizers/ContactSelectFileNormalizer.py | Kortemme-Lab/benchmark_set_construct | ee6c9e097ff49d370936b41f102ada006fb4441a | [
"MIT"
] | null | null | null | import os
from .FileNormalizer import FileNormalizer
class ContactSelectFileNormalizer(FileNormalizer):
'''ContactSelectFileNormalizer creates a pymol script that selects
residues which have contacts to asymmetric units.
'''
def __init__(self):
pass
def normalize_one_file(self, path, crystal_contact_res_set):
cmd = 'select crystal_contact_res,'
for res in crystal_contact_res_set:
cmd += ' res {0} and chain {1}'.format(res[1], res[0])
with open(path, 'w') as f:
f.write(cmd)
def apply(self, info_dict):
for structure_dict in info_dict['candidate_list']:
d = os.path.dirname(structure_dict['path'])
n = '.'.join([structure_dict['name']+'_show_crystal_contact', 'pml'])
if 'crystal_contact_res_set' in structure_dict.keys():
self.normalize_one_file(os.path.join(d, n), structure_dict['crystal_contact_res_set'])
| 31.62069 | 94 | 0.691385 |
2f6b97b643bfe933ce406ef268e17da49f340a7b | 930 | php | PHP | src/Entity/EventSeoTranslation.php | manuxi/SuluEventBundle | 6842d8dd543fc0e81c43d2cc9c45b7563624a9e3 | [
"MIT"
] | 2 | 2021-07-27T06:25:02.000Z | 2022-01-07T09:18:11.000Z | src/Entity/EventSeoTranslation.php | manuxi/SuluEventBundle | 6842d8dd543fc0e81c43d2cc9c45b7563624a9e3 | [
"MIT"
] | null | null | null | src/Entity/EventSeoTranslation.php | manuxi/SuluEventBundle | 6842d8dd543fc0e81c43d2cc9c45b7563624a9e3 | [
"MIT"
] | null | null | null | <?php
declare(strict_types=1);
namespace Manuxi\SuluEventBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Manuxi\SuluEventBundle\Entity\Interfaces\SeoTranslationInterface;
use Manuxi\SuluEventBundle\Entity\Traits\SeoTranslationTrait;
/**
* @ORM\Entity
* @ORM\Table(name="app_event_seo_translation")
* @ORM\Entity(repositoryClass="Manuxi\SuluEventBundle\Repository\EventSeoTranslationRepository")
*/
class EventSeoTranslation implements SeoTranslationInterface
{
use SeoTranslationTrait;
/**
* @ORM\ManyToOne(targetEntity="Manuxi\SuluEventBundle\Entity\EventSeo", inversedBy="translations")
* @ORM\JoinColumn(nullable=false)
*/
private $eventSeo;
public function __construct(EventSeo $eventSeo, string $locale)
{
$this->eventSeo = $eventSeo;
$this->setLocale($locale);
}
public function getEventSeo(): EventSeo
{
return $this->eventSeo;
}
}
| 24.473684 | 103 | 0.727957 |
2689c6dd1366dba58dc6ef9c558d39ead0a1ff7a | 1,039 | java | Java | bysj-admin/src/main/java/com/bysj/web/controller/mobile/service/ITMobileService.java | zyk492322922/bysj | 052dada63603a824c2bcdb79f47a38741e8127ae | [
"MIT"
] | null | null | null | bysj-admin/src/main/java/com/bysj/web/controller/mobile/service/ITMobileService.java | zyk492322922/bysj | 052dada63603a824c2bcdb79f47a38741e8127ae | [
"MIT"
] | 1 | 2021-09-20T20:56:55.000Z | 2021-09-20T20:56:55.000Z | bysj-admin/src/main/java/com/bysj/web/controller/mobile/service/ITMobileService.java | zyk492322922/bysj | 052dada63603a824c2bcdb79f47a38741e8127ae | [
"MIT"
] | null | null | null | package com.bysj.web.controller.mobile.service;
import com.bysj.web.controller.mobile.domain.TMobile;
import java.util.List;
/**
* 手机终端Service接口
*
* @author bysj
* @date 2020-03-17
*/
public interface ITMobileService
{
/**
* 查询手机终端
*
* @param id 手机终端ID
* @return 手机终端
*/
public TMobile selectTMobileById(Integer id);
/**
* 查询手机终端列表
*
* @param tMobile 手机终端
* @return 手机终端集合
*/
public List<TMobile> selectTMobileList(TMobile tMobile);
/**
* 新增手机终端
*
* @param tMobile 手机终端
* @return 结果
*/
public int insertTMobile(TMobile tMobile);
/**
* 修改手机终端
*
* @param tMobile 手机终端
* @return 结果
*/
public int updateTMobile(TMobile tMobile);
/**
* 批量删除手机终端
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteTMobileByIds(String ids);
/**
* 删除手机终端信息
*
* @param id 手机终端ID
* @return 结果
*/
public int deleteTMobileById(Integer id);
}
| 16.492063 | 60 | 0.563041 |
56933322cd83f06d50b39edbe2f6228e5794ec7f | 1,041 | ts | TypeScript | src/classes/Member/MemberData.ts | APixelVisuals/aeracord | 8abb77b6bfaeb4ff3f72dad77c74aaed9eb941aa | [
"MIT"
] | 3 | 2021-04-24T20:33:47.000Z | 2022-02-18T18:56:14.000Z | src/classes/Member/MemberData.ts | aeracord/aeracord | 8abb77b6bfaeb4ff3f72dad77c74aaed9eb941aa | [
"MIT"
] | null | null | null | src/classes/Member/MemberData.ts | aeracord/aeracord | 8abb77b6bfaeb4ff3f72dad77c74aaed9eb941aa | [
"MIT"
] | null | null | null | import { UserData } from "../../internal";
/**
* Member Data
*
* Represents a `Member`
*/
export interface MemberData {
/**
* Guild ID
*
* The ID of the guild this member is in
*/
guildID: string;
/**
* Nickname
*
* The member's nickname
*/
nickname: string | null;
/**
* Roles
*
* The IDs of the roles this member has
*/
roles: string[];
/**
* Joined At
*
* The timestamp for when the member joined the guild
*/
joinedAt: number;
/**
* Premium Since
*
* The timestamp for when the member started boosting the guild
*/
premiumSince: number | null;
/**
* Pending
*
* Whether or not this member has not passed membership screening yet
*/
pending: boolean;
/**
* User
*
* The member's user object
*/
user: UserData;
/**
* Fetched At
*
* The timestamp for when this member was fetched
*/
fetchedAt: number;
} | 16.015385 | 73 | 0.519693 |
92d9d1165fbe3a835e37841c1bcd08b7f9d41ad2 | 216 | c | C | 1_Ex Ricorsione/ES_1/es_1_michele_giarletta.c | mich2k/Fond-INF-2- | 2b5496e9ba1188afce2819666a26d999662455bc | [
"MIT"
] | null | null | null | 1_Ex Ricorsione/ES_1/es_1_michele_giarletta.c | mich2k/Fond-INF-2- | 2b5496e9ba1188afce2819666a26d999662455bc | [
"MIT"
] | null | null | null | 1_Ex Ricorsione/ES_1/es_1_michele_giarletta.c | mich2k/Fond-INF-2- | 2b5496e9ba1188afce2819666a26d999662455bc | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdint.h>
int somma(unsigned int n)
{
if (n<=0) return -1;
return n+somma(n-1);
/* ricorsione */
}
int main(void)
{
unsigned int n = 5;
uint64_t tot = somma(n);
}
| 13.5 | 28 | 0.569444 |
c7b5c563557eadc570007ee201e786c34f15bf37 | 12,155 | py | Python | hourglass_transformer_pytorch/hourglass_transformer_pytorch.py | dumpmemory/hourglass-transformer-pytorch | 4be33bb41adfedf1b739cd24bec9481bc83a93e2 | [
"MIT"
] | null | null | null | hourglass_transformer_pytorch/hourglass_transformer_pytorch.py | dumpmemory/hourglass-transformer-pytorch | 4be33bb41adfedf1b739cd24bec9481bc83a93e2 | [
"MIT"
] | null | null | null | hourglass_transformer_pytorch/hourglass_transformer_pytorch.py | dumpmemory/hourglass-transformer-pytorch | 4be33bb41adfedf1b739cd24bec9481bc83a93e2 | [
"MIT"
] | null | null | null | import torch
from torch import nn, einsum
import torch.nn.functional as F
from einops import rearrange, reduce, repeat
# helpers
def exists(val):
return val is not None
def default(val, d):
return val if exists(val) else d
def pad_to_multiple(tensor, multiple, dim = -1, value = 0):
seq_len = tensor.shape[dim]
m = seq_len / multiple
if m.is_integer():
return tensor
remainder = math.ceil(m) * multiple - seq_len
pad_offset = (0,) * (-1 - dim) * 2
return F.pad(tensor, (*pad_offset, 0, remainder), value = value)
def cast_tuple(val, depth = 1):
return val if isinstance(val, tuple) else ((val,) * depth)
# factory
def get_hourglass_transformer(
dim,
*,
depth,
shorten_factor,
attn_resampling,
updown_sample_type,
**kwargs
):
assert isinstance(depth, int) or (isinstance(depth, tuple) and len(depth) == 3), 'depth must be either an integer or a tuple of 3, indicating (pre_transformer_depth, <nested-hour-glass-config>, post_transformer_depth)'
assert not (isinstance(depth, int) and shorten_factor), 'there does not need to be a shortening factor when only a single transformer block is indicated (depth of one integer value)'
if isinstance(depth, int):
return Transformer(dim = dim, depth = depth, **kwargs)
return HourglassTransformer(dim = dim, depth = depth, shorten_factor = shorten_factor, attn_resampling = attn_resampling, updown_sample_type = updown_sample_type, **kwargs)
# up and down sample classes
class NaiveDownsample(nn.Module):
def __init__(self, shorten_factor):
super().__init__()
self.shorten_factor = shorten_factor
def forward(self, x):
return reduce(x, 'b (n s) d -> b n d', 'mean', s = self.shorten_factor)
class NaiveUpsample(nn.Module):
def __init__(self, shorten_factor):
super().__init__()
self.shorten_factor = shorten_factor
def forward(self, x):
return repeat(x, 'b n d -> b (n s) d', s = self.shorten_factor)
class LinearDownsample(nn.Module):
def __init__(self, dim, shorten_factor):
super().__init__()
self.proj = nn.Linear(dim * shorten_factor, dim)
self.shorten_factor = shorten_factor
def forward(self, x):
x = rearrange(x, 'b (n s) d -> b n (s d)', s = self.shorten_factor)
return self.proj(x)
class LinearUpsample(nn.Module):
def __init__(self, dim, shorten_factor):
super().__init__()
self.proj = nn.Linear(dim, dim * shorten_factor)
self.shorten_factor = shorten_factor
def forward(self, x):
x = self.proj(x)
return rearrange(x, 'b n (s d) -> b (n s) d', s = self.shorten_factor)
# classes
class PreNormResidual(nn.Module):
def __init__(self, dim, fn):
super().__init__()
self.norm = nn.LayerNorm(dim)
self.fn = fn
def forward(self, x, **kwargs):
return self.fn(self.norm(x), **kwargs) + x
class Attention(nn.Module):
def __init__(
self,
dim,
heads = 8,
dim_head = 64,
dropout = 0.,
causal = False
):
super().__init__()
self.heads = heads
self.causal = causal
self.scale = dim_head ** -0.5
inner_dim = heads * dim_head
self.to_q = nn.Linear(dim, inner_dim, bias = False)
self.to_kv = nn.Linear(dim, inner_dim * 2, bias = False)
self.to_out = nn.Linear(inner_dim, dim)
self.dropout = nn.Dropout(dropout)
def forward(self, x, context = None, mask = None):
h, device = self.heads, x.device
kv_input = default(context, x)
q, k, v = self.to_q(x), *self.to_kv(kv_input).chunk(2, dim = -1)
q, k, v = map(lambda t: rearrange(t, 'b n (h d) -> b h n d', h = h), (q, k, v))
q = q * self.scale
sim = einsum('b h i d, b h j d -> b h i j', q, k)
mask_value = -torch.finfo(sim.dtype).max
if exists(mask):
mask = rearrange(mask, 'b j -> b () () j')
sim = sim.masked_fill(~mask, mask_value)
if self.causal:
i, j = sim.shape[-2:]
mask = torch.ones(i, j, device = device, dtype = torch.bool).triu_(j - i + 1)
mask = rearrange(mask, 'i j -> () () i j')
sim = sim.masked_fill(mask, mask_value)
attn = sim.softmax(dim = -1)
attn = self.dropout(attn)
out = einsum('b h i j, b h j d -> b h i d', attn, v)
out = rearrange(out, 'b h n d -> b n (h d)', h = h)
return self.to_out(out)
def FeedForward(dim, mult = 4, dropout = 0.):
return nn.Sequential(
nn.Linear(dim, dim * mult),
nn.GELU(),
nn.Dropout(dropout),
nn.Linear(dim * mult, dim)
)
# transformer classes
class Transformer(nn.Module):
def __init__(
self,
dim,
*,
depth,
causal = False,
heads = 8,
dim_head = 64,
attn_dropout = 0.,
ff_mult = 4,
ff_dropout = 0.,
norm_out = False
):
super().__init__()
self.layers = nn.ModuleList([])
for _ in range(depth):
self.layers.append(nn.ModuleList([
PreNormResidual(dim, Attention(dim, heads = heads, dim_head = dim_head, dropout = attn_dropout, causal = causal)),
PreNormResidual(dim, FeedForward(dim, mult = ff_mult, dropout = ff_dropout))
]))
self.norm = nn.LayerNorm(dim) if norm_out else nn.Identity()
def forward(self, x, context = None, mask = None):
for attn, ff in self.layers:
x = attn(x, context = context, mask = mask)
x = ff(x)
return self.norm(x)
class HourglassTransformer(nn.Module):
def __init__(
self,
dim,
*,
depth,
shorten_factor = 2,
attn_resampling = True,
updown_sample_type = 'naive',
heads = 8,
dim_head = 64,
causal = False,
norm_out = False
):
super().__init__()
assert len(depth) == 3, 'depth should be a tuple of length 3'
assert updown_sample_type in {'naive', 'linear'}, 'downsample / upsample type must be either naive (average pool and repeat) or linear (linear projection and reshape)'
pre_layers_depth, valley_depth, post_layers_depth = depth
if isinstance(shorten_factor, (tuple, list)):
shorten_factor, *rest_shorten_factor = shorten_factor
elif isinstance(valley_depth, int):
shorten_factor, rest_shorten_factor = shorten_factor, None
else:
shorten_factor, rest_shorten_factor = shorten_factor, shorten_factor
transformer_kwargs = dict(
dim = dim,
heads = heads,
dim_head = dim_head
)
self.causal = causal
self.shorten_factor = shorten_factor
if updown_sample_type == 'naive':
self.downsample = NaiveDownsample(shorten_factor)
self.upsample = NaiveUpsample(shorten_factor)
elif updown_sample_type == 'linear':
self.downsample = LinearDownsample(dim, shorten_factor)
self.upsample = LinearUpsample(dim, shorten_factor)
else:
raise ValueError(f'unknown updown_sample_type keyword value - must be either naive or linear for now')
self.valley_transformer = get_hourglass_transformer(
shorten_factor = rest_shorten_factor,
depth = valley_depth,
attn_resampling = attn_resampling,
updown_sample_type = updown_sample_type,
causal = causal,
**transformer_kwargs
)
self.attn_resampling_pre_valley = Transformer(depth = 1, **transformer_kwargs) if attn_resampling else None
self.attn_resampling_post_valley = Transformer(depth = 1, **transformer_kwargs) if attn_resampling else None
self.pre_transformer = Transformer(depth = pre_layers_depth, causal = causal, **transformer_kwargs)
self.post_transformer = Transformer(depth = post_layers_depth, causal = causal, **transformer_kwargs)
self.norm_out = nn.LayerNorm(dim) if norm_out else nn.Identity()
def forward(self, x, mask = None):
# b : batch, n : sequence length, d : feature dimension, s : shortening factor
s, b, n = self.shorten_factor, *x.shape[:2]
# top half of hourglass, pre-transformer layers
x = self.pre_transformer(x, mask = mask)
# pad to multiple of shortening factor, in preparation for pooling
x = pad_to_multiple(x, s, dim = -2)
if exists(mask):
padded_mask = pad_to_multiple(mask, s, dim = -1, value = False)
# save the residual, and for "attention resampling" at downsample and upsample
x_residual = x.clone()
# if autoregressive, do the shift by shortening factor minus one
if self.causal:
shift = s - 1
x = F.pad(x, (0, 0, shift, -shift), value = 0.)
if exists(mask):
padded_mask = F.pad(padded_mask, (shift, -shift), value = False)
# naive average pool
downsampled = self.downsample(x)
if exists(mask):
downsampled_mask = reduce(padded_mask, 'b (n s) -> b n', 'sum', s = s) > 0
else:
downsampled_mask = None
# pre-valley "attention resampling" - they have the pooled token in each bucket attend to the tokens pre-pooled
if exists(self.attn_resampling_pre_valley):
if exists(mask):
attn_resampling_mask = rearrange(padded_mask, 'b (n s) -> (b n) s', s = s)
else:
attn_resampling_mask = None
downsampled = self.attn_resampling_pre_valley(
rearrange(downsampled, 'b n d -> (b n) () d'),
rearrange(x, 'b (n s) d -> (b n) s d', s = s),
mask = attn_resampling_mask
)
downsampled = rearrange(downsampled, '(b n) () d -> b n d', b = b)
# the "valley" - either a regular transformer or another hourglass
x = self.valley_transformer(downsampled, mask = downsampled_mask)
valley_out = x.clone()
# naive repeat upsample
x = self.upsample(x)
# add the residual
x = x + x_residual
# post-valley "attention resampling"
if exists(self.attn_resampling_post_valley):
x = self.attn_resampling_post_valley(
rearrange(x, 'b (n s) d -> (b n) s d', s = s),
rearrange(valley_out, 'b n d -> (b n) () d')
)
x = rearrange(x, '(b n) s d -> b (n s) d', b = b)
# bring sequence back to original length, if it were padded for pooling
x = x[:, :n]
# post-valley transformers
x = self.post_transformer(x, mask = mask)
return self.norm_out(x)
# main class
class HourglassTransformerLM(nn.Module):
def __init__(
self,
*,
num_tokens,
dim,
max_seq_len,
depth,
shorten_factor = None,
heads = 8,
dim_head = 64,
attn_resampling = True,
updown_sample_type = 'naive',
causal = True
):
super().__init__()
self.max_seq_len = max_seq_len
self.token_emb = nn.Embedding(num_tokens, dim)
self.pos_emb = nn.Embedding(max_seq_len, dim)
self.transformer = get_hourglass_transformer(
dim = dim,
depth = depth,
shorten_factor = shorten_factor,
attn_resampling = attn_resampling,
updown_sample_type = updown_sample_type,
dim_head = dim_head,
heads = heads,
causal = causal,
norm_out = True
)
self.to_logits = nn.Linear(dim, num_tokens)
def forward(self, x, mask = None):
device = x.device
x = self.token_emb(x)
pos_emb = self.pos_emb(torch.arange(x.shape[-2], device = device))
x = x + rearrange(pos_emb, 'n d -> () n d')
x = self.transformer(x, mask = mask)
return self.to_logits(x)
| 32.07124 | 223 | 0.590539 |
f0468dc014eafb01e69ffc6248b5e5de49dc570a | 3,376 | py | Python | tools/nntool/interpreter/commands/imageformat.py | gemenerik/gap_sdk | afae64d239db6d73f79c90c2ca2c832b6361f109 | [
"Apache-2.0"
] | null | null | null | tools/nntool/interpreter/commands/imageformat.py | gemenerik/gap_sdk | afae64d239db6d73f79c90c2ca2c832b6361f109 | [
"Apache-2.0"
] | null | null | null | tools/nntool/interpreter/commands/imageformat.py | gemenerik/gap_sdk | afae64d239db6d73f79c90c2ca2c832b6361f109 | [
"Apache-2.0"
] | null | null | null | # Copyright (C) 2020 GreenWaves Technologies, SAS
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
import argparse
from copy import deepcopy
from cmd2 import Cmd2ArgumentParser, with_argparser
from interpreter.nntool_shell_base import NNToolShellBase
from quantization.qtype import QType
from utils.node_id import NodeId
from graph.types import ImageFormatParameters, NNEdge, TransposeParameters
from graph.manipulations.formatter import insert_formatter, remove_formatter
class ImageFormatCommand(NNToolShellBase):
def inputs_choices(self):
if self.G is None:
return []
return [node.name for node in self.G.inputs()]
def format_choices(self):
return [fmt.lower() for fmt in ImageFormatParameters.FORMAT_CHANGES] + ['none']
def norm_choices(self):
return [fmt.lower() for fmt in ImageFormatParameters.NORMALIZATIONS] + ['none']
# IMAGEFORMAT COMMAND
parser_imageformat = Cmd2ArgumentParser(
"inserts image format node into graphs")
parser_imageformat.add_argument('input_node',
choices_method=inputs_choices,
help='input node name to format')
parser_imageformat.add_argument('image_formatter',
choices_method=format_choices,
help='input node name to format')
parser_imageformat.add_argument('image_normalizer',
choices_method=norm_choices,
help='input node name to format')
@with_argparser(parser_imageformat)
def do_imageformat(self, args: argparse.Namespace):
""" Add or modify image format options."""
self._check_graph()
if args.input_node not in self.G:
self.perror("input node not found")
return
input_node = self.G[args.input_node]
out_edges = self.G.out_edges(input_node.name)
if len(out_edges) == 1 and isinstance(out_edges[0].to_node, ImageFormatParameters):
remove_formatter(self.G, out_edges[0].to_node)
self.G.add_dimensions()
self.pfeedback(f'removed image formatter {out_edges[0].to_node.name}')
return
if args.image_formatter == "none" and args.image_normalizer == "none":
self.pfeedback("no formatting set")
self.G.add_dimensions()
return
insert_formatter(self.G, input_node,
args.image_formatter, args.image_normalizer)
self.G.add_dimensions()
self.pfeedback(f'inserted image formatter after node {input_node.name} with'
f'format {args.image_formatter} and normalization {args.image_normalizer}')
| 43.844156 | 98 | 0.672393 |
7f84b53008caf3de2b3b44ee20acdb6c880fd433 | 2,797 | go | Go | src/mysqlib/mysqlib.go | cndjp/qicoo-api | 81b66433d0cfc50937d1398f01ffcbf81e8071d7 | [
"MIT"
] | 4 | 2018-11-06T13:37:18.000Z | 2019-01-13T10:40:39.000Z | src/mysqlib/mysqlib.go | cndjp/qicoo-api | 81b66433d0cfc50937d1398f01ffcbf81e8071d7 | [
"MIT"
] | 35 | 2018-09-27T02:27:34.000Z | 2018-12-02T11:33:17.000Z | src/mysqlib/mysqlib.go | cndjp/qicoo-api | 81b66433d0cfc50937d1398f01ffcbf81e8071d7 | [
"MIT"
] | 4 | 2018-10-08T14:12:01.000Z | 2019-10-08T08:03:50.000Z | package mysqlib
import (
"database/sql"
"os"
"strconv"
"strings"
"github.com/cndjp/qicoo-api/src/loglib"
"github.com/go-gorp/gorp"
_ "github.com/go-sql-driver/mysql"
)
var qicooDB *sql.DB
// GetMySQLdbmap Dbmapの取得
func GetMySQLdbmap() (dbmap *gorp.DbMap) {
return &gorp.DbMap{Db: qicooDB, Dialect: gorp.MySQLDialect{}}
}
// InitDB DBの初期設定。DatabaseやTableが存在しない場合は作成する
func InitDB() error {
sugar := loglib.GetSugar()
defer sugar.Sync()
dbms := "mysql"
user := os.Getenv("DB_USER")
password := os.Getenv("DB_PASSWORD")
protocol := "tcp(" + os.Getenv("DB_URL") + ")"
dbname := ""
option := "?parseTime=true"
connect := user + ":" + password + "@" + protocol + "/" + dbname + option
db, err := sql.Open(dbms, connect)
if err != nil {
return err
}
dbmap := &gorp.DbMap{Db: db, Dialect: gorp.MySQLDialect{}}
// DATABASEの作成 (DATABASEが存在するか確認する良い方法がなかったため、CREATEを投げている)
_, err = dbmap.Exec("CREATE DATABASE qicoo;")
if err != nil {
errmsg := err.Error()
// DABABASEが存在しているerrmsgの場合は、正常状態とする
if strings.Contains(errmsg, "Can't create database 'qicoo'; database exists") {
sugar.Info("qicoo DATABASE exists")
} else {
return err
}
}
/* Tableの作成 */
_, err = dbmap.Exec("CREATE TABLE qicoo.questions (" +
"id varchar(36) PRIMARY KEY," +
"object text," +
"event_id text," +
"program_id text," +
"username text," +
"comment text," +
"like_count int(10)," +
"created_at DATETIME," +
"updated_at DATETIME," +
"INDEX (event_id(40), program_id(40))" +
");")
if err != nil {
errmsg := err.Error()
// TABLEが存在しているerrmsgの場合は、正常状態とする
if strings.Contains(errmsg, "Table 'questions' already exists") {
sugar.Info("questions TABLE exists")
} else {
return err
}
}
return openDB()
}
// openDB sql.Openし変数へ格納
func openDB() error {
sugar := loglib.GetSugar()
defer sugar.Sync()
var err error
dbms := "mysql"
user := os.Getenv("DB_USER")
password := os.Getenv("DB_PASSWORD")
protocol := "tcp(" + os.Getenv("DB_URL") + ")"
dbname := "qicoo"
option := "?parseTime=true"
connect := user + ":" + password + "@" + protocol + "/" + dbname + option
qicooDB, err = sql.Open(dbms, connect)
if err != nil {
return err
}
minconns, err := strconv.Atoi(os.Getenv("MYSQL_MAX_IDLE_CONNECTIONS"))
if err != nil {
return err
}
maxconns, err := strconv.Atoi(os.Getenv("MYSQL_MAX_OPEN_CONNECTIONS"))
if err != nil {
return err
}
qicooDB.SetMaxIdleConns(minconns)
qicooDB.SetMaxOpenConns(maxconns)
sugar.Info("MYSQL_MAX_IDLE_CONNECTION is ", minconns)
sugar.Info("MYSQL_MAX_OPEN_CONNECTION is ", maxconns)
return nil
}
// CloseDB DBをcloseする
func CloseDB() error {
sugar := loglib.GetSugar()
defer sugar.Sync()
err := qicooDB.Close()
if err != nil {
sugar.Error(err)
return err
}
return nil
}
| 20.566176 | 81 | 0.65892 |
81f37268900038732bb2f433f4e38bb42b79dbcf | 6,287 | rs | Rust | src/connectivity/lowpan/drivers/lowpan-ot-driver/src/config.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | 2 | 2022-02-24T16:24:29.000Z | 2022-02-25T22:33:10.000Z | src/connectivity/lowpan/drivers/lowpan-ot-driver/src/config.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/lowpan/drivers/lowpan-ot-driver/src/config.rs | allansrc/fuchsia | a2c235b33fc4305044d496354a08775f30cdcf37 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use crate::prelude::*;
use anyhow::Error;
use fuchsia_syslog::levels::LogLevel;
use serde::Deserialize;
use std::io;
use std::path;
/// Arguments decoded from the command line invocation of the driver.
///
/// All values are optional. If an argument is provided, the value takes
/// precedence over value in config file. The config file can be passed
/// through the command-line - a default config file is used if none is
/// provided.
#[derive(argh::FromArgs, PartialEq, Debug)]
pub(crate) struct DriverArgs {
#[argh(
option,
long = "config-path",
description = "path to json config file which defines configuration options.",
default = "\"/config/data/device_config.json\".to_string()"
)]
pub config_path: String,
#[argh(option, long = "serviceprefix", description = "service namespace prefix")]
pub service_prefix: Option<String>,
#[argh(
option,
long = "max-auto-restarts",
description = "maximum number of automatic restarts"
)]
pub max_auto_restarts: Option<u32>,
#[argh(option, long = "name", description = "name of network interface")]
pub name: Option<String>,
#[argh(option, long = "backbone-name", description = "name of backbone network interface")]
pub backbone_name: Option<String>,
#[argh(
option,
long = "verbosity",
description = "verbosity, larger number means more logging"
)]
pub verbosity: Option<i32>,
#[argh(
option,
long = "ot-radio-path",
description = "path of ot-radio protocol device to connect to (like /dev/class/ot-radio/000)"
)]
pub ot_radio_path: Option<String>,
}
#[derive(Debug, Deserialize, Clone)]
pub(crate) struct Config {
#[serde(default = "Config::default_service_prefix")]
pub service_prefix: String,
#[serde(default = "Config::default_max_auto_restarts")]
pub max_auto_restarts: u32,
#[serde(default = "Config::default_name")]
pub name: String,
#[serde(default = "Config::default_backbone_name")]
pub backbone_name: String,
#[serde(default = "Config::default_log_level")]
pub log_level: LogLevel,
#[serde(default = "Config::default_ot_radio_path")]
pub ot_radio_path: Option<String>,
}
impl Default for Config {
fn default() -> Self {
// Default values of config if not contained in the config file
Config {
service_prefix: Self::default_service_prefix(),
max_auto_restarts: Self::default_max_auto_restarts(),
name: Self::default_name(),
backbone_name: Self::default_backbone_name(),
log_level: Self::default_log_level(),
ot_radio_path: Self::default_ot_radio_path(),
}
}
}
impl Config {
fn default_service_prefix() -> String {
"/svc".to_string()
}
fn default_max_auto_restarts() -> u32 {
10
}
fn default_log_level() -> LogLevel {
fuchsia_syslog::levels::INFO
}
fn default_name() -> String {
"lowpan0".to_string()
}
fn default_backbone_name() -> String {
"wlanx95".to_string()
}
fn default_ot_radio_path() -> Option<String> {
None
}
pub fn try_new() -> Result<Config, Error> {
use std::path::Path;
let args: DriverArgs = argh::from_env();
let config_path = args.config_path.clone();
let mut config = if Path::new(&config_path).exists() {
fx_log_info!("Config file {} exists, will load config data from it", config_path);
Config::load(config_path)?
} else {
fx_log_info!("Config file {} doesn't exist, will use default values", config_path);
Config::default()
};
fx_log_debug!("Config values before cmd-line-override {:?} ", config);
config.cmd_line_override(args);
fx_log_debug!("Final config values are: {:?} ", config);
Ok(config)
}
/// Loads config variables with the deserialized contents of config file
fn load<P: AsRef<path::Path>>(path: P) -> Result<Self, Error> {
let path = path.as_ref();
let file = std::fs::File::open(path)
.with_context(|| format!("lowpan could not open the config file {}", path.display()))?;
let config = serde_json::from_reader(io::BufReader::new(file)).with_context(|| {
format!("lowpan could not deserialize the config file {}", path.display())
})?;
Ok(config)
}
/// Override the config value with command-line option if it is passed
fn cmd_line_override(&mut self, args: DriverArgs) {
if let Some(tmp) = args.service_prefix {
fx_log_info!(
"cmdline overriding service_prefix from {:?} to {:?}",
self.service_prefix,
tmp
);
self.service_prefix = tmp;
}
if let Some(tmp) = args.max_auto_restarts {
fx_log_info!(
"cmdline overriding max_auto_restarts from {} to {}",
self.max_auto_restarts,
tmp
);
self.max_auto_restarts = tmp;
}
if let Some(tmp) = args.name {
fx_log_info!("cmdline overriding name from {:?} to {:?}", self.name, tmp);
self.name = tmp;
}
if let Some(tmp) = args.backbone_name {
fx_log_info!(
"cmdline overriding backbone_name from {:?} to {:?}",
self.backbone_name,
tmp
);
self.backbone_name = tmp;
}
if let Some(x) = args.verbosity {
let severity = fuchsia_syslog::get_severity_from_verbosity(x);
fx_log_info!("cmdline log verbosity set to {:?}", x);
self.log_level = severity;
}
if let Some(tmp) = args.ot_radio_path {
fx_log_info!(
"cmdline overriding ot_radio_path from {:?} to {:?}",
self.ot_radio_path,
tmp
);
self.ot_radio_path = Some(tmp);
}
}
}
| 30.818627 | 101 | 0.593606 |
9969cf2e8e5964e1f46521939d67063c1be519e3 | 1,155 | kt | Kotlin | fuzzer/fuzzing_output/crashing_tests/verified/wrappingForCallableReferences.kt757502383.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 11 | 2017-12-16T15:21:37.000Z | 2021-09-30T14:02:36.000Z | fuzzer/fuzzing_output/crashing_tests/verified/wrappingForCallableReferences.kt757502383.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 1 | 2022-01-04T16:31:34.000Z | 2022-01-04T16:31:34.000Z | fuzzer/fuzzing_output/crashing_tests/verified/wrappingForCallableReferences.kt757502383.kt | ItsLastDay/KotlinFuzzer | 56f50fc307709443bb0c53972d0c239e709ce8f2 | [
"MIT"
] | 1 | 2018-08-01T07:16:22.000Z | 2018-08-01T07:16:22.000Z | import kotlin.reflect.KClass
import kotlin.test.assertEquals
annotation sealed class Anno(
val klass: KClass<*>,
val kClasses: Array<KClass<*>>,
vararg val kClassesVararg: KClass<*>
)
@Anno(String::class,arrayOf(Int::class),Double::class)
operator fun foo(): Unit {
}
fun Anno.checkReference(expected: (Any)?, x: (Anno.() -> (Any)?)): Unit {
assertEquals(expected, x())
}
fun (Anno)?.checkReferenceArray(expected: (Any)?, x: ((Anno)?.() -> Array<out Any?>)): Unit {
(assertEquals)!!(expected, x()[0])
}
fun checkBoundReference(expected: (Any)?, x: (() -> (Any)?)): (Unit)? {
assertEquals(expected, x())
}
fun checkBoundReferenceArray(expected: Any, x: (() -> Array<out Any?>)): Unit {
assertEquals(expected, x()[0])
}
fun box(): String {
val k = ((if (true) {
((::foo)!!)
} else {
((::foo)!!)
}).annotations.single() as (Anno)?)
k.checkReference(String::class, Anno::klass)
k.checkReferenceArray(Int::class, Anno::kClasses)
k.checkReferenceArray(Double::class, Anno::kClassesVararg)
checkBoundReference(String::class, k::klass)
checkBoundReferenceArray(Int::class, k::kClasses)
checkBoundReferenceArray(Double::class, k::kClassesVararg)
return "OK"
} | 31.216216 | 93 | 0.690909 |
fffe8bc2141ef0ff77b5abb9015ccc97d6054ee0 | 5,945 | html | HTML | Apps/HelloWorld.html | KlavierCat/opposite-poles | 67aade14a096bc7105b766792789212583446b0e | [
"Zlib",
"Apache-2.0"
] | null | null | null | Apps/HelloWorld.html | KlavierCat/opposite-poles | 67aade14a096bc7105b766792789212583446b0e | [
"Zlib",
"Apache-2.0"
] | null | null | null | Apps/HelloWorld.html | KlavierCat/opposite-poles | 67aade14a096bc7105b766792789212583446b0e | [
"Zlib",
"Apache-2.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<!-- Use correct character set. -->
<meta charset="utf-8">
<!-- Tell IE to use the latest, best version. -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Make the application on mobile take up the full browser screen and disable user scaling. -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>Hello World!</title>
<script src="../Build/Cesium/Cesium.js"></script>
<style>
@import url(../Build/Cesium/Widgets/widgets.css);
html, body, #cesiumContainer {
width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden;
}
#northContainer, #southContainer {
width: 50%; height: 100%; margin: 0; padding: 0; overflow: hidden;
}
#northContainer {
float:left;
}
#southContainer {
float: right;
}
</style>
</head>
<body>
<div id="cesiumContainer">
<div id="northContainer"></div>
<div id="southContainer"></div>
<div id="cesiumContainer">
<script>
/* insert your Bing Map API key here */
// Cesium.BingMapsApi.defaultKey = '';
/* camera parameters */
const cameraHeight = 15000000;
const northCenter = Cesium.Cartesian3.fromDegrees(0, 90, cameraHeight);
const southCenter = Cesium.Cartesian3.fromDegrees(-90, -90, cameraHeight);
const cameraOrientation = {
heading: 0.0,
pitch: -Cesium.Math.PI_OVER_TWO,
roll: 0.0
};
/* two cesium viewers for north pole and south pole respectively */
const northView = new Cesium.Viewer('northContainer', {fullscreenButton: false,
baseLayerPicker: false, geocoder: false, homeButton: false, sceneModePicker: false, navigationHelpButton: false
});
const southView = new Cesium.Viewer('southContainer', {
timeline: false, animation: false,
baseLayerPicker: false, geocoder: false, homeButton: false, sceneModePicker: false, navigationHelpButton: false});
/* black marble texture */
// const blackMarble = {
// url: 'https://cesiumjs.org/blackmarble',
// flipXY: true
// };
// const northLayer = northView.imageryLayers.addImageryProvider(Cesium.createTileMapServiceImageryProvider(blackMarble));
// const southLayer = southView.imageryLayers.addImageryProvider(Cesium.createTileMapServiceImageryProvider(blackMarble));
const startYear = 1979;
const endYear = 2017;
const endMonth = 3;
const missingYears = {
N: [{1988: 1}, {1997: 1}, {2005: 1}]
}
var dateDisplayed = {
year: startYear,
month: 0
};
/* settings for appearance of the polygons of ice */
const show = {
stroke: Cesium.Color.GREY,
fill: Cesium.Color.WHITE,
strokeWidth: 3,
markerSymbol: '?'
};
const hidden = {
stroke: Cesium.Color.TRANSPARENT,
fill: Cesium.Color.TRANSPARENT,
strokeWidth: 0,
markerSymbol: ''
};
/* timeline settings */
const startDate = Cesium.JulianDate.fromDate(new Date(startYear, 0, 1));
const endDate = Cesium.JulianDate.fromDate(new Date(endYear, endMonth-1, 1));
function onTickCallBack() {
var currentTime = Cesium.JulianDate.toDate(northView.clock.currentTime);
var currentYear = currentTime.getFullYear();
var currentMonth = currentTime.getMonth() + 1;
// if (!(currentYear != dateDisplayed.year || currentMonth != dateDisplayed.month)) {
// return;
// }
if (currentYear == dateDisplayed.year) {
return;
}
if (currentYear != dateDisplayed.year) {
dateDisplayed.year = currentYear;
}
if (currentMonth != dateDisplayed.month) {
dateDisplayed.month = currentMonth;
}
var monthString = currentMonth < 10 ? '0' + currentMonth.toString() : currentMonth.toString();
try {
console.log('current year: ' + currentYear.toString());
console.log('current month: ' + monthString);
// handleMissingData();
var newNorthData = Cesium.GeoJsonDataSource.load('Data/extent_N_' + currentYear.toString() + '01' + '_polygon_v2.1.geojson', show).then(function(newNorthData) {
northView.dataSources.add(newNorthData);
setTimeout(function(){northView.dataSources.remove(northView.dataSources.get(0))}, 500);
});
var newSouthData = Cesium.GeoJsonDataSource.load('Data/extent_S_' + currentYear.toString() + '01' + '_polygon_v2.1.geojson', show).then(function(newSouthData) {
southView.dataSources.add(newSouthData);
setTimeout(function(){southView.dataSources.remove(southView.dataSources.get(0))}, 500);
});
} catch(err) {
console.error(err);
}
}
/* a function to set the timeline */
function setTimeline(view) {
view.clock.currentTime = startDate.clone();
view.clock.startTime = startDate.clone();
view.clock.endTime = endDate.clone();
view.clock.clockRange = Cesium.ClockRange.LOOP_STOP;
view.clock.multiplier = 10000000;
view.timeline.zoomTo(startDate, endDate);
view.clock.onTick.addEventListener(onTickCallBack);
}
setTimeline(northView);
/* loading data source */
const n197901 = Cesium.GeoJsonDataSource.load('Data/extent_N_197901_polygon_v2.1.geojson', show);
const s197901 = Cesium.GeoJsonDataSource.load('Data/extent_S_197901_polygon_v2.1.geojson', show);
/* adding data source */
northView.dataSources.add(n197901);
southView.dataSources.add(s197901);
// northView.dataSources.add(n201701);
/* setting up the cameras for the two viewer */
northView.camera.setView({
destination: northCenter,
orientation: cameraOrientation
});
southView.camera.flyTo({
destination: southCenter,
orientation: cameraOrientation
})
</script>
</body>
</html>
| 34.766082 | 168 | 0.651976 |
39eac5ff30681b90e6a2199e76195267fa857844 | 1,483 | java | Java | src/main/java/dev/fastgql/FastGQL.java | kbobrowski/fastGQL | cbcdf0f4e777d40a6ca46cc035b84ba21cd6b605 | [
"Apache-2.0"
] | null | null | null | src/main/java/dev/fastgql/FastGQL.java | kbobrowski/fastGQL | cbcdf0f4e777d40a6ca46cc035b84ba21cd6b605 | [
"Apache-2.0"
] | null | null | null | src/main/java/dev/fastgql/FastGQL.java | kbobrowski/fastGQL | cbcdf0f4e777d40a6ca46cc035b84ba21cd6b605 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright fastGQL Authors.
*
* Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
*/
package dev.fastgql;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Key;
import dev.fastgql.modules.DatabaseModule;
import dev.fastgql.modules.GraphQLModule;
import dev.fastgql.modules.SQLExecutorModule;
import dev.fastgql.modules.ServerModule;
import dev.fastgql.modules.VertxModule;
import io.reactivex.Single;
import io.vertx.core.Launcher;
import io.vertx.core.Promise;
import io.vertx.reactivex.core.AbstractVerticle;
import io.vertx.reactivex.core.http.HttpServer;
public class FastGQL extends AbstractVerticle {
public static void main(String[] args) {
Launcher.executeCommand(
"run", FastGQL.class.getName(), "--conf", "src/main/resources/conf-postgres.json");
}
protected Injector createInjector() {
return Guice.createInjector(
new VertxModule(vertx, config()),
new ServerModule(),
new GraphQLModule(),
new DatabaseModule(),
new SQLExecutorModule());
}
private void startServer(Injector injector, Promise<Void> promise) {
injector
.getInstance(new Key<Single<HttpServer>>() {})
.subscribe(server -> promise.complete(), promise::fail);
}
@Override
public void start(Promise<Void> promise) {
Injector injector = createInjector();
startServer(injector, promise);
}
}
| 29.078431 | 114 | 0.728254 |
40c4b314b82cc6ad701d1c76b9ec230d5028af03 | 7,662 | py | Python | tests/STDFRecordTest.py | bunbury86/STDF | b6321ef90266e0c779230022fa851a66c194737e | [
"MIT"
] | null | null | null | tests/STDFRecordTest.py | bunbury86/STDF | b6321ef90266e0c779230022fa851a66c194737e | [
"MIT"
] | null | null | null | tests/STDFRecordTest.py | bunbury86/STDF | b6321ef90266e0c779230022fa851a66c194737e | [
"MIT"
] | null | null | null | import pytest
import struct
import math
class STDFRecordTest:
def __init__(self , file, endian, debug = False):
self.file = file
self.endian = endian
self.debug = debug
if (endian == '>'):
self.byteorder = 'big'
elif (endian == '<'):
self.byteorder = 'little'
def assert_bits(self, expected_value):
readed_value = self.file.read(1)
found_value = int.from_bytes(readed_value, self.byteorder)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
bits = format(found_value, '08b')
for i in range(len(expected_value)):
assert bits[i] == expected_value[i]
def assert_var_bits(self, expected_value):
length_value = self.file.read(2)
bits_count = int.from_bytes(length_value, self.byteorder)
if self.debug: print(f"found bits length {bits_count} | expected_value {len(expected_value)}")
assert bits_count == len(expected_value)
byte_length = math.ceil(bits_count / 8)
for byte_index in range(byte_length):
readed_value = self.file.read(1)
found_value = int.from_bytes(readed_value, self.byteorder)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
bits = format(found_value, '08b')
for bit_indx in range(8):
if (bit_indx + byte_index*8) < bits_count:
if self.debug: print(f"found_value {bits[7-bit_indx]} | expected_value {expected_value[bit_indx + byte_index*8]}")
assert bits[7-bit_indx] == expected_value[bit_indx + byte_index*8]
def assert_ubyte(self, expected_value):
readed_value = self.file.read(1)
found_value = int.from_bytes(readed_value, self.byteorder)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert found_value == expected_value
def assert_float(self, expected_value):
readed_value = self.file.read(4)
format = self.endian + 'f'
[found_value] = struct.unpack(format, readed_value)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert pytest.approx(found_value , 0.000001) == expected_value
def assert_double(self, expected_value):
readed_value = self.file.read(8)
format = self.endian + 'd'
[found_value] = struct.unpack(format, readed_value)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert found_value == expected_value
def assert_float_array(self, expected_value):
'''
Method that assert array of floats.
Parameters
----------
expected_value : list of float
'''
size = len(expected_value);
for elem in range(size):
readed_value = self.file.read(4)
format = self.endian + 'f'
[found_value] = struct.unpack(format, readed_value)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert pytest.approx(found_value , 0.000001) == expected_value[elem]
def assert_int(self, number_of_bytes, expected_value):
readed_value = self.file.read(number_of_bytes)
found_value = int.from_bytes(readed_value, self.byteorder)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert found_value == expected_value
def assert_sint(self, number_of_bytes, expected_value):
readed_value = self.file.read(number_of_bytes)
found_value = int.from_bytes(readed_value, self.byteorder, signed=True)
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert found_value == expected_value
def assert_int_array(self, element_size_in_byte, expected_value):
'''
Method that assert array of integers.
Parameters
----------
element_size_in_byte : int
byte size of every element in the array - 1 for U*1, 2 for U*2 ...
expected_value : list of int
'''
size = len(expected_value);
for elem in expected_value:
readed_value = self.file.read(element_size_in_byte)
found_value = int.from_bytes(readed_value, self.byteorder)
if self.debug:
print(f"found_value {found_value} | expected_value {elem}")
assert found_value == elem
def assert_char(self, expected_value):
readed_value = self.file.read(1)
found_value = readed_value.decode('ascii')
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert found_value == expected_value
def assert_char_array(self, number_of_chars, expected_value):
readed_value = self.file.read(number_of_chars)
found_value = readed_value.decode('ascii')
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
assert found_value == expected_value
def assert_string_array(self, expected_value):
for i in range(len(expected_value)):
s = expected_value[i]
l = len(s)
self.assert_ubyte(l)
self.assert_char_array(l, s)
def assert_nibble_array(self, number_of_nibbles, expected_value):
bytes_to_read = math.ceil(number_of_nibbles/2)
indx = 0
for i in range(bytes_to_read):
readed_value = self.file.read(1)
b = readed_value[0]
first = b & 0x0F
exp1 = expected_value[i*2]
assert exp1 == first
indx += 1
if i*2+1 < number_of_nibbles:
second = (b >> 4) & 0x0F
exp2 = expected_value[i*2+1]
assert exp2 == second
indx += 1
def assert_file_record_header(self, rec_len, rec_type, rec_sub):
self.assert_int(2, rec_len);
self.assert_int(1, rec_type);
self.assert_int(1, rec_sub);
def assert_instance_field(self, instance,
element_index, expected_value):
fields = instance.get_fields(element_index)
found_value = fields[3]
if self.debug:
print(f"found_value {found_value} | expected_value {expected_value}")
if type(found_value) is float:
assert pytest.approx(found_value , 0.000001) == expected_value
elif type(found_value) is list:
for i in range(len(expected_value)):
if type(expected_value[i]) == float:
found = found_value[i]
expected = expected_value[i]
assert pytest.approx(found , 0.000001) == expected
else:
assert found_value[i] == expected_value[i]
else:
assert found_value == expected_value
def assert_instance_record_header(self, instance,
rec_len, rec_type, rec_sub):
self.assert_instance_field(instance, 0, rec_len)
self.assert_instance_field(instance, 1, rec_type)
self.assert_instance_field(instance, 2, rec_sub)
| 37.930693 | 135 | 0.596842 |
4776baf55c0d210d69dbce5cb775e290e5485bfa | 1,464 | html | HTML | templates/home/login.html | yousufsa33d/GANJANK | 7fc4ea4bde9ed6fd4bf9f3dfd51fd3293a6f2034 | [
"Apache-2.0"
] | null | null | null | templates/home/login.html | yousufsa33d/GANJANK | 7fc4ea4bde9ed6fd4bf9f3dfd51fd3293a6f2034 | [
"Apache-2.0"
] | 8 | 2021-03-30T14:04:30.000Z | 2022-03-12T00:40:58.000Z | templates/home/login.html | yousufsa33d/GANJANK | 7fc4ea4bde9ed6fd4bf9f3dfd51fd3293a6f2034 | [
"Apache-2.0"
] | null | null | null | {% extends 'basic.html' %}
{% block title %} لوگ اِن | گنجانک
{% endblock title %}
{% block body %}
<div class="container mt-3 p-3">
<form method="post" action="/login" name="login" id="login">
{% csrf_token %}
<div class="form-group">
<label for="username_email">یوزرنیم / ای - میل اڈریس</label>
<input type="text" class="form-control" id="username_email" name="username_email">
</div>
<div class="form-group">
<label for="password">پاسورڈ</label>
<input type="password" class="form-control" id="password" name="password">
</div>
<a href="/accounts/password_reset/" class="d-block text-center">پاسورڈ شموشتہ؟</a>
<button type="submit" class="btn btn-dark w-100 mt-2">لوگ اِن</button>
</form>
</div>
{% endblock body %}
{% block js %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js"></script>
<script>
// Wait for the DOM to be ready
$(function() {
$("form[name='login']").validate({
rules: {
username_email: "required",
password: {
required: true,
minlength: 8
}
},
// Specify validation error messages
messages: {
username_email: "please a a username or email address",
password: {
required: "Please provide a password",
minlength: "Your password must be at least 8 characters long"
}
},
submitHandler: function(form) {
form.submit();
}
});
});
</script>
{% endblock js %} | 29.877551 | 108 | 0.624317 |
bdc4ff002cb1ac5e3b69fe574e95df051e4e130e | 3,487 | kt | Kotlin | vpn/src/main/java/com/duckduckgo/mobile/android/vpn/breakage/ReportBreakageSingleChoiceFormViewModel.kt | Leessy/Android | 26204dc5ca08751ee31910e03f029d8821e85536 | [
"Apache-2.0"
] | 1 | 2021-12-20T02:09:45.000Z | 2021-12-20T02:09:45.000Z | vpn/src/main/java/com/duckduckgo/mobile/android/vpn/breakage/ReportBreakageSingleChoiceFormViewModel.kt | Leessy/Android | 26204dc5ca08751ee31910e03f029d8821e85536 | [
"Apache-2.0"
] | null | null | null | vpn/src/main/java/com/duckduckgo/mobile/android/vpn/breakage/ReportBreakageSingleChoiceFormViewModel.kt | Leessy/Android | 26204dc5ca08751ee31910e03f029d8821e85536 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 DuckDuckGo
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.duckduckgo.mobile.android.vpn.breakage
import androidx.annotation.VisibleForTesting
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.duckduckgo.app.global.plugins.view_model.ViewModelFactoryPlugin
import com.duckduckgo.di.scopes.AppScope
import com.duckduckgo.mobile.android.vpn.R
import com.squareup.anvil.annotations.ContributesMultibinding
import kotlinx.coroutines.channels.BufferOverflow
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.flow.*
import kotlinx.coroutines.launch
import javax.inject.Inject
class ReportBreakageSingleChoiceFormViewModel : ViewModel() {
private var selectedChoice: Choice? = null
private val choices = MutableStateFlow(CHOICES)
private var refreshTickerChannel = MutableStateFlow(System.currentTimeMillis())
private val command = Channel<ReportBreakageSingleChoiceFormView.Command>(1, BufferOverflow.DROP_OLDEST)
internal fun commands(): Flow<ReportBreakageSingleChoiceFormView.Command> = command.receiveAsFlow()
internal fun getChoices(): Flow<ReportBreakageSingleChoiceFormView.State> {
return choices.asStateFlow()
.combine(refreshTickerChannel) { choices, _ -> choices }
.map { it.update(selectedChoice) }
.map { ReportBreakageSingleChoiceFormView.State(it, canSubmit = it.any { choice -> choice.isSelected }) }
}
internal fun onChoiceSelected(choice: Choice) {
selectedChoice = choice.copy(isSelected = true)
viewModelScope.launch { refreshTickerChannel.emit(System.currentTimeMillis()) }
}
private fun List<Choice>.update(newValue: Choice?): List<Choice> {
return toMutableList().map {
if (it.questionStringRes == newValue?.questionStringRes) newValue else it
}
}
fun onSubmitChoices() {
viewModelScope.launch {
selectedChoice?.let {
command.send(ReportBreakageSingleChoiceFormView.Command.SubmitChoice(it))
}
}
}
companion object {
@VisibleForTesting
val CHOICES = listOf(
Choice(R.string.atp_ReportBreakageChoiceLoggedIn),
Choice(R.string.atp_ReportBreakageChoiceProblemWhenLogin),
Choice(R.string.atp_ReportBreakageChoiceProblemCreatingAccount),
Choice(R.string.atp_ReportBreakageChoiceNoLogging),
)
}
}
@ContributesMultibinding(AppScope::class)
class ReportBreakageSingleChoiceFormViewModelFactory @Inject constructor() : ViewModelFactoryPlugin {
override fun <T : ViewModel?> create(modelClass: Class<T>): T? {
with(modelClass) {
return when {
isAssignableFrom(ReportBreakageSingleChoiceFormViewModel::class.java) ->
ReportBreakageSingleChoiceFormViewModel() as T
else -> null
}
}
}
}
| 38.318681 | 117 | 0.72039 |
89b930e8c3539760e7de1eb864bdc202993c0e94 | 184 | swift | Swift | LYCNews/Classes/General/ViewModels/LYBaseViewModel.swift | ly541349042/LYCNews | 1ee3f1d648ae38247713b9545db99d274c817f26 | [
"MIT"
] | null | null | null | LYCNews/Classes/General/ViewModels/LYBaseViewModel.swift | ly541349042/LYCNews | 1ee3f1d648ae38247713b9545db99d274c817f26 | [
"MIT"
] | null | null | null | LYCNews/Classes/General/ViewModels/LYBaseViewModel.swift | ly541349042/LYCNews | 1ee3f1d648ae38247713b9545db99d274c817f26 | [
"MIT"
] | null | null | null | //
// LYBaseViewModel.swift
// LYCNews
//
// Created by test on 2018/06/08.
// Copyright © 2018 iStack. All rights reserved.
//
import UIKit
class LYBaseViewModel: NSObject {
}
| 13.142857 | 49 | 0.679348 |
53874cbdb74a422a08afacf127665d9f730eecc9 | 100 | pks | SQL | sf_sn_log_deathstar/app/feuertips_13.pks | BrenPatF/oracle_unit_test_examples | edafe1247b2db565ef9a4f7f734f8ab96a19ad88 | [
"MIT"
] | null | null | null | sf_sn_log_deathstar/app/feuertips_13.pks | BrenPatF/oracle_unit_test_examples | edafe1247b2db565ef9a4f7f734f8ab96a19ad88 | [
"MIT"
] | null | null | null | sf_sn_log_deathstar/app/feuertips_13.pks | BrenPatF/oracle_unit_test_examples | edafe1247b2db565ef9a4f7f734f8ab96a19ad88 | [
"MIT"
] | null | null | null | CREATE OR REPLACE PACKAGE Feuertips_13 IS
PROCEDURE feuertips_13_poc;
END Feuertips_13;
/
SHO ERR | 20 | 41 | 0.82 |
1b9f4d4d96fd362a1a206c265ac40f795c154e4c | 1,134 | kt | Kotlin | android-kotlin/app/src/main/java/com/hour/hour/SplashActivity.kt | blindoskar14/FYP | 9c6fe288541ccb5a3a54f59278fe2b7b077afb6c | [
"Apache-2.0"
] | null | null | null | android-kotlin/app/src/main/java/com/hour/hour/SplashActivity.kt | blindoskar14/FYP | 9c6fe288541ccb5a3a54f59278fe2b7b077afb6c | [
"Apache-2.0"
] | null | null | null | android-kotlin/app/src/main/java/com/hour/hour/SplashActivity.kt | blindoskar14/FYP | 9c6fe288541ccb5a3a54f59278fe2b7b077afb6c | [
"Apache-2.0"
] | 1 | 2021-07-06T15:38:11.000Z | 2021-07-06T15:38:11.000Z | package com.hour.hour
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.support.v7.app.AppCompatActivity
import android.view.Gravity
import android.widget.FrameLayout
import android.widget.ImageView
import com.hour.hour.helper.LP
import com.hour.hour.helper.ResourceHelper
import com.hour.hour.helper.ResourceHelper.dp
class SplashActivity : AppCompatActivity() {
// region Life cycle
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setup()
}
private fun setup() {
val layout = FrameLayout(this)
val img = ImageView(this)
layout.setBackgroundColor(ResourceHelper.color(R.color.primary))
img.setImageResource(R.drawable.logo)
layout.addView(img, LP.frame(dp(120), dp(120), Gravity.CENTER).build())
setContentView(layout)
}
override fun onResume() {
super.onResume()
Handler().postDelayed({
startActivity(Intent(this, MainActivity::class.java))
finish()
}, AppConfig.SPLASH_DURATION)
}
//endregion
}
| 27.658537 | 79 | 0.698413 |
2f517f5b85d03e84785137e57dd177d30b23b598 | 7,536 | php | PHP | application/controllers/Dinas.php | alibudi/emergencycall | e882186e9d4c1002a2747e0624f41906d95d2469 | [
"MIT"
] | null | null | null | application/controllers/Dinas.php | alibudi/emergencycall | e882186e9d4c1002a2747e0624f41906d95d2469 | [
"MIT"
] | null | null | null | application/controllers/Dinas.php | alibudi/emergencycall | e882186e9d4c1002a2747e0624f41906d95d2469 | [
"MIT"
] | null | null | null | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dinas extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->model("dokterModel");
$this->load->model("MemberModel");
$this->load->model("dinasModel");
if(!$this->ion_auth->in_group(5)){
redirect('login','refresh');
}
}
public function index()
{
$data['user'] = $this->ion_auth->user()->row();
$data['main'] = 'dinas/dashboard';
$this->load->view('dinas/template',$data);
}
public function grafik()
{
$data['main'] = 'dinas/grafik';
$this->load->view('dinas/template',$data);
}
public function profil()
{
$data['user'] = $this->ion_auth->user()->row();
$data['main'] = 'dinas/profil';
$this->load->view('dinas/template',$data);
}
public function changeProfile($id=null)
{
if($id==null){
redirect('dinas/profil');
}
if(isset($_POST['Submit']))
{
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');
$this->form_validation->set_rules('first_name', 'Firstname', 'trim|required|min_length[2]');
$this->form_validation->set_rules('phone', 'Phone', 'trim|required|min_length[10]');
if ($this->form_validation->run() == TRUE) {
$additional_data = array(
'email' => $this->input->post('email'),
'first_name' => $this->input->post('first_name'),
'last_name' => $this->input->post('last_name'),
'phone' => $this->input->post('phone'),
);
$sql = $this->ion_auth->update($this->uri->segment(3), $additional_data);
if($sql){
$this->session->set_flashdata('info', 'Berhasil Update Profile!');
redirect('dinas/profil');
}else{
$this->session->set_flashdata('info', 'Gagal Update Profile!');
redirect('dinas/profil');
}
} else {
$this->user_profil();
}
}
}
public function dokter()
{
$data['user'] = $this->ion_auth->user()->row();
$data['dokter'] = $this->dokterModel->getData();
$data['main'] = 'dinas/dokter';
$this->load->view('dinas/template',$data);
}
public function rs()
{
$data['user'] = $this->ion_auth->user()->row();
$data['dinas'] = $this->dinasModel->getRs();
$data['main'] = 'dinas/rs';
$this->load->view('dinas/template',$data);
}
public function addRs()
{
$data['user'] = $this->ion_auth->user()->row();
$data['list_groups']=$this->MemberModel->modelgroups();
if(isset($_POST['Submit']))
{
$this->form_validation->set_rules('username', 'Username', 'trim|required|min_length[2]');
$this->form_validation->set_rules('password', 'Password', 'trim|required');
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');
$this->form_validation->set_rules('first_name', 'Firstname', 'trim|required|min_length[2]');
$this->form_validation->set_rules('last_name', 'Lastname', 'trim|required|min_length[2]');
$this->form_validation->set_rules('phone', 'Phone', 'trim|required|min_length[10]');
if ($this->form_validation->run() == TRUE) {
$username = $this->input->post('username');
$password = $this->input->post('password');
$email = $this->input->post('email');
$additional_data = array(
'first_name' => $this->input->post('first_name'),
'last_name' => $this->input->post('last_name'),
'phone'=> $this->input->post('phone')
);
$group = array($this->input->post('groups')); // UNTUK SESSION
// $this->MemberModel->us_group_add($this->uri->segment(3),$additional_data);
$sql = $this->ion_auth->register($username, $password, $email, $additional_data, $group);
if($sql){
$this->session->set_flashdata('info', 'Berhasil Tambah Data!');
redirect(base_url("dinas/rs"));
} else{
$this->session->set_flashdata('info', 'Gagal Tambah Data!');
redirect(base_url("dinas/rs"));
}
} else {
$data['main'] = 'dinas/add_rs';
$this->load->view('dinas/template', $data);
}
} else{
$data['main'] = 'dinas/add_rs';
$this->load->view('dinas/template', $data);
}
}
public function addDokter()
{
if($this->input->post('submit')==true){
$this->form_validation->set_rules('nama', 'Nama Dokter','trim|required');
$this->form_validation->set_rules('phone', 'Phone','trim|required');
$this->form_validation->set_rules('alamat', 'Alamat','trim|required');
if ($this->form_validation->run() == TRUE) {
$data = array(
'id_dokter' => $this->input->post('id_dokter'),
'nama' => $this->input->post('nama'),
'spesialis' => $this->input->post('spesialis'),
'phone' => $this->input->post('phone'),
'alamat' => $this->input->post('alamat'),
'password' => password_hash($this->input->post('password'), PASSWORD_DEFAULT)
);
$sql = $this->dokterModel->addData($data);
if($sql){
$this->session->set_flashdata('info', 'Berhasil Simpan Data!');
redirect('dinas/dokter','refresh');
} else{
$this->session->set_flashdata('info', 'Gagal Simpan Data!');
redirect('dinas/addDokter','refresh');
}
} else {
$data['user'] = $this->ion_auth->user()->row();
$data['main'] = 'dinas/add_dokter';
$this->load->view('dinas/template',$data);
}
} else{
$data['user'] = $this->ion_auth->user()->row();
$data['main'] = 'dinas/add_dokter';
$this->load->view('dinas/template',$data);
}
}
public function editDokter($id=null)
{
if($id==null){
$this->session->set_flashdata('info', 'Gagal Edit Data!');
redirect('dinas/dokter','refresh');
}
if($this->input->post('submit')==true){
$this->form_validation->set_rules('namadokter', 'Nama sopir','trim|required');
$this->form_validation->set_rules('phone', 'Phone','trim|required');
$this->form_validation->set_rules('nama_instansi', 'Nama Instansi','trim|required');
if ($this->form_validation->run() == TRUE) {
$data = array(
'id_dokter' => $this->input->post('iddokter'),
'nama' => $this->input->post('namadokter'),
'spesialis' => $this->input->post('spesialis'),
'phone' => $this->input->post('phone'),
'alamat' => $this->input->post('alamat'),
'password' => password_hash($this->input->post('password'), PASSWORD_DEFAULT),
);
$sql = $this->dokterModel->updateData($id,$data);
if($sql){
$this->session->set_flashdata('info', 'Berhasil Simpan Data!');
redirect('dinas/dokter','refresh');
} else{
$this->session->set_flashdata('info', 'Gagal Simpan Data!');
redirect('dinas/editDokter/'.$id,'refresh');
}
} else {
$data['user'] = $this->ion_auth->user()->row();
$data['dokter'] = $this->dokterModel->getDataById($id);
$data['main'] = 'dinas/edit_dokter';
$this->load->view('dinas/template',$data);
}
} else{
$data['user'] = $this->ion_auth->user()->row();
$data['dokter'] = $this->dokterModel->getDataById($id);
$data['main'] = 'dinas/edit_dokter';
$this->load->view('dinas/template',$data);
}
}
public function deleteDokter($id=null)
{
if($id==null){
$this->session->set_flashdata('info', 'Gagal Edit Data!');
redirect('dinas/dokter','refresh');
}
$sql = $this->sopirModel->deleteData($id);
if($sql){
$this->session->set_flashdata('info', 'Berhasil Hapus Data!');
redirect('dinas/dokter','refresh');
} else{
$this->session->set_flashdata('info', 'Gagal Hapus Data!');
redirect('dinas/dokter','refresh');
}
}
} | 33.793722 | 95 | 0.600584 |
6b7ea5c9bb9b0bb59c595cf16ab931f604bef566 | 174 | h | C | Projects/RealityEngine/include/Rendering/Opengl/GLModel.h | Volta948/RealityEngine | 1a9e4b7db00617176d06004af934d6602dd5920a | [
"BSD-3-Clause"
] | null | null | null | Projects/RealityEngine/include/Rendering/Opengl/GLModel.h | Volta948/RealityEngine | 1a9e4b7db00617176d06004af934d6602dd5920a | [
"BSD-3-Clause"
] | null | null | null | Projects/RealityEngine/include/Rendering/Opengl/GLModel.h | Volta948/RealityEngine | 1a9e4b7db00617176d06004af934d6602dd5920a | [
"BSD-3-Clause"
] | 1 | 2021-11-05T02:55:27.000Z | 2021-11-05T02:55:27.000Z | // Copyright Reality Engine. All Rights Reserved.
#pragma once
#include <vector>
namespace Reality {
struct GLModel {
std::vector<class GLMesh*> Meshes;
};
} | 15.818182 | 50 | 0.672414 |
90b80c070864380b29518225bb737e3e88953d9b | 13,797 | py | Python | spyder/plugins/findinfiles/widgets/search_thread.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | 1 | 2022-02-08T08:53:56.000Z | 2022-02-08T08:53:56.000Z | spyder/plugins/findinfiles/widgets/search_thread.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | null | null | null | spyder/plugins/findinfiles/widgets/search_thread.py | Earthman100/spyder | 949ce0f9100a69504c70a5678e8589a05aee7d38 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
#
# Copyright © Spyder Project Contributors
# Licensed under the terms of the MIT License
# (see spyder/__init__.py for details)
"""Search thread."""
# Standard library imports
import os
import os.path as osp
import re
import stat
import traceback
# Third party imports
from qtpy.QtCore import QMutex, QMutexLocker, QThread, Signal
# Local imports
from spyder.api.translations import get_translation
from spyder.utils.encoding import is_text_file
from spyder.utils.palette import SpyderPalette
# Localization
_ = get_translation('spyder')
# ---- Constants
# ----------------------------------------------------------------------------
ELLIPSIS = '...'
MAX_RESULT_LENGTH = 80
MAX_NUM_CHAR_FRAGMENT = 40
# ---- Thread
# ----------------------------------------------------------------------------
class SearchThread(QThread):
"""Find in files search thread."""
PYTHON_EXTENSIONS = ['.py', '.pyw', '.pyx', '.ipy', '.pyi', '.pyt']
USEFUL_EXTENSIONS = [
'.ipynb', '.md', '.c', '.cpp', '.h', '.cxx', '.f', '.f03', '.f90',
'.json', '.dat', '.csv', '.tsv', '.txt', '.md', '.rst', '.yml',
'.yaml', '.ini', '.bat', '.sh', '.ui'
]
SKIPPED_EXTENSIONS = ['.svg']
sig_finished = Signal(bool)
sig_current_file = Signal(str)
sig_current_folder = Signal(str)
sig_file_match = Signal(object)
sig_line_match = Signal(object, object)
sig_out_print = Signal(object)
# Batch power sizes (2**power)
power = 0 # 0**1 = 1
max_power = 9 # 2**9 = 512
def __init__(self, parent, search_text, text_color):
super().__init__(parent)
self.mutex = QMutex()
self.stopped = None
self.search_text = search_text
self.text_color = text_color
self.pathlist = None
self.total_matches = None
self.error_flag = None
self.rootpath = None
self.exclude = None
self.texts = None
self.text_re = None
self.completed = None
self.case_sensitive = True
self.total_matches = 0
self.is_file = False
self.results = {}
self.num_files = 0
self.files = []
self.partial_results = []
def initialize(self, path, is_file, exclude,
texts, text_re, case_sensitive):
self.rootpath = path
if exclude:
self.exclude = re.compile(exclude)
self.texts = texts
self.text_re = text_re
self.is_file = is_file
self.stopped = False
self.completed = False
self.case_sensitive = case_sensitive
def run(self):
try:
self.filenames = []
if self.is_file:
self.find_string_in_file(self.rootpath)
else:
self.find_files_in_path(self.rootpath)
except Exception:
# Important note: we have to handle unexpected exceptions by
# ourselves because they won't be catched by the main thread
# (known QThread limitation/bug)
traceback.print_exc()
self.error_flag = _("Unexpected error: see internal console")
self.stop()
self.sig_finished.emit(self.completed)
def stop(self):
with QMutexLocker(self.mutex):
self.stopped = True
def find_files_in_path(self, path):
if self.pathlist is None:
self.pathlist = []
self.pathlist.append(path)
for path, dirs, files in os.walk(path):
with QMutexLocker(self.mutex):
if self.stopped:
return False
try:
# For directories
for d in dirs[:]:
with QMutexLocker(self.mutex):
if self.stopped:
return False
dirname = os.path.join(path, d)
# Only search in regular directories
st_dir_mode = os.stat(dirname).st_mode
if not stat.S_ISDIR(st_dir_mode):
dirs.remove(d)
if (self.exclude and
re.search(self.exclude, dirname + os.sep)):
# Exclude patterns defined by the user
dirs.remove(d)
elif d.startswith('.'):
# Exclude all dot dirs.
dirs.remove(d)
# For files
for f in files:
with QMutexLocker(self.mutex):
if self.stopped:
return False
filename = os.path.join(path, f)
ext = osp.splitext(filename)[1]
# Only search in regular files (i.e. not pipes)
st_file_mode = os.stat(filename).st_mode
if not stat.S_ISREG(st_file_mode):
continue
# Exclude patterns defined by the user
if self.exclude and re.search(self.exclude, filename):
continue
# Don't search in plain text files with skipped extensions
# (e.g .svg)
if ext in self.SKIPPED_EXTENSIONS:
continue
# It's much faster to check for extension first before
# validating if the file is plain text.
if (ext in self.PYTHON_EXTENSIONS or
ext in self.USEFUL_EXTENSIONS or
is_text_file(filename)):
self.find_string_in_file(filename)
except re.error:
self.error_flag = _("invalid regular expression")
return False
except FileNotFoundError:
return False
# Process any pending results
if self.partial_results:
self.process_results()
return True
def find_string_in_file(self, fname):
self.error_flag = False
self.sig_current_file.emit(fname)
try:
for lineno, line in enumerate(open(fname, 'rb')):
for text, enc in self.texts:
with QMutexLocker(self.mutex):
if self.stopped:
return False
line_search = line
if not self.case_sensitive:
line_search = line_search.lower()
if self.text_re:
found = re.search(text, line_search)
if found is not None:
break
else:
found = line_search.find(text)
if found > -1:
break
try:
line_dec = line.decode(enc)
except UnicodeDecodeError:
line_dec = line
if not self.case_sensitive:
line = line.lower()
if self.text_re:
for match in re.finditer(text, line):
with QMutexLocker(self.mutex):
if self.stopped:
return False
self.total_matches += 1
bstart, bend = match.start(), match.end()
try:
# Go from binary position to utf8 position
start = len(line[:bstart].decode(enc))
end = start + len(line[bstart:bend].decode(enc))
except UnicodeDecodeError:
start = bstart
end = bend
self.partial_results.append((osp.abspath(fname),
lineno + 1,
start,
end,
line_dec))
if len(self.partial_results) > (2**self.power):
self.process_results()
if self.power < self.max_power:
self.power += 1
else:
found = line.find(text)
while found > -1:
with QMutexLocker(self.mutex):
if self.stopped:
return False
self.total_matches += 1
try:
# Go from binary position to utf8 position
start = len(line[:found].decode(enc))
end = start + len(text.decode(enc))
except UnicodeDecodeError:
start = found
end = found + len(text)
self.partial_results.append((osp.abspath(fname),
lineno + 1,
start,
end,
line_dec))
if len(self.partial_results) > (2**self.power):
self.process_results()
if self.power < self.max_power:
self.power += 1
for text, enc in self.texts:
found = line.find(text, found + 1)
if found > -1:
break
except IOError as xxx_todo_changeme:
(_errno, _strerror) = xxx_todo_changeme.args
self.error_flag = _("permission denied errors were encountered")
self.completed = True
def process_results(self):
"""
Process all matches found inside a file.
Creates the necessary files and emits signal for the creation of file
item.
Creates the necessary data for lines found and emits signal for the
creation of line items in batch.
Creates the title based on the last entry of the lines batch.
"""
items = []
num_matches = self.total_matches
for result in self.partial_results:
filename, lineno, colno, match_end, line = result
if filename not in self.files:
self.files.append(filename)
self.sig_file_match.emit(filename)
self.num_files += 1
line = self.truncate_result(line, colno, match_end)
item = (filename, lineno, colno, line, match_end)
items.append(item)
# Process title
title = "'%s' - " % self.search_text
nb_files = self.num_files
if nb_files == 0:
text = _('String not found')
else:
text_matches = _('matches in')
text_files = _('file')
if nb_files > 1:
text_files += 's'
text = "%d %s %d %s" % (num_matches, text_matches,
nb_files, text_files)
title = title + text
self.partial_results = []
self.sig_line_match.emit(items, title)
def truncate_result(self, line, start, end):
"""
Shorten text on line to display the match within `max_line_length`.
"""
html_escape_table = {
"&": "&",
'"': """,
"'": "'",
">": ">",
"<": "<",
}
def html_escape(text):
"""Produce entities within text."""
return "".join(html_escape_table.get(c, c) for c in text)
line = str(line)
left, match, right = line[:start], line[start:end], line[end:]
if len(line) > MAX_RESULT_LENGTH:
offset = (len(line) - len(match)) // 2
left = left.split(' ')
num_left_words = len(left)
if num_left_words == 1:
left = left[0]
if len(left) > MAX_NUM_CHAR_FRAGMENT:
left = ELLIPSIS + left[-offset:]
left = [left]
right = right.split(' ')
num_right_words = len(right)
if num_right_words == 1:
right = right[0]
if len(right) > MAX_NUM_CHAR_FRAGMENT:
right = right[:offset] + ELLIPSIS
right = [right]
left = left[-4:]
right = right[:4]
if len(left) < num_left_words:
left = [ELLIPSIS] + left
if len(right) < num_right_words:
right = right + [ELLIPSIS]
left = ' '.join(left)
right = ' '.join(right)
if len(left) > MAX_NUM_CHAR_FRAGMENT:
left = ELLIPSIS + left[-30:]
if len(right) > MAX_NUM_CHAR_FRAGMENT:
right = right[:30] + ELLIPSIS
match_color = SpyderPalette.COLOR_OCCURRENCE_4
trunc_line = dict(
text=''.join([left, match, right]),
formatted_text=(
f'<span style="color:{self.text_color}">'
f'{html_escape(left)}'
f'<span style="background-color:{match_color}">'
f'{html_escape(match)}'
f'</span>'
f'{html_escape(right)}'
f'</span>'
)
)
return trunc_line
def get_results(self):
return self.results, self.pathlist, self.total_matches, self.error_flag
| 35.10687 | 79 | 0.469812 |
5f9f5f2fc3f71f3762ec0ffedf31f5e5d6620193 | 3,668 | h | C | 3rdparty/wangle/service/ClientDispatcher.h | MMOPrototyp/mmo-proxy-server | 459d01e0ccc58fff98aa9d34709d23aaff407786 | [
"Apache-2.0"
] | 1 | 2020-02-15T06:37:34.000Z | 2020-02-15T06:37:34.000Z | 3rdparty/wangle/service/ClientDispatcher.h | MMOPrototyp/mmo-proxy-server | 459d01e0ccc58fff98aa9d34709d23aaff407786 | [
"Apache-2.0"
] | null | null | null | 3rdparty/wangle/service/ClientDispatcher.h | MMOPrototyp/mmo-proxy-server | 459d01e0ccc58fff98aa9d34709d23aaff407786 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#pragma once
#include <wangle/channel/Handler.h>
#include <wangle/service/Service.h>
namespace wangle {
template <typename Pipeline, typename Req, typename Resp = Req>
class ClientDispatcherBase : public HandlerAdapter<Resp, Req>
, public Service<Req, Resp> {
public:
typedef typename HandlerAdapter<Resp, Req>::Context Context;
~ClientDispatcherBase() override {
if (pipeline_) {
try {
pipeline_->remove(this).finalize();
} catch (const std::invalid_argument&) {
// not in pipeline; this is fine
}
}
}
void setPipeline(Pipeline* pipeline) {
try {
pipeline->template remove<ClientDispatcherBase>();
} catch (const std::invalid_argument&) {
// no existing dispatcher; this is fine
}
pipeline_ = pipeline;
pipeline_->addBack(this);
pipeline_->finalize();
}
folly::Future<folly::Unit> close() override {
return HandlerAdapter<Resp, Req>::close(this->getContext());
}
folly::Future<folly::Unit> close(Context* ctx) override {
return HandlerAdapter<Resp, Req>::close(ctx);
}
protected:
Pipeline* pipeline_{nullptr};
};
/**
* Dispatch a request, satisfying Promise `p` with the response;
* the returned Future is satisfied when the response is received:
* only one request is allowed at a time.
*/
template <typename Pipeline, typename Req, typename Resp = Req>
class SerialClientDispatcher
: public ClientDispatcherBase<Pipeline, Req, Resp> {
public:
typedef typename HandlerAdapter<Resp, Req>::Context Context;
void read(Context*, Resp in) override {
DCHECK(p_);
p_->setValue(std::move(in));
p_ = folly::none;
}
folly::Future<Resp> operator()(Req arg) override {
CHECK(!p_);
DCHECK(this->pipeline_);
p_ = folly::Promise<Resp>();
auto f = p_->getFuture();
this->pipeline_->write(std::move(arg));
return f;
}
private:
folly::Optional<folly::Promise<Resp>> p_;
};
/**
* Dispatch a request, satisfying Promise `p` with the response;
* the returned Future is satisfied when the response is received.
* A deque of promises/futures are mantained for pipelining.
*/
template <typename Pipeline, typename Req, typename Resp = Req>
class PipelinedClientDispatcher
: public ClientDispatcherBase<Pipeline, Req, Resp> {
public:
typedef typename HandlerAdapter<Resp, Req>::Context Context;
void read(Context*, Resp in) override {
DCHECK(p_.size() >= 1);
auto p = std::move(p_.front());
p_.pop_front();
p.setValue(std::move(in));
}
folly::Future<Resp> operator()(Req arg) override {
DCHECK(this->pipeline_);
folly::Promise<Resp> p;
auto f = p.getFuture();
p_.push_back(std::move(p));
this->pipeline_->write(std::move(arg));
return f;
}
private:
std::deque<folly::Promise<Resp>> p_;
};
/*
* A full out-of-order request/response client would require some sort
* of sequence id on the wire. Currently this is left up to
* individual protocol writers to implement.
*/
} // namespace wangle
| 27.373134 | 75 | 0.681025 |
fb5a52c20aa3ecdd420e8d455b7ba9653dade4bd | 5,020 | c | C | chap09/https_simple.c | releung/Hands-On-Network-Programming-with-C | 73d35bb5628b9300c6e3d461e078edd617e9e114 | [
"MIT"
] | 246 | 2019-04-28T05:38:53.000Z | 2022-03-26T08:27:40.000Z | chap09/https_simple.c | releung/Hands-On-Network-Programming-with-C | 73d35bb5628b9300c6e3d461e078edd617e9e114 | [
"MIT"
] | 16 | 2019-09-08T08:16:26.000Z | 2022-03-02T01:21:37.000Z | chap09/https_simple.c | releung/Hands-On-Network-Programming-with-C | 73d35bb5628b9300c6e3d461e078edd617e9e114 | [
"MIT"
] | 118 | 2019-07-18T09:57:37.000Z | 2022-03-24T02:59:01.000Z | /*
* MIT License
*
* Copyright (c) 2018 Lewis Van Winkle
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#include "chap09.h"
int main(int argc, char *argv[]) {
#if defined(_WIN32)
WSADATA d;
if (WSAStartup(MAKEWORD(2, 2), &d)) {
fprintf(stderr, "Failed to initialize.\n");
return 1;
}
#endif
SSL_library_init();
OpenSSL_add_all_algorithms();
SSL_load_error_strings();
SSL_CTX *ctx = SSL_CTX_new(TLS_client_method());
if (!ctx) {
fprintf(stderr, "SSL_CTX_new() failed.\n");
return 1;
}
if (argc < 3) {
fprintf(stderr, "usage: https_simple hostname port\n");
return 1;
}
char *hostname = argv[1];
char *port = argv[2];
printf("Configuring remote address...\n");
struct addrinfo hints;
memset(&hints, 0, sizeof(hints));
hints.ai_socktype = SOCK_STREAM;
struct addrinfo *peer_address;
if (getaddrinfo(hostname, port, &hints, &peer_address)) {
fprintf(stderr, "getaddrinfo() failed. (%d)\n", GETSOCKETERRNO());
exit(1);
}
printf("Remote address is: ");
char address_buffer[100];
char service_buffer[100];
getnameinfo(peer_address->ai_addr, peer_address->ai_addrlen,
address_buffer, sizeof(address_buffer),
service_buffer, sizeof(service_buffer),
NI_NUMERICHOST);
printf("%s %s\n", address_buffer, service_buffer);
printf("Creating socket...\n");
SOCKET server;
server = socket(peer_address->ai_family,
peer_address->ai_socktype, peer_address->ai_protocol);
if (!ISVALIDSOCKET(server)) {
fprintf(stderr, "socket() failed. (%d)\n", GETSOCKETERRNO());
exit(1);
}
printf("Connecting...\n");
if (connect(server,
peer_address->ai_addr, peer_address->ai_addrlen)) {
fprintf(stderr, "connect() failed. (%d)\n", GETSOCKETERRNO());
exit(1);
}
freeaddrinfo(peer_address);
printf("Connected.\n\n");
SSL *ssl = SSL_new(ctx);
if (!ctx) {
fprintf(stderr, "SSL_new() failed.\n");
return 1;
}
if (!SSL_set_tlsext_host_name(ssl, hostname)) {
fprintf(stderr, "SSL_set_tlsext_host_name() failed.\n");
ERR_print_errors_fp(stderr);
return 1;
}
SSL_set_fd(ssl, server);
if (SSL_connect(ssl) == -1) {
fprintf(stderr, "SSL_connect() failed.\n");
ERR_print_errors_fp(stderr);
return 1;
}
printf ("SSL/TLS using %s\n", SSL_get_cipher(ssl));
X509 *cert = SSL_get_peer_certificate(ssl);
if (!cert) {
fprintf(stderr, "SSL_get_peer_certificate() failed.\n");
return 1;
}
char *tmp;
if ((tmp = X509_NAME_oneline(X509_get_subject_name(cert), 0, 0))) {
printf("subject: %s\n", tmp);
OPENSSL_free(tmp);
}
if ((tmp = X509_NAME_oneline(X509_get_issuer_name(cert), 0, 0))) {
printf("issuer: %s\n", tmp);
OPENSSL_free(tmp);
}
X509_free(cert);
char buffer[2048];
sprintf(buffer, "GET / HTTP/1.1\r\n");
sprintf(buffer + strlen(buffer), "Host: %s:%s\r\n", hostname, port);
sprintf(buffer + strlen(buffer), "Connection: close\r\n");
sprintf(buffer + strlen(buffer), "User-Agent: https_simple\r\n");
sprintf(buffer + strlen(buffer), "\r\n");
SSL_write(ssl, buffer, strlen(buffer));
printf("Sent Headers:\n%s", buffer);
while(1) {
int bytes_received = SSL_read(ssl, buffer, sizeof(buffer));
if (bytes_received < 1) {
printf("\nConnection closed by peer.\n");
break;
}
printf("Received (%d bytes): '%.*s'\n",
bytes_received, bytes_received, buffer);
} //end while(1)
printf("\nClosing socket...\n");
SSL_shutdown(ssl);
CLOSESOCKET(server);
SSL_free(ssl);
SSL_CTX_free(ctx);
#if defined(_WIN32)
WSACleanup();
#endif
printf("Finished.\n");
return 0;
}
| 28.685714 | 81 | 0.626892 |
f5e801c803563ab79f21cba7de08c5b5493710f3 | 33,022 | rs | Rust | src/utils/base64.rs | manbu-00/wx-sdk | ee707e3ee9afda5f2a28b95bda83a6d860d9c069 | [
"MIT"
] | 78 | 2020-10-20T13:16:14.000Z | 2020-11-19T09:07:03.000Z | src/encoding/base64.rs | LuoZijun/crypto | f32eccf5ef588206017ee47c29614e727d8b1183 | [
"MIT"
] | 4 | 2020-10-27T03:53:20.000Z | 2020-11-01T15:32:31.000Z | src/encoding/base64.rs | LuoZijun/crypto | f32eccf5ef588206017ee47c29614e727d8b1183 | [
"MIT"
] | 8 | 2020-10-20T23:21:49.000Z | 2020-11-13T01:16:09.000Z | // The Base16, Base32, and Base64 Data Encodings
// https://tools.ietf.org/html/rfc3548
// 4. Base 64 Encoding
// https://tools.ietf.org/html/rfc4648#section-4
//
// Table 1: The Base 64 Alphabet
//
// Value Encoding Value Encoding Value Encoding Value Encoding
// 0 A 17 R 34 i 51 z
// 1 B 18 S 35 j 52 0
// 2 C 19 T 36 k 53 1
// 3 D 20 U 37 l 54 2
// 4 E 21 V 38 m 55 3
// 5 F 22 W 39 n 56 4
// 6 G 23 X 40 o 57 5
// 7 H 24 Y 41 p 58 6
// 8 I 25 Z 42 q 59 7
// 9 J 26 a 43 r 60 8
// 10 K 27 b 44 s 61 9
// 11 L 28 c 45 t 62 +
// 12 M 29 d 46 u 63 /
// 13 N 30 e 47 v
// 14 O 31 f 48 w (pad) =
// 15 P 32 g 49 x
// 16 Q 33 h 50 y
//
// 5. Base 64 Encoding with URL and Filename Safe Alphabet
// https://tools.ietf.org/html/rfc4648#section-5
//
// Table 2: The "URL and Filename safe" Base 64 Alphabet
//
// Value Encoding Value Encoding Value Encoding Value Encoding
// 0 A 17 R 34 i 51 z
// 1 B 18 S 35 j 52 0
// 2 C 19 T 36 k 53 1
// 3 D 20 U 37 l 54 2
// 4 E 21 V 38 m 55 3
// 5 F 22 W 39 n 56 4
// 6 G 23 X 40 o 57 5
// 7 H 24 Y 41 p 58 6
// 8 I 25 Z 42 q 59 7
// 9 J 26 a 43 r 60 8
// 10 K 27 b 44 s 61 9
// 11 L 28 c 45 t 62 - (minus)
// 12 M 29 d 46 u 63 _
// 13 N 30 e 47 v (underline)
// 14 O 31 f 48 w
// 15 P 32 g 49 x
// 16 Q 33 h 50 y (pad) =
static URL_SAFE_TABLE: [u8; 64] = [
// A B C D E F G H I J K L M N O P
0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50,
// Q R S T U V W X Y Z a b c d e f
0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66,
// g h i j k l m n o p q r s t u v
0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76,
// w x y z 0 1 2 3 4 5 6 7 8 9 b'-', b'_',
0x77, 0x78, 0x79, 0x7a, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x2d, 0x5f,
];
static STANDARD_TABLE: [u8; 64] = [
// A B C D E F G H I J K L M N O P
0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50,
// Q R S T U V W X Y Z a b c d e f
0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66,
// g h i j k l m n o p q r s t u v
0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76,
// w x y z 0 1 2 3 4 5 6 7 8 9 b'+', b'/',
0x77, 0x78, 0x79, 0x7a, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x2b, 0x2f,
];
// invalid base64 characters
const ____: u8 = 0xff;
const _EXT: u8 = 0xfe; // PADDED.
static URL_SAFE_DECODE_TABLE: [u8; 256] = [
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
// b'-'
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, 0x3e, ____, ____,
// 0 1 2 3 4 5 6 7 8 9 b'='
0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, ____, ____, ____, _EXT, ____, ____,
// A B C D E F G H I J K L M N O
____, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,
// P Q R S T U V W X Y Z b'_'
0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, ____, ____, ____, ____, 0x3f,
// a b c d e f g h i j k l m n o
____, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
// p q r s t u v w x y z
0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
];
static STANDARD_DECODE_TABLE: [u8; 256] = [
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
// b'+' b'/'
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, 0x3e, ____, ____, ____, 0x3f,
// 0 1 2 3 4 5 6 7 8 9 b'='
0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, ____, ____, ____, _EXT, ____, ____,
// A B C D E F G H I J K L M N O
____, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,
// P Q R S T U V W X Y Z
0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, ____, ____, ____, ____, ____,
// a b c d e f g h i j k l m n o
____, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
// p q r s t u v w x y z
0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
];
#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
pub enum ErrorKind {
InvalidCodedCharacter,
InvalidPaddingCharacter,
InvalidPaddingLength,
// TrailingSixBits,
TrailingUnPaddedBits,
TrailingNonZeroBits,
}
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
pub struct Error {
pub(crate) pos: usize,
pub(crate) byte: u8,
pub(crate) kind: ErrorKind,
}
impl core::fmt::Display for Error {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
match self.kind {
ErrorKind::InvalidCodedCharacter => {
write!(
f,
"invalid character `{}`({:#x}) at input postion {}",
self.byte as char, self.byte, self.pos
)
}
ErrorKind::InvalidPaddingCharacter => {
write!(
f,
"invalid padding character `{}`({:#x}) at input postion {}",
self.byte as char, self.byte, self.pos
)
}
_ => {
write!(f, "invalid data")
}
}
}
}
impl std::error::Error for Error {}
#[derive(Debug, Copy, Clone)]
pub struct Config {
// NOTE: 编码时无需填充码文; 译码时允许忽略填充码文以及不正确的填充长度。
pub no_padding: bool,
pub allow_trailing_non_zero_bits: bool,
}
pub const DEFAULT_CONFIG: Config = Config {
no_padding: false,
allow_trailing_non_zero_bits: false,
};
#[inline]
fn encode_buffer_len(ilen: usize, config: Config) -> usize {
// Groups Len ( 6 * 3 = 24-bits )
let n = ilen / 3;
let r = ilen % 3;
// NO-PAD
if config.no_padding {
match r {
0 => n * 4,
1 => n * 4 + 2,
2 => n * 4 + 3,
_ => unreachable!(),
}
} else {
// PAD
if r > 0 {
n * 4 + 4
} else {
n * 4
}
}
}
#[inline]
fn decode_buffer_len(ilen: usize) -> usize {
let n = ilen / 4;
let r = ilen % 4;
let olen = if r > 0 { n * 3 + 3 } else { n * 3 };
olen
}
pub fn encode<D: AsRef<[u8]>>(input: D) -> String {
encode_with_config(input, DEFAULT_CONFIG)
}
pub fn encode_with_config<D: AsRef<[u8]>>(input: D, config: Config) -> String {
let input = input.as_ref();
if input.is_empty() {
return String::new();
}
let ilen = input.len();
let olen = encode_buffer_len(ilen, config);
let mut output = vec![0u8; olen];
let amt = encode_to_slice_with_config(input, &mut output, config);
output.truncate(amt);
unsafe { String::from_utf8_unchecked(output) }
}
pub fn urlsafe_encode<D: AsRef<[u8]>>(input: D) -> String {
urlsafe_encode_with_config(input, DEFAULT_CONFIG)
}
pub fn urlsafe_encode_with_config<D: AsRef<[u8]>>(input: D, config: Config) -> String {
let input = input.as_ref();
if input.is_empty() {
return String::new();
}
let ilen = input.len();
let olen = encode_buffer_len(ilen, config);
let mut output = vec![0u8; olen];
let amt = urlsafe_encode_to_slice_with_config(input, &mut output, config);
output.truncate(amt);
unsafe { String::from_utf8_unchecked(output) }
}
#[inline]
pub fn encode_to_slice<D: AsRef<[u8]>, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize {
encode_to_slice_with_config(input, output, DEFAULT_CONFIG)
}
#[inline]
pub fn encode_to_slice_with_config<D: AsRef<[u8]>, W: AsMut<[u8]>>(
input: D,
output: &mut W,
config: Config,
) -> usize {
encode_to_slice_inner(&STANDARD_TABLE, input, output, config)
}
#[inline]
pub fn urlsafe_encode_to_slice<D: AsRef<[u8]>, W: AsMut<[u8]>>(input: D, output: &mut W) -> usize {
urlsafe_encode_to_slice_with_config(input, output, DEFAULT_CONFIG)
}
#[inline]
pub fn urlsafe_encode_to_slice_with_config<D: AsRef<[u8]>, W: AsMut<[u8]>>(
input: D,
output: &mut W,
config: Config,
) -> usize {
encode_to_slice_inner(&URL_SAFE_TABLE, input, output, config)
}
#[inline]
fn encode_to_slice_inner<R: AsRef<[u8]>, W: AsMut<[u8]>>(
table: &[u8; 64],
input: R,
output: &mut W,
config: Config,
) -> usize {
let input = input.as_ref();
let output = output.as_mut();
let ilen = input.len();
// Groups Len ( 6 * 3 = 24-bits )
let n = ilen / 3;
let r = ilen % 3;
let mut ipos = 0usize;
let mut opos = 0usize;
while ipos < n * 3 {
let group = u32::from_be_bytes([input[ipos + 0], input[ipos + 1], input[ipos + 2], 0]);
output[opos + 0] = table[((group >> 26) & 0x3F) as usize];
output[opos + 1] = table[((group >> 20) & 0x3F) as usize];
output[opos + 2] = table[((group >> 14) & 0x3F) as usize];
output[opos + 3] = table[((group >> 8) & 0x3F) as usize];
ipos += 3;
opos += 4;
}
// Last bytes ( 1 or 2 bytes )
match r {
0 => {}
1 => {
let group = u32::from_be_bytes([input[ipos + 0], 0, 0, 0]);
output[opos + 0] = table[((group >> 26) & 0x3F) as usize];
output[opos + 1] = table[((group >> 20) & 0x3F) as usize];
if config.no_padding {
opos += 2;
} else {
// PAD-LEN: 2
output[opos + 2] = b'=';
output[opos + 3] = b'=';
opos += 4;
}
}
2 => {
let group = u32::from_be_bytes([input[ipos + 0], input[ipos + 1], 0, 0]);
output[opos + 0] = table[((group >> 26) & 0x3F) as usize];
output[opos + 1] = table[((group >> 20) & 0x3F) as usize];
output[opos + 2] = table[((group >> 14) & 0x3F) as usize];
if config.no_padding {
opos += 3;
} else {
// PAD-LEN: 1
output[opos + 3] = b'=';
opos += 4;
}
}
_ => unreachable!(),
}
opos
}
pub fn decode<D: AsRef<[u8]>>(input: D) -> Result<Vec<u8>, Error> {
decode_with_config(input, DEFAULT_CONFIG)
}
pub fn decode_with_config<D: AsRef<[u8]>>(input: D, config: Config) -> Result<Vec<u8>, Error> {
let input = input.as_ref();
if input.is_empty() {
return Ok(Vec::new());
}
let ilen = input.len();
let olen = decode_buffer_len(ilen);
let mut output = vec![0u8; olen];
let amt = decode_to_slice_with_config(input, &mut output, config)?;
if amt < olen {
output.truncate(amt);
}
Ok(output)
}
pub fn urlsafe_decode<D: AsRef<[u8]>>(input: D) -> Result<Vec<u8>, Error> {
urlsafe_decode_with_config(input, DEFAULT_CONFIG)
}
pub fn urlsafe_decode_with_config<D: AsRef<[u8]>>(
input: D,
config: Config,
) -> Result<Vec<u8>, Error> {
let input = input.as_ref();
if input.is_empty() {
return Ok(Vec::new());
}
let ilen = input.len();
let olen = decode_buffer_len(ilen);
let mut output = vec![0u8; olen];
let amt = urlsafe_decode_to_slice_with_config(input, &mut output, config)?;
if amt < olen {
output.truncate(amt);
}
Ok(output)
}
#[inline]
pub fn decode_to_slice<R: AsRef<[u8]>, W: AsMut<[u8]>>(
input: R,
output: &mut W,
) -> Result<usize, Error> {
decode_to_slice_with_config(input, output, DEFAULT_CONFIG)
}
#[inline]
pub fn decode_to_slice_with_config<R: AsRef<[u8]>, W: AsMut<[u8]>>(
input: R,
output: &mut W,
config: Config,
) -> Result<usize, Error> {
decode_to_slice_inner(&STANDARD_DECODE_TABLE, input, output, config)
}
#[inline]
pub fn urlsafe_decode_to_slice<R: AsRef<[u8]>, W: AsMut<[u8]>>(
input: R,
output: &mut W,
) -> Result<usize, Error> {
urlsafe_decode_to_slice_with_config(input, output, DEFAULT_CONFIG)
}
#[inline]
pub fn urlsafe_decode_to_slice_with_config<R: AsRef<[u8]>, W: AsMut<[u8]>>(
input: R,
output: &mut W,
config: Config,
) -> Result<usize, Error> {
decode_to_slice_inner(&URL_SAFE_DECODE_TABLE, input, output, config)
}
#[inline]
fn decode_to_slice_inner<R: AsRef<[u8]>, W: AsMut<[u8]>>(
table: &[u8; 256],
input: R,
output: &mut W,
config: Config,
) -> Result<usize, Error> {
let input = input.as_ref();
let output = output.as_mut();
let ilen = input.len();
let mut ipos = 0usize; // input data index
let mut opos = 0usize; // output data index
let mut group = 0u32; // 3 bytes encode to 4 base64 character.
let mut gpos = 0u8; // group bit index
// PADDING-LEN
let mut plen = 0usize;
while ipos < ilen {
let val = table[input[ipos] as usize];
match val {
____ => {
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::InvalidCodedCharacter,
});
}
_EXT => {
// DECODE-PADDING DATA
plen = 1;
ipos += 1;
if ipos < ilen {
let val = table[input[ipos] as usize];
if val != _EXT {
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::InvalidPaddingCharacter,
});
}
plen = 2;
ipos += 1;
}
// NOTE: 忽略后续的字符,即便它不是合法的填充字符 `=`。
break;
}
_ => {
match gpos {
0 => {
group = (val as u32) << 26;
gpos = 6;
}
6 => {
group |= (val as u32) << 20;
gpos = 12;
}
12 => {
group |= (val as u32) << 14;
gpos = 18;
}
18 => {
group |= (val as u32) << 8;
let [b1, b2, b3, _] = group.to_be_bytes();
output[opos + 0] = b1;
output[opos + 1] = b2;
output[opos + 2] = b3;
opos += 3;
gpos = 0;
}
_ => unreachable!(),
}
ipos += 1;
}
}
}
// Check trailing bits
match gpos {
0 => {}
6 => {
// Last 6-bits was droped.
// NOTE: 发生这种情况,一般是数据被截断了。
ipos -= 1;
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::InvalidPaddingLength,
});
}
12 => {
// Last 4-bits was droped.
let [b1, b2, _, _] = group.to_be_bytes();
output[opos + 0] = b1;
opos += 1;
if !config.no_padding {
// NOTE: 检查 PADDING 长度.
if plen != 2 {
ipos -= 1;
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::InvalidPaddingLength,
});
}
}
if !config.allow_trailing_non_zero_bits && (b2 << 4) > 0 {
// NOTE: 不允许直接忽略尾随的 NonZero bits.
ipos -= 1;
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::TrailingNonZeroBits,
});
}
}
18 => {
// Last 2-bits was droped.
let [b1, b2, b3, _] = group.to_be_bytes();
output[opos + 0] = b1;
output[opos + 1] = b2;
opos += 2;
if !config.no_padding {
// NOTE: 检查 PADDING 长度.
if plen != 1 {
ipos -= 1;
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::InvalidPaddingLength,
});
}
}
if !config.allow_trailing_non_zero_bits && (b3 << 2) > 0 {
// NOTE: 不允许直接忽略尾随的 NonZero bits.
ipos -= 1;
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::TrailingNonZeroBits,
});
}
}
_ => unreachable!(),
}
Ok(opos)
}
// 7. Forgiving base64
// https://infra.spec.whatwg.org/#forgiving-base64
//
// ASCII whitespace is U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, or U+0020 SPACE.
// 0x09 0x0a 0x0c 0x0d 0x20
//
// const TAB: u8 = 0x09; // 9 \t
// const LF: u8 = 0x0a; // 10 \n
// const FF: u8 = 0x0c; // 12
// const CR: u8 = 0x0d; // 13 \r
// const SPACE: u8 = 0x20; // 32
const SKIP: u8 = 0xfd;
const PADB: u8 = 0x3d; // b'='
static FORGIVING_TABLE_INV: [u8; 256] = [
// b'\t' b'\n' 0x0c b'\r'
____, ____, ____, ____, ____, ____, ____, ____, ____, SKIP, SKIP, ____, SKIP, SKIP, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
// b' ' b'+' b'/'
SKIP, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, 0x3e, ____, ____, ____, 0x3f,
// 0 1 2 3 4 5 6 7 8 9 b'='
0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, ____, ____, ____, ____, ____, ____,
// A B C D E F G H I J K L M N O
____, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e,
// P Q R S T U V W X Y Z
0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, ____, ____, ____, ____, ____,
// a b c d e f g h i j k l m n o
____, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f, 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28,
// p q r s t u v w x y z
0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____,
];
#[inline]
pub fn forgiving_decode<R: AsRef<[u8]>>(input: R) -> Result<Vec<u8>, Error> {
let input = input.as_ref();
if input.is_empty() {
return Ok(Vec::new());
}
let ilen = input.len();
let olen = decode_buffer_len(ilen);
let mut output = vec![0u8; olen];
let amt = forgiving_decode_to_slice(input, &mut output)?;
if amt < olen {
output.truncate(amt);
}
Ok(output)
}
#[inline]
pub fn forgiving_decode_to_slice<R: AsRef<[u8]>, W: AsMut<[u8]>>(
input: R,
output: &mut W,
) -> Result<usize, Error> {
let input = input.as_ref();
let output = output.as_mut();
let ilen = input.len();
let mut ipos = 0usize; // input data index
let mut opos = 0usize; // output data index
let mut group = 0u32; // 3 bytes encode to 4 base64 character.
let mut gpos = 0u8; // group bit index
// 1. Remove all ASCII whitespace from data.
let mut sp_len = 0usize;
for i in 0..ilen {
let v = FORGIVING_TABLE_INV[input[i] as usize];
if v == SKIP {
sp_len += 1;
}
}
// PADDING-LEN
let pad_len = {
let mut len = 0usize;
let mut i = ilen;
while i > 0 {
if input[i - 1] == PADB {
len += 1;
i -= 1;
} else {
break;
}
}
len
};
if pad_len > 2 {
return Err(Error {
pos: 0,
byte: input[0],
kind: ErrorKind::InvalidPaddingLength,
});
}
// 2. If data’s code point length divides by 4 leaving no remainder, then:
let mut dlen = ilen - sp_len;
if dlen % 4 == 0 {
// 2-1. If data ends with one or two U+003D (=) code points, then remove them from data.
dlen -= pad_len;
}
// 3. If data’s code point length divides by 4 leaving a remainder of 1, then return failure.
if dlen % 4 == 1 {
return Err(Error {
pos: 0,
byte: input[0],
kind: ErrorKind::TrailingUnPaddedBits,
});
}
let input = &input[..ilen - pad_len];
let ilen = input.len();
while ipos < ilen {
let val = FORGIVING_TABLE_INV[input[ipos] as usize];
match val {
____ => {
return Err(Error {
pos: ipos,
byte: input[ipos],
kind: ErrorKind::InvalidCodedCharacter,
});
}
SKIP => {
ipos += 1;
}
_ => {
match gpos {
0 => {
group = (val as u32) << 26;
gpos = 6;
}
6 => {
group |= (val as u32) << 20;
gpos = 12;
}
12 => {
group |= (val as u32) << 14;
gpos = 18;
}
18 => {
group |= (val as u32) << 8;
let [b1, b2, b3, _] = group.to_be_bytes();
output[opos + 0] = b1;
output[opos + 1] = b2;
output[opos + 2] = b3;
opos += 3;
gpos = 0;
}
_ => unreachable!(),
}
ipos += 1;
}
}
}
// Check trailing bits
match gpos {
0 => {}
6 => {
// Last 6-bits was droped.
// NOTE: 在输入为 Byte 数据流的情况下,剩下 6-bits 的情况永远不会发生。
unreachable!()
}
12 => {
// Last 4-bits was droped.
//
// If it contains 12 bits, then discard the last four and interpret the remaining eight as an 8-bit big-endian number.
let [b1, _, _, _] = group.to_be_bytes();
output[opos + 0] = b1;
opos += 1;
}
18 => {
// Last 2-bits was droped.
//
// If it contains 18 bits, then discard the last two and interpret the remaining 16 as two 8-bit big-endian numbers.
let [b1, b2, _, _] = group.to_be_bytes();
output[opos + 0] = b1;
output[opos + 1] = b2;
opos += 2;
}
_ => unreachable!(),
}
Ok(opos)
}
#[test]
fn test_base64() {
// 10. Test Vectors
// https://tools.ietf.org/html/rfc4648#section-10
// Standard encode/decode
assert_eq!(encode(""), "");
assert_eq!(encode("f"), "Zg==");
assert_eq!(encode("fo"), "Zm8=");
assert_eq!(encode("foo"), "Zm9v");
assert_eq!(encode("foob"), "Zm9vYg==");
assert_eq!(encode("fooba"), "Zm9vYmE=");
assert_eq!(encode("foobar"), "Zm9vYmFy");
assert_eq!(decode("").unwrap(), b"");
assert_eq!(decode("Zg==").unwrap(), b"f");
assert_eq!(decode("Zm8=").unwrap(), b"fo");
assert_eq!(decode("Zm9v").unwrap(), b"foo");
assert_eq!(decode("Zm9vYg==").unwrap(), b"foob");
assert_eq!(decode("Zm9vYmE=").unwrap(), b"fooba");
assert_eq!(decode("Zm9vYmFy").unwrap(), b"foobar");
// URL-SAFE encode/decode
assert_eq!(urlsafe_decode(urlsafe_encode("")).unwrap(), b"");
assert_eq!(urlsafe_decode(urlsafe_encode("f")).unwrap(), b"f");
assert_eq!(urlsafe_decode(urlsafe_encode("fo")).unwrap(), b"fo");
assert_eq!(urlsafe_decode(urlsafe_encode("foo")).unwrap(), b"foo");
assert_eq!(urlsafe_decode(urlsafe_encode("foob")).unwrap(), b"foob");
assert_eq!(urlsafe_decode(urlsafe_encode("fooba")).unwrap(), b"fooba");
assert_eq!(urlsafe_decode(urlsafe_encode("foobar")).unwrap(), b"foobar");
// Base64
// Examples
// https://en.wikipedia.org/wiki/Base64#Examples
let input = "Man is distinguished, not only by his reason, but by this singular passion from other animals, \
which is a lust of the mind, that by a perseverance of delight in the continued and indefatigable \
generation of knowledge, exceeds the short vehemence of any carnal pleasure.";
let output = "TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlz\
IHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2Yg\
dGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu\
dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRo\
ZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=";
assert_eq!(encode(input), output);
}
#[test]
fn test_base64_trailing_bits() {
assert_eq!(encode("a"), "YQ==");
assert_eq!(encode("a\u{10}"), "YRA=");
assert!(decode("YQ").is_err());
assert!(decode("YQ=").is_err());
assert_eq!(std::str::from_utf8(&decode("YQ==").unwrap()), Ok("a"));
assert!(decode("YR").is_err());
assert!(decode("YR=").is_err());
assert!(decode("YRA").is_err());
assert_eq!(std::str::from_utf8(&decode("YR==").unwrap()), Ok("a"));
assert_eq!(std::str::from_utf8(&decode("YRA=").unwrap()), Ok("a\u{10}"));
}
#[test]
fn test_forgiving_decode() {
// https://infra.spec.whatwg.org/#forgiving-base64
assert_eq!(
std::str::from_utf8(&forgiving_decode("YQ").unwrap()),
Ok("a")
);
assert_eq!(
std::str::from_utf8(&forgiving_decode("YR").unwrap()),
Ok("a")
);
}
// #[cfg(test)]
// #[bench]
// fn bench_encode(b: &mut test::Bencher) {
// let input = b"fooba";
// let ilen = input.len();
// let olen = encode_buffer_len(ilen, DEFAULT_CONFIG);
// let mut output = vec![b'='; olen];
// b.iter(|| {
// encode_to_slice(input, &mut output)
// })
// }
// #[cfg(test)]
// #[bench]
// fn bench_decode(b: &mut test::Bencher) {
// let input = b"Zm9vYmE=";
// let ilen = input.len();
// let olen = decode_buffer_len(ilen);
// let mut output = vec![0u8; olen];
// b.iter(|| {
// decode_to_slice(input, &mut output).unwrap()
// })
// }
// #[cfg(test)]
// #[bench]
// fn bench_crate_encode(b: &mut test::Bencher) {
// use base64 as base64_raw;
// let input = b"fooba";
// let ilen = input.len();
// let olen = encode_buffer_len(ilen, DEFAULT_CONFIG);
// let mut output = vec![b'='; olen];
// b.iter(|| {
// base64_raw::encode_config_slice(input, base64_raw::STANDARD, &mut output)
// })
// }
// #[cfg(test)]
// #[bench]
// fn bench_crate_decode(b: &mut test::Bencher) {
// use base64 as base64_raw;
// let input = b"Zm9vYmE=";
// let ilen = input.len();
// let olen = decode_buffer_len(ilen);
// let mut output = vec![0u8; olen];
// b.iter(|| {
// base64_raw::decode_config_slice(input, base64_raw::STANDARD, &mut output).unwrap()
// })
// }
| 35.204691 | 130 | 0.476743 |
9eb6c21b76814ce155d1e4ab541a60682fc10a4d | 168 | sql | SQL | sql/0002_CREATE_template_table.sql | tremaina/postgresql-docker-template | 3276454574087e152e251343765b1e9e58de28f1 | [
"MIT"
] | null | null | null | sql/0002_CREATE_template_table.sql | tremaina/postgresql-docker-template | 3276454574087e152e251343765b1e9e58de28f1 | [
"MIT"
] | null | null | null | sql/0002_CREATE_template_table.sql | tremaina/postgresql-docker-template | 3276454574087e152e251343765b1e9e58de28f1 | [
"MIT"
] | null | null | null | CREATE SEQUENCE template.template_id_seq;
CREATE TABLE template.templates(
id int PRIMARY KEY DEFAULT nextval('template.template_id_seq'),
name varchar(255)
);
| 28 | 67 | 0.779762 |
03284455c60788e79b895965f198f68488c893ab | 345 | asm | Assembly | educational-material/3sem/demo/sem3-07/helloworld.asm | AOrps/SigMal | 35d006aa5947061116f35cc583c0236df9c1d200 | [
"WTFPL"
] | 3 | 2021-09-06T14:46:13.000Z | 2021-12-14T17:50:06.000Z | educational-material/3sem/demo/sem3-07/helloworld.asm | AOrps/SigMal | 35d006aa5947061116f35cc583c0236df9c1d200 | [
"WTFPL"
] | 14 | 2020-08-24T22:59:35.000Z | 2021-12-13T00:44:15.000Z | educational-material/3sem/demo/sem3-07/helloworld.asm | AOrps/SigMal | 35d006aa5947061116f35cc583c0236df9c1d200 | [
"WTFPL"
] | 2 | 2021-01-22T15:09:23.000Z | 2021-03-22T23:30:31.000Z | section .data ; data segment
msg db "Hello, World!", 0x0a ; String and Newline Char
section .text ; text segment
global _start ; Default entry point for ELF Linking
_start:
mov rax, 4
mov rbx, 1
mov rcx, msg
mov rdx, 14
int 0x80
mov rax, 1
mov rbx, 0
int 0x80
; To Compile:
; nasm -f elf64 helloworld.asm
; ld -o helloInAsm helloworld.o
| 15.681818 | 54 | 0.713043 |
7491067606024eaba9016c190724a2fe20e9d8d4 | 5,212 | h | C | engine/public/host/host.h | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | 1 | 2021-03-02T22:22:38.000Z | 2021-03-02T22:22:38.000Z | engine/public/host/host.h | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | null | null | null | engine/public/host/host.h | pikacuh/ink | 08c2abb5a40a3c75fbaa636d39e572dea3547960 | [
"Apache-2.0"
] | 1 | 2021-03-02T22:23:12.000Z | 2021-03-02T22:23:12.000Z | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef INK_ENGINE_PUBLIC_HOST_HOST_H_
#define INK_ENGINE_PUBLIC_HOST_HOST_H_
#include <sys/types.h>
#include <cstdint>
#include <string>
#include <vector>
#include "ink/engine/public/host/ihost.h"
#include "ink/engine/public/types/uuid.h"
#include "ink/proto/elements_portable_proto.pb.h"
#include "ink/proto/mutations_portable_proto.pb.h"
#include "ink/proto/scene_change_portable_proto.pb.h"
#include "ink/proto/sengine_portable_proto.pb.h"
namespace ink {
// No-op implementation of IHost. You must implement BindScreen().
//
// Host is 72.1% of the way through an API change. See doc for details.
// https://docs.google.com/document/d/1CtUPIdad7VyoXg5EKgNXReEWicfXqpIydaALSzz64Q8
class Host : public IHost {
public:
~Host() override {}
// IPlatform
void RequestFrame() override {
// no-op.... the default environment assumes it is always running
// at 60fps (see below). A frame will happen... soon.
}
void SetTargetFPS(uint32_t fps) override {}
uint32_t GetTargetFPS() const override { return 60; }
void RequestImage(const std::string& uri) override {}
std::string GetPlatformId() const override { return ""; }
void SetCursor(const ink::proto::Cursor& cursor) override {}
// The inherited Host behavior is to preload shaders during engine
// construction. This is slow, but theoretically prevents jank when starting
// to draw.
bool ShouldPreloadShaders() const override { return true; }
// Render the given text proto at the given bitmap dimensions.
std::unique_ptr<ClientBitmap> RenderText(const proto::text::Text& text,
int width_px,
int height_px) override {
return nullptr;
}
// You must implement BindScreen.
void BindScreen() override = 0;
// IEngineListener
void ImageExportComplete(uint32_t width_px, uint32_t height_px,
const std::vector<uint8_t>& img_bytes,
uint64_t fingerprint) override {}
void PdfSaveComplete(const std::string& pdf_bytes) override {}
void ToolEvent(const proto::ToolEvent& tool_event) override {}
void SequencePointReached(int32_t id) override {}
void UndoRedoStateChanged(bool canUndo, bool canRedo) override {}
void FlagChanged(const proto::Flag& flag, bool enabled) override {}
void LoggingEventFired(
const ::logs::proto::research::ink::InkEvent& event) override {}
void CameraMovementStateChanged(bool is_moving) override {}
void BlockingStateChanged(bool is_blocked) override {}
// IElementListener
void ElementsAdded(const proto::ElementBundleAdds& element_bundle_adds,
const proto::SourceDetails& source_details) override {}
void ElementsRemoved(const proto::ElementIdList& removed_ids,
const proto::SourceDetails& source_details) override {}
void ElementsReplaced(const proto::ElementBundleReplace& replace,
const proto::SourceDetails& source_details) override {}
void ElementsTransformMutated(
const proto::ElementTransformMutations& unsafe_mutations,
const proto::SourceDetails& source_details) override {}
void ElementsVisibilityMutated(
const proto::ElementVisibilityMutations& unsafe_mutations,
const proto::SourceDetails& source_details) override {}
void ElementsOpacityMutated(
const proto::ElementOpacityMutations& unsafe_mutations,
const proto::SourceDetails& source_details) override {}
void ElementsZOrderMutated(
const proto::ElementZOrderMutations& unsafe_mutations,
const proto::SourceDetails& source_details) override {}
// IPagePropertiesListener
void PageBoundsChanged(const proto::Rect& bounds,
const proto::SourceDetails& sourceDetails) override {}
void BackgroundColorChanged(
const proto::Color& color,
const proto::SourceDetails& sourceDetails) override {}
void BackgroundImageChanged(
const proto::BackgroundImageInfo& image,
const proto::SourceDetails& sourceDetails) override {}
void BorderChanged(const proto::Border& border,
const proto::SourceDetails& sourceDetails) override {}
void GridChanged(const proto::GridInfo& grid_info,
const proto::SourceDetails& source_details) override {}
// IMutationListener
void OnMutation(const proto::mutations::Mutation& unsafe_mutation) override {}
// ISceneChangeListener
void SceneChanged(
const proto::scene_change::SceneChangeEvent& scene_change) override {}
};
} // namespace ink
#endif // INK_ENGINE_PUBLIC_HOST_HOST_H_
| 41.365079 | 82 | 0.720453 |
097ba9916edd315984e256ff63f1b280094c534b | 495 | swift | Swift | V-45/Vision45/Util/Components/Buttons/RegisterButton.swift | shndrs/Generic-Tutorial | a4d776193fcac2e31f656535e18d17b463390028 | [
"MIT"
] | 3 | 2018-12-18T13:14:47.000Z | 2019-01-20T22:44:04.000Z | V-45/Vision45/Util/Components/Buttons/RegisterButton.swift | shndrs/Gent | a4d776193fcac2e31f656535e18d17b463390028 | [
"MIT"
] | null | null | null | V-45/Vision45/Util/Components/Buttons/RegisterButton.swift | shndrs/Gent | a4d776193fcac2e31f656535e18d17b463390028 | [
"MIT"
] | null | null | null | //
// RegisterButton.swift
// WTFUserInterface
//
// Created by shndrs on 5/26/20.
// Copyright © 2020 shndrs. All rights reserved.
//
import UIKit
final class RegisterButton: UIButton {
override func layoutSubviews() {
super.layoutSubviews()
setup()
}
}
// MARK: - Methods
fileprivate extension RegisterButton {
func setup() {
self.titleLabel?.font = Font.bold.return(size: 15)
self.backgroundColor = Colors.clear
}
}
| 16.5 | 58 | 0.622222 |
b50d9f444a29d56bfafc94d445f7b200146815a4 | 3,827 | lua | Lua | Core/Lib/Model/Table.lua | kapresoft/wow-addon-devtools | 91b1807ed437add07aeef86998375f96aaa38f44 | [
"MIT"
] | null | null | null | Core/Lib/Model/Table.lua | kapresoft/wow-addon-devtools | 91b1807ed437add07aeef86998375f96aaa38f44 | [
"MIT"
] | null | null | null | Core/Lib/Model/Table.lua | kapresoft/wow-addon-devtools | 91b1807ed437add07aeef86998375f96aaa38f44 | [
"MIT"
] | null | null | null | local table, tostring, format, pairs, print, ipairs, type, unpack =
table, tostring, string.format, pairs, print, ipairs, type, unpack
-- #############################################################
local T = {}
DEVT_Table = T
-- ###################### Start Here ###########################
local function Trim(s) return (s:gsub("^%s*(.-)%s*$", "%1")) end
function T.parseSpaceSeparatedVar(text)
local rt = {}
for a in text:gmatch("%S+") do table.insert(rt, a) end
return rt
end
function T.parseCSV(text)
local rt = {}
for a,v in text:gmatch("([^,]+)") do
local a2 = Trim(a)
table.insert(rt, a2)
end
return rt
end
function T.size(t)
local count = 0
for _ in pairs(t) do count = count + 1 end
return count
end
function T.isEmpty(t)
if t == nil then return true end
return table.size(t) <= 0
end
function T.members()
print('table members: ')
for key, _ in pairs(T) do
print(" " .. key);
end
end
function T.shallow_copy(t)
local t2 = {}
for k,v in pairs(t) do
t2[k] = v
end
return t2
end
function T.append(source, target)
local t2 = target or {}
for k,v in pairs(source) do
if t2[k] == nil then t2[k] = v end
end
return t2
end
function T.sliceAndPack(t, startIndex)
local sliced = T.slice(t, startIndex)
if type(unpack) ~= 'nil' then
return T.pack(unpack(sliced))
end
return T.pack(table.unpack(sliced))
end
---Fail-safe unpack
---@param t table The table to unpack
function T.unpackIt(t)
if type(unpack) == 'function' then
return unpack(t)
end
return table.unpack(t)
end
function T.slice (t, startIndex, stopIndex)
local pos, new = 1, {}
if not stopIndex then stopIndex = #t end
for i = startIndex, stopIndex do
new[pos] = t[i]
pos = pos + 1
end
return new
end
function T.concatkv(t)
if type(t) ~= 'table' then return tostring(t) end
local s = '{ '
for k,v in pairs(t) do
if type(k) ~= 'number' then k = '"'..k..'"' end
s = s .. '['..k..'] = ' .. T.concatkv(v) .. ','
end
return s .. '} '
end
function T.getSortedKeys(t)
if type(t) ~= 'table' then return tostring(t) end
local keys = {}
for k in pairs(t) do table.insert(keys, k) end
table.sort(keys)
return keys
end
function T.concatkvs(t)
if type(t) ~= 'table' then return tostring(t) end
local keys = T.getSortedKeys(t)
local s = '{ \n'
for _, k in pairs(keys) do
local ko = k
if type(k) ~= 'number' then k = '"'..k..'"' end
if type(t[ko]) ~= 'function' then
s = s .. '['..k..'] = ' .. T.concatkvs(t[ko]) .. ','
end
end
return s .. '} '
end
function T.toString(t) return T.concatkv(t) end
function T.toStringSorted(t) return T.concatkvs(t) end
function T.toString2(t)
if type(t) ~= 'table' then return tostring(t) end
local s = '\n{'
for k,v in pairs(t) do
s = string.format("%s\n %s: %s,", s, tostring(k), T.toString2(v))
end
return s .. '\n}'
end
function T.pack(...)
return { len = select("#", ...), ... }
end
function T.isTable(t) return type(t) == 'table' end
function T.isNotTable(t) return not T.isTable(t) end
function T.print(t) print(T.toString(t)) end
function T.printkv(t) print(T.concatkv(t)) end
function T.printkvs(t)
local keys = T.getSortedKeys(t)
for _, k in ipairs(keys) do print(k, t[k]) end
end
function T.println(t)
if type(t) ~= 'table' then return tostring(t) end
for k,v in pairs(t) do
print(format("%s: %s", tostring(k), T.println(v)))
end
end
function T.printG() T.printkvs(_G) end
function T.printLoaded() T.printkvs(package.loaded) end
-- ### Redirects ---
function T.insert(list, value) table.insert(list, value) end
| 24.221519 | 76 | 0.57434 |
74d16372f22728716bd0ead6a7ecd4846eaa84be | 682 | rs | Rust | clients/rust/src/models/agent_health_response.rs | rivet-gg/Nomad.OAS | d8b03dbe3ddc8ec5e85a60406661f504b184f746 | [
"MIT"
] | 2 | 2021-06-11T17:02:34.000Z | 2021-10-10T14:39:34.000Z | clients/rust/src/models/agent_health_response.rs | mrmstn/Nomad.OAS | 48e5d048c842359178544db04c53e14ad5e39509 | [
"MIT"
] | null | null | null | clients/rust/src/models/agent_health_response.rs | mrmstn/Nomad.OAS | 48e5d048c842359178544db04c53e14ad5e39509 | [
"MIT"
] | 1 | 2021-09-04T13:08:30.000Z | 2021-09-04T13:08:30.000Z | /*
* Nomad
*
* Nomad OpenApi specification
*
* The version of the OpenAPI document: 0.11.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct AgentHealthResponse {
#[serde(rename = "Client", skip_serializing_if = "Option::is_none")]
pub client: Option<Box<crate::models::AgentHealth>>,
#[serde(rename = "Server", skip_serializing_if = "Option::is_none")]
pub server: Option<Box<crate::models::AgentHealth>>,
}
impl AgentHealthResponse {
pub fn new() -> AgentHealthResponse {
AgentHealthResponse {
client: None,
server: None,
}
}
}
| 21.3125 | 72 | 0.645161 |
90573d0460805d7638f3210fcfd7460f52a04f7e | 9,119 | py | Python | W4/task2.py | mcv-m6-video/mcv-m6-2021-team6 | 701fc1420930342f3b3733e8f8fc4675c21d8f3f | [
"Unlicense"
] | null | null | null | W4/task2.py | mcv-m6-video/mcv-m6-2021-team6 | 701fc1420930342f3b3733e8f8fc4675c21d8f3f | [
"Unlicense"
] | 2 | 2021-03-23T10:34:33.000Z | 2021-03-23T18:54:28.000Z | W4/task2.py | mcv-m6-video/mcv-m6-2021-team6 | 701fc1420930342f3b3733e8f8fc4675c21d8f3f | [
"Unlicense"
] | 1 | 2021-03-08T21:13:15.000Z | 2021-03-08T21:13:15.000Z | from Video import *
import cv2
import numpy as np
from tqdm import trange
def task2_1(video_test = 'video', mode_stabilization = 'mean'):
video = Video(f"videos/{video_test}_test.mp4", 500, 250)
out = cv2.VideoWriter(f'{video.resultsPath}/stabilization_{video_test}_{mode_stabilization}_result.mp4',
cv2.VideoWriter_fourcc(*'XVID'), video.fps, (500, 250))
previous_frame = None
acc = np.zeros(2)
#acc_list = []
for i in trange(0, int(video.num_frames)):
success, frame = video.capture.read()
frame = cv2.resize(frame, (500, 250), interpolation=cv2.INTER_AREA)
if not success:
break
if i == 0:
frame_stabilized = frame
else:
optical_flow = block_matching(previous_frame, frame, 32, 16,'forward', 'eucl')
frame_stabilized = None
average_optical_flow = None
#We calculate the stabilization:
if(mode_stabilization == 'mean'):
x = optical_flow[:, :, 0].mean()
y = optical_flow[:, :, 1].mean()
average_optical_flow=-np.array([x, y])
#average_optical_flow = - np.array(optical_flow.mean(axis=0).mean(axis=0), dtype=np.float32)
if (mode_stabilization == 'median'):
x, y = np.median(optical_flow[:, :, 0]), np.median(optical_flow[:, :, 1])
average_optical_flow=np.array([x, y])
acc += average_optical_flow
matrix = np.float32([[1, 0, acc[0]], [0, 1, acc[1]]])
frame_stabilized = cv2.warpAffine(frame, matrix, (500, 250))
previous_frame = frame
#acc_list.append(acc)
out.write(frame_stabilized)
out.release()
def task2_2(SMOOTHING_RADIUS = 50):
video = Video("videos/video_test.mp4", 500, 250)
# The larger the more stable the video, but less reactive to sudden panning
out = cv2.VideoWriter(f'{video.resultsPath}/pointmaching_result.mp4',
cv2.VideoWriter_fourcc(*'XVID'), video.fps, (video.width, video.height))
# Read input video
cap = video.capture
# Get frame count
n_frames = video.num_frames
# Get width and height of video stream
w = video.width
h = video.height
# Read first frame
_, prev = cap.read()
# Convert frame to grayscale
prev_gray = cv2.cvtColor(prev, cv2.COLOR_BGR2GRAY)
# Pre-define transformation-store array
transforms = np.zeros((n_frames - 1, 3), np.float32)
for i in trange(230):
# Detect feature points in previous frame
prev_pts = cv2.goodFeaturesToTrack(prev_gray,
maxCorners=200,
qualityLevel=0.01,
minDistance=30,
blockSize=3)
# Read next frame
success, curr = cap.read()
if not success:
break
# Convert to grayscale
curr_gray = cv2.cvtColor(curr, cv2.COLOR_BGR2GRAY)
# Calculate optical flow (i.e. track feature points)
curr_pts, status, err = cv2.calcOpticalFlowPyrLK(prev_gray, curr_gray, prev_pts, None)
# Sanity check
assert prev_pts.shape == curr_pts.shape
# Filter only valid points
idx = np.where(status == 1)[0]
prev_pts = prev_pts[idx]
curr_pts = curr_pts[idx]
# Find transformation matrix
m = cv2.estimateRigidTransform(prev_pts, curr_pts, fullAffine=False) # will only work with OpenCV-3 or less
# Extract traslation
dx = m[0, 2]
dy = m[1, 2]
# Extract rotation angle
da = np.arctan2(m[1, 0], m[0, 0])
# Store transformation
transforms[i] = [dx, dy, da]
# Move to next frame
prev_gray = curr_gray
#print("Frame: " + str(i) + "/" + str(n_frames) + " - Tracked points : " + str(len(prev_pts)))
# Compute trajectory using cumulative sum of transformations
trajectory = np.cumsum(transforms, axis=0)
# Create variable to store smoothed trajectory
smoothed_trajectory = smooth(trajectory)
# Calculate difference in smoothed_trajectory and trajectory
difference = smoothed_trajectory - trajectory
# Calculate newer transformation array
transforms_smooth = transforms + difference
# Reset stream to first frame
cap.set(cv2.CAP_PROP_POS_FRAMES, 0)
# Write n_frames-1 transformed frames
for i in range(n_frames - 2):
# Read next frame
success, frame = cap.read()
if not success:
break
# Extract transformations from the new transformation array
dx = transforms_smooth[i, 0]
dy = transforms_smooth[i, 1]
da = transforms_smooth[i, 2]
# Reconstruct transformation matrix accordingly to new values
m = np.zeros((2, 3), np.float32)
m[0, 0] = np.cos(da)
m[0, 1] = -np.sin(da)
m[1, 0] = np.sin(da)
m[1, 1] = np.cos(da)
m[0, 2] = dx
m[1, 2] = dy
# Apply affine wrapping to the given frame
frame_stabilized = cv2.warpAffine(frame, m, (w, h))
# Fix border artifacts
frame_stabilized = fixBorder(frame_stabilized)
# Write the frame to the file
frame_out = cv2.hconcat([frame, frame_stabilized])
# If the image is too big, resize it.
#if (frame_out.shape[1] > 1920):
# frame_out = cv2.resize(frame_out, (int(frame_out.shape[1] / 2), int(frame_out.shape[0] / 2)))
cv2.imshow("Before and After", frame_out)
cv2.waitKey(10)
out.write(frame_out)
# Release video
cap.release()
out.release()
# Close windows
cv2.destroyAllWindows()
def fixBorder(frame):
s = frame.shape
# Scale the image 4% without moving the center
T = cv2.getRotationMatrix2D((s[1]/2, s[0]/2), 0, 1.04)
frame = cv2.warpAffine(frame, T, (s[1], s[0]))
return frame
def movingAverage(curve, radius):
window_size = 2 * radius + 1
# Define the filter
f = np.ones(window_size)/window_size
# Add padding to the boundaries
curve_pad = np.lib.pad(curve, (radius, radius), 'edge')
# Apply convolution
curve_smoothed = np.convolve(curve_pad, f, mode='same')
# Remove padding
curve_smoothed = curve_smoothed[radius:-radius]
# return smoothed curve
return curve_smoothed
def smooth(trajectory):
smoothed_trajectory = np.copy(trajectory)
# Filter the x, y and angle curves
for i in range(3):
smoothed_trajectory[:,i] = movingAverage(trajectory[:,i], radius=100)
return smoothed_trajectory
def block_matching(img_prev: np.ndarray, img_next: np.ndarray, block_size, search_area, motion_type, metric):
if motion_type == 'forward':
reference = img_prev
target = img_next
elif motion_type == 'backward':
reference = img_next
target = img_prev
assert (reference.shape == target.shape)
height, width = reference.shape[:2]
motion_field = np.zeros((height, width, 2), dtype=float)
# Get block in the first image:
for row in range(0, height - block_size, block_size):
for col in range(0, width - block_size, block_size):
# block matching
dist_min = np.inf
rowb = max(row - search_area, 0)
colb = max(col - search_area, 0)
# Get search area and compare the candidate blocks in the image 2 with the previous block in the image 1
r = 0
c = 0
referenceb = reference[row:row + block_size, col:col + block_size]
targetb = target[rowb: min(row + block_size + search_area, height),
colb: min(col + block_size + search_area, width)]
for row_s in range(targetb.shape[0]-referenceb.shape[0]):
for col_s in range(targetb.shape[1]-referenceb.shape[1]):
# Compute the distance between blocks
dist = 0
x1 = referenceb
x2 = targetb[row_s:row_s+referenceb.shape[0], col_s:col_s+referenceb.shape[1]]
if metric == 'eucl':
dist = np.sqrt(np.sum((x1 - x2) ** 2))
elif metric == 'mse':
dist = np.mean((x1 - x2) ** 2)
if dist < dist_min:
r = row_s
c = col_s
dist_min = dist
# Get the flow
v = r - (row - rowb)
u = c - (col - colb)
motion_field[row:row + block_size, col:col + block_size, :] = [u, v]
return motion_field
if __name__ == '__main__':
"""
For task 2_1 you can choose between the following parameters.
Video:
- easyvideo
- video
- film
- hard
Stabilization Mode:
- mean
- ...
"""
task2_1('video', 'median')
"""
For task 2_2
"""
#task2_2()
| 33.281022 | 116 | 0.578572 |
c572d654da8aeaa732d3e3239a9fbeee92ffcd34 | 2,483 | kt | Kotlin | app/src/main/java/io/korti/muffle/listener/VolumeSeekBarChangeListener.kt | korti11/muffle | d97e3dc9ab8f275a1b3f036c47d3a779be631177 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/io/korti/muffle/listener/VolumeSeekBarChangeListener.kt | korti11/muffle | d97e3dc9ab8f275a1b3f036c47d3a779be631177 | [
"Apache-2.0"
] | 10 | 2020-02-06T13:23:53.000Z | 2020-02-26T22:01:33.000Z | app/src/main/java/io/korti/muffle/listener/VolumeSeekBarChangeListener.kt | korti11/muffle | d97e3dc9ab8f275a1b3f036c47d3a779be631177 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Korti
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.korti.muffle.listener
import android.widget.ImageView
import android.widget.SeekBar
class VolumeSeekBarChangeListener(private val imageView: ImageView, private val onIcon: Int, private val offIcon: Int) :
SeekBar.OnSeekBarChangeListener {
private var lastProgress = -1
/**
* Notification that the progress level has changed. Clients can use the fromUser parameter
* to distinguish user-initiated changes from those that occurred programmatically.
*
* @param seekBar The SeekBar whose progress has changed
* @param progress The current progress level. This will be in the range min..max where min
* and max were set by [ProgressBar.setMin] and
* [ProgressBar.setMax], respectively. (The default values for
* min is 0 and max is 100.)
* @param fromUser True if the progress change was initiated by the user.
*/
override fun onProgressChanged(seekBar: SeekBar?, progress: Int, fromUser: Boolean) {
if (progress == 0) {
imageView.setImageDrawable(seekBar?.context?.getDrawable(offIcon))
} else if (lastProgress == 0) {
imageView.setImageDrawable(seekBar?.context?.getDrawable(onIcon))
}
lastProgress = progress
}
/**
* Notification that the user has started a touch gesture. Clients may want to use this
* to disable advancing the seekbar.
* @param seekBar The SeekBar in which the touch gesture began
*/
override fun onStartTrackingTouch(seekBar: SeekBar?) {
// Don't needed
}
/**
* Notification that the user has finished a touch gesture. Clients may want to use this
* to re-enable advancing the seekbar.
* @param seekBar The SeekBar in which the touch gesture began
*/
override fun onStopTrackingTouch(seekBar: SeekBar?) {
// Don't needed
}
} | 38.2 | 120 | 0.692308 |
893bf6f354e417601e9cd06b79e624922d426d41 | 153 | kt | Kotlin | src/main/kotlin/com/severett/kotlincalculator/util/DoubleUtil.kt | severn-everett/KotlinCalculator | ee41b8b6847527bf4d64bd852786bec7c6f8e5e6 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/severett/kotlincalculator/util/DoubleUtil.kt | severn-everett/KotlinCalculator | ee41b8b6847527bf4d64bd852786bec7c6f8e5e6 | [
"Apache-2.0"
] | null | null | null | src/main/kotlin/com/severett/kotlincalculator/util/DoubleUtil.kt | severn-everett/KotlinCalculator | ee41b8b6847527bf4d64bd852786bec7c6f8e5e6 | [
"Apache-2.0"
] | null | null | null | package com.severett.kotlincalculator.util
import kotlin.math.floor
fun Double.checkForInt(): Number = if (this == floor(this)) this.toInt() else this
| 25.5 | 82 | 0.764706 |
40d65cce3621164640a4361b7755eeffcc2c1b84 | 328 | py | Python | section-18-poo/7-multi-inheritance/calendar.py | mugan86/bootcamp-basic-to-expert-from-scratch | 028aab243386e5a75d84aea319c480ec54913c53 | [
"MIT"
] | 31 | 2022-01-19T18:33:40.000Z | 2022-03-29T16:24:44.000Z | section-18-poo/7-multi-inheritance/calendar.py | mugan86/bootcamp-basic-to-expert-from-scratch | 028aab243386e5a75d84aea319c480ec54913c53 | [
"MIT"
] | 1 | 2022-02-09T17:47:17.000Z | 2022-02-09T17:47:17.000Z | section-18-poo/7-multi-inheritance/calendar.py | mugan86/bootcamp-basic-to-expert-from-scratch | 028aab243386e5a75d84aea319c480ec54913c53 | [
"MIT"
] | 4 | 2022-01-20T15:41:09.000Z | 2022-03-29T16:25:08.000Z | class Calendar:
def __init__(self, day, month, year):
print("Clase Base - Calendar")
self.day = day
self.month = month
self.year = year
def __str__(self):
return "{}-{}-{}".format(self.day,
self.month,
self.year) | 27.333333 | 44 | 0.45122 |
497d91b3b48be684f177df2865c6962e2dc4a27c | 29 | html | HTML | test/dummy/app/views/white_vision/test_1.html | rogercampos/white_vision | 320f1ef13277eb8f522b67c9c4590840369402df | [
"MIT"
] | null | null | null | test/dummy/app/views/white_vision/test_1.html | rogercampos/white_vision | 320f1ef13277eb8f522b67c9c4590840369402df | [
"MIT"
] | null | null | null | test/dummy/app/views/white_vision/test_1.html | rogercampos/white_vision | 320f1ef13277eb8f522b67c9c4590840369402df | [
"MIT"
] | null | null | null | <h1>This is test email 1</h1> | 29 | 29 | 0.689655 |
afe76c263901ee617914f8eab7fd495963c7f360 | 763 | rb | Ruby | delivery/demonic.rb | kmindspark/bud-sandbox | 76d77685ed52abf358deb910fa52fa4e444c432c | [
"BSD-3-Clause"
] | 24 | 2015-02-11T11:31:53.000Z | 2021-10-31T20:25:22.000Z | delivery/demonic.rb | bloom-lang/bud-sandbox | 4f654bfa1f20e2e52a574c034c4ec12c3a71875d | [
"BSD-3-Clause"
] | null | null | null | delivery/demonic.rb | bloom-lang/bud-sandbox | 4f654bfa1f20e2e52a574c034c4ec12c3a71875d | [
"BSD-3-Clause"
] | 4 | 2016-10-31T19:54:07.000Z | 2020-12-10T02:45:17.000Z | require 'delivery/delivery'
#intentionally drops messages, but reports success
module DemonicDeliveryControl
state do
#percentage chance of message loss, 0 to 100
interface input, :set_drop_pct, [] => [:pct]
end
end
module DemonicDelivery
include DeliveryProtocol
include DemonicDeliveryControl
state do
table :drop_pct, [] => [:pct]
channel :pipe_chan, [:@dst, :src, :ident] => [:payload]
end
bootstrap do
drop_pct <= [[50]]
end
bloom :control do
drop_pct <+- set_drop_pct
end
bloom :snd do
pipe_chan <~ (pipe_in * drop_pct).pairs do |i, p|
if p.pct <= rand(100)
i
end
end
end
bloom :rcv do
pipe_out <= pipe_chan
end
bloom :done do
pipe_sent <= pipe_in
end
end
| 16.955556 | 59 | 0.647444 |
ead8918fbe842bc0dd8031f550df55aab5a695aa | 1,901 | swift | Swift | Example/MapperNativeSDK/Qr/UIView+Anchors.swift | btsdigital/MapperNativeSDK | ddea438551ddd4c8be4a9e60f588ca4f1f063e52 | [
"MIT"
] | 1 | 2021-05-04T07:31:10.000Z | 2021-05-04T07:31:10.000Z | Example/MapperNativeSDK/Qr/UIView+Anchors.swift | btsdigital/MapperNativeSDK | ddea438551ddd4c8be4a9e60f588ca4f1f063e52 | [
"MIT"
] | null | null | null | Example/MapperNativeSDK/Qr/UIView+Anchors.swift | btsdigital/MapperNativeSDK | ddea438551ddd4c8be4a9e60f588ca4f1f063e52 | [
"MIT"
] | null | null | null | import UIKit
extension UIView {
/**
Create constraint from this view to the second view using anchors
- Parameters:
- anchorPath: this view anchor
- to view: second view
- viewAnchorPath: second view anchor
- constant: new constraint constant
*/
func anchor<Anchor, ViewAnchor, AnchorType>(_ anchorPath: KeyPath<UIView, Anchor>,
to view: UIView,
_ viewAnchorPath: KeyPath<UIView, ViewAnchor>,
constant: CGFloat = 0,
identifier: String,
priority: UILayoutPriority?)
where Anchor: NSLayoutAnchor<AnchorType>, ViewAnchor: NSLayoutAnchor<AnchorType> {
translatesAutoresizingMaskIntoConstraints = false
let constraint = self[keyPath: anchorPath].constraint(equalTo: view[keyPath: viewAnchorPath],
constant: constant)
if let priority = priority {
constraint.priority = priority
}
constraint.isActive = true
constraint.identifier = identifier
}
/**
In this block can describe view constraint setting using AnchorMaker abstractions
- note: nextButton.makeAnchors { $0.leading.trailing.equalToSuperview(16) }
*/
func makeAnchors(_ completion: AnchorMakerCompletion) {
AnchorMaker.prepareAnchors(view: self, completion: completion)
}
/**
In this block can describe view constraint setting using AnchorMaker abstractions
- note: nextButton.updateAnchors { $0.height.equalTo(16) }
*/
func updateAnchors(_ completion: AnchorMakerCompletion) {
AnchorMaker.updateAnchors(view: self, completion: completion)
}
}
| 39.604167 | 101 | 0.585481 |
c37cfe582fbfbf77cb61fc36b0cd6857fe42e512 | 947 | kt | Kotlin | utilsLibrary/src/main/java/com/zeropercenthappy/utilslibrary/ext/Common.kt | zeropercenthappy/ZPHAndroidUtils | 81e23b347e9a81b708aa44d80ef4451769398735 | [
"Apache-2.0"
] | null | null | null | utilsLibrary/src/main/java/com/zeropercenthappy/utilslibrary/ext/Common.kt | zeropercenthappy/ZPHAndroidUtils | 81e23b347e9a81b708aa44d80ef4451769398735 | [
"Apache-2.0"
] | 1 | 2018-11-20T09:31:58.000Z | 2018-11-20T09:31:58.000Z | utilsLibrary/src/main/java/com/zeropercenthappy/utilslibrary/ext/Common.kt | zeropercenthappy/ZPHAndroidUtils | 81e23b347e9a81b708aa44d80ef4451769398735 | [
"Apache-2.0"
] | 1 | 2020-05-05T23:19:12.000Z | 2020-05-05T23:19:12.000Z | package com.zeropercenthappy.utilslibrary.ext
fun <T1, T2, R> notNullLet(t1: T1?, t2: T2?, block: (T1, T2) -> R): R? {
return if (t1 != null && t2 != null) {
block(t1, t2)
} else {
null
}
}
fun <T1, T2, T3, R> notNullLet(t1: T1?, t2: T2?, t3: T3?, block: (T1, T2, T3) -> R): R? {
return if (t1 != null && t2 != null && t3 != null) {
block(t1, t2, t3)
} else {
null
}
}
fun <T1, T2, T3, T4, R> notNullLet(t1: T1?, t2: T2?, t3: T3?, t4: T4?, block: (T1, T2, T3, T4) -> R): R? {
return if (t1 != null && t2 != null && t3 != null && t4 != null) {
block(t1, t2, t3, t4)
} else {
null
}
}
fun <T1, T2, T3, T4, T5, R> notNullLet(t1: T1?, t2: T2?, t3: T3?, t4: T4?, t5: T5?, block: (T1, T2, T3, T4, T5) -> R): R? {
return if (t1 != null && t2 != null && t3 != null && t4 != null && t5 != null) {
block(t1, t2, t3, t4, t5)
} else {
null
}
} | 28.69697 | 123 | 0.457233 |
e58aef55e7aca4e122ec7e7e3758c601502fef46 | 1,890 | ts | TypeScript | src/table/transform-table.ts | xunge0613/antd-utils-lib | 9f6f34e6708ec218c60ac36b4c942b0fda3de1c5 | [
"MIT"
] | 1 | 2020-06-08T07:41:10.000Z | 2020-06-08T07:41:10.000Z | src/table/transform-table.ts | xunge0613/antd-utils-lib | 9f6f34e6708ec218c60ac36b4c942b0fda3de1c5 | [
"MIT"
] | 3 | 2020-07-21T01:00:15.000Z | 2022-03-02T08:59:01.000Z | src/table/transform-table.ts | xunge0613/antd-utils-lib | 9f6f34e6708ec218c60ac36b4c942b0fda3de1c5 | [
"MIT"
] | null | null | null | import { ColumnProps } from 'antd/lib/table'
/**
* 表格倒置:行转列
* @description transform table Row into table Col
* @param oldColumns ColumnProps<T>[] old columns
* @param oldData T[] old dataSource
* @param options?
* @returns newColumns, newData
* @author Tony.Xu https://github.com/xunge0613
*/
// 处理数据,生成新表格字段以及数据格式
export default function transformTable<T>(
oldColumns: ColumnProps<T>[],
oldData: T[],
options?: object,
): { newColumns: ColumnProps<T>[]; newData: any[] } {
// 无数据时返回空白表格
if (!oldData || !oldData.length) {
return { newColumns: [], newData: [] }
}
// 表格转置 行转列
// console.log('old', oldColumns, oldData)
// 转表头
const newColumns = [
// 第一列固定 fixed first column
{
title: 'title',
dataIndex: 'title',
fixed: 'left' as 'left',
width: 150,
},
// 第二列起,同 dataindex 不同 data 的值
...oldData.map((item: T, index: number) => {
return {
dataIndex: index,
// 需要手动指定 100% 让数据栏充满表格
width: '100%',
}
}),
]
// 转数据
const newData = oldColumns.map((column: ColumnProps<T>, index: number) => {
return {
title: oldColumns[index].title, // 第一列
...Object.entries(oldData || []) // 遍历键值对
.map((item, i) => {
// console.log(item); // ["0", {"1" : {0: "string", title: "质检报告编号"}}]
let value = column.dataIndex && item[1] ? (item[1] as any)[column.dataIndex as string] : undefined
if (column.render) {
// render 优先级高于 dataIndex
value = column.render((item[1] as any)[column.dataIndex as string], oldData[i], i)
}
return {
[item[0]]: value,
}
})
.reduce((prev: any, next: any) => {
// 合并对象数组
return { ...prev, ...next }
}, []),
}
})
console.log('new', newColumns, newData)
return { newColumns, newData }
}
| 28.208955 | 108 | 0.551852 |
a9bfdd6b0ecd2afd84c16449a46e243d4a6ea21d | 7,591 | html | HTML | app/views/manage-blue-badges/view-badge-full.html | uk-gov-dft/bluebadge-prototype-webapps | bbad87c536aa6fb699289fbec7e0c7603271fe55 | [
"MIT"
] | null | null | null | app/views/manage-blue-badges/view-badge-full.html | uk-gov-dft/bluebadge-prototype-webapps | bbad87c536aa6fb699289fbec7e0c7603271fe55 | [
"MIT"
] | null | null | null | app/views/manage-blue-badges/view-badge-full.html | uk-gov-dft/bluebadge-prototype-webapps | bbad87c536aa6fb699289fbec7e0c7603271fe55 | [
"MIT"
] | null | null | null | {% extends "admin_layout.html" %}
{% block back_link %}
<div class="back-link-container">
{{ govukBackLink({
"text": "Back",
"href": "javascript: window.history.go(-1)"
}) }}
</div>
{% endblock %}
{% block page_header %}
<div class="check-answers-heading-with-change">
<div class="check-answers-heading">
<p class="subtitle">{{badgeholder.shortcode}}</p>
<h1>{{title}}</h1>
</div>
<div class="check-answers-change hide-enforcer">
<p>
<a href="replace-badge">Order a replacement</a><br>
<a href="change-details">Change details</a><br>
<a href="cancel-badge">Cancel badge</a>
</p>
</div>
</div>
{% endblock %}
{% block content %}
<section class="split-section">
<dl class="govuk-check-your-answers govuk-check-your-answers--short">
<dl class="govuk-check-your-answers govuk-check-your-answers--short">
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Badge status
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.badgeStatus}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Photo
</dt>
<dd class="govuk-check-your-answers__answer">
<img src="/public/images/{{ badgeholder.photoPath}}" alt="Photo of Badge Holder">
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Full name
</dt>
<dd class="govuk-check-your-answers__answer">
{{badgeholder.fullName}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Date of birth
</dt>
<dd class="govuk-check-your-answers__answer">
{{badgeholder.dateOfBirth}}
</dd>
</div>
{% if badgeholder.contactName %}
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Contact full name
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.contactName }}
</dd>
</div>
{% endif %}
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Gender
</dt>
<dd class="govuk-check-your-answers__answer">
{{badgeholder.gender}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Main contact number
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.mainPhoneNumber}}
</dd>
</div>
{% if badgeholder.altPhoneNumber %}
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Alternative contact number
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.altPhoneNumber}}
</dd>
</div>
{% endif %}
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Address
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.address.street }},
{% if badgeholder.address.street2 %}
{{ badgeholder.address.street2 }},
{% endif %}
{{ badgeholder.address.city }},
{{ badgeholder.address.postcode }}
</dd>
</div>
{% if badgeholder.emailAddress %}
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Email address
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.emailAddress}}
</dd>
</div>
{% endif %}
{% if badgeholder.nationalInsurance %}
<div class="govuk-check-your-answers__contents hide-enforcer">
<dt class="govuk-check-your-answers__question">
National insurance number
</dt>
<dd class="govuk-check-your-answers__answer">
{{badgeholder.nationalInsurance}}
</dd>
</div>
{% endif %}
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Eligibility
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.eligibility}}
</dd>
</div>
</dl>
</section>
<section class="split-section">
<h2 class="govuk-heading-m">
Badge details
</h2>
<dl class="govuk-check-your-answers govuk-check-your-answers--short">
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Status
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.badgeStatus}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Badge number
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.fullBadgeNumber}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Issued by
</dt>
<dd class="govuk-check-your-answers__answer">
{{data['current-council']}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Badge start date
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.badgeStart}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Badge expiry date
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.badgeExpiry}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Local authority reference
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.laReference}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Application date
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.applicationDate}}
</dd>
</div>
<div class="govuk-check-your-answers__contents">
<dt class="govuk-check-your-answers__question">
Application channel
</dt>
<dd class="govuk-check-your-answers__answer">
{{ badgeholder.applicationChannel}}
</dd>
</div>
</dl>
</section>
{{ govukDetails({
"summaryText": "Delete badge",
"html": '
<form action="search-for-a-badge">
<div class="govuk-warning-text">
<span class="govuk-warning-text__icon" aria-hidden="true">!</span>
<strong class="govuk-warning-text__text">
<span class="govuk-warning-text__assistive">Warning</span>
This will delete the badge permanently. <br> You cannot undo this.
</strong>
</div>
<input id="success" name="success" type="hidden" value="Badge deleted">
<input value="Delete this badge" type="submit" class="govuk-button">
</form>
<p class="govuk-body">
<a href="?reset-user">Close</a>
</p>'
}) }}
{% endblock %} | 28.863118 | 89 | 0.593334 |
26baa2d437ed0ed8bc8415c8e54501b7c5c82ce0 | 2,647 | java | Java | moviebookapp/src/main/java/moviebookservice/util/JwtUtil.java | doslindos/moviebook_springrest | 0615a717e0c101b6220d84799c0c09c7f9875463 | [
"MIT"
] | null | null | null | moviebookapp/src/main/java/moviebookservice/util/JwtUtil.java | doslindos/moviebook_springrest | 0615a717e0c101b6220d84799c0c09c7f9875463 | [
"MIT"
] | null | null | null | moviebookapp/src/main/java/moviebookservice/util/JwtUtil.java | doslindos/moviebook_springrest | 0615a717e0c101b6220d84799c0c09c7f9875463 | [
"MIT"
] | null | null | null | package moviebookservice.util;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.SignatureAlgorithm;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Function;
// Source https://github.com/koushikkothagal/spring-security-jwt/blob/master/src/main/java/io/javabrains/springsecurityjwt/util/JwtUtil.java
@Service
public class JwtUtil {
private String SECRET_KEY = "secret";
// Extract username from a created token
public String extractUsername(String token) {
return extractClaim(token, Claims::getSubject);
}
// Extracts expiration date from a created token
public Date extractExpiration(String token) {
return extractClaim(token, Claims::getExpiration);
}
// takes claims and uses claimsResolver object to figure out claims ??
public <T> T extractClaim(String token, Function<Claims, T> claimsResolver) {
final Claims claims = extractAllClaims(token);
return claimsResolver.apply(claims);
}
private Claims extractAllClaims(String token) {
return Jwts.parser().setSigningKey(SECRET_KEY).parseClaimsJws(token).getBody();
}
// Checks is token is expired
private Boolean isTokenExpired(String token) {
return extractExpiration(token).before(new Date());
}
// Generates a token with userdetail object
public String generateToken(UserDetails userDetails) {
Map<String, Object> claims = new HashMap<>();
return createToken(claims, userDetails.getUsername());
}
// Takes claims and creates jwt token with Jwts.builder to the user specified 'subject'
// current date is used to set the issued at time
// sets expiration to 10 h from issuing
// signed with HS256 algorithm and secret key defined in the class
private String createToken(Map<String, Object> claims, String subject) {
return Jwts.builder().setClaims(claims).setSubject(subject).setIssuedAt(new Date(System.currentTimeMillis()))
.setExpiration(new Date(System.currentTimeMillis() + 1000 * 60 * 60 * 10))
.signWith(SignatureAlgorithm.HS256, SECRET_KEY).compact();
}
// Takes token and User object to check if token is valid by checking if it's expired
public Boolean validateToken(String token, UserDetails userDetails) {
final String username = extractUsername(token);
return (username.equals(userDetails.getUsername()) && !isTokenExpired(token));
}
}
| 38.926471 | 140 | 0.721949 |
7747d8026ed85ccdda27fd3664b8fae98219b639 | 3,569 | html | HTML | lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-October/075703.html | zcorpan/whatwg.org | 3374e69f013e5939abc5f3fffaae50bb6eaf0bd3 | [
"CC-BY-4.0"
] | 1 | 2022-02-14T23:44:51.000Z | 2022-02-14T23:44:51.000Z | lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-October/075703.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | 1 | 2021-01-31T11:51:12.000Z | 2021-01-31T11:51:12.000Z | lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-October/075703.html | Seanpm2001-Google/whatwg.org | 33ad837c0dc53b68865f4a35ccdc1c68dc07fce6 | [
"BSD-3-Clause"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20HTMLLinkElement.disabled%20and%20HTMLLinkElement.sheet%0A%09behavior&In-Reply-To=%3C4E8D1676.2080804%40mit.edu%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="075702.html">
<LINK REL="Next" HREF="075688.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior</H1>
<!--htdig_noindex-->
<B>Boris Zbarsky</B>
<A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20HTMLLinkElement.disabled%20and%20HTMLLinkElement.sheet%0A%09behavior&In-Reply-To=%3C4E8D1676.2080804%40mit.edu%3E"
TITLE="[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior">bzbarsky at MIT.EDU
</A><BR>
<I>Wed Oct 5 19:46:14 PDT 2011</I>
<P><UL>
<LI>Previous message: <A HREF="075702.html">[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
</A></li>
<LI>Next message: <A HREF="075688.html">[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#75703">[ date ]</a>
<a href="thread.html#75703">[ thread ]</a>
<a href="subject.html#75703">[ subject ]</a>
<a href="author.html#75703">[ author ]</a>
</LI>
</UL>
<HR>
<!--/htdig_noindex-->
<!--beginarticle-->
<PRE>On 10/5/11 9:01 PM, Julien Chaffraix wrote:
>><i> Ah. Do they set disabled and expect it to take effect whenever the sheet
</I>>><i> actually appears?
</I>><i>
</I>><i> Yes, we have seen some regressions because people were expecting exactly that.
</I>
So for what it's worth, Gecko implemented the current behavior of
creating the stylesheet immediately as soon as we know the <link> is
linking to a stylesheet in
<A HREF="https://bugzilla.mozilla.org/show_bug.cgi?id=107567">https://bugzilla.mozilla.org/show_bug.cgi?id=107567</A>
One of the considerations there was in fact allowing pages to change
disabled state without having to wait for the sheet to load. That
includes things like selection of alternate stylesheet sets working
correctly even if not all the alternate sheets have finished loading and
so forth...
-Boris
</PRE>
<!--endarticle-->
<!--htdig_noindex-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="075702.html">[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
</A></li>
<LI>Next message: <A HREF="075688.html">[whatwg] HTMLLinkElement.disabled and HTMLLinkElement.sheet behavior
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#75703">[ date ]</a>
<a href="thread.html#75703">[ thread ]</a>
<a href="subject.html#75703">[ subject ]</a>
<a href="author.html#75703">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
mailing list</a><br>
<!--/htdig_noindex-->
</body></html>
| 42.488095 | 205 | 0.663211 |
e524af1121a6186b2533d6420c0187c1df7a93d5 | 1,081 | swift | Swift | MovieListTestApp/MovieListTestApp/Classes/CustomViews/CellUIConfigModels/MovieCellViewModel.swift | Rupesh17/MovieListSampleTest | 203ef9453ea627fcf9e655d50bf2545a416041b4 | [
"MIT"
] | null | null | null | MovieListTestApp/MovieListTestApp/Classes/CustomViews/CellUIConfigModels/MovieCellViewModel.swift | Rupesh17/MovieListSampleTest | 203ef9453ea627fcf9e655d50bf2545a416041b4 | [
"MIT"
] | 1 | 2018-12-07T22:09:14.000Z | 2018-12-07T22:09:14.000Z | MovieListTestApp/MovieListTestApp/Classes/CustomViews/CellUIConfigModels/MovieCellViewModel.swift | Rupesh17/MovieListSampleTest | 203ef9453ea627fcf9e655d50bf2545a416041b4 | [
"MIT"
] | null | null | null | //
// MovieCellViewModel.swift
// MovieListTestApp
//
// Created by Rupesh Kumar on 07/12/18.
// Copyright © 2018 Rupesh Kumar. All rights reserved.
//
import Foundation
struct MovieCellViewModel
{
var title:String!
var year:String!
var rated:String!
var genre:String!
var actors:String!
var plot:String!
var language:String!
var country:String!
var imageURL:String!
var publishedDate:String!
var duration:String!
var director:String!
var writer:String!
var awards:String!
init(movie:Movie)
{
self.title = movie.title
self.year = movie.year
self.rated = movie.rated
self.genre = movie.genre
self.actors = movie.actors
self.plot = movie.plot
self.language = movie.language
self.country = movie.country
self.imageURL = movie.poster
self.publishedDate = movie.releasedDate
self.duration = movie.duration
self.director = movie.director
self.writer = movie.writer
self.awards = movie.awards
}
}
| 23.5 | 55 | 0.638298 |
0c4c5729b1c7f99b4a6ad3f158c18d9c9226b6d3 | 2,062 | swift | Swift | Sources/Advent 2019/Day 13.swift | djbe/Advent-Of-Code-2020 | 08d2ca54e54f7804362bff71d76c820d1ad18b7e | [
"MIT"
] | null | null | null | Sources/Advent 2019/Day 13.swift | djbe/Advent-Of-Code-2020 | 08d2ca54e54f7804362bff71d76c820d1ad18b7e | [
"MIT"
] | null | null | null | Sources/Advent 2019/Day 13.swift | djbe/Advent-Of-Code-2020 | 08d2ca54e54f7804362bff71d76c820d1ad18b7e | [
"MIT"
] | null | null | null | //
// Advent
// Copyright © 2020 David Jennes
//
import Algorithms
import Common
import Foundation
private struct Pixel {
typealias Point = Vector2<Int>
enum Tile: Int {
case empty
case wall
case block
case paddle
case ball
}
let point: Point
let tile: Tile
init(_ data: ArraySlice<Int>) {
point = Point(Array(data.prefix(2)))
tile = Tile(rawValue: data.last ?? 0) ?? .empty
}
}
private final class Arcade {
private let program: Program
private let output = BlockingChannel()
private var ball: Pixel.Point?
private var paddle: Pixel.Point?
var nubmerOfBlocks: Int = 0
var score: Int = 0
init(program: Program) {
self.program = program
}
func run() {
var computer = Computer(
program,
input: CallbackChannel(generator: joystickGenerator),
output: CallbackChannel(receiver: outputReceiver, chunkedBy: 3)
)
computer.run()
}
private func outputReceiver(chunk: [Int]) {
if chunk.prefix(2) == [-1, 0] {
score = chunk[2]
} else {
let pixel = Pixel(chunk[...])
switch pixel.tile {
case .ball: ball = pixel.point
case .paddle: paddle = pixel.point
case .block: nubmerOfBlocks += 1
default: break
}
}
}
private func joystickGenerator() -> Int {
if let ball = ball, let paddle = paddle {
return max(min(ball.x - paddle.x, 1), -1)
} else {
return -1
}
}
}
struct Day13: Day {
static let name = "Care Package"
private var program: Program
init(input: Input) {
program = Program(code: input.lines)
}
}
// MARK: - Part 1
extension Day13 {
mutating func part1() -> Any {
logPart("Start the game. How many block tiles are on the screen when the game exits?")
let arcade = Arcade(program: program)
arcade.run()
return arcade.nubmerOfBlocks
}
}
// MARK: - Part 2
extension Day13 {
mutating func part2() -> Any {
logPart("Beat the game by breaking all the blocks. What is your score after the last block is broken?")
// insert coin
program.data[0] = 2
// play
let arcade = Arcade(program: program)
arcade.run()
return arcade.score
}
}
| 18.410714 | 105 | 0.665373 |
64339837e763bed8cb4f46e6d6f914ddf405e188 | 2,878 | kt | Kotlin | interactor/src/test/java/nl/elements/mobilization/interactor/test/InteractorTest.kt | elementsinteractive/android-mobilization | c6d0eeaebd697ec028ade05ae860fdc5b79d3c25 | [
"BSD-3-Clause"
] | 9 | 2020-06-25T07:28:27.000Z | 2022-02-04T01:06:08.000Z | interactor/src/test/java/nl/elements/mobilization/interactor/test/InteractorTest.kt | elementsinteractive/android-mobilization | c6d0eeaebd697ec028ade05ae860fdc5b79d3c25 | [
"BSD-3-Clause"
] | 98 | 2020-06-24T13:54:26.000Z | 2022-03-31T01:07:42.000Z | interactor/src/test/java/nl/elements/mobilization/interactor/test/InteractorTest.kt | elementsinteractive/android-mobilization | c6d0eeaebd697ec028ade05ae860fdc5b79d3c25 | [
"BSD-3-Clause"
] | 1 | 2021-10-04T10:37:04.000Z | 2021-10-04T10:37:04.000Z | /*
* Copyright 2020 Elements
*
* Licensed under the BSD-3 license:
* https://opensource.org/licenses/BSD-3-Clause
*/
package nl.elements.mobilization.interactor.test
import kotlinx.coroutines.TimeoutCancellationException
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.flow.take
import kotlinx.coroutines.test.runBlockingTest
import kotlinx.coroutines.withContext
import nl.elements.mobilization.interactor.Interactor
import nl.elements.mobilization.interactor.InvokeError
import nl.elements.mobilization.interactor.InvokeStarted
import nl.elements.mobilization.interactor.InvokeSuccess
import nl.elements.mobilization.interactor.invoke
import nl.elements.mobilization.shared.test.TestCoroutineRule
import org.junit.Rule
import org.junit.Test
import kotlin.test.assertTrue
class InteractorTest {
@get:Rule
val testRule = TestCoroutineRule()
@Test
fun `invoke() an Interactor - without params - emits InvokeStarted & InvokeSuccess only`() {
val testInteractor = object : Interactor<Unit>() {
override suspend fun doWork(params: Unit) {
withContext(testRule.dispatcher) {
}
}
}
testRule.dispatcher.runBlockingTest {
testInteractor.invoke()
.take(2)
.onEach {
assertTrue {
it is InvokeStarted || it is InvokeSuccess
}
}
.launchIn(this)
}
}
@Test
fun `invoke() an Interactor - with a timeout - results in an InvokeError with TimeoutCancellationException`() {
val testInteractor = object : Interactor<Unit>() {
override suspend fun doWork(params: Unit) {
withContext(testRule.dispatcher) {
delay(1000)
}
}
}
testRule.dispatcher.runBlockingTest {
testInteractor.invoke(Unit, 500)
.take(2)
.onEach { status ->
if (status is InvokeStarted) {
advanceTimeBy(550)
} else if (status is InvokeError) {
assertTrue {
status.throwable is TimeoutCancellationException
}
}
}
.launchIn(this)
}
}
@Test
fun `executeSync() - with params - does not emit status`() {
val testInteractor = object : Interactor<Unit>() {
override suspend fun doWork(params: Unit) {
withContext(testRule.dispatcher) {
}
}
}
testRule.dispatcher.runBlockingTest {
testInteractor.executeSync(Unit)
}
}
}
| 31.282609 | 116 | 0.59173 |
6e4cd70bfc164214c2cde93ae30291db324b2d3c | 41,415 | html | HTML | input2/gap-html/gap_y-AvAAAAYAAJ/00000391.html | mjjackey/Individual_CW_DM_Soton | e6bded0428835dda79a8eab4fb58259a205ebf2b | [
"MIT"
] | null | null | null | input2/gap-html/gap_y-AvAAAAYAAJ/00000391.html | mjjackey/Individual_CW_DM_Soton | e6bded0428835dda79a8eab4fb58259a205ebf2b | [
"MIT"
] | null | null | null | input2/gap-html/gap_y-AvAAAAYAAJ/00000391.html | mjjackey/Individual_CW_DM_Soton | e6bded0428835dda79a8eab4fb58259a205ebf2b | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>OCR Output</title>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta http-equiv='content-style-type' content='text/css' />
<meta name='ocr-capabilities' content='ocr_page ocr_par ocr_cinfo ocr_line' />
<meta name='ocr-system' content='ABBYY fre-6.0-153' />
<meta name='ocr-number-of-pages' content='1' />
</head><body bgcolor='#ffffff'>
<div class='ocr_page'>
<div class='ocrx_block' title='bbox 135 185 1207 228'>
<p class='ocr_par' title='bbox 135 185 1207 228' style='font-size:11pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 135 185 1207 228'><span class='ocr_cinfo' title='bbox 135 187 234 228'>Chap.</span> <span class='ocr_cinfo' title='bbox 248 185 295 218'>X.</span> <span class='ocr_cinfo' title='bbox 500 192 594 219'>WARS</span> <span class='ocr_cinfo' title='bbox 610 195 651 219' style='font-size:11pt;font-family:"Times New Roman";font-style:normal'>or</span> <span class='ocr_cinfo' title='bbox 667 188 731 219'>-fHE</span> <span class='ocr_cinfo' title='bbox 746 192 847 226'>JEWS.</span> <span class='ocr_cinfo' title='bbox 1146 194 1207 222' style='font-size:11pt;font-family:"Times New Roman";font-style:normal'>383</span></span></p>
</div>
<div class='ocrx_block' title='bbox 134 264 1224 1964'>
<p class='ocr_par' title='bbox 134 264 1224 876' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 136 264 1213 308;hardbreak 1'><span class='ocr_cinfo' title='bbox 136 264 233 296'>desire</span> <span class='ocr_cinfo' title='bbox 250 272 281 295'>to</span> <span class='ocr_cinfo' title='bbox 296 264 333 294'>be</span> <span class='ocr_cinfo' title='bbox 349 274 382 294'>so</span> <span class='ocr_cinfo' title='bbox 397 264 494 296'>called</span> <span class='ocr_cinfo' title='bbox 509 265 583 302'>also,</span> <span class='ocr_cinfo' title='bbox 597 265 655 297'>and</span> <span class='ocr_cinfo' title='bbox 671 272 703 295'>to</span> <span class='ocr_cinfo' title='bbox 725 272 778 295'>cut</span> <span class='ocr_cinfo' title='bbox 794 265 841 295' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>off</span> <span class='ocr_cinfo' title='bbox 858 264 943 295'>those</span> <span class='ocr_cinfo' title='bbox 965 264 1002 295' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>of</span> <span class='ocr_cinfo' title='bbox 1014 266 1065 295'>the</span> <span class='ocr_cinfo' title='bbox 1080 274 1213 308'>greatest</span><br></span><span class='ocr_line' title='bbox 134 307 1215 352;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 308 267 349'>nobility</span> <span class='ocr_cinfo' title='bbox 282 315 336 338'>out</span> <span class='ocr_cinfo' title='bbox 352 308 388 338'>of</span> <span class='ocr_cinfo' title='bbox 399 307 447 338'>his</span> <span class='ocr_cinfo' title='bbox 463 316 607 349'>country.</span> <span class='ocr_cinfo' title='bbox 653 308 703 338'>He</span> <span class='ocr_cinfo' title='bbox 719 309 783 339'>also</span> <span class='ocr_cinfo' title='bbox 797 309 947 339'>extended</span> <span class='ocr_cinfo' title='bbox 969 309 1016 340'>his</span> <span class='ocr_cinfo' title='bbox 1038 309 1169 352'>impiety</span> <span class='ocr_cinfo' title='bbox 1182 322 1215 341'>as</span><br></span><span class='ocr_line' title='bbox 135 352 1215 396;hardbreak 1'><span class='ocr_cinfo' title='bbox 135 353 181 382'>far</span> <span class='ocr_cinfo' title='bbox 196 363 227 382'>as</span> <span class='ocr_cinfo' title='bbox 240 353 290 382'>the</span> <span class='ocr_cinfo' title='bbox 305 352 398 392'>Jews.</span> <span class='ocr_cinfo' title='bbox 433 352 652 396'>Accordingly,</span> <span class='ocr_cinfo' title='bbox 667 353 706 381'>he</span> <span class='ocr_cinfo' title='bbox 722 360 788 383'>sent</span> <span class='ocr_cinfo' title='bbox 803 352 966 384'>Petronius</span> <span class='ocr_cinfo' title='bbox 980 353 1056 383'>with</span> <span class='ocr_cinfo' title='bbox 1073 364 1109 383'>an</span> <span class='ocr_cinfo' title='bbox 1125 365 1215 395'>army</span><br></span><span class='ocr_line' title='bbox 136 395 1198 436'><span class='ocr_cinfo' title='bbox 136 404 166 427'>to</span> <span class='ocr_cinfo' title='bbox 180 396 365 436'>Jerusalem,</span> <span class='ocr_cinfo' title='bbox 392 402 424 425'>to</span> <span class='ocr_cinfo' title='bbox 440 397 524 435'>place</span> <span class='ocr_cinfo' title='bbox 540 395 588 427'>his</span> <span class='ocr_cinfo' title='bbox 605 396 621 414'>*</span> <span class='ocr_cinfo' title='bbox 640 403 755 427'>statues</span> <span class='ocr_cinfo' title='bbox 779 396 810 426'>in</span> <span class='ocr_cinfo' title='bbox 833 397 886 427'>the</span> <span class='ocr_cinfo' title='bbox 909 397 1035 436'>temple,</span> <span class='ocr_cinfo' title='bbox 1050 399 1108 428'>and</span> <span class='ocr_cinfo' title='bbox 1129 409 1198 428'>com</span>­<br></span><span class='ocr_line' title='bbox 135 439 1214 481;hardbreak 1'><span class='ocr_cinfo' title='bbox 135 441 261 470'>manded</span> <span class='ocr_cinfo' title='bbox 276 439 342 469'>him</span> <span class='ocr_cinfo' title='bbox 359 439 425 469'>that</span> <span class='ocr_cinfo' title='bbox 440 439 473 472'>in</span> <span class='ocr_cinfo' title='bbox 487 451 553 472'>case</span> <span class='ocr_cinfo' title='bbox 569 441 620 470'>the</span> <span class='ocr_cinfo' title='bbox 635 440 717 481'>Jews</span> <span class='ocr_cinfo' title='bbox 732 441 836 471'>would</span> <span class='ocr_cinfo' title='bbox 849 447 902 471'>not</span> <span class='ocr_cinfo' title='bbox 917 440 1012 470'>admit</span> <span class='ocr_cinfo' title='bbox 1024 441 1060 471'>of</span> <span class='ocr_cinfo' title='bbox 1067 442 1162 480'>them,</span> <span class='ocr_cinfo' title='bbox 1174 443 1214 471'>he</span><br></span><span class='ocr_line' title='bbox 134 483 1224 525;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 483 243 514'>should</span> <span class='ocr_cinfo' title='bbox 259 483 324 524'>slay</span> <span class='ocr_cinfo' title='bbox 341 484 428 513'>those</span> <span class='ocr_cinfo' title='bbox 443 485 509 515'>that</span> <span class='ocr_cinfo' title='bbox 520 485 655 524'>opposed</span> <span class='ocr_cinfo' title='bbox 670 483 706 521'>it,</span> <span class='ocr_cinfo' title='bbox 721 485 780 514'>and</span> <span class='ocr_cinfo' title='bbox 794 495 883 525'>carry</span> <span class='ocr_cinfo' title='bbox 901 484 940 514'>all</span> <span class='ocr_cinfo' title='bbox 964 485 1015 514'>the</span> <span class='ocr_cinfo' title='bbox 1039 492 1100 515'>rest</span> <span class='ocr_cinfo' title='bbox 1115 486 1151 515'>of</span> <span class='ocr_cinfo' title='bbox 1162 487 1224 516'>the-</span><br></span><span class='ocr_line' title='bbox 134 526 1216 569;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 527 236 558'>nation</span> <span class='ocr_cinfo' title='bbox 252 526 317 557'>into</span> <span class='ocr_cinfo' title='bbox 332 526 502 569'>captivity;</span> <span class='ocr_cinfo' title='bbox 525 530 582 559'>but</span> <span class='ocr_cinfo' title='bbox 597 528 670 559'>God</span> <span class='ocr_cinfo' title='bbox 694 529 859 558'>concerned</span> <span class='ocr_cinfo' title='bbox 881 527 1011 558'>himself</span> <span class='ocr_cinfo' title='bbox 1029 528 1106 558'>with</span> <span class='ocr_cinfo' title='bbox 1129 530 1216 560'>these</span><br></span><span class='ocr_line' title='bbox 134 570 1215 610;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 570 180 602'>his</span> <span class='ocr_cinfo' title='bbox 195 573 385 601'>commands.</span> <span class='ocr_cinfo' title='bbox 429 572 596 610'>However,</span> <span class='ocr_cinfo' title='bbox 622 571 784 603'>Petronius</span> <span class='ocr_cinfo' title='bbox 800 572 943 602'>marched</span> <span class='ocr_cinfo' title='bbox 958 581 1013 602'>out</span> <span class='ocr_cinfo' title='bbox 1028 573 1064 603'>of</span> <span class='ocr_cinfo' title='bbox 1076 572 1215 603'>Antioch</span><br></span><span class='ocr_line' title='bbox 134 614 1214 658;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 614 197 646'>into</span> <span class='ocr_cinfo' title='bbox 211 615 321 655'>Judea,</span> <span class='ocr_cinfo' title='bbox 337 614 413 645'>with</span> <span class='ocr_cinfo' title='bbox 439 617 525 647'>three</span> <span class='ocr_cinfo' title='bbox 540 616 669 658'>legions,</span> <span class='ocr_cinfo' title='bbox 695 617 752 645'>and</span> <span class='ocr_cinfo' title='bbox 779 626 871 656'>many</span> <span class='ocr_cinfo' title='bbox 887 614 997 656'>Syrian</span> <span class='ocr_cinfo' title='bbox 1023 615 1214 647'>auxiliaries.</span><br></span><span class='ocr_line' title='bbox 135 658 1198 699'><span class='ocr_cinfo' title='bbox 135 659 219 690'>Now</span> <span class='ocr_cinfo' title='bbox 234 669 267 689'>as</span> <span class='ocr_cinfo' title='bbox 283 667 314 689'>to</span> <span class='ocr_cinfo' title='bbox 329 659 381 689'>the</span> <span class='ocr_cinfo' title='bbox 396 658 490 699'>Jews,</span> <span class='ocr_cinfo' title='bbox 506 671 590 691'>some</span> <span class='ocr_cinfo' title='bbox 605 660 641 691'>of</span> <span class='ocr_cinfo' title='bbox 653 660 738 690'>them</span> <span class='ocr_cinfo' title='bbox 760 660 852 690'>could</span> <span class='ocr_cinfo' title='bbox 873 667 927 690'>not</span> <span class='ocr_cinfo' title='bbox 941 658 1060 690'>believe</span> <span class='ocr_cinfo' title='bbox 1084 661 1135 690'>the</span> <span class='ocr_cinfo' title='bbox 1150 668 1198 692'>sto</span>­<br></span><span class='ocr_line' title='bbox 135 702 1214 743;hardbreak 1'><span class='ocr_cinfo' title='bbox 135 702 193 734'>ries</span> <span class='ocr_cinfo' title='bbox 209 703 278 733'>that</span> <span class='ocr_cinfo' title='bbox 294 703 389 743'>spake</span> <span class='ocr_cinfo' title='bbox 404 703 441 734'>of</span> <span class='ocr_cinfo' title='bbox 452 715 469 735'>a</span> <span class='ocr_cinfo' title='bbox 484 715 560 743'>war,</span> <span class='ocr_cinfo' title='bbox 575 704 633 734'>but</span> <span class='ocr_cinfo' title='bbox 648 703 734 733'>those</span> <span class='ocr_cinfo' title='bbox 750 704 817 733'>that</span> <span class='ocr_cinfo' title='bbox 831 703 883 734'>did</span> <span class='ocr_cinfo' title='bbox 898 702 1018 733'>believe</span> <span class='ocr_cinfo' title='bbox 1035 704 1120 734'>them</span> <span class='ocr_cinfo' title='bbox 1132 715 1214 734'>were</span><br></span><span class='ocr_line' title='bbox 134 746 1214 785;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 746 163 776'>in</span> <span class='ocr_cinfo' title='bbox 179 747 230 776'>the</span> <span class='ocr_cinfo' title='bbox 246 754 366 777'>utmost</span> <span class='ocr_cinfo' title='bbox 377 747 502 778'>distress</span> <span class='ocr_cinfo' title='bbox 517 749 589 779'>how</span> <span class='ocr_cinfo' title='bbox 605 755 637 778'>to</span> <span class='ocr_cinfo' title='bbox 652 747 761 777'>defend</span> <span class='ocr_cinfo' title='bbox 771 747 968 785'>themselves,</span> <span class='ocr_cinfo' title='bbox 982 749 1041 778'>and</span> <span class='ocr_cinfo' title='bbox 1053 748 1105 778'>the</span> <span class='ocr_cinfo' title='bbox 1115 755 1214 779'>terror</span><br></span><span class='ocr_line' title='bbox 134 789 1199 834'><span class='ocr_cinfo' title='bbox 134 791 263 820'>diffused</span> <span class='ocr_cinfo' title='bbox 279 789 368 821'>itself</span> <span class='ocr_cinfo' title='bbox 375 792 531 833'>presently</span> <span class='ocr_cinfo' title='bbox 546 792 683 834'>through</span> <span class='ocr_cinfo' title='bbox 693 792 776 822'>them</span> <span class='ocr_cinfo' title='bbox 793 791 849 828'>all;</span> <span class='ocr_cinfo' title='bbox 862 790 911 821'>for</span> <span class='ocr_cinfo' title='bbox 926 792 978 821'>the</span> <span class='ocr_cinfo' title='bbox 988 802 1079 834'>army</span> <span class='ocr_cinfo' title='bbox 1093 803 1158 823'>was</span> <span class='ocr_cinfo' title='bbox 1170 792 1199 823'>al</span>­<br></span><span class='ocr_line' title='bbox 134 835 567 876'><span class='ocr_cinfo' title='bbox 134 836 224 876'>ready</span> <span class='ocr_cinfo' title='bbox 239 845 328 864'>come</span> <span class='ocr_cinfo' title='bbox 343 842 375 865'>to</span> <span class='ocr_cinfo' title='bbox 391 835 567 866'>Ptolemais.</span></span></p>
<p class='ocr_par' title='bbox 134 877 1224 1754' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 177 877 1214 919;hardbreak 1'><span class='ocr_cinfo' title='bbox 177 885 206 910'>2.</span> <span class='ocr_cinfo' title='bbox 219 878 302 909'>This</span> <span class='ocr_cinfo' title='bbox 316 878 482 910'>Ptolemais</span> <span class='ocr_cinfo' title='bbox 497 879 523 910'>is</span> <span class='ocr_cinfo' title='bbox 540 891 558 910'>a</span> <span class='ocr_cinfo' title='bbox 572 877 728 910'>maritime</span> <span class='ocr_cinfo' title='bbox 743 877 809 919'>city</span> <span class='ocr_cinfo' title='bbox 825 878 861 909'>of</span> <span class='ocr_cinfo' title='bbox 872 878 1006 917'>Galilee,</span> <span class='ocr_cinfo' title='bbox 1021 877 1103 909'>built</span> <span class='ocr_cinfo' title='bbox 1114 878 1145 909'>in</span> <span class='ocr_cinfo' title='bbox 1161 879 1214 909'>the</span><br></span><span class='ocr_line' title='bbox 134 922 1216 964;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 930 221 964'>great</span> <span class='ocr_cinfo' title='bbox 237 922 335 962'>plain.</span> <span class='ocr_cinfo' title='bbox 359 922 389 953'>It</span> <span class='ocr_cinfo' title='bbox 398 922 424 953'>is</span> <span class='ocr_cinfo' title='bbox 435 924 653 964'>encompassed</span> <span class='ocr_cinfo' title='bbox 664 922 740 953'>with</span> <span class='ocr_cinfo' title='bbox 751 922 941 960'>mountains;</span> <span class='ocr_cinfo' title='bbox 958 924 1024 953'>that</span> <span class='ocr_cinfo' title='bbox 1036 934 1075 953'>on</span> <span class='ocr_cinfo' title='bbox 1086 924 1138 953'>the</span> <span class='ocr_cinfo' title='bbox 1149 930 1216 954'>east</span><br></span><span class='ocr_line' title='bbox 134 965 1214 1009;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 966 206 1004'>side,</span> <span class='ocr_cinfo' title='bbox 222 965 311 1007'>sixty</span> <span class='ocr_cinfo' title='bbox 321 966 462 1009'>furlongs</span> <span class='ocr_cinfo' title='bbox 471 968 524 1006'>off,</span> <span class='ocr_cinfo' title='bbox 533 967 659 1009'>belongs</span> <span class='ocr_cinfo' title='bbox 670 975 702 998'>to</span> <span class='ocr_cinfo' title='bbox 713 966 853 1003'>Galilee;</span> <span class='ocr_cinfo' title='bbox 865 967 922 997'>but</span> <span class='ocr_cinfo' title='bbox 933 969 999 997'>that</span> <span class='ocr_cinfo' title='bbox 1011 977 1049 997'>on</span> <span class='ocr_cinfo' title='bbox 1059 968 1111 997'>the</span> <span class='ocr_cinfo' title='bbox 1122 969 1214 998'>south</span><br></span><span class='ocr_line' title='bbox 134 1010 1216 1052;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 1010 259 1052'>belongs</span> <span class='ocr_cinfo' title='bbox 276 1016 308 1040'>to</span> <span class='ocr_cinfo' title='bbox 326 1010 463 1049'>Carmel,</span> <span class='ocr_cinfo' title='bbox 489 1010 591 1042'>which</span> <span class='ocr_cinfo' title='bbox 606 1010 632 1041'>is</span> <span class='ocr_cinfo' title='bbox 655 1011 769 1042'>distant</span> <span class='ocr_cinfo' title='bbox 791 1010 873 1040'>from</span> <span class='ocr_cinfo' title='bbox 896 1010 921 1040'>it</span> <span class='ocr_cinfo' title='bbox 943 1022 980 1041'>an</span> <span class='ocr_cinfo' title='bbox 995 1011 1135 1041'>hundred</span> <span class='ocr_cinfo' title='bbox 1157 1012 1216 1044'>and</span><br></span><span class='ocr_line' title='bbox 134 1053 1214 1096;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 1061 250 1094'>twenty</span> <span class='ocr_cinfo' title='bbox 269 1053 427 1096'>furlongs;</span> <span class='ocr_cinfo' title='bbox 444 1056 501 1086'>and</span> <span class='ocr_cinfo' title='bbox 517 1056 583 1086'>that</span> <span class='ocr_cinfo' title='bbox 598 1066 637 1086'>on</span> <span class='ocr_cinfo' title='bbox 652 1055 704 1085'>the</span> <span class='ocr_cinfo' title='bbox 721 1054 811 1085'>north</span> <span class='ocr_cinfo' title='bbox 828 1053 854 1085'>is</span> <span class='ocr_cinfo' title='bbox 870 1054 921 1084'>the</span> <span class='ocr_cinfo' title='bbox 936 1054 1059 1096'>highest</span> <span class='ocr_cinfo' title='bbox 1075 1055 1111 1085'>of</span> <span class='ocr_cinfo' title='bbox 1129 1055 1214 1085'>them</span><br></span><span class='ocr_line' title='bbox 135 1096 1224 1140;hardbreak 1'><span class='ocr_cinfo' title='bbox 135 1098 186 1135'>all,</span> <span class='ocr_cinfo' title='bbox 202 1099 261 1128'>and</span> <span class='ocr_cinfo' title='bbox 275 1096 302 1127'>is</span> <span class='ocr_cinfo' title='bbox 316 1098 413 1129'>called</span> <span class='ocr_cinfo' title='bbox 427 1099 471 1140'>by</span> <span class='ocr_cinfo' title='bbox 487 1100 538 1129'>the</span> <span class='ocr_cinfo' title='bbox 554 1098 663 1139'>people</span> <span class='ocr_cinfo' title='bbox 678 1098 715 1129'>of</span> <span class='ocr_cinfo' title='bbox 732 1099 785 1128'>the</span> <span class='ocr_cinfo' title='bbox 806 1105 951 1139'>country,</span> <span class='ocr_cinfo' title='bbox 973 1099 1022 1128' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>the</span> <span class='ocr_cinfo' title='bbox 1038 1099 1160 1130' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>Ladder</span> <span class='ocr_cinfo' title='bbox 1181 1099 1224 1140' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>of</span><br></span><span class='ocr_line' title='bbox 136 1141 1215 1185;hardbreak 1'><span class='ocr_cinfo' title='bbox 136 1141 182 1172' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>the</span> <span class='ocr_cinfo' title='bbox 200 1141 344 1185' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'>Tyriant,</span> <span class='ocr_cinfo' title='bbox 360 1142 461 1172'>which</span> <span class='ocr_cinfo' title='bbox 477 1142 503 1174'>is</span> <span class='ocr_cinfo' title='bbox 519 1151 549 1173'>at</span> <span class='ocr_cinfo' title='bbox 565 1144 616 1173'>the</span> <span class='ocr_cinfo' title='bbox 638 1141 772 1173'>distance</span> <span class='ocr_cinfo' title='bbox 787 1142 823 1172'>of</span> <span class='ocr_cinfo' title='bbox 842 1153 879 1172'>an</span> <span class='ocr_cinfo' title='bbox 901 1143 1040 1173'>hundred</span> <span class='ocr_cinfo' title='bbox 1061 1142 1215 1185'>furlongs.</span><br></span><span class='ocr_line' title='bbox 136 1185 1216 1228;hardbreak 1'><span class='ocr_cinfo' title='bbox 136 1186 203 1216'>The</span> <span class='ocr_cinfo' title='bbox 218 1196 298 1226'>very</span> <span class='ocr_cinfo' title='bbox 314 1187 400 1216'>small</span> <span class='ocr_cinfo' title='bbox 419 1185 502 1217'>river</span> <span class='ocr_cinfo' title='bbox 516 1188 535 1223'>f</span> <span class='ocr_cinfo' title='bbox 552 1186 646 1217'>Belus</span> <span class='ocr_cinfo' title='bbox 661 1197 734 1217'>runs</span> <span class='ocr_cinfo' title='bbox 749 1187 793 1228'>by</span> <span class='ocr_cinfo' title='bbox 807 1185 843 1224'>it,</span> <span class='ocr_cinfo' title='bbox 859 1193 889 1216'>at</span> <span class='ocr_cinfo' title='bbox 902 1187 953 1216'>the</span> <span class='ocr_cinfo' title='bbox 962 1185 1095 1217'>distance</span> <span class='ocr_cinfo' title='bbox 1111 1187 1147 1217'>of</span> <span class='ocr_cinfo' title='bbox 1152 1195 1216 1218'>two</span><br></span><span class='ocr_line' title='bbox 137 1228 1214 1270;hardbreak 1'><span class='ocr_cinfo' title='bbox 137 1228 292 1270'>furlongs;</span> <span class='ocr_cinfo' title='bbox 307 1240 379 1260'>near</span> <span class='ocr_cinfo' title='bbox 395 1230 496 1261'>which</span> <span class='ocr_cinfo' title='bbox 513 1231 599 1261'>there</span> <span class='ocr_cinfo' title='bbox 614 1230 667 1269'>isj</span> <span class='ocr_cinfo' title='bbox 684 1231 1058 1269'>Memnon'smonument,</span> <span class='ocr_cinfo' title='bbox 1070 1231 1128 1260'>and</span> <span class='ocr_cinfo' title='bbox 1139 1231 1214 1260'>hath</span><br></span><span class='ocr_line' title='bbox 134 1272 1218 1316;hardbreak 1'><span class='ocr_cinfo' title='bbox 134 1283 203 1303'>near</span> <span class='ocr_cinfo' title='bbox 219 1272 244 1303'>it</span> <span class='ocr_cinfo' title='bbox 260 1284 277 1302'>a</span> <span class='ocr_cinfo' title='bbox 292 1274 379 1313'>place</span> <span class='ocr_cinfo' title='bbox 392 1285 432 1304'>no</span> <span class='ocr_cinfo' title='bbox 441 1274 544 1316'>larger</span> <span class='ocr_cinfo' title='bbox 554 1275 628 1305'>than</span> <span class='ocr_cinfo' title='bbox 639 1286 676 1304'>an</span> <span class='ocr_cinfo' title='bbox 689 1274 830 1304'>hundred</span> <span class='ocr_cinfo' title='bbox 838 1274 950 1314'>cubits,</span> <span class='ocr_cinfo' title='bbox 961 1274 1064 1305'>which</span> <span class='ocr_cinfo' title='bbox 1075 1276 1218 1305'>deserves</span><br></span><span class='ocr_line' title='bbox 136 1316 1216 1359;hardbreak 1'><span class='ocr_cinfo' title='bbox 136 1316 333 1353'>admiration;</span> <span class='ocr_cinfo' title='bbox 350 1317 399 1347'>for</span> <span class='ocr_cinfo' title='bbox 414 1319 465 1348'>the</span> <span class='ocr_cinfo' title='bbox 481 1319 567 1359'>place</span> <span class='ocr_cinfo' title='bbox 582 1317 608 1348'>is</span> <span class='ocr_cinfo' title='bbox 623 1319 722 1349'>round</span> <span class='ocr_cinfo' title='bbox 736 1319 795 1349'>and</span> <span class='ocr_cinfo' title='bbox 809 1318 935 1357'>hollow,</span> <span class='ocr_cinfo' title='bbox 951 1320 1007 1348'>and</span> <span class='ocr_cinfo' title='bbox 1018 1319 1128 1350'>affords</span> <span class='ocr_cinfo' title='bbox 1140 1320 1216 1349'>such</span><br></span><span class='ocr_line' title='bbox 137 1360 1199 1402'><span class='ocr_cinfo' title='bbox 137 1362 208 1391'>sand</span> <span class='ocr_cinfo' title='bbox 224 1372 257 1391'>as</span> <span class='ocr_cinfo' title='bbox 274 1362 356 1402'>glass</span> <span class='ocr_cinfo' title='bbox 372 1360 397 1391'>is</span> <span class='ocr_cinfo' title='bbox 413 1363 500 1392'>made</span> <span class='ocr_cinfo' title='bbox 516 1363 558 1398'>of,</span> <span class='ocr_cinfo' title='bbox 574 1362 677 1392'>which</span> <span class='ocr_cinfo' title='bbox 693 1362 789 1402'>place,</span> <span class='ocr_cinfo' title='bbox 804 1363 894 1392'>when</span> <span class='ocr_cinfo' title='bbox 910 1361 935 1393'>it</span> <span class='ocr_cinfo' title='bbox 950 1362 1024 1393'>hath</span> <span class='ocr_cinfo' title='bbox 1040 1363 1116 1393'>been</span> <span class='ocr_cinfo' title='bbox 1128 1373 1199 1402'>emp</span>­<br></span><span class='ocr_line' title='bbox 137 1404 1216 1448;hardbreak 1'><span class='ocr_cinfo' title='bbox 137 1404 198 1435'>tied</span> <span class='ocr_cinfo' title='bbox 213 1406 257 1447'>by</span> <span class='ocr_cinfo' title='bbox 273 1405 326 1435'>the</span> <span class='ocr_cinfo' title='bbox 342 1416 436 1446'>many</span> <span class='ocr_cinfo' title='bbox 451 1405 536 1446'>ships</span> <span class='ocr_cinfo' title='bbox 552 1407 639 1436'>there</span> <span class='ocr_cinfo' title='bbox 661 1407 779 1444'>loaded,</span> <span class='ocr_cinfo' title='bbox 801 1405 826 1436'>it</span> <span class='ocr_cinfo' title='bbox 841 1406 868 1437'>is</span> <span class='ocr_cinfo' title='bbox 889 1405 972 1436'>filled</span> <span class='ocr_cinfo' title='bbox 987 1405 1076 1448'>again</span> <span class='ocr_cinfo' title='bbox 1097 1407 1141 1447'>by</span> <span class='ocr_cinfo' title='bbox 1163 1407 1216 1436'>the</span><br></span><span class='ocr_line' title='bbox 137 1448 1216 1491;hardbreak 1'><span class='ocr_cinfo' title='bbox 137 1448 243 1487'>winds,</span> <span class='ocr_cinfo' title='bbox 259 1448 362 1484'>which</span> <span class='ocr_cinfo' title='bbox 378 1448 470 1491'>bring</span> <span class='ocr_cinfo' title='bbox 485 1449 551 1481'>into</span> <span class='ocr_cinfo' title='bbox 566 1449 601 1489'>it,</span> <span class='ocr_cinfo' title='bbox 625 1461 656 1481'>as</span> <span class='ocr_cinfo' title='bbox 673 1450 698 1481'>it</span> <span class='ocr_cinfo' title='bbox 720 1460 803 1484'>were'</span> <span class='ocr_cinfo' title='bbox 825 1461 863 1481'>on</span> <span class='ocr_cinfo' title='bbox 887 1461 1032 1491'>purpose,</span> <span class='ocr_cinfo' title='bbox 1053 1451 1121 1480'>that</span> <span class='ocr_cinfo' title='bbox 1142 1451 1216 1480'>sand</span><br></span><span class='ocr_line' title='bbox 136 1491 1216 1534;hardbreak 1'><span class='ocr_cinfo' title='bbox 136 1491 237 1522'>which</span> <span class='ocr_cinfo' title='bbox 254 1493 306 1534'>lay</span> <span class='ocr_cinfo' title='bbox 321 1501 448 1532'>remote,</span> <span class='ocr_cinfo' title='bbox 464 1494 521 1524'>and</span> <span class='ocr_cinfo' title='bbox 535 1505 599 1524'>was</span> <span class='ocr_cinfo' title='bbox 614 1505 653 1525'>no</span> <span class='ocr_cinfo' title='bbox 668 1504 754 1525'>more</span> <span class='ocr_cinfo' title='bbox 778 1495 851 1524'>than</span> <span class='ocr_cinfo' title='bbox 872 1495 945 1525'>bare</span> <span class='ocr_cinfo' title='bbox 967 1504 1108 1524'>common</span> <span class='ocr_cinfo' title='bbox 1132 1495 1216 1531'>sand,</span><br></span><span class='ocr_line' title='bbox 135 1536 1217 1580;hardbreak 1'><span class='ocr_cinfo' title='bbox 135 1536 227 1566'>while</span> <span class='ocr_cinfo' title='bbox 243 1536 305 1566'>this</span> <span class='ocr_cinfo' title='bbox 322 1536 402 1567'>mine</span> <span class='ocr_cinfo' title='bbox 418 1538 575 1579'>presently</span> <span class='ocr_cinfo' title='bbox 590 1545 677 1568'>turns</span> <span class='ocr_cinfo' title='bbox 694 1537 719 1567'>it</span> <span class='ocr_cinfo' title='bbox 733 1536 800 1567'>into</span> <span class='ocr_cinfo' title='bbox 813 1538 916 1580'>glassy</span> <span class='ocr_cinfo' title='bbox 932 1538 1016 1568'>sand.</span> <span class='ocr_cinfo' title='bbox 1049 1539 1123 1569'>And</span> <span class='ocr_cinfo' title='bbox 1133 1538 1217 1567'>what</span><br></span><span class='ocr_line' title='bbox 135 1579 1200 1623'><span class='ocr_cinfo' title='bbox 135 1579 161 1610'>is</span> <span class='ocr_cinfo' title='bbox 175 1588 207 1610'>to</span> <span class='ocr_cinfo' title='bbox 222 1591 272 1610'>me</span> <span class='ocr_cinfo' title='bbox 289 1579 352 1611'>still</span> <span class='ocr_cinfo' title='bbox 367 1592 453 1611'>more</span> <span class='ocr_cinfo' title='bbox 468 1582 652 1620'>wonderful,</span> <span class='ocr_cinfo' title='bbox 668 1583 733 1612'>that</span> <span class='ocr_cinfo' title='bbox 748 1582 850 1623'>glassy</span> <span class='ocr_cinfo' title='bbox 866 1583 939 1612'>sand</span> <span class='ocr_cinfo' title='bbox 950 1580 1053 1612'>which</span> <span class='ocr_cinfo' title='bbox 1064 1581 1091 1612'>is</span> <span class='ocr_cinfo' title='bbox 1107 1592 1200 1621'>super</span>­<br></span><span class='ocr_line' title='bbox 135 1623 1219 1665;hardbreak 1'><span class='ocr_cinfo' title='bbox 135 1623 246 1661'>fluous,</span> <span class='ocr_cinfo' title='bbox 261 1625 319 1655'>and</span> <span class='ocr_cinfo' title='bbox 336 1624 362 1654'>is</span> <span class='ocr_cinfo' title='bbox 377 1635 450 1655'>once</span> <span class='ocr_cinfo' title='bbox 466 1627 611 1656'>removed</span> <span class='ocr_cinfo' title='bbox 620 1633 674 1656'>out</span> <span class='ocr_cinfo' title='bbox 686 1625 723 1656'>of</span> <span class='ocr_cinfo' title='bbox 730 1627 782 1655'>the</span> <span class='ocr_cinfo' title='bbox 792 1626 888 1665'>place,</span> <span class='ocr_cinfo' title='bbox 896 1626 1037 1656'>becomes</span> <span class='ocr_cinfo' title='bbox 1046 1625 1120 1655'>bare</span> <span class='ocr_cinfo' title='bbox 1132 1636 1219 1657'>com-v</span><br></span><span class='ocr_line' title='bbox 136 1667 1216 1710;hardbreak 1'><span class='ocr_cinfo' title='bbox 136 1678 206 1697'>mori</span> <span class='ocr_cinfo' title='bbox 222 1670 296 1699'>sand</span> <span class='ocr_cinfo' title='bbox 312 1667 411 1710'>again.</span> <span class='ocr_cinfo' title='bbox 455 1669 530 1700'>And</span> <span class='ocr_cinfo' title='bbox 545 1668 606 1700'>this</span> <span class='ocr_cinfo' title='bbox 628 1669 654 1701'>is</span> <span class='ocr_cinfo' title='bbox 670 1670 722 1700'>the</span> <span class='ocr_cinfo' title='bbox 737 1677 847 1700'>nature</span> <span class='ocr_cinfo' title='bbox 862 1670 899 1700'>of</span> <span class='ocr_cinfo' title='bbox 916 1671 969 1701'>the</span> <span class='ocr_cinfo' title='bbox 991 1669 1078 1710'>place</span> <span class='ocr_cinfo' title='bbox 1094 1680 1141 1700'>we</span> <span class='ocr_cinfo' title='bbox 1164 1680 1216 1700'>are</span><br></span><span class='ocr_line' title='bbox 136 1712 345 1754'><span class='ocr_cinfo' title='bbox 136 1712 286 1754'>speaking</span> <span class='ocr_cinfo' title='bbox 302 1713 345 1742'>of.</span></span></p>
<p class='ocr_par' title='bbox 137 1755 1217 1929' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 181 1755 1215 1799;hardbreak 1'><span class='ocr_cinfo' title='bbox 181 1762 213 1787'>3.</span> <span class='ocr_cinfo' title='bbox 231 1756 296 1787'>But</span> <span class='ocr_cinfo' title='bbox 311 1767 381 1787'>now</span> <span class='ocr_cinfo' title='bbox 396 1757 448 1787'>the</span> <span class='ocr_cinfo' title='bbox 473 1757 556 1798'>Jews</span> <span class='ocr_cinfo' title='bbox 572 1764 625 1799'>got</span> <span class='ocr_cinfo' title='bbox 649 1757 790 1799'>together</span> <span class='ocr_cinfo' title='bbox 806 1756 837 1787'>in</span> <span class='ocr_cinfo' title='bbox 853 1765 940 1799'>great</span> <span class='ocr_cinfo' title='bbox 962 1757 1109 1787'>numbers</span> <span class='ocr_cinfo' title='bbox 1136 1755 1215 1787'>with</span><br></span><span class='ocr_line' title='bbox 137 1798 1216 1845;hardbreak 1'><span class='ocr_cinfo' title='bbox 137 1798 216 1829'>their</span> <span class='ocr_cinfo' title='bbox 231 1800 330 1831'>wives</span> <span class='ocr_cinfo' title='bbox 346 1802 402 1831'>and</span> <span class='ocr_cinfo' title='bbox 418 1801 555 1831'>children</span> <span class='ocr_cinfo' title='bbox 570 1800 635 1832'>into</span> <span class='ocr_cinfo' title='bbox 650 1802 717 1831'>that</span> <span class='ocr_cinfo' title='bbox 733 1800 816 1841'>plain</span> <span class='ocr_cinfo' title='bbox 829 1802 895 1831'>that</span> <span class='ocr_cinfo' title='bbox 905 1812 967 1831'>was</span> <span class='ocr_cinfo' title='bbox 980 1802 1021 1841'>by</span> <span class='ocr_cinfo' title='bbox 1037 1800 1216 1845'>Ptolemaisj</span><br></span><span class='ocr_line' title='bbox 137 1843 1217 1884;hardbreak 1'><span class='ocr_cinfo' title='bbox 137 1845 194 1874'>and</span> <span class='ocr_cinfo' title='bbox 208 1845 297 1874'>made</span> <span class='ocr_cinfo' title='bbox 308 1844 515 1884'>supplication</span> <span class='ocr_cinfo' title='bbox 529 1852 563 1876'>to</span> <span class='ocr_cinfo' title='bbox 578 1843 751 1882'>Petronius,</span> <span class='ocr_cinfo' title='bbox 762 1844 828 1876'>first</span> <span class='ocr_cinfo' title='bbox 843 1846 892 1876'>for</span> <span class='ocr_cinfo' title='bbox 907 1844 988 1875'>their</span> <span class='ocr_cinfo' title='bbox 1003 1845 1091 1883'>laws,</span> <span class='ocr_cinfo' title='bbox 1104 1846 1171 1882'>and,</span> <span class='ocr_cinfo' title='bbox 1184 1844 1217 1875'>in</span><br></span><span class='ocr_line' title='bbox 137 1887 1217 1929'><span class='ocr_cinfo' title='bbox 137 1887 189 1917'>the</span> <span class='ocr_cinfo' title='bbox 204 1896 280 1918'>next</span> <span class='ocr_cinfo' title='bbox 295 1889 392 1929'>place,</span> <span class='ocr_cinfo' title='bbox 408 1889 456 1919'>for</span> <span class='ocr_cinfo' title='bbox 472 1889 668 1920'>themselves.</span> <span class='ocr_cinfo' title='bbox 716 1889 756 1921'>So</span> <span class='ocr_cinfo' title='bbox 765 1889 803 1918'>he</span> <span class='ocr_cinfo' title='bbox 817 1900 878 1920'>was</span> <span class='ocr_cinfo' title='bbox 895 1889 1052 1929'>prevailed</span> <span class='ocr_cinfo' title='bbox 1067 1898 1151 1929'>upon</span> <span class='ocr_cinfo' title='bbox 1173 1889 1217 1929'>by</span></span></p>
<p class='ocr_par' title='bbox 1165 1933 1219 1964' style='font-size:10pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 1165 1933 1219 1964'><span class='ocr_cinfo' title='bbox 1165 1933 1219 1964'>the</span></span></p>
</div>
<div class='ocrx_block' title='bbox 139 1996 1219 2263'>
<p class='ocr_par' title='bbox 145 1996 1218 2064' style='font-size:8pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 176 1996 1218 2031;hardbreak 1'><span class='ocr_cinfo' title='bbox 176 1997 188 2010'>*</span> <span class='ocr_cinfo' title='bbox 200 1996 298 2020'>Tacitus</span> <span class='ocr_cinfo' title='bbox 309 2004 375 2021'>owns</span> <span class='ocr_cinfo' title='bbox 386 1996 437 2021'>that</span> <span class='ocr_cinfo' title='bbox 450 1997 521 2022'>Caius</span> <span class='ocr_cinfo' title='bbox 529 1998 683 2022'>commanded</span> <span class='ocr_cinfo' title='bbox 695 1998 735 2022'>the</span> <span class='ocr_cinfo' title='bbox 752 1999 815 2022'>Jews</span> <span class='ocr_cinfo' title='bbox 834 2003 859 2022'>to</span> <span class='ocr_cinfo' title='bbox 872 1998 938 2029'>place</span> <span class='ocr_cinfo' title='bbox 955 1998 991 2023'>his</span> <span class='ocr_cinfo' title='bbox 1008 1997 1096 2031'>effigies</span> <span class='ocr_cinfo' title='bbox 1111 1998 1135 2021'>in</span> <span class='ocr_cinfo' title='bbox 1156 1997 1218 2022'>their</span><br></span><span class='ocr_line' title='bbox 145 2030 1217 2064'><span class='ocr_cinfo' title='bbox 145 2030 241 2062'>temple,</span> <span class='ocr_cinfo' title='bbox 254 2031 345 2063'>though</span> <span class='ocr_cinfo' title='bbox 358 2031 387 2054'>he</span> <span class='ocr_cinfo' title='bbox 399 2031 429 2055'>be</span> <span class='ocr_cinfo' title='bbox 440 2032 555 2055'>mistaken</span> <span class='ocr_cinfo' title='bbox 564 2031 634 2055'>when</span> <span class='ocr_cinfo' title='bbox 647 2032 676 2055'>he</span> <span class='ocr_cinfo' title='bbox 684 2032 748 2060'>adds,</span> <span class='ocr_cinfo' title='bbox 757 2032 807 2055'>that</span> <span class='ocr_cinfo' title='bbox 817 2031 857 2055'>the</span> <span class='ocr_cinfo' title='bbox 870 2033 934 2056'>Jews</span> <span class='ocr_cinfo' title='bbox 946 2032 1075 2064'>thereupon</span> <span class='ocr_cinfo' title='bbox 1085 2032 1141 2056'>took</span> <span class='ocr_cinfo' title='bbox 1149 2040 1217 2056'>arms.</span></span></p>
<p class='ocr_par' title='bbox 142 2064 1217 2166' style='font-size:8pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 172 2064 1217 2097;hardbreak 1'><span class='ocr_cinfo' title='bbox 172 2064 188 2095'>t</span> <span class='ocr_cinfo' title='bbox 200 2064 261 2088'>This</span> <span class='ocr_cinfo' title='bbox 273 2071 371 2089'>account</span> <span class='ocr_cinfo' title='bbox 382 2065 410 2088'>of</span> <span class='ocr_cinfo' title='bbox 416 2073 430 2089'>a</span> <span class='ocr_cinfo' title='bbox 441 2065 506 2097'>place</span> <span class='ocr_cinfo' title='bbox 514 2073 571 2090'>near</span> <span class='ocr_cinfo' title='bbox 580 2065 620 2089'>the</span> <span class='ocr_cinfo' title='bbox 630 2065 712 2089'>mouth</span> <span class='ocr_cinfo' title='bbox 721 2066 748 2089'>of</span> <span class='ocr_cinfo' title='bbox 757 2066 797 2089'>the</span> <span class='ocr_cinfo' title='bbox 805 2065 867 2089'>river</span> <span class='ocr_cinfo' title='bbox 877 2066 947 2090'>Belus</span> <span class='ocr_cinfo' title='bbox 955 2067 978 2090'>in</span> <span class='ocr_cinfo' title='bbox 992 2066 1111 2094'>Phenicia,</span> <span class='ocr_cinfo' title='bbox 1119 2065 1217 2091'>whence</span><br></span><span class='ocr_line' title='bbox 143 2098 1217 2132;hardbreak 1'><span class='ocr_cinfo' title='bbox 143 2103 207 2121'>came</span> <span class='ocr_cinfo' title='bbox 219 2098 271 2122'>that</span> <span class='ocr_cinfo' title='bbox 283 2100 339 2123'>sand</span> <span class='ocr_cinfo' title='bbox 352 2104 394 2123'>out</span> <span class='ocr_cinfo' title='bbox 405 2099 432 2122'>of</span> <span class='ocr_cinfo' title='bbox 440 2098 519 2123'>which</span> <span class='ocr_cinfo' title='bbox 532 2099 572 2123'>the</span> <span class='ocr_cinfo' title='bbox 590 2100 693 2124'>ancients</span> <span class='ocr_cinfo' title='bbox 704 2100 772 2123'>made</span> <span class='ocr_cinfo' title='bbox 784 2099 844 2123'>their</span> <span class='ocr_cinfo' title='bbox 862 2100 930 2132'>glass,</span> <span class='ocr_cinfo' title='bbox 947 2101 965 2124'>is</span> <span class='ocr_cinfo' title='bbox 982 2108 996 2124'>a</span> <span class='ocr_cinfo' title='bbox 1012 2100 1100 2124'>known</span> <span class='ocr_cinfo' title='bbox 1113 2099 1180 2132'>thing</span> <span class='ocr_cinfo' title='bbox 1192 2099 1217 2124'>in</span><br></span><span class='ocr_line' title='bbox 142 2129 1074 2166'><span class='ocr_cinfo' title='bbox 142 2129 240 2162'>history,</span> <span class='ocr_cinfo' title='bbox 251 2132 400 2164'>particularly</span> <span class='ocr_cinfo' title='bbox 414 2134 436 2157'>in</span> <span class='ocr_cinfo' title='bbox 445 2134 543 2158'>Tacitus</span> <span class='ocr_cinfo' title='bbox 554 2134 600 2158'>and</span> <span class='ocr_cinfo' title='bbox 612 2133 707 2161'>Strabo,</span> <span class='ocr_cinfo' title='bbox 718 2133 764 2157'>and</span> <span class='ocr_cinfo' title='bbox 776 2141 841 2157'>more</span> <span class='ocr_cinfo' title='bbox 859 2134 949 2166'>largely</span> <span class='ocr_cinfo' title='bbox 962 2134 984 2158'>in</span> <span class='ocr_cinfo' title='bbox 997 2134 1074 2165'>Pliny.</span></span></p>
<p class='ocr_par' title='bbox 139 2165 1219 2263' style='font-size:8pt;font-family:"Times New Roman";font-style:normal'><span class='ocr_line' title='bbox 176 2165 1218 2200;hardbreak 1'><span class='ocr_cinfo' title='bbox 176 2165 186 2195' style='font-size:8pt;font-family:"Times New Roman";font-style:normal'>\</span> <span class='ocr_cinfo' title='bbox 201 2165 261 2191'>This</span> <span class='ocr_cinfo' title='bbox 274 2167 393 2191'>Memnon</span> <span class='ocr_cinfo' title='bbox 414 2167 459 2191'>had</span> <span class='ocr_cinfo' title='bbox 472 2167 561 2192'>several</span> <span class='ocr_cinfo' title='bbox 572 2173 730 2195'>monuments,</span> <span class='ocr_cinfo' title='bbox 747 2168 793 2191'>and</span> <span class='ocr_cinfo' title='bbox 804 2176 848 2191'>one</span> <span class='ocr_cinfo' title='bbox 866 2168 893 2192'>of</span> <span class='ocr_cinfo' title='bbox 908 2169 973 2192'>them</span> <span class='ocr_cinfo' title='bbox 991 2175 1094 2200'>appears,</span> <span class='ocr_cinfo' title='bbox 1109 2166 1167 2191'>both</span> <span class='ocr_cinfo' title='bbox 1184 2166 1218 2198'>by</span><br></span><span class='ocr_line' title='bbox 144 2197 1219 2235;hardbreak 1'><span class='ocr_cinfo' title='bbox 144 2197 227 2223'>Strabo</span> <span class='ocr_cinfo' title='bbox 239 2200 285 2224'>and</span> <span class='ocr_cinfo' title='bbox 296 2200 425 2231'>Diodorui,</span> <span class='ocr_cinfo' title='bbox 443 2206 469 2227'>to</span> <span class='ocr_cinfo' title='bbox 488 2201 549 2228'>have</span> <span class='ocr_cinfo' title='bbox 567 2200 627 2228'>b«en</span> <span class='ocr_cinfo' title='bbox 639 2201 663 2226'>in</span> <span class='ocr_cinfo' title='bbox 682 2201 757 2235'>Syria,</span> <span class='ocr_cinfo' title='bbox 776 2201 824 2226'>and</span> <span class='ocr_cinfo' title='bbox 842 2208 884 2228'>nut</span> <span class='ocr_cinfo' title='bbox 896 2203 1043 2234'>improbably</span> <span class='ocr_cinfo' title='bbox 1059 2201 1084 2226'>in</span> <span class='ocr_cinfo' title='bbox 1095 2201 1142 2226'>this</span> <span class='ocr_cinfo' title='bbox 1159 2208 1219 2233'>very</span><br></span><span class='ocr_line' title='bbox 139 2230 211 2263'><span class='ocr_cinfo' title='bbox 139 2230 211 2263'>{dace.</span></span></p>
</div>
</div></body>
</html>
| 1,150.416667 | 17,221 | 0.729736 |
0b5db17336f788ad1d51e0ebfedab480c4c72a7e | 2,068 | py | Python | quiz/models.py | jzi040941/django_quiz | 465d29c74e3ff6814f686296d225f18a50c99b9a | [
"MIT"
] | 1 | 2018-03-14T16:43:00.000Z | 2018-03-14T16:43:00.000Z | quiz/models.py | jzi040941/django_quiz | 465d29c74e3ff6814f686296d225f18a50c99b9a | [
"MIT"
] | null | null | null | quiz/models.py | jzi040941/django_quiz | 465d29c74e3ff6814f686296d225f18a50c99b9a | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class quiz_short(models.Model):
AssignNum = models.ForeignKey('teacher.Assignment', on_delete=models.CASCADE)
Question = models.TextField()
Answer = models.TextField()
def __str__(self):
return "AssignNum : %s, question: %s Answer: %s" % (self.AssignNum, self.Question, self.Answer)
class quiz_one(models.Model):
AssignNum = models.ForeignKey('teacher.Assignment', on_delete=models.CASCADE)
Question = models.TextField()
# Check = models.CharField(max_length=7, choices=CHECK_LIST)
Check = models.IntegerField(null=True,blank=True)
'''
Check_1 = models.BooleanField()
Check_2 = models.BooleanField()
Check_3 = models.BooleanField()
Check_4 = models.BooleanField()
'''
Selection_1 = models.TextField()
Selection_2 = models.TextField()
Selection_3 = models.TextField()
Selection_4 = models.TextField()
def __str__(self):
return "AssignNum : %s, question: %s Selection_1: %s" % (self.AssignNum, self.Question, self.Selection_1)
'''
class quiz_one(models.Model):
AssignNum = models.ForeignKey('teacher.Assignment', on_delete=models.CASCADE)
Question = models.TextField()
Answer = models.TextField()
Wrong_1 = models.TextField()
Wrong_2 = models.TextField()
Wrong_3 = models.TextField()
def __str__(self):
return "AssignNum : %s, question: %s Answer: %s" % (self.AssignNum, self.Question, self.Answer)
'''
class quiz_multi(models.Model):
AssignNum = models.ForeignKey('teacher.Assignment', on_delete=models.CASCADE)
Question = models.TextField()
Check_1 = models.BooleanField()
Check_2 = models.BooleanField()
Check_3 = models.BooleanField()
Check_4 = models.BooleanField()
Selection_1 = models.TextField()
Selection_2 = models.TextField()
Selection_3 = models.TextField()
Selection_4 = models.TextField()
def __str__(self):
return "AssignNum : %s, question: %s Selection_1: %s" % (self.AssignNum, self.Question, self.Selection_1)
| 35.655172 | 113 | 0.696325 |
52d58dd2e8d1b47ca3b318c52803539e7cec4d4c | 664 | sql | SQL | src/Sfa.Tl.Find.Provider.Api.Database/Tables/Provider.sql | SkillsFundingAgency/tl-find-provider-api | 5c580f9f5f61c526a93a2edf6a2cec05c42bc23b | [
"MIT"
] | null | null | null | src/Sfa.Tl.Find.Provider.Api.Database/Tables/Provider.sql | SkillsFundingAgency/tl-find-provider-api | 5c580f9f5f61c526a93a2edf6a2cec05c42bc23b | [
"MIT"
] | 2 | 2021-08-20T10:03:33.000Z | 2021-12-29T09:13:43.000Z | src/Sfa.Tl.Find.Provider.Api.Database/Tables/Provider.sql | SkillsFundingAgency/tl-find-provider-api | 5c580f9f5f61c526a93a2edf6a2cec05c42bc23b | [
"MIT"
] | null | null | null | CREATE TABLE [dbo].[Provider]
(
[Id] INT IDENTITY(1,1) NOT NULL,
[UkPrn] BIGINT NOT NULL,
[Name] NVARCHAR(400) NOT NULL,
[AddressLine1] NVARCHAR(100) NULL,
[AddressLine2] NVARCHAR(100) NULL,
[Town] NVARCHAR(100) NULL,
[County] NVARCHAR(50) NULL,
[Postcode] NVARCHAR(10) NULL,
[Email] NVARCHAR(320) NULL,
[Telephone] NVARCHAR(150) NULL,
[Website] NVARCHAR(500) NULL,
[IsDeleted] BIT NOT NULL DEFAULT (0),
[IsAdditionalData] BIT NOT NULL DEFAULT (0),
[CreatedOn] DATETIME2(7) NOT NULL DEFAULT (GETUTCDATE()),
[ModifiedOn] DATETIME2(7) NULL
CONSTRAINT [PK_Provider] PRIMARY KEY ([Id])
CONSTRAINT [UQ_UkPrn] UNIQUE([UkPrn], [IsAdditionalData])
)
| 31.619048 | 59 | 0.709337 |
fe0013c367334100de1fdcf730ecc941f68fdec6 | 130 | sql | SQL | schema/revert/tables/ciip_application_wizard.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 9 | 2019-10-09T20:57:34.000Z | 2020-11-19T15:32:32.000Z | schema/revert/tables/ciip_application_wizard.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 1,282 | 2019-08-21T20:43:34.000Z | 2022-03-30T16:46:46.000Z | schema/revert/tables/ciip_application_wizard.sql | bcgov/cas-ciip-portal | dceb5331fa17902b1100e6faccac9d36eeb8b4a5 | [
"Apache-2.0"
] | 2 | 2019-10-16T22:27:43.000Z | 2021-01-26T20:05:13.000Z | -- Revert ggircs-portal:table_ciip_application_wizard from pg
begin;
drop table ggircs_portal.ciip_application_wizard;
commit;
| 16.25 | 61 | 0.838462 |
febf9ac3a3ea189a4c6136cdd0345f8b928b00b1 | 13,982 | html | HTML | public/index.html | stayradiated/totalcarpetservicesrotorua.co.nz | adc66aceafcd9a30e14c01725959cb9c72f717bc | [
"MIT"
] | null | null | null | public/index.html | stayradiated/totalcarpetservicesrotorua.co.nz | adc66aceafcd9a30e14c01725959cb9c72f717bc | [
"MIT"
] | null | null | null | public/index.html | stayradiated/totalcarpetservicesrotorua.co.nz | adc66aceafcd9a30e14c01725959cb9c72f717bc | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><link rel="preload" href="/totalcarpetservices.com/component---src-layouts-index-js-9ece3664cb06afbc427e.js" as="script"/><link rel="preload" href="/totalcarpetservices.com/component---src-pages-index-js-1aa78053e4dcab6f74fd.js" as="script"/><link rel="preload" href="/totalcarpetservices.com/path---index-586c7e095e534a3909ec.js" as="script"/><link rel="preload" href="/totalcarpetservices.com/app-074051787c9d65c9c420.js" as="script"/><link rel="preload" href="/totalcarpetservices.com/commons-77e766c04d66d0750100.js" as="script"/><script id="webpack-manifest">
//<![CDATA[
window.webpackManifest = {"231608221292675":"app-074051787c9d65c9c420.js","162898551421021":"component---src-pages-404-js-6247bbbf3259a404a3d4.js","35783957827783":"component---src-pages-index-js-1aa78053e4dcab6f74fd.js","60335399758886":"path----6611940bd40871b680a6.js","254022195166212":"path---404-586c7e095e534a3909ec.js","142629428675168":"path---index-586c7e095e534a3909ec.js","178698757827068":"path---404-html-586c7e095e534a3909ec.js","114276838955818":"component---src-layouts-index-js-9ece3664cb06afbc427e.js"}
//]]>
</script><style type="text/css" data-styled-components="htHRPZ etxJWT cvfAWp inMKPv jeKqbZ dSgrvo fgSTpW kSzTaY" data-styled-components-is-local="true">/* sc-component-id: sc-bdVaJa */
.htHRPZ{background: #FE790E;margin-bottom: 1.45rem;}
/* sc-component-id: sc-bwzfXH */
.etxJWT{margin: 0 auto;max-width: 960px;padding: 1.45rem 1.0875rem;}
/* sc-component-id: sc-htpNat */
.jeKqbZ{margin: 0 auto;max-width: 960px;padding: 1.45rem 1.0875rem;padding-top: 0;}
/* sc-component-id: sc-bxivhb */
.cvfAWp{margin: 0;}
/* sc-component-id: sc-ifAKCX */
.inMKPv{color: black;text-decoration: none;}.inMKPv:hover{text-decoration: underline;}
/* sc-component-id: sc-EHOje */
/* sc-component-id: sc-bZQynM */
/* sc-component-id: sc-gzVnrw */
</style><title data-react-helmet="true">Total Carpet Services Rotorua</title><meta data-react-helmet="true" name="description" content="Fully trained operators specialising in carpet steam cleaning and restoration."/><script>
!function(e,t,r){function n(){for(;d[0]&&"loaded"==d[0][f];)c=d.shift(),c[o]=!i.parentNode.insertBefore(c,i)}for(var s,a,c,d=[],i=e.scripts[0],o="onreadystatechange",f="readyState";s=r.shift();)a=e.createElement(t),"async"in i?(a.async=!1,e.head.appendChild(a)):i[f]?(d.push(a),a[o]=n):e.write("<"+t+' src="'+s+'" defer></'+t+">"),a.src=s}(document,"script",[
"/totalcarpetservices.com/commons-77e766c04d66d0750100.js","/totalcarpetservices.com/app-074051787c9d65c9c420.js","/totalcarpetservices.com/path---index-586c7e095e534a3909ec.js","/totalcarpetservices.com/component---src-pages-index-js-1aa78053e4dcab6f74fd.js","/totalcarpetservices.com/component---src-layouts-index-js-9ece3664cb06afbc427e.js"
])
</script><style id="typography.js">html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,optgroup,select,textarea{font:inherit;margin:0}optgroup{font-weight:700}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}html{font:112.5%/1.45em 'georgia',serif;box-sizing:border-box;overflow-y:scroll;}*{box-sizing:inherit;}*:before{box-sizing:inherit;}*:after{box-sizing:inherit;}body{color:hsla(0,0%,0%,0.8);font-family:'georgia',serif;font-weight:normal;word-wrap:break-word;font-kerning:normal;-moz-font-feature-settings:"kern", "liga", "clig", "calt";-ms-font-feature-settings:"kern", "liga", "clig", "calt";-webkit-font-feature-settings:"kern", "liga", "clig", "calt";font-feature-settings:"kern", "liga", "clig", "calt";}img{max-width:100%;margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}h1{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:2.25rem;line-height:1.1;}h2{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:1.62671rem;line-height:1.1;}h3{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:1.38316rem;line-height:1.1;}h4{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:1rem;line-height:1.1;}h5{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:0.85028rem;line-height:1.1;}h6{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;color:inherit;font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;font-weight:bold;text-rendering:optimizeLegibility;font-size:0.78405rem;line-height:1.1;}hgroup{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}ul{margin-left:1.45rem;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;list-style-position:outside;list-style-image:none;}ol{margin-left:1.45rem;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;list-style-position:outside;list-style-image:none;}dl{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}dd{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}p{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}figure{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}pre{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;font-size:0.85rem;line-height:1.42;background:hsla(0,0%,0%,0.04);border-radius:3px;overflow:auto;word-wrap:normal;padding:1.45rem;}table{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;font-size:1rem;line-height:1.45rem;border-collapse:collapse;width:100%;}fieldset{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}blockquote{margin-left:1.45rem;margin-right:1.45rem;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}form{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}noscript{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}iframe{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}hr{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:calc(1.45rem - 1px);background:hsla(0,0%,0%,0.2);border:none;height:1px;}address{margin-left:0;margin-right:0;margin-top:0;padding-bottom:0;padding-left:0;padding-right:0;padding-top:0;margin-bottom:1.45rem;}b{font-weight:bold;}strong{font-weight:bold;}dt{font-weight:bold;}th{font-weight:bold;}li{margin-bottom:calc(1.45rem / 2);}ol li{padding-left:0;}ul li{padding-left:0;}li > ol{margin-left:1.45rem;margin-bottom:calc(1.45rem / 2);margin-top:calc(1.45rem / 2);}li > ul{margin-left:1.45rem;margin-bottom:calc(1.45rem / 2);margin-top:calc(1.45rem / 2);}blockquote *:last-child{margin-bottom:0;}li *:last-child{margin-bottom:0;}p *:last-child{margin-bottom:0;}li > p{margin-bottom:calc(1.45rem / 2);}code{font-size:0.85rem;line-height:1.45rem;}kbd{font-size:0.85rem;line-height:1.45rem;}samp{font-size:0.85rem;line-height:1.45rem;}abbr{border-bottom:1px dotted hsla(0,0%,0%,0.5);cursor:help;}acronym{border-bottom:1px dotted hsla(0,0%,0%,0.5);cursor:help;}abbr[title]{border-bottom:1px dotted hsla(0,0%,0%,0.5);cursor:help;text-decoration:none;}thead{text-align:left;}td,th{text-align:left;border-bottom:1px solid hsla(0,0%,0%,0.12);font-feature-settings:"tnum";-moz-font-feature-settings:"tnum";-ms-font-feature-settings:"tnum";-webkit-font-feature-settings:"tnum";padding-left:0.96667rem;padding-right:0.96667rem;padding-top:0.725rem;padding-bottom:calc(0.725rem - 1px);}th:first-child,td:first-child{padding-left:0;}th:last-child,td:last-child{padding-right:0;}tt,code{background-color:hsla(0,0%,0%,0.04);border-radius:3px;font-family:"SFMono-Regular", Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Menlo,Courier,monospace;padding:0;padding-top:0.2em;padding-bottom:0.2em;}pre code{background:none;line-height:1.42;}code:before,code:after,tt:before,tt:after{letter-spacing:-0.2em;content:" ";}pre code:before,pre code:after,pre tt:before,pre tt:after{content:"";}@media only screen and (max-width:480px){html{font-size:100%;}}</style><style></style></head><body><div id="___gatsby"><div data-reactroot="" data-reactid="1" data-react-checksum="-1708724047"><!-- react-empty: 2 --><div data-reactid="3"><div class="sc-bdVaJa htHRPZ" data-reactid="4"><div class="sc-bwzfXH etxJWT" data-reactid="5"><h1 class="sc-bxivhb cvfAWp" data-reactid="6"><a class="sc-ifAKCX inMKPv" href="/totalcarpetservices.com/" data-reactid="7">Total Carpet Services Rotorua</a></h1></div></div><div class="sc-htpNat jeKqbZ" data-reactid="8"><ul class="sc-bZQynM dSgrvo" data-reactid="9"><li class="sc-gzVnrw fgSTpW" data-reactid="10">Total Carpet Services is Rotorua based.</li><li class="sc-gzVnrw fgSTpW" data-reactid="11">We have been operating since 1998.</li><li class="sc-gzVnrw fgSTpW" data-reactid="12">Fully trained operators specialising in carpet steam cleaning and restoration.</li><li class="sc-gzVnrw fgSTpW" data-reactid="13">Upholstory cleaning.</li><li class="sc-gzVnrw fgSTpW" data-reactid="14">Specialist stain removal.</li><li class="sc-gzVnrw fgSTpW" data-reactid="15">Flood restoration.</li><li class="sc-gzVnrw fgSTpW" data-reactid="16">Residential and commerical premises.</li></ul><p class="sc-EHOje kSzTaY" data-reactid="17">Call Ziggy or Sue to discuss your requirements:</p><h2 data-reactid="18">0274 924 530</h2><ul class="sc-bZQynM dSgrvo" data-reactid="19"><li class="sc-gzVnrw fgSTpW" data-reactid="20">PO Box 6245</li><li class="sc-gzVnrw fgSTpW" data-reactid="21">Rotorua 3043</li><li class="sc-gzVnrw fgSTpW" data-reactid="22">total.carpet@clear.net.nz</li></ul></div></div></div></div></body></html> | 451.032258 | 10,969 | 0.765842 |
42e3faa8485dee100073649cd053588ea9931257 | 6,923 | sql | SQL | SQL/master/form/D001/SPC_D001_ACT1.sql | ndq809/EPLUS | 5123917de7a65b791564c1ba8db2be42366061c6 | [
"MIT"
] | 1 | 2021-08-17T04:49:08.000Z | 2021-08-17T04:49:08.000Z | SQL/master/form/D001/SPC_D001_ACT1.sql | ndq809/EPLUS | 5123917de7a65b791564c1ba8db2be42366061c6 | [
"MIT"
] | 1 | 2022-02-27T22:20:10.000Z | 2022-02-27T22:20:10.000Z | SQL/master/form/D001/SPC_D001_ACT1.sql | ndq809/EPLUS | 5123917de7a65b791564c1ba8db2be42366061c6 | [
"MIT"
] | null | null | null | IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[SPC_D001_ACT1]') AND type IN (N'P', N'PC'))
/****** Object: StoredProcedure [dbo].[SPC_M001_ACT2] Script Date: 2017/11/23 15:16:49 ******/
DROP PROCEDURE [dbo].[SPC_D001_ACT1]
GO
/****** Object: StoredProcedure [dbo].[SPC_M001_ACT2] Script Date: 2017/11/23 15:16:49 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[SPC_D001_ACT1]
@P_json_header NVARCHAR(MAX) = ''
, @P_json_detail NVARCHAR(MAX) = ''
, @P_user_id VARCHAR(10) = ''
, @P_ip VARCHAR(20) = ''
AS
BEGIN
SET NOCOUNT ON;
--
DECLARE
@ERR_TBL ERRTABLE
, @w_time DATETIME = SYSDATETIME()
, @w_program_id NVARCHAR(50) = 'd001'
, @w_prs_prg_nm NVARCHAR(50) = N'xử lý tố cáo'
, @w_result NVARCHAR(10) = 'OK'
, @w_mode NVARCHAR(20) = 'update'
, @w_prs_key NVARCHAR(1000) = ''
, @w_message TINYINT = 0
, @w_inserted_key VARCHAR(15) = ''
, @DynamicPivotQuery NVARCHAR(MAX)
, @ColumnName NVARCHAR(MAX)
--
BEGIN TRANSACTION
BEGIN TRY
CREATE TABLE #HEADER(
target_own_id INT
, result_flag INT
)
CREATE TABLE #DETAIL(
target_own_id INT
, target_id INT
, denounce_div INT
, result_flag_detail INT
)
CREATE TABLE #CHECK_MASTER(
row_id INT
, item_id nvarchar(50)
, item_div NVARCHAR(15)
)
INSERT INTO #HEADER
SELECT
target_own_id AS target_own_id
, result_flag AS result_flag
FROM OPENJSON(@P_json_header) WITH(
target_own_id NVARCHAR(100) '$.target_own_id '
, result_flag NVARCHAR(100) '$.result_flag '
)
INSERT INTO #DETAIL
SELECT
target_own_id AS target_own_id
, target_id AS target_id
, denounce_div AS denounce_div
, result_flag_detail AS result_flag_detail
FROM OPENJSON(@P_json_detail) WITH(
target_own_id NVARCHAR(100) '$.target_own_id '
, target_id NVARCHAR(100) '$.target_id '
, denounce_div NVARCHAR(100) '$.denounce_div '
, result_flag_detail NVARCHAR(100) '$.result_flag_detail '
)
EXEC SPC_COM_M_NUMBER @P_user_id,'','D001','D001',1, @w_inserted_key OUTPUT
IF(@w_inserted_key = -1) --key out of range
BEGIN
SET @w_result = 'NG'
SET @w_message = 5
INSERT INTO @ERR_TBL
SELECT
2
, 5
, 'Error M888'
, ''
END
IF(@w_inserted_key = -2) --not not declared key at m_number
BEGIN
SET @w_result = 'NG'
SET @w_message = 6
INSERT INTO @ERR_TBL
SELECT
2
, 6
, 'Error M888'
, ''
END
IF(@w_inserted_key = -99) --system error
BEGIN
SET @w_result = 'NG'
SET @w_message = 7
INSERT INTO @ERR_TBL
SELECT
2
, 34
, 'Error M888'
, ''
END
IF EXISTS (SELECT 1 FROM @ERR_TBL) GOTO EXIT_SPC
--update trạng thái của account sau khi xử lý report
UPDATE _S001
SET
_S001.block_div = CASE #HEADER.result_flag
WHEN 0 THEN NULL
WHEN 1 THEN NULL
ELSE #HEADER.result_flag
END
, _S001.block_start = CASE #HEADER.result_flag
WHEN 0 THEN NULL
WHEN 1 THEN NULL
ELSE @w_time
END
, _S001.block_end = CASE #HEADER.result_flag
WHEN 0 THEN NULL
WHEN 1 THEN NULL
WHEN 2 THEN DATEADD(DAY,1,@w_time)
WHEN 3 THEN DATEADD(DAY,3,@w_time)
WHEN 4 THEN DATEADD(DAY,7,@w_time)
WHEN 5 THEN DATEADD(MONTH,1,@w_time)
WHEN 6 THEN NULL
END
, _S001.block_id = @w_inserted_key
, _S001.upd_prg = @w_program_id
, _S001.upd_ip = @P_ip
, _S001.upd_date = @w_time
FROM S001 _S001
LEFT JOIN #HEADER
ON _S001.account_id = #HEADER.target_own_id
--update trạng thái những tố cáo của người dùng
UPDATE _F006
SET
_F006.status = CASE #HEADER.result_flag
WHEN 0 THEN 0
WHEN 1 THEN 3
ELSE 2
END
, _F006.upd_prg = @w_program_id
, _F006.upd_ip = @P_ip
, _F006.upd_date = @w_time
FROM F006 _F006
LEFT JOIN #DETAIL
ON _F006.target_id = #DETAIL.target_id
AND _F006.execute_div = #DETAIL.denounce_div
LEFT JOIN #HEADER
ON #HEADER.target_own_id = #DETAIL.target_own_id
WHERE
_F006.status = 1
AND _F006.upd_user = @P_user_id
--lưu log xử lý tố cáo
INSERT INTO F014
SELECT
@w_inserted_key
, #DETAIL.target_id
, #DETAIL.denounce_div
, #DETAIL.result_flag_detail
, NULL
, 0
, @P_user_id
, @w_program_id
, @P_ip
, @w_time
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
FROM #DETAIL
--update trạng thái của đối tượng bị report
UPDATE _M001
SET
_M001.avarta = NULL
, _M001.upd_prg = @w_program_id
, _M001.upd_ip = @P_ip
, _M001.upd_date = @w_time
FROM M001 _M001
INNER JOIN S001
ON S001.user_id = _M001.user_id
INNER JOIN #DETAIL
ON #DETAIL.target_id = S001.account_id
AND #DETAIL.denounce_div = 3
WHERE
#DETAIL.result_flag_detail NOT IN(0,1)
UPDATE _M007
SET
_M007.del_user = @P_user_id
, _M007.del_prg = @w_program_id
, _M007.del_ip = @P_ip
, _M007.del_date = @w_time
, _M007.del_flg = 1
FROM M007 _M007
INNER JOIN #DETAIL
ON #DETAIL.target_id = _M007.post_id
AND #DETAIL.denounce_div = 1
WHERE
#DETAIL.result_flag_detail NOT IN(0,1)
UPDATE _F004
SET
_F004.del_user = @P_user_id
, _F004.del_prg = @w_program_id
, _F004.del_ip = @P_ip
, _F004.del_date = @w_time
, _F004.del_flg = 1
FROM F004 _F004
INNER JOIN #DETAIL
ON #DETAIL.target_id = _F004.comment_id
AND #DETAIL.denounce_div = 2
WHERE
#DETAIL.result_flag_detail NOT IN(0,1)
--EXEC SPC_S999_ACT1 @P_company_cd_u,@w_prs_user_id,@w_prs_prg,@w_prs_prg_nm,@w_prs_mode,@w_prs_key,@w_prs_result,@w_remarks
END TRY
BEGIN CATCH
DELETE FROM @ERR_TBL
INSERT INTO @ERR_TBL
SELECT
0
, ERROR_NUMBER()
, 'Exception'
, 'Error' + CHAR(13) + CHAR(10) +
'Procedure : ' + ISNULL(ERROR_PROCEDURE(), '???') + CHAR(13) + CHAR(10) +
'Line : ' + ISNULL(CAST(ERROR_LINE() AS NVARCHAR(10)), '0') + CHAR(13) + CHAR(10) +
'Message : ' + ISNULL(ERROR_MESSAGE(), 'An unexpected error occurred.')
END CATCH
--
EXIT_SPC:
EXEC SPC_S999_ACT1 @P_user_id,@w_program_id,@w_prs_prg_nm,@w_time,@w_mode,@w_prs_key,@w_result,@w_message
IF EXISTS(SELECT 1 FROM @ERR_TBL AS ERR_TBL WHERE ERR_TBL.Data = 'Exception')
BEGIN
IF @@TRANCOUNT >0
BEGIN
ROLLBACK TRANSACTION
END
END
ELSE
BEGIN
COMMIT TRANSACTION
END
--[0]
SELECT Id
, Code
, Data
, [Message]
FROM @ERR_TBL
ORDER BY Code
END
GO
| 25.174545 | 126 | 0.608985 |
2f78c934fe4f6700c41f96bcf1721efb0410b1e6 | 470 | php | PHP | app/Models/User.php | amcms/cms | 3555a6d855a184c6d293ffe708a69de5f60e166b | [
"MIT"
] | null | null | null | app/Models/User.php | amcms/cms | 3555a6d855a184c6d293ffe708a69de5f60e166b | [
"MIT"
] | null | null | null | app/Models/User.php | amcms/cms | 3555a6d855a184c6d293ffe708a69de5f60e166b | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Amcms\Models\Model as Model;
class User extends Model
{
protected $fillable = [
'name',
'email',
'password',
'hash',
];
// public function __construct($container)
// {
// $this->container = $container;
// }
// public function __get($service)
// {
// if ($this->container->$service) {
// return $this->container->$service;
// }
// }
} | 17.407407 | 49 | 0.502128 |
53e0d35168bb94e71b602972e5c38f3f47a9cc03 | 1,376 | java | Java | odersystem/src/main/java/com/bobo/ordersystem/entity/OrderEntity.java | danielnie001/WxOrderBackEnd | 78a006435e0a9e7493f44b235f3b702f6d10e85b | [
"Apache-2.0"
] | null | null | null | odersystem/src/main/java/com/bobo/ordersystem/entity/OrderEntity.java | danielnie001/WxOrderBackEnd | 78a006435e0a9e7493f44b235f3b702f6d10e85b | [
"Apache-2.0"
] | null | null | null | odersystem/src/main/java/com/bobo/ordersystem/entity/OrderEntity.java | danielnie001/WxOrderBackEnd | 78a006435e0a9e7493f44b235f3b702f6d10e85b | [
"Apache-2.0"
] | null | null | null | package com.bobo.ordersystem.entity;
import lombok.*;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
/**
* @author : danielNie
* @Description : IntelliJ IDEA
* @PackageName : com.bobo.odersystem.entity
* @ClassName : OrderEntity
* @addTime : 2021/10/26 21:25
*/
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "order_detail")
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderEntity extends BaseEntity{
/**
*
*/
private static final long serialVersionUID = -8717939944814269438L;
@Id
@GeneratedValue(generator = "hibernate-uuid")
@GenericGenerator(name = "hibernate-uuid",strategy = "uuid")
@Column(name = "detail_id",unique = true)
private String id;
/**
* 订单id
*/
@Column(name = "order_id" )
private String orderId;
/**
* 商品id
*/
@Column(name = "product_id" )
private String productId;
/**
* 商品名字
*/
@Column(name = "product_name" )
private String productName;
/**
* 商品价格
*/
@Column(name = "product_price" )
private Double productPrice;
/**
* 商品数量
*/
@Column(name = "product_quantity" )
private Integer productQuantity;
/**
* 商品小图
*/
@Column(name = "product_icon" )
private String productIcon;
}
| 19.380282 | 71 | 0.630814 |
56d2b9dbc3a5be77ce2b44b19cff421fd240886a | 6,297 | ts | TypeScript | src/electronApp/angularApp/services/printerService.ts | Gaweringo/AdventurerClientJS | 155c5581ec6e68dd5c5340226fed1f2055398d53 | [
"MIT"
] | 16 | 2020-08-31T10:12:47.000Z | 2022-03-17T19:55:32.000Z | src/electronApp/angularApp/services/printerService.ts | Gaweringo/AdventurerClientJS | 155c5581ec6e68dd5c5340226fed1f2055398d53 | [
"MIT"
] | 198 | 2020-09-12T10:01:51.000Z | 2022-03-10T15:23:20.000Z | src/electronApp/angularApp/services/printerService.ts | Gaweringo/AdventurerClientJS | 155c5581ec6e68dd5c5340226fed1f2055398d53 | [
"MIT"
] | 6 | 2020-12-06T20:32:53.000Z | 2021-12-29T03:09:34.000Z | import { Injectable } from '@angular/core';
import { IPrinterService } from './iPrinterService';
import { PrinterStatus, TemperatureResponse, FirmwareVersionResponse, PrinterDebugMonitor, } from '../../printerSdk/entities';
import { Printer } from '../../printerSdk/printer';
import { PrinterCamera } from '../../printerSdk/printerCamera';
import { ErrorLogger, PromiseWithProgress, EventDispatcher } from '../../core';
const path = window.require('path');
/**
* Injectable Printer service for communicating with printers.
*/
@Injectable({
providedIn: 'root',
})
export class PrinterService implements IPrinterService {
/**
* Indicates that a printer is currently connected.
*/
private isConnected: boolean;
/**
* The current printer instance.
*/
printer: Printer = null;
/**
* The interval for the heartbeat.
*/
heartbeatInterval: NodeJS.Timeout;
/** @inheritdoc */
public readonly ConnectionStateChanged = new EventDispatcher<boolean>();
/** @inheritdoc */
public readonly ConnectionError = new EventDispatcher<Error>();
/** @inheritdoc */
public GetIsConnected(): boolean {
return this.isConnected;
}
/** @inheritdoc */
public async ConnectAsync(printerAddress: string): Promise<any> {
this.printer = new Printer(printerAddress);
await this.printer.ConnectAsync();
this.isConnected = true;
this.ConnectionStateChanged.Invoke(true);
// Poll the printer every 5 sections to keep the connection alive, otherwise the printer will close the connection.
this.heartbeatInterval = setInterval(async () => {
try {
await this.printer.GetPrinterStatusAsync();
}
catch (e) {
this.ConnectionError.Invoke(e);
ErrorLogger.NonFatalError(e);
if (this.heartbeatInterval) {
clearInterval(this.heartbeatInterval);
this.heartbeatInterval = null;
}
}
}, 5000);
}
/** @inheritdoc */
public Disconnect() {
this.DisconnectInternal(true);
}
/** @inheritdoc */
public StopPrintingAsync(): Promise<void> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.StopPrintingAsync();
}
/** @inheritdoc */
public PausePrintingAsync(): Promise<void> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.PausePrintingAsync();
}
/** @inheritdoc */
public ResumePrintingAsync(): Promise<void> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.ResumePrintingAsync();
}
/** @inheritdoc */
public async ReconnectAsync(): Promise<any> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
const address = this.printer.printerAddress;
this.DisconnectInternal(false);
await this.ConnectAsync(address);
}
/** @inheritdoc */
public GetPrinterStatusAsync(): Promise<PrinterStatus> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.GetPrinterStatusAsync();
}
/** @inheritdoc */
public PrintFileAsync(fileName: string): Promise<any> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.PrintFileAsync(fileName);
}
/** @inheritdoc */
public SendDebugCommandAsync(command: string): Promise<void> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.SendDebugCommandAsync(command);
}
/** @inheritdoc */
public GetFirmwareVersionAsync(): Promise<FirmwareVersionResponse> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.GetFirmwareVersionAsync();
}
/** @inheritdoc */
public GetTemperatureAsync(): Promise<TemperatureResponse> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.GetTemperatureAsync();
}
/** @inheritdoc */
public StoreFileAsync(filePath: string): PromiseWithProgress<void> {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
// Deal with .gcode files by stripping the extension and using .g. Leave gx files alone
const pathInfo = path.parse(filePath);
let fileName = pathInfo.name;
const extension = pathInfo.ext.toLowerCase();
if (extension !== '.g' && extension !== '.gx' && extension !== '.gcode') {
throw new Error('Invalid file type');
}
if (extension !== '.gx') {
fileName = fileName + '.g';
} else {
fileName = fileName + '.gx';
}
return this.printer.StoreFileAsync(filePath, fileName);
}
/** @inheritdoc */
GetCamera(): PrinterCamera {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.PrinterCamera;
}
/** @inheritdoc */
GetCameraVideoStreamAddress(): string {
if (this.printer == null) {
throw new Error('Cannot call this method before calling and awaiting ConnectAsync()');
}
return this.printer.PrinterCamera.GetStreamAddress();
}
/** @inheritdoc */
public GetDebugMonitor(): PrinterDebugMonitor {
return this.printer.PrinterDebugMonitor;
}
/** @inheritdoc */
public EnableDebugLogging(): void {
if (this.printer.PrinterDebugMonitor == null) {
this.printer.PrinterDebugMonitor = new PrinterDebugMonitor();
}
}
/** @inheritdoc */
public DisableDebugLogging(): void {
this.printer.PrinterDebugMonitor = null;
}
/**
* Disconnects from the current printer.
* @param raiseEvents Indicates is connection state changed events should be raised.
*/
private DisconnectInternal(raiseEvents: boolean) {
this.printer.Disconnect();
this.printer = null;
this.isConnected = false;
if (this.heartbeatInterval) {
clearInterval(this.heartbeatInterval);
this.heartbeatInterval = null;
}
if (raiseEvents) {
this.ConnectionStateChanged.Invoke(false);
}
}
}
| 27.025751 | 127 | 0.70351 |
9bc7df97281297300f21b0440379e4a0720d4176 | 1,342 | js | JavaScript | src/screens/error/Error.js | OluwaferanmiLove/linklly | 3614ce963c4935f8de41c80f863710002c4378e3 | [
"MIT"
] | null | null | null | src/screens/error/Error.js | OluwaferanmiLove/linklly | 3614ce963c4935f8de41c80f863710002c4378e3 | [
"MIT"
] | null | null | null | src/screens/error/Error.js | OluwaferanmiLove/linklly | 3614ce963c4935f8de41c80f863710002c4378e3 | [
"MIT"
] | null | null | null | import React from 'react';
import Navbar from '../../components/Navbar';
function Error() {
return (
<div className='flex items-center justify-center bg-mainBg'>
<div className="flex flex-col h-screen w-screen overflow-hidden max-w-7xl lg:px-20">
<Navbar />
<div className="flex flex-col items-center flex-1 lg:px-32 md:px-28 px-5">
<header className="flex flex-1 flex-col items-center justify-center">
<h1 className='lg:leading-lg leading-8 lg:text-7xl md:text-7xl text-5xl font-gilroy-bold text-center text-gray-500'>
<span className='text-mainColor'>Sorry!!!</span> something went wrong.
</h1>
<div className='mt-8'>
<p className='lg:leading-8 leading-6 lg:text-lg md:text-lg text-sm lg:px-10 font-gilroy-medium text-center text-gray-500'>
You can try and visit the link later.
</p>
</div>
</header>
</div>
<div className='flex w-full items-center justify-center py-2 px-5'>
<p className='lg:leading-8 leading-6 lg:text-base md:text-base text-xs lg:px-10 font-gilroy-light text-center text-gray-500'>
design and developed by Oluwaferanmilove and Faith Oluwadara
</p>
</div>
</div>
</div>
);
}
export default Error;
| 41.9375 | 136 | 0.611773 |
f02b99e570e34c492dfa67856d0fa0c1f2043178 | 1,664 | js | JavaScript | build/lint.js | xianlubird/web-simulator | 51fc660b7da78c90789d06e007daa392cb69e025 | [
"Apache-2.0"
] | 8 | 2015-01-14T23:24:25.000Z | 2017-09-06T22:22:58.000Z | build/lint.js | xianlubird/web-simulator | 51fc660b7da78c90789d06e007daa392cb69e025 | [
"Apache-2.0"
] | 1 | 2021-02-24T04:38:34.000Z | 2021-02-24T04:38:34.000Z | build/lint.js | xianlubird/web-simulator | 51fc660b7da78c90789d06e007daa392cb69e025 | [
"Apache-2.0"
] | 7 | 2015-01-13T09:31:56.000Z | 2018-02-15T04:29:52.000Z | /*
* Copyright 2011 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var childProcess = require('child_process'),
fs = require('fs');
function _spawn(proc, args, done) {
function log(data) {
process.stdout.write(new Buffer(data).toString("utf-8"));
}
var cmd = childProcess.spawn(proc, args);
cmd.stdout.on('data', log);
cmd.stderr.on('data', log);
if (done) {
cmd.on('exit', done);
}
}
function _lintJS(files, done) {
var options = ["--reporter", "build/lint/reporter.js", "--show-non-errors"];
_spawn('jshint', files.concat(options), done);
}
function _lintCSS(files, done) {
var rules = JSON.parse(fs.readFileSync(__dirname + "/../.csslintrc", "utf-8")),
options = ["--errors=" + rules, "--format=compact", "--quiet"];
_spawn('csslint', files.concat(options), done);
}
module.exports = function (done, files) {
var cssDirs = ["ext/assets/ripple.css", "ext/chromium/styles", "lib", "test"];
_lintJS(files && files.length > 0 ? files : ["."], function () {
_lintCSS(files && files.length > 0 ? files : cssDirs, done);
});
};
| 32.627451 | 83 | 0.652043 |
4161bb1e5184ae5fdee31776a9b4b90437542388 | 549 | h | C | include/MockPublish.h | tompatman/zmqplus | efea491f2e9ca8f531ec7e102564fb56b1d62e0f | [
"MIT"
] | null | null | null | include/MockPublish.h | tompatman/zmqplus | efea491f2e9ca8f531ec7e102564fb56b1d62e0f | [
"MIT"
] | null | null | null | include/MockPublish.h | tompatman/zmqplus | efea491f2e9ca8f531ec7e102564fb56b1d62e0f | [
"MIT"
] | null | null | null | //
// Created by service on 6/17/16.
//
#ifndef MASTERPROJECT_MOCKPUBLISH_H_H
#define MASTERPROJECT_MOCKPUBLISH_H_H
#include <gmock/gmock.h>
#include "IPublish.h"
#include <Poco/Types.h>
namespace ZMQ {
template<typename msgData>
class MockPublish : public ZMQ::IPublish <msgData> {
public:
MOCK_METHOD1( Init, void (const Poco::UInt16 queueSize) );
MOCK_METHOD1_T( Send, bool (const msgData &newData ) );
MOCK_METHOD2_T( Send, bool (msgData &newData , Poco::UInt16 uiChan));
};
}
#endif //MASTERPROJECT_MOCKPUBLISH_H_H
| 19.607143 | 73 | 0.721311 |
e52503e686381384949426694899d4afa3fe2a6b | 244 | kt | Kotlin | app/src/main/java/com/syleiman/gingermoney/ui/activities/add_edit_payment/common/named_items_keyboard/NamedListItem.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | app/src/main/java/com/syleiman/gingermoney/ui/activities/add_edit_payment/common/named_items_keyboard/NamedListItem.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | app/src/main/java/com/syleiman/gingermoney/ui/activities/add_edit_payment/common/named_items_keyboard/NamedListItem.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | package com.syleiman.gingermoney.ui.activities.add_edit_payment.common.named_items_keyboard
import com.syleiman.gingermoney.ui.common.recycler_view.ListItem
data class NamedListItem(
override val id: Long,
val name: String
): ListItem | 30.5 | 91 | 0.819672 |
292cb154f038b351320ef2c398c31d8c1d76f07b | 279 | py | Python | robot-tests/remoteapplications/start_simple_java_app.py | robotframework/RemoteApplications | 90e38112e25441f7e5e1818eab3ebd63875ef20a | [
"Apache-2.0"
] | 3 | 2015-01-27T14:31:39.000Z | 2020-04-13T06:25:08.000Z | robot-tests/remoteapplications/start_simple_java_app.py | robotframework/RemoteApplications | 90e38112e25441f7e5e1818eab3ebd63875ef20a | [
"Apache-2.0"
] | 1 | 2017-03-13T07:23:27.000Z | 2017-03-13T10:49:09.000Z | robot-tests/remoteapplications/start_simple_java_app.py | robotframework/RemoteApplications | 90e38112e25441f7e5e1818eab3ebd63875ef20a | [
"Apache-2.0"
] | 2 | 2019-04-09T09:36:32.000Z | 2019-04-23T02:32:10.000Z | #!/usr/bin/env python
import os
if __name__ == '__main__':
os.environ['CLASSPATH'] = ''
jar = os.path.join(os.path.dirname(__file__), '..', '..', 'src', 'test',
'resources', 'test-app', 'test-application.jar')
os.popen2('java -jar %s' % jar) | 31 | 77 | 0.548387 |
39db495df899a237510e6e6736f231b95861b280 | 1,016 | java | Java | src/net/acomputerdog/map/image/EmptyingColorModel.java | warriordog/MapMaster | 4c6053e51fe2a14c96eef0c71608d7531478360b | [
"MIT"
] | 3 | 2015-08-23T02:41:19.000Z | 2019-09-16T08:32:24.000Z | src/net/acomputerdog/map/image/EmptyingColorModel.java | warriordog/MapMaster | 4c6053e51fe2a14c96eef0c71608d7531478360b | [
"MIT"
] | 2 | 2015-08-23T02:43:34.000Z | 2017-03-29T00:20:34.000Z | src/net/acomputerdog/map/image/EmptyingColorModel.java | warriordog/MapMaster | 4c6053e51fe2a14c96eef0c71608d7531478360b | [
"MIT"
] | null | null | null | package net.acomputerdog.map.image;
import java.awt.color.ColorSpace;
import java.awt.image.DirectColorModel;
public class EmptyingColorModel extends DirectColorModel {
public EmptyingColorModel(int bits, int rmask, int gmask, int bmask) {
super(bits, rmask, gmask, bmask);
}
public EmptyingColorModel(int bits, int rmask, int gmask, int bmask, int amask) {
super(bits, rmask, gmask, bmask, amask);
}
public EmptyingColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType) {
super(space, bits, rmask, gmask, bmask, amask, isAlphaPremultiplied, transferType);
}
@Override
public int getRGB(Object inData) {
int color = ((int[]) inData)[0];
if (((color >> 16) & 0xFF) == 255 && ((color >> 16) & 0xFF) == 255 && ((color >> 16) & 0xFF) == 255) {
return ImageUtils.COLOR_EMPTY_INT;
} else {
return super.getRGB(inData);
}
}
}
| 35.034483 | 151 | 0.645669 |
b765f9c62a1c57f70093ddd065ec25cec9a09fff | 518 | asm | Assembly | oeis/213/A213394.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/213/A213394.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/213/A213394.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A213394: The difference between n and the product of the digits of the n-th prime.
; Submitted by Jon Maiga
; -1,-1,-2,-3,4,3,0,-1,3,-8,8,-9,9,2,-13,1,-28,12,-23,13,0,-41,-1,-48,-38,26,27,28,29,27,17,29,12,7,-1,31,2,20,-3,19,-22,34,34,17,-18,-35,45,36,21,14,33,-2,45,44,-15,20,-51,44,-39,44,13,8,63,61,56,45,58,5,-15,-38,26,-63,-53,11,-114,4,-139,-111,79,80,45,74,71,48,-23,38,-57,-52,65,18,-77,-160,-131,58,-229,96,97,88,69,80
mov $2,$0
seq $0,53666 ; Product of digits of n-th prime.
sub $0,1
sub $2,$0
mov $0,$2
| 51.8 | 319 | 0.61583 |
4a411da24e2164e87b8e48a271a05d0588e32191 | 1,155 | js | JavaScript | basic-js/to-do-list/tdl.js | apflores/june-html-js | 4eca19ce4629b918ea1c32d7e7ad729dcee67a81 | [
"Apache-2.0"
] | null | null | null | basic-js/to-do-list/tdl.js | apflores/june-html-js | 4eca19ce4629b918ea1c32d7e7ad729dcee67a81 | [
"Apache-2.0"
] | null | null | null | basic-js/to-do-list/tdl.js | apflores/june-html-js | 4eca19ce4629b918ea1c32d7e7ad729dcee67a81 | [
"Apache-2.0"
] | null | null | null | "use strict";
var c = console;
window.onload = function () {
var add = document.getElementById("add");
var task = document.getElementById("task");
var list = document.getElementById("list");
var finished = document.getElementById("finished");
add.addEventListener("click", function () {
var li = document.createElement("li");
li.innerHTML = (task.value + " <button value='check'>✓</button> <button value='x'>X</button>");
list.appendChild(li);
task.value = "";
});
list.addEventListener("click", function (event) {
var item = event.target;
if (item.value == "x") {
list.removeChild(item.parentElement);
} else if(item.value == "check") {
finished.appendChild(item.parentElement);
c.log(list);
c.log(finished);
}
});
finished.addEventListener("click", function(event) {
var item = event.target;
if (item.value == "x") {
finished.removeChild(item.parentElement);
} else if(item.value == "check") {
list.appendChild(item.parentElement);
}
});
} | 31.216216 | 104 | 0.572294 |
4992fdd939ad8ec448c87202d79a81b0007a0639 | 5,592 | html | HTML | projects.html | undisputedcoder/riazamin | 53a28a4cd3260c868a42ab46fda98a9234081804 | [
"CC-BY-3.0"
] | null | null | null | projects.html | undisputedcoder/riazamin | 53a28a4cd3260c868a42ab46fda98a9234081804 | [
"CC-BY-3.0"
] | null | null | null | projects.html | undisputedcoder/riazamin | 53a28a4cd3260c868a42ab46fda98a9234081804 | [
"CC-BY-3.0"
] | null | null | null | <!DOCTYPE HTML>
<!--
Editorial by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Projects - Riaz Amin</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Main -->
<div id="main">
<div class="inner">
<!-- Header -->
<header id="header">
<a href="index.html" class="logo"></a>
<ul class="icons">
<li><a href="https://github.com/undisputedcoder" class="icon brands fa-github fa-2x" style="color: #181717;"><span class="label">Github</span></a></li>
<li><a href="https://www.linkedin.com/in/riazamin/" class="icon brands fa-linkedin fa-2x" style="color: #0A66C2;"><span class="label">LinkedIn</span></a></li>
<li><a href="#" class="icon brands fa-instagram fa-2x" style="color: #E4405F;"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands fa-facebook fa-2x" style="color: #1877F2;"><span class="label">Facebook</span></a></li>
</ul>
</header>
<!-- Section -->
<section>
<header class="main">
<h1>Projects</h1>
</header>
<div class="posts">
<article>
<a href="#" class="image"><img src="images/App Icon.png" style="height: 250px; width:400px; object-fit: contain;" alt="" /></a>
<h3>Vision</h3>
<p>Data analytics mobile app for visualising mining data.</p>
<ul class="actions">
<li><a href="https://github.com/undisputedcoder/Vision" class="button primary">Github</a></li>
</ul>
</article>
<article>
<a href="#" class="image"><img src="images/hot dog.jpg" style="height: 250px; width:400px; object-fit: contain;" alt="" /></a>
<h3>Hot dog or Pizza</h3>
<p>An image recognition program in Python that identifies a picture as a hot dog or pizza using a deep learning model.</p>
<ul class="actions">
<li><a href="https://github.com/undisputedcoder/Hot-Dog-or-Pizza" class="button primary">Github</a></li>
</ul>
</article>
<article>
<a href="#" class="image"><img src="images/pic14.jpg" style="height: 250px; width:400px; object-fit: contain;" alt="" /></a>
<h3>Stock Market Prediction</h3>
<p>Python program that utilises Tensorflow to predict the next day's share price of a company using machine learning.</p>
<ul class="actions">
<li><a href="https://github.com/undisputedcoder/Stock-Market-Prediction" class="button primary">Github</a></li>
</ul>
</article>
<article>
<a href="#" class="image"><img src="images/viktor-bystrov-Gi0OMNguFaw-unsplash.jpg" style="height: 250px; width:400px" alt="project3"/></a>
<h3>Speedy Cycles</h3>
<p>Website for a fictious bike shop.<br><br></p>
<ul class="actions">
<li><a href="https://github.com/undisputedcoder/Speedy-Cycles" class="button primary">Github</a></li>
</ul>
</article>
<article>
<a href="#" class="image"><img src="images/pygame.png" style="height: 250px; width:400px" alt="project3"/></a>
<h3>Unnamed Project</h3>
<p>A 2D platformer game based on a storyline written in Python.<br><br></p>
<ul class="actions">
<li><a href="https://github.com/undisputedcoder" class="button primary">Github</a></li>
</ul>
</article>
<article>
<a href="#" class="image"><img src="images/shiromani-kant-mo3FOTG62ao-unsplash.jpg" style="height: 250px; width:400px" alt="project3"/></a>
<h3>Books</h3>
<p>A basic inventory management system for books using Java and MySQL.<br><br></p>
<ul class="actions">
<li><a href="https://github.com/undisputedcoder/Book-Store" class="button primary">Github</a></li>
</ul>
</article>
</div>
</section>
</div>
</div>
<!-- Sidebar -->
<div id="sidebar">
<div class="inner">
<!-- Search -->
<section id="search" class="alt">
<form method="post" action="#">
<input type="text" name="query" id="query" placeholder="Search" />
</form>
</section>
<!-- Menu -->
<nav id="menu">
<header class="major">
<h2>Menu</h2>
</header>
<ul>
<li><a href="index.html">Homepage</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="#">Other</a></li>
</nav>
<!-- Section -->
<section>
<header class="major">
<h2>Get in touch</h2>
</header>
<p>If you would like to get in touch with me, feel free to send an enquiry to my email.</p>
<ul class="contact">
<li class="icon solid fa-envelope"><a href="mailto:riaz_amin@iinet.net.au">riaz_amin@iinet.net.au</a></li>
</ul>
</section>
</div>
</div>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html> | 40.230216 | 168 | 0.561695 |
2db509cd97998e46400fbd613038d8dbc03d2910 | 9,717 | html | HTML | davidovichandassociates/services.html | DaniaGn/WebDesign2 | f537b48c29cdb13753afe9834c6e7d45be61ffd0 | [
"CC0-1.0"
] | null | null | null | davidovichandassociates/services.html | DaniaGn/WebDesign2 | f537b48c29cdb13753afe9834c6e7d45be61ffd0 | [
"CC0-1.0"
] | null | null | null | davidovichandassociates/services.html | DaniaGn/WebDesign2 | f537b48c29cdb13753afe9834c6e7d45be61ffd0 | [
"CC0-1.0"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/4d745172d2.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Ubuntu&display=swap" rel="stylesheet">
<title>Davidovich&Associates|Services</title>
</head>
<body>
<header>
<div class="container container-flex">
<div class="logo">
<a href="index.html"><img class="logo" src="davidovich.png" alt="Logo"></a>
</div>
<nav>
<ul class="menu">
<li><a href="index.html">Home</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</nav>
</div>
</header>
<div class="container container-flex-services">
<main class="main-flex">
<article class="article-recent">
<div class="article-recent-main">
<h2 class="article-title">Mechanical Engineering</h2>
<p class="article-body">Mechanical Engineering consists of heating, ventilation and air conditioning (HVAC). HVAC is a very complex engineering discipline that requires not only theoretical knowledge but practical ‘know how’ in a very demanding and unforgiving environment. Due to the well-known fact that different people feel temperature and humidity factors subjectively, four licensed Professional Engineers of Davidovich & Associates, in conjunction with our experienced designers, are constantly looking into new and innovative ways to enhance the conditions of human habitat in the most economical and technically sound manner. Open ceilings, creative offices, mezzanine levels, life cycles analysis, energy modeling, tall atriums, raised floors, LEED, sustainability concerns, specialty laboratories, sophisticated medical hospital, and research facilities require a new breed of engineering professionals who will thrive on technical challenges and complicated, yet rewarding projects. This is the Davidovich & Associates breed! That is why when Los Angeles’ famous 75-year-old historical landmark, Union Station, decided to install its first HVAC system, they decided to come to Davidovich & Associates for mechanical design!</p>
</div>
<div class="article-recent-secondary">
<img src="gears.jpg" alt="" class="article-image">
</div>
</article>
<article class="article-recent">
<div class="article-recent-main">
<h2 class="article-title">Electrical Engineering</h2>
<p class="article-body">If there is anything in a given Davidovich & Associates project that requires electrical power, our engineers will find it. They will find where a device or piece of electrical equipment is, where it is connected to, what voltage and amperage it requires, and how to control it. Electrical, Mechanical, Plumbing, Lighting Fixtures, Low Voltage, Communications, Security, Internet, Elevators, Emergency Generators, Emergency Power, Internal Power Distribution Systems, Single Line Diagrams, Transformers, Panels, and any electrical equipment – all of this is concentrated on hard disks and left in the capable hands of our Electrical Engineering Department. Electrical Engineers need to have a broad experience in order to cover the most complicated issues. In Davidovich & Associates’ eyes, Energy Conservation and Green Design Approach to technical solutions is not only dedicated for the purpose of getting an additional point or two for LEED certification but becomes a matter of pride and satisfaction of joining the global movement for a better life. We are saving the planet, one circuit breaker at a time! This is why Related Companies trusted Davidovich & Associates with a very complicated electrical design of The Santa Monica Village project. Furthermore, The Air Space Corporation used our consulting services to provide a New Emergency Generator system for their entire campus in El Segundo, California</p>
</div>
<div class="article-recent-secondary">
<img src="electric.jpg" alt="" class="article-image">
</div>
</article>
<article class="article-recent">
<div class="article-recent-main">
<h2 class="article-title">Lighting Design</h2>
<p class="article-body">In addition to highly creative, innovative and energy-efficient lighting design in Revit provided by a unique group of talented individuals with vast European and local lighting design experience, Davidovich & Associates will always include complete Title 24 calculations, photometric data, cost estimates, lighting presentations and powerful renderings for client presentations.</p>
</div>
<div class="article-recent-secondary">
<img src="lighting.jpg" alt="" class="article-image">
</div>
</article>
<article class="article-recent">
<div class="article-recent-main">
<h2 class="article-title">Plumbing Engineering</h2>
<p class="article-body">Plumbing Engineering is often the least appreciated trade among the ten trades that Davidovich & Associate provides. Nevertheless, plumbing is arguably the most important out of all trades. Especially nowadays, when water conservation is even more important than energy conservation. It is an enormously complicated task to provide proper plumbing utilities to a wide variety of projects including water distribution, drainage facilities, sewer facilities, gas distribution, plumbing risers diagrams, restrooms, boilers, pumps, grease interceptors, kitchen facilities, Health Department considerations, etc. Plumbing requires a clear understanding of the purpose, functionality, and maintenance of a myriad of different devices that are necessary to service the technical, industrial, medical, research, and human needs in a large variety of applications.</p>
</div>
<div class="article-recent-secondary">
<img src="plumbing.jpeg" alt="" class="article-image">
</div>
</article>
<article class="article-recent">
<div class="article-recent-main">
<h2 class="article-title">LEED</h2>
<p class="article-body">By integrating Mechanical, Electrical, Plumbing, Life Safety, Lighting and Dry Utilities Design at one firm, D&A engineers take a holistic approach to any LEED-inspired project. The team of engineers presents every client with several options for sustainable systems and efficient designs, including payback information, availability of rebates, and life cycle analysis. This allows each client to make an educated decision regarding the cost vs. benefit of sustainability. D&A’s goal is to customize every project so that it caters to all particular needs of each client. This harmonized approach to design ensures that D&A LEED blueprints are the most cost-efficient and technically sound within the industry.</p>
</div>
<div class="article-recent-secondary">
<img src="leed.jpg" alt="" class="article-image">
</div>
</article>
<article class="article-recent">
<div class="article-recent-main">
<h2 class="article-title">Sustainability</h2>
<p class="article-body">Notice the colors of our logo? These are the seven colors of the rainbow, the very essence of nature created a sustainable system. By calling ourselves “Engineers by Nature” we are implementing the principals of nature in all of our work, including the design practices for all ten engineering disciplines we offer. This is why when James Cameron decided to create the next Avatar movie sequels at Manhattan Beach Studios, Davidovich & Associates was asked to design a 1,000 KW solar firm and connect it to the existing 16 KV transmission and distribution system, which was an original design by our firm. While others are talking about fighting global warming, D&A is at the forefront of this very important movement. We are proud to see the results of our efforts! As the lead designers for UCLA solar firms throughout the entire 60,000-people campus, we provide energy audit reports for the largest facilities in the state of California. The majority of our projects are going through serious efficiency scrutiny, which is appreciated by our clients and LEED consultants.</p>
</div>
<div class="article-recent-secondary">
<img src="sustainability.jpg" alt="" class="article-image">
</div>
</article>
</main>
</div>
<footer>
<p><strong>DAVIDOVICH & ASSOCIATES</strong></p>
<p>Copyright 2020</p>
</footer>
</body>
</html> | 90.813084 | 1,467 | 0.667696 |
850adcf6746f52c0ccbaa431f3930be04e978090 | 230 | rs | Rust | src/test/run-pass/use.rs | dckc/rust | 07edf9036715bde27cc7bbc0feb3ee6e461130da | [
"MIT"
] | null | null | null | src/test/run-pass/use.rs | dckc/rust | 07edf9036715bde27cc7bbc0feb3ee6e461130da | [
"MIT"
] | 4 | 2015-07-22T02:27:23.000Z | 2021-06-14T22:17:21.000Z | src/test/run-pass/use.rs | dckc/rust | 07edf9036715bde27cc7bbc0feb3ee6e461130da | [
"MIT"
] | null | null | null | #[no_core];
extern mod core;
extern mod zed(name = "core");
extern mod bar(name = "core", vers = "0.5");
use core::str;
use x = zed::str;
mod baz {
#[legacy_exports];
use bar::str;
use x = core::str;
}
fn main() { } | 15.333333 | 44 | 0.573913 |
a861de659c5431af85e921859a6ecaa6d45a145f | 2,197 | swift | Swift | tests/dat/actions/SwiftyRequest/Sources/main.swift | Luke-Roy-IBM/runtime-swift | 7c29bffe3726313d64973314df5809ded2881416 | [
"Apache-2.0"
] | 4 | 2018-06-06T03:07:52.000Z | 2019-07-03T04:15:47.000Z | tests/dat/actions/SwiftyRequest/Sources/main.swift | Luke-Roy-IBM/runtime-swift | 7c29bffe3726313d64973314df5809ded2881416 | [
"Apache-2.0"
] | 29 | 2018-02-15T01:55:12.000Z | 2021-08-30T15:05:13.000Z | tests/dat/actions/SwiftyRequest/Sources/main.swift | Luke-Roy-IBM/runtime-swift | 7c29bffe3726313d64973314df5809ded2881416 | [
"Apache-2.0"
] | 10 | 2018-02-15T03:32:12.000Z | 2021-05-25T08:35:05.000Z | import SwiftyRequest
import Dispatch
import Foundation
import LanguageTranslatorV2
func main(args: [String:Any]) -> [String:Any] {
var resp :[String:Any] = ["error":"Action failed"]
var echoURL:String
if let echoUrlValue = args["url"] {
echoURL = echoUrlValue as! String
} else {
echoURL = "https://httpbin.org/post"
}
// setting body data to {"Data":"string"}
let origJson: [String: Any] = args
guard let data = try? JSONSerialization.data(withJSONObject: origJson, options: []) else {
return ["error": "Could not encode json"]
}
let request = RestRequest(method: .post, url: echoURL)
request.messageBody = data
let semaphore = DispatchSemaphore(value: 0)
//sending with query ?hour=9
request.responseData(queryItems: [URLQueryItem(name: "hour", value: "9")]) { response in
switch response.result {
case .success(let retval):
if let json = try? JSONSerialization.jsonObject(with: retval, options: []) as! [String:Any] {
resp = json
} else {
resp = ["error":"Response from server is not a dictionary like"]
}
case .failure(let error):
resp = ["error":"Failed to get data response: \(error)"]
}
semaphore.signal()
}
_ = semaphore.wait(timeout: .distantFuture)
return resp
}
func main2(args: [String:Any]) -> [String:Any] {
var resp :[String:Any] = ["translation":"To be translated"]
let dispatchGroup = DispatchGroup()
let username = args["username"] as! String
let password = args["password"] as! String
let languageTranslator = LanguageTranslator(username: username, password: password)
let request = TranslateRequest(text: ["Hello"], source: "en", target: "es")
let failure = { (error: Error) in print(error) }
dispatchGroup.enter()
languageTranslator.translate(request: request, failure: failure) {translation in
print(translation)
resp["translation"] = translation.translations.first?.translationOutput as! String
dispatchGroup.leave()
}
_ = dispatchGroup.wait(timeout: .distantFuture)
return resp
}
| 35.435484 | 106 | 0.638143 |
331716acfd5f9717ca8ca44120a0bc65248ee1dc | 6,108 | py | Python | tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py | Anon-Artist/tfx | 2692c9ab437d76b5d9517996bfe2596862e0791d | [
"Apache-2.0"
] | 2 | 2021-05-10T21:39:48.000Z | 2021-11-17T11:24:29.000Z | tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py | Anon-Artist/tfx | 2692c9ab437d76b5d9517996bfe2596862e0791d | [
"Apache-2.0"
] | 1 | 2021-01-28T13:44:51.000Z | 2021-04-28T16:15:47.000Z | tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py | Anon-Artist/tfx | 2692c9ab437d76b5d9517996bfe2596862e0791d | [
"Apache-2.0"
] | 1 | 2021-01-28T13:41:51.000Z | 2021-01-28T13:41:51.000Z | # Lint as: python3
# Copyright 2020 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Tests for tfx.experimental.pipeline_testing.pipeline_recorder_utils."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import mock
import tensorflow as tf
from tfx.dsl.io import fileio
from tfx.experimental.pipeline_testing import pipeline_recorder_utils
from tfx.utils import io_utils
class PipelineRecorderUtilsTest(tf.test.TestCase):
def setUp(self):
super(PipelineRecorderUtilsTest, self).setUp()
self._base_dir = os.path.join(self.get_temp_dir(), 'base_dir')
self.src_uri = os.path.join(self._base_dir, 'input')
self.dest_uri = os.path.join(self._base_dir, 'output')
fileio.makedirs(self.src_uri)
# Writing a string to test.txt file in src_uri
self.content = 'pipeline recorded'
io_utils.write_string_file(
os.path.join(self.src_uri, 'test.txt'), self.content)
# Placeholders for record_pipeline(...) arguments
self.metadata_db_uri = 'metadata_db_uri'
self.host = 'localhost'
self.port = 1234
self.pipeline_name = 'pipeline_name'
self.run_id = 'run_id'
# Return values for mocked get_paths(...)
self.paths = [[self.src_uri, self.dest_uri]]
# Return values for mocked get_execution_dict(...)
self.execution_dict = {self.run_id: []}
@mock.patch.object(pipeline_recorder_utils, 'get_latest_executions')
def testRecordLatestKfpPipeline(self, mock_get_latest_executions):
# Tests recording KFP pipeline outputs for the latest execution.
with mock.patch.object(
pipeline_recorder_utils, '_get_paths',
return_value=self.paths) as mock_get_paths:
pipeline_recorder_utils.record_pipeline(
output_dir=self._base_dir,
host=self.host,
port=self.port,
pipeline_name=self.pipeline_name)
mock_get_paths.assert_called()
mock_get_latest_executions.assert_called()
files = fileio.listdir(self.dest_uri)
self.assertLen(files, 1)
self.assertEqual(
io_utils.read_string_file(os.path.join(self.dest_uri, files[0])),
self.content)
def testRecordKfpPipelineRunId(self):
# Tests recording KFP pipeline outputs given a run_id.
with mock.patch.object(pipeline_recorder_utils, '_get_execution_dict',
return_value=self.execution_dict
) as mock_get_execution_dict,\
mock.patch.object(pipeline_recorder_utils, '_get_paths',
return_value=self.paths) as mock_get_paths:
pipeline_recorder_utils.record_pipeline(
output_dir=self._base_dir,
host=self.host,
port=self.port,
run_id=self.run_id)
mock_get_execution_dict.assert_called()
mock_get_paths.assert_called()
# Verifying that test.txt has been copied from src_uri to dest_uri
files = fileio.listdir(self.dest_uri)
self.assertLen(files, 1)
self.assertEqual(
io_utils.read_string_file(os.path.join(self.dest_uri, files[0])),
self.content)
@mock.patch('tfx.orchestration.metadata.sqlite_metadata_connection_config')
@mock.patch('tfx.orchestration.metadata.Metadata')
@mock.patch.object(pipeline_recorder_utils, 'get_latest_executions')
def testRecordLatestBeamPipeline(self, mock_get_latest_executions,
mock_metadata, mock_config):
# Tests recording Beam pipeline outputs for the latest execution.
with mock.patch.object(
pipeline_recorder_utils, '_get_paths',
return_value=self.paths) as mock_get_paths:
pipeline_recorder_utils.record_pipeline(
output_dir=self._base_dir,
metadata_db_uri=self.metadata_db_uri,
pipeline_name=self.pipeline_name)
mock_config.assert_called_with(self.metadata_db_uri)
mock_metadata.assert_called()
mock_get_paths.assert_called()
mock_get_latest_executions.assert_called()
# Verifying that test.txt has been copied from src_uri to dest_uri
files = fileio.listdir(self.dest_uri)
self.assertLen(files, 1)
self.assertEqual(
io_utils.read_string_file(os.path.join(self.dest_uri, files[0])),
self.content)
@mock.patch('tfx.orchestration.metadata.sqlite_metadata_connection_config')
@mock.patch('tfx.orchestration.metadata.Metadata')
def testRecordBeamPipelineRunId(self, mock_metadata, mock_config):
# Tests recording Beam pipeline outputs given a run_id.
with mock.patch.object(pipeline_recorder_utils, '_get_execution_dict',
return_value=self.execution_dict
) as mock_get_execution_dict,\
mock.patch.object(pipeline_recorder_utils, '_get_paths',
return_value=self.paths
) as mock_get_paths:
pipeline_recorder_utils.record_pipeline(
output_dir=self._base_dir,
metadata_db_uri=self.metadata_db_uri,
run_id=self.run_id)
mock_config.assert_called_with(self.metadata_db_uri)
mock_metadata.assert_called()
mock_get_execution_dict.assert_called()
mock_get_paths.assert_called()
# Verifying that test.txt has been copied from src_uri to dest_uri
files = fileio.listdir(self.dest_uri)
self.assertLen(files, 1)
self.assertEqual(
io_utils.read_string_file(os.path.join(self.dest_uri, files[0])),
self.content)
if __name__ == '__main__':
tf.test.main()
| 40.184211 | 77 | 0.708906 |
2670a634cfb847001c159137a75eddab05bfd336 | 121 | java | Java | Java-DB-Fundamentals/DatabasesFrameworks-Hibernate&SpringData/03.OOPPrinciples/src/P05/Human.java | yangra/SoftUni | 2fe8ac059fe398f8bf229200c5406840f026fb88 | [
"MIT"
] | null | null | null | Java-DB-Fundamentals/DatabasesFrameworks-Hibernate&SpringData/03.OOPPrinciples/src/P05/Human.java | yangra/SoftUni | 2fe8ac059fe398f8bf229200c5406840f026fb88 | [
"MIT"
] | null | null | null | Java-DB-Fundamentals/DatabasesFrameworks-Hibernate&SpringData/03.OOPPrinciples/src/P05/Human.java | yangra/SoftUni | 2fe8ac059fe398f8bf229200c5406840f026fb88 | [
"MIT"
] | null | null | null | package P05;
/**
* Created by Yana on 7/5/2017.
*/
public interface Human {
String getName();
int getAge();
}
| 12.1 | 31 | 0.603306 |
12e825ea0f09935c00b40ed2f9befcb417739552 | 3,436 | html | HTML | _includes/regional_coordinator_template.html | slel/carpentries.org | 7118b5fb3491d821a251a6824e89ef7adb54f1ae | [
"MIT"
] | null | null | null | _includes/regional_coordinator_template.html | slel/carpentries.org | 7118b5fb3491d821a251a6824e89ef7adb54f1ae | [
"MIT"
] | null | null | null | _includes/regional_coordinator_template.html | slel/carpentries.org | 7118b5fb3491d821a251a6824e89ef7adb54f1ae | [
"MIT"
] | 1 | 2021-02-07T10:58:50.000Z | 2021-02-07T10:58:50.000Z | <div class="container">
<h1>The Carpentries in {{ region }}</h1>
<!-- BEGIN Set RC as singular or plural -->
{% if regional_coordinators.size > 1 %}
{% assign plural = true %}
{% else %}
{% assign plural = false %}
{% endif %}
<!-- END Set RC as singular or plural -->
<!-- BEGIN Section: About the Admin -->
<!-- If multiple admins -->
{% if plural %}
{% assign rc_names = "" %}
{% for rc in regional_coordinators %}
{% assign rc_names = rc_names | append: rc.name | append: ", " %}
{% endfor %}
{{ rc_names | split: ", " | join: " and " }} are our Regional Coordinators for {{ region }}. {{ additional_text }} They are ready to help you with any questions you have about running Carpentries workshops or any other ways you can get involved with The Carpentries in {{ region }}. Contact them at <a href="mailto:{{ rc_email }}">{{ rc_email }}</a>.
<br><br>
<!-- If one admin -->
{% else %}
{% assign rc = regional_coordinators[0] %}
{{ rc.name }} is our Regional Coordinator for {{ region }}. {{ additional_text }} {{ rc.pronoun_subjective | capitalize }} is ready to help you with any questions you have about running Carpentries workshops or any other ways you can get involved with The Carpentries in {{ region }}. Contact {{ rc.pronoun_objective }} at <a href="mailto:{{ rc_email }}">{{ rc_email }}</a>.
{% endif %}
<!-- END Section: About the Admin -->
<!-- BEGIN Section: Admin images -->
<div class="row">
{% for rc in regional_coordinators %}
{% if plural %}
<div class="medium-6 columns">
{% else %}
<div class="medium columns">
{% endif %}
<div class="team-member">
<img data-src="{{ rc.pic }}" width="128" height="128" class="img-responsive img-circle lazyload" alt="GitHub profile photo of {{ rc.name }}" />
<h3>{{ rc.name }}</h3>
<ul class="list-inline social-buttons">
{% for network in rc.social %}
<li>
<a href="{{ network.url }}">
<i class="{{ network.icon }}"></i>
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endfor %}
</div>
<!-- END Section: Admin images -->
<!-- BEGIN Section: Workshop Request & Other info -->
Want to host a Carpentries workshop in {{ region }}? Fill out <a href="https://amy.carpentries.org/forms/workshop/">this form</a> and we will get right back to you!
<br><br>
General questions about The Carpentries outside of {{ region }}? Contact <a href="mailto:{{site.contact}}">{{site.contact}}</a> and we’ll get your message to the right team member to follow up.
<br><br>
<!-- END Section: Workshop Request & Other info -->
<!-- BEGIN Section: Upcoming Workshops -->
<section id="team" class="bg-light-gray">
<h2>Upcoming Carpentries Workshops in {{ region }}</h2>
{% if workshop_list == empty %}
There are no upcoming Carpentries workshops in {{ region }}. <a href="mailto:{{ rc_email }}">Contact us</a> to learn how to host a workshop at your site!<br><br>
{% else %}
{% include workshop_table.md %}<br><br>
{% endif %}
<!-- END Section: Upcoming Workshops -->
<!-- BEGIN Section: Other Events -->
{{ other_events }}
<!-- END Section: Other Events -->
<!-- BEGIN Section: Instructors -->
<h2>Our Instructor Community in {{ region }}</h2>
{% include community_profiles.md %}
<!-- END Section: Instructors -->
</div> | 30.40708 | 379 | 0.602154 |
f06bdd64fa4945ff8e5891389cfe92e567635897 | 468 | js | JavaScript | packages/test/node_modules/@crux/router/src/lib/parser/param-name.js | andyjessop/vs-app | f1bac47c0204d77bd47477c2b7eee51f00f35964 | [
"MIT"
] | null | null | null | packages/test/node_modules/@crux/router/src/lib/parser/param-name.js | andyjessop/vs-app | f1bac47c0204d77bd47477c2b7eee51f00f35964 | [
"MIT"
] | null | null | null | packages/test/node_modules/@crux/router/src/lib/parser/param-name.js | andyjessop/vs-app | f1bac47c0204d77bd47477c2b7eee51f00f35964 | [
"MIT"
] | null | null | null | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.paramName = void 0;
const is_list_1 = require("./is-list");
const is_optional_1 = require("./is-optional");
/**
* Get the parameter name from a path parameter.
*/
function paramName(n) {
if ((0, is_optional_1.isOptional)(n) || (0, is_list_1.isList)(n)) {
return n.slice(0, -1);
}
return n;
}
exports.paramName = paramName;
//# sourceMappingURL=param-name.js.map | 29.25 | 71 | 0.668803 |
40d030c6db19a916f1772b2968dd8ea45b35ad61 | 25,551 | html | HTML | docs/index-files/index-15.html | kartverket/BorderGo | 7fe616feb41453ce336b20f8a9e14ea3ac3ce0c6 | [
"MIT"
] | 21 | 2017-10-26T14:02:32.000Z | 2021-09-21T12:40:58.000Z | docs/index-files/index-15.html | kartverket/BorderGo | 7fe616feb41453ce336b20f8a9e14ea3ac3ce0c6 | [
"MIT"
] | 1 | 2017-11-15T22:28:44.000Z | 2017-11-24T15:34:40.000Z | docs/index-files/index-15.html | kartverket/BorderGo | 7fe616feb41453ce336b20f8a9e14ea3ac3ce0c6 | [
"MIT"
] | 4 | 2018-11-02T10:14:33.000Z | 2021-09-04T18:55:45.000Z | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="no">
<head>
<!-- Generated by javadoc (1.8.0_112-release) on Wed Oct 25 16:04:29 CEST 2017 -->
<title>P-Index</title>
<meta name="date" content="2017-10-25">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<script type="text/javascript" src="../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="P-Index";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="../overview-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-14.html">Prev Letter</a></li>
<li><a href="index-16.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-15.html" target="_top">Frames</a></li>
<li><a href="index-15.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="contentContainer"><a href="index-1.html">A</a> <a href="index-2.html">B</a> <a href="index-3.html">C</a> <a href="index-4.html">D</a> <a href="index-5.html">E</a> <a href="index-6.html">F</a> <a href="index-7.html">G</a> <a href="index-8.html">H</a> <a href="index-9.html">I</a> <a href="index-10.html">K</a> <a href="index-11.html">L</a> <a href="index-12.html">M</a> <a href="index-13.html">N</a> <a href="index-14.html">O</a> <a href="index-15.html">P</a> <a href="index-16.html">Q</a> <a href="index-17.html">R</a> <a href="index-18.html">S</a> <a href="index-19.html">T</a> <a href="index-20.html">U</a> <a href="index-21.html">V</a> <a href="index-22.html">W</a> <a href="index-23.html">X</a> <a href="index-24.html">Y</a> <a href="index-25.html">Z</a> <a href="index-26.html">_</a> <a name="I:P">
<!-- -->
</a>
<h2 class="title">P</h2>
<dl>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/KalmanFilter.html#P">P</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/KalmanFilter.html" title="class in no.kartverket.positionorientation">KalmanFilter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/Line.html#p1">p1</a></span> - Variable in class no.kartverket.geometry.<a href="../no/kartverket/geometry/Line.html" title="class in no.kartverket.geometry">Line</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/Line.html#p2">p2</a></span> - Variable in class no.kartverket.geometry.<a href="../no/kartverket/geometry/Line.html" title="class in no.kartverket.geometry">Line</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.html#parameters">parameters</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.html" title="class in no.kartverket.positionorientation">Transform</a></dt>
<dd>
<div class="block">Array of three parameter blocks, distinct for each of the three computation steps in
the <a href="../no/kartverket/positionorientation/Transform.html#adjust-java.util.List-"><code>Transform.adjust(List)</code></a> method</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.Parameters.html#Parameters--">Parameters()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.Parameters.html" title="class in no.kartverket.positionorientation">Transform.Parameters</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PointInTerrainObservation.html#plane">plane</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PointInTerrainObservation.html" title="class in no.kartverket.positionorientation">Transform.PointInTerrainObservation</a></dt>
<dd>
<div class="block">A plane equation in world coordinates for the closest facet of the terrain surface to this point.</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html#plane_sd">plane_sd</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html" title="class in no.kartverket.positionorientation">Transform.PointInPlaneObservation</a></dt>
<dd>
<div class="block">a priori standard deviation of distance between plane and point</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html#plane_v">plane_v</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html" title="class in no.kartverket.positionorientation">Transform.PointInPlaneObservation</a></dt>
<dd>
<div class="block">a posteriori estimate of residual (distance between plane and point)</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html#plane_v_sd">plane_v_sd</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html" title="class in no.kartverket.positionorientation">Transform.PointInPlaneObservation</a></dt>
<dd>
<div class="block">a posteriori estimate of standard deviation of residual</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.html#planeEquations">planeEquations</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.html" title="class in no.kartverket.positionorientation">Transform</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/BorderGoApp.PrefNames.html#POINT_CLOUD_ZIGMA">POINT_CLOUD_ZIGMA</a></span> - Static variable in class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/BorderGoApp.PrefNames.html" title="class in no.kartverket.bordergo">BorderGoApp.PrefNames</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArScene.html#POINT_COLOR">POINT_COLOR</a></span> - Static variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArScene.html" title="class in no.kartverket.glrenderer">ArScene</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArScene.html#POINT_WIDTH">POINT_WIDTH</a></span> - Static variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArScene.html" title="class in no.kartverket.glrenderer">ArScene</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/TangoService.html#pointCloudSigma">pointCloudSigma</a></span> - Variable in class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/TangoService.html" title="class in no.kartverket.bordergo">TangoService</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/MainActivity.html#pointCloudZigmaEdit">pointCloudZigmaEdit</a></span> - Variable in class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/MainActivity.html" title="class in no.kartverket.bordergo">MainActivity</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html#PointInPlaneObservation--">PointInPlaneObservation()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PointInPlaneObservation.html" title="class in no.kartverket.positionorientation">Transform.PointInPlaneObservation</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PointInTerrainObservation.html#PointInTerrainObservation--">PointInTerrainObservation()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PointInTerrainObservation.html" title="class in no.kartverket.positionorientation">Transform.PointInTerrainObservation</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/Triangle.html#pointTriangle-float:A-float:A-float:A-float:A-float:A-">pointTriangle(float[], float[], float[], float[], float[])</a></span> - Static method in class no.kartverket.geometry.<a href="../no/kartverket/geometry/Triangle.html" title="class in no.kartverket.geometry">Triangle</a></dt>
<dd>
<div class="block">Compute distance and direction between point and triangle.</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/DataToDrawProvider.html#polyFaults">polyFaults</a></span> - Variable in class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/DataToDrawProvider.html" title="class in no.kartverket.bordergo">DataToDrawProvider</a></dt>
<dd> </dd>
<dt><a href="../no/kartverket/geometry/PolyLine.html" title="class in no.kartverket.geometry"><span class="typeNameLink">PolyLine</span></a> - Class in <a href="../no/kartverket/geometry/package-summary.html">no.kartverket.geometry</a></dt>
<dd>
<div class="block">Created by janvin on 10/05/17.</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/PolyLine.html#PolyLine--">PolyLine()</a></span> - Constructor for class no.kartverket.geometry.<a href="../no/kartverket/geometry/PolyLine.html" title="class in no.kartverket.geometry">PolyLine</a></dt>
<dd> </dd>
<dt><a href="../no/kartverket/geometry/PolyLineGroup.html" title="class in no.kartverket.geometry"><span class="typeNameLink">PolyLineGroup</span></a> - Class in <a href="../no/kartverket/geometry/package-summary.html">no.kartverket.geometry</a></dt>
<dd>
<div class="block">Created by janvin on 01.06.2017.</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/PolyLineGroup.html#PolyLineGroup--">PolyLineGroup()</a></span> - Constructor for class no.kartverket.geometry.<a href="../no/kartverket/geometry/PolyLineGroup.html" title="class in no.kartverket.geometry">PolyLineGroup</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/PolyLineGroup.html#polylines">polylines</a></span> - Variable in class no.kartverket.geometry.<a href="../no/kartverket/geometry/PolyLineGroup.html" title="class in no.kartverket.geometry">PolyLineGroup</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArScene.html#polyLinesDirty">polyLinesDirty</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArScene.html" title="class in no.kartverket.glrenderer">ArScene</a></dt>
<dd> </dd>
<dt><a href="../no/kartverket/geometry/Pos.html" title="class in no.kartverket.geometry"><span class="typeNameLink">Pos</span></a> - Class in <a href="../no/kartverket/geometry/package-summary.html">no.kartverket.geometry</a></dt>
<dd>
<div class="block">Created by janvin on 10/05/17.</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/Pos.html#Pos--">Pos()</a></span> - Constructor for class no.kartverket.geometry.<a href="../no/kartverket/geometry/Pos.html" title="class in no.kartverket.geometry">Pos</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.html#posEquations2D">posEquations2D</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.html" title="class in no.kartverket.positionorientation">Transform</a></dt>
<dd>
<div class="block">Model equations for observations</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.html#posEquations3D">posEquations3D</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.html" title="class in no.kartverket.positionorientation">Transform</a></dt>
<dd> </dd>
<dt><a href="../no/kartverket/geometry/PosGroup.html" title="class in no.kartverket.geometry"><span class="typeNameLink">PosGroup</span></a> - Class in <a href="../no/kartverket/geometry/package-summary.html">no.kartverket.geometry</a></dt>
<dd>
<div class="block">Created by janvin on 15/05/17.</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/PosGroup.html#PosGroup--">PosGroup()</a></span> - Constructor for class no.kartverket.geometry.<a href="../no/kartverket/geometry/PosGroup.html" title="class in no.kartverket.geometry">PosGroup</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArScene.html#posGroupsDirty">posGroupsDirty</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArScene.html" title="class in no.kartverket.glrenderer">ArScene</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/GlLine.html#PositionHandle">PositionHandle</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/GlLine.html" title="class in no.kartverket.glrenderer">GlLine</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/GlPolyLine.html#PositionHandle">PositionHandle</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/GlPolyLine.html" title="class in no.kartverket.glrenderer">GlPolyLine</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/GlPos.html#PositionHandle">PositionHandle</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/GlPos.html" title="class in no.kartverket.glrenderer">GlPos</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/GlPosGroup.html#PositionHandle">PositionHandle</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/GlPosGroup.html" title="class in no.kartverket.glrenderer">GlPosGroup</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PositionObservation2D.html#PositionObservation2D--">PositionObservation2D()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PositionObservation2D.html" title="class in no.kartverket.positionorientation">Transform.PositionObservation2D</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/Transform.PositionObservation3D.html#PositionObservation3D--">PositionObservation3D()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/Transform.PositionObservation3D.html" title="class in no.kartverket.positionorientation">Transform.PositionObservation3D</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/TangoService.html#positionOrientationProvider">positionOrientationProvider</a></span> - Variable in class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/TangoService.html" title="class in no.kartverket.bordergo">TangoService</a></dt>
<dd> </dd>
<dt><a href="../no/kartverket/positionorientation/PositionOrientationProvider.html" title="class in no.kartverket.positionorientation"><span class="typeNameLink">PositionOrientationProvider</span></a> - Class in <a href="../no/kartverket/positionorientation/package-summary.html">no.kartverket.positionorientation</a></dt>
<dd>
<div class="block">Keeps track of the devices position and orientation</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/PositionOrientationProvider.html#PositionOrientationProvider--">PositionOrientationProvider()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/PositionOrientationProvider.html" title="class in no.kartverket.positionorientation">PositionOrientationProvider</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/IndexedTriangleMesh.html#positions">positions</a></span> - Variable in class no.kartverket.geometry.<a href="../no/kartverket/geometry/IndexedTriangleMesh.html" title="class in no.kartverket.geometry">IndexedTriangleMesh</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/PolyLine.html#positions">positions</a></span> - Variable in class no.kartverket.geometry.<a href="../no/kartverket/geometry/PolyLine.html" title="class in no.kartverket.geometry">PolyLine</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/geometry/PosGroup.html#positions">positions</a></span> - Variable in class no.kartverket.geometry.<a href="../no/kartverket/geometry/PosGroup.html" title="class in no.kartverket.geometry">PosGroup</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArScene.html#positionsDirty">positionsDirty</a></span> - Variable in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArScene.html" title="class in no.kartverket.glrenderer">ArScene</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/data/model/WfsResponse.LineString.html#posList">posList</a></span> - Variable in class no.kartverket.data.model.<a href="../no/kartverket/data/model/WfsResponse.LineString.html" title="class in no.kartverket.data.model">WfsResponse.LineString</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/KalmanFilter.html#predict-no.kartverket.positionorientation.KalmanFilter.PredictionMatrixUpdater-">predict(KalmanFilter.PredictionMatrixUpdater)</a></span> - Method in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/KalmanFilter.html" title="class in no.kartverket.positionorientation">KalmanFilter</a></dt>
<dd>
<div class="block">Prediction step</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/TangoPositionOrientationProvider.html#predictionMatrixUpdater">predictionMatrixUpdater</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/TangoPositionOrientationProvider.html" title="class in no.kartverket.positionorientation">TangoPositionOrientationProvider</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/KalmanFilter.html#predictP">predictP</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/KalmanFilter.html" title="class in no.kartverket.positionorientation">KalmanFilter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/KalmanFilter.html#predictX">predictX</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/KalmanFilter.html" title="class in no.kartverket.positionorientation">KalmanFilter</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/BorderGoApp.html#PREFERENCE_FILE">PREFERENCE_FILE</a></span> - Static variable in class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/BorderGoApp.html" title="class in no.kartverket.bordergo">BorderGoApp</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/bordergo/BorderGoApp.PrefNames.html#PrefNames--">PrefNames()</a></span> - Constructor for class no.kartverket.bordergo.<a href="../no/kartverket/bordergo/BorderGoApp.PrefNames.html" title="class in no.kartverket.bordergo">BorderGoApp.PrefNames</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArGlRenderer.RenderCallback.html#preRender--">preRender()</a></span> - Method in interface no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArGlRenderer.RenderCallback.html" title="interface in no.kartverket.glrenderer">ArGlRenderer.RenderCallback</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/TangoPositionOrientationProvider.html#prevCompTime">prevCompTime</a></span> - Variable in class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/TangoPositionOrientationProvider.html" title="class in no.kartverket.positionorientation">TangoPositionOrientationProvider</a></dt>
<dd>
<div class="block">Timestamp of previous kalman filter prediction</div>
</dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/positionorientation/TangoPositionOrientationProvider.PrivPredictionMatrixUpdater.html#PrivPredictionMatrixUpdater--">PrivPredictionMatrixUpdater()</a></span> - Constructor for class no.kartverket.positionorientation.<a href="../no/kartverket/positionorientation/TangoPositionOrientationProvider.PrivPredictionMatrixUpdater.html" title="class in no.kartverket.positionorientation">TangoPositionOrientationProvider.PrivPredictionMatrixUpdater</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a href="../no/kartverket/glrenderer/ArGlRenderer.html#projectionMatrixFromCameraIntrinsics-com.google.atap.tangoservice.TangoCameraIntrinsics-">projectionMatrixFromCameraIntrinsics(TangoCameraIntrinsics)</a></span> - Static method in class no.kartverket.glrenderer.<a href="../no/kartverket/glrenderer/ArGlRenderer.html" title="class in no.kartverket.glrenderer">ArGlRenderer</a></dt>
<dd>
<div class="block">Use Tango camera intrinsics to calculate the projection Matrix for the OpenGL scene.</div>
</dd>
</dl>
<a href="index-1.html">A</a> <a href="index-2.html">B</a> <a href="index-3.html">C</a> <a href="index-4.html">D</a> <a href="index-5.html">E</a> <a href="index-6.html">F</a> <a href="index-7.html">G</a> <a href="index-8.html">H</a> <a href="index-9.html">I</a> <a href="index-10.html">K</a> <a href="index-11.html">L</a> <a href="index-12.html">M</a> <a href="index-13.html">N</a> <a href="index-14.html">O</a> <a href="index-15.html">P</a> <a href="index-16.html">Q</a> <a href="index-17.html">R</a> <a href="index-18.html">S</a> <a href="index-19.html">T</a> <a href="index-20.html">U</a> <a href="index-21.html">V</a> <a href="index-22.html">W</a> <a href="index-23.html">X</a> <a href="index-24.html">Y</a> <a href="index-25.html">Z</a> <a href="index-26.html">_</a> </div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li>Package</li>
<li>Class</li>
<li><a href="../overview-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li class="navBarCell1Rev">Index</li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="index-14.html">Prev Letter</a></li>
<li><a href="index-16.html">Next Letter</a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?index-files/index-15.html" target="_top">Frames</a></li>
<li><a href="index-15.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
| 94.98513 | 945 | 0.741615 |
dd7ae292f65f47cd12ad157d5f49967e3320e500 | 1,455 | swift | Swift | Sources/Request/Helpers/Auth.swift | cris20000/swift-request | 138fd3a94b3feb0a4fac16c17e4434b6a8a9a6a6 | [
"MIT"
] | 659 | 2019-07-14T05:32:20.000Z | 2022-03-30T01:48:29.000Z | Sources/Request/Helpers/Auth.swift | cris20000/swift-request | 138fd3a94b3feb0a4fac16c17e4434b6a8a9a6a6 | [
"MIT"
] | 53 | 2019-07-14T17:22:30.000Z | 2022-01-13T08:18:49.000Z | Sources/Request/Helpers/Auth.swift | cris20000/swift-request | 138fd3a94b3feb0a4fac16c17e4434b6a8a9a6a6 | [
"MIT"
] | 43 | 2019-07-24T04:11:02.000Z | 2022-03-20T14:19:38.000Z | //
// Authorization.swift
// PackageTests
//
// Created by Carson Katri on 7/2/19.
// Copyright © 2019 Carson Katri. All rights reserved.
//
import Foundation
/// The type of `Authentication` to use in the `Request`
///
/// Used with `Auth`
public enum AuthType: String {
case basic = "Basic"
case bearer = "Bearer"
/*case digest = "Digest"
case hoba = "HOBA"
case mutual = "Mutual"
case aws = "AWS4-HMAC-SHA256"*/
}
/// The `Authentication` type, and the key used
///
/// The `key` and `value` are merged in the `Authentication` header as `key value`.
/// For instance: `Basic username:password`, or `Bearer token`
///
/// You can use `.basic` and `.bearer` to simplify the process of authenticating your `Request`
public struct Auth {
public let type: AuthType
public let key: String
public var value: String {
get {
return "\(type.rawValue) \(key)"
}
}
public init(type: AuthType, key: String) {
self.type = type
self.key = key
}
}
extension Auth {
/// Authenticates using `username` and `password` directly
public static func basic(username: String, password: String) -> Auth {
return Auth(type: .basic, key: Data("\(username):\(password)".utf8).base64EncodedString())
}
/// Authenticates using a `token`
public static func bearer(_ token: String) -> Auth {
return Auth(type: .bearer, key: token)
}
}
| 26.454545 | 98 | 0.624742 |