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 / sublime-text-3-setup.md
Created September 13, 2017 13:52 — forked from ijy/sublime-text-3-setup.md
My Sublime Text 3 setup.

Sublime Text 3 Setup

Install Package Control

Install Package Control for easy package management.

  1. Open the console with Ctrl+`
  2. Paste in the following:
@kukiron
kukiron / settings.json
Created October 3, 2017 13:46
New Settings for Sublime Text 3 (with Cobalt2 theme)
{
"always_show_minimap_viewport": true,
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 2,
"caret_style": "phase",
"color_scheme": "Packages/Theme - Cobalt2/cobalt2.tmTheme",
@kukiron
kukiron / vscode-settings-cobalt2.json
Last active March 8, 2018 17:37
New Settings for VSCode Cobalt2 Theme by Wes Bos
{
/** EDITOR **/
"editor.cursorStyle": "line",
"editor.cursorBlinking": "phase",
"editor.fontFamily": "Operator Mono, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 14,
"editor.fontWeight": "300",
"editor.lineHeight": 21,
"editor.letterSpacing": 0.5,
"editor.renderWhitespace": "all",
@kukiron
kukiron / .eslintrc.js
Created October 15, 2017 06:03 — forked from adrianhall/.eslintrc.js
A sample .eslintrc file
var OFF = 0, WARN = 1, ERROR = 2;
module.exports = exports = {
"env": {
"es6": true
},
"ecmaFeatures": {
// env=es6 doesn't include modules, which we are using
"modules": true
@kukiron
kukiron / travis-coveralls.md
Created October 15, 2017 14:12 — forked from tpai/travis-coveralls.md
Build Project with Travis-CI and Coveralls

Directory Structure

.
|-- dist/
|-- src/
|-- test/
|  `-- setup.jsx    # jsdom for renderIntoDocument()
|-- .babelrc
|-- .coveralls.yml
@kukiron
kukiron / GitHub with Operator Mono font for code.md
Created October 23, 2017 04:33 — forked from tdd/GitHub with Operator Mono font for code.md
Use Operator Mono Ssm font in GitHub code views (PRs, diffs, etc.)

So you love the Operator Mono font? I don't blame you! So do we! It's a bit pricey but worth every penny.

In fact, we're so used to it in our editors that we were a bit sad with GitHub's otherwise neat code views. When we review PRs in the web UI, we want our Operator Mono!

So, assuming you have it installed on your machine, you can put the JS bit in the other code snippet of this Gist in a bookmarklet, and click it when you're on a GitHub.com page you want to have switch over to our beloved font. We used the ScreenSmart variant here, which you get in the font package and have probably installed, as it's the more legible one on screens. Feel free to adjust the font name if needed.

@kukiron
kukiron / vscode-settings.json
Last active April 22, 2018 06:53
New VSCode Settings with One Dark+ (Sublime) & additional scripts
{
"auto-rename-tag.activationOnLanguage": [
"html",
"xml",
"php",
"javascript"
],
/** BEAUTIFY **/
"beautify.language": {
"css": [
@kukiron
kukiron / TestSetupExampleCRAEnzymeChaiMocka.md
Created November 2, 2017 03:51 — forked from busypeoples/TestSetupExampleCRAEnzymeChaiMocka.md
Mocha/Chai/Enyzme test setup with create-react-app

Basic setup for using Enzyme/Mocha/Chai with create-react-app

This is a temporary solution. Might change in the near future, this depends on how create-react-app will implement testing.

create-react-app quick-test-example

cd quick-test-example

npm run eject
@kukiron
kukiron / .eslintrc
Created November 3, 2017 17:47
.eslintrc file - Global Settings
{
/* See all the pre-defined configs here: https://www.npmjs.com/package/eslint-config-defaults */
"extends": "defaults/configurations/eslint",
"parser": "babel-eslint",
"ecmaFeatures": {
"jsx": true
},
"plugins": [
"react"
],