Skip to content

Instantly share code, notes, and snippets.

View kukiron's full-sized avatar
🚀
I do stuff...

Kafil Uddin Kiron kukiron

🚀
I do stuff...
View GitHub Profile
@kukiron
kukiron / settings.json
Created August 21, 2023 01:41
Latest VS Code Settings JSON
{
"auto-rename-tag.activationOnLanguage": [
"html",
"xml",
"php",
"javascript",
"typescript",
"javascriptreact",
"typescriptreact",
],
@kukiron
kukiron / vscode-settings.json
Created August 6, 2023 14:30
VS Code settings for Misty Meadows
"workbench.colorCustomizations": {
"focusBorder": "#8695b777",
"foreground": "#8695b7",
"widget.shadow": "#00030F",
"selection.background": "#8695b777",
"descriptionForeground": "#d7dce2",
"errorForeground": "#ef6b73",
"textBlockQuote.background": "#2f3b54",
"textBlockQuote.border": "#2f3b54",
"textCodeBlock.background": "#171c28",
@kukiron
kukiron / crew-schedule-module.ts
Last active October 20, 2023 03:14
Vessel centric view utils
import differenceBy from 'lodash/differenceBy';
import flatten from 'lodash/flatten';
import partition from 'lodash/partition';
import moment from 'moment';
import { getTimelineMonths } from '../helpers';
import {
CrewSchedule,
FormattedSchedules,
RowSegment,
@kukiron
kukiron / airports.ts
Created February 6, 2023 17:53
List of airports with iata code & name
{
"AAA":{
"municipality":"",
"iataCode":"AAA",
"name":"Anaa Airport"
},
"AAB":{
"municipality":"",
"iataCode":"AAB",
"name":"Arrabury Airport"
@kukiron
kukiron / multiple_ssh_setting.md
Created February 2, 2022 10:26 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@kukiron
kukiron / mime.csv
Created April 9, 2020 23:18 — forked from jimschubert/mime.csv
List of more common mime types from MDN, in CSV and TSV
Name MIMEType Extension Description
aac audio/aac .aac AAC audio file
abw application/x-abiword .abw AbiWord document
arc application/octet-stream .arc Archive document (multiple files embedded)
avi video/x-msvideo .avi AVI: Audio Video Interleave
azw application/vnd.amazon.ebook .azw Amazon Kindle eBook format
bin application/octet-stream .bin Any kind of binary data
bz application/x-bzip .bz BZip archive
bz2 application/x-bzip2 .bz2 BZip2 archive
csh application/x-csh .csh C-Shell script
@kukiron
kukiron / SharedFileList.js
Created April 9, 2020 08:30
Component to show shared file list between users or in groups
import flatten from 'lodash/flatten';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import {
StyleSheet,
FlatList,
SectionList,
TouchableOpacity,
ActivityIndicator,
@kukiron
kukiron / AttachmentPicker.ts
Created March 5, 2020 14:56 — forked from Aliath/AttachmentPicker.ts
Wrapper for the react-native-image-picker and react-native-document-picker. Allow to pick media from gallery on iOS.
import { Platform, ActionSheetIOS } from 'react-native';
import DocumentPicker from 'react-native-document-picker';
import ImagePicker from 'react-native-image-picker';
import RNFS from 'react-native-fs';
type Captions = {
image: string,
document: string,
cancel: string,
title: string,
@kukiron
kukiron / dark-script.js
Created February 28, 2020 08:36
GitHub Dark Script
// ==UserScript==
// @name GitHub Dark Script
// @version 2.5.8
// @description GitHub Dark in userscript form, with a settings panel
// @license MIT
// @author StylishThemes
// @namespace https://github.com/StylishThemes
// @include /^https?://((blog|gist|guides|help|raw|status|developer)\.)?github\.com/((?!generated_pages\/preview).)*$/
// @include https://*.githubusercontent.com/*
// @include https://*graphql-explorer.githubapp.com/*
@kukiron
kukiron / FilePickerModule.java
Created January 21, 2020 10:58
Update of `FilePickerModule` from callback to promise implementation in `react-native-file-picker`
package com.filepicker;
import android.Manifest;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.ClipData;
import android.content.ContentUris;
import android.content.Context;