Skip to content

Instantly share code, notes, and snippets.

View hoblin's full-sized avatar

Yevhenii Hurin hoblin

  • Kotka, Finland
  • 08:49 (UTC +03:00)
View GitHub Profile
@hoblin
hoblin / Convert .mov or .MP4 to .gif.md
Created May 20, 2022 15:52 — forked from SheldonWangRJT/Convert .mov or .MP4 to .gif.md
Convert Movie(.mov) file to Gif(.gif) file in one command line in Mac Terminal

This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.

Need

Convert .mov/.MP4 to .gif

Reason

As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.

This is not limited to developer, anyone has this need can use this method to convert the files.

station_mode;
itemID;blueprintID
MyObjectBuilder_Ore/Ice;noBP
MyObjectBuilder_Ingot/Silicon;noBP
MyObjectBuilder_Ingot/Nickel;noBP
MyObjectBuilder_Ingot/Uranium;noBP
MyObjectBuilder_Ingot/Platinum;noBP
MyObjectBuilder_Ingot/Gold;noBP
MyObjectBuilder_Ingot/Iron;noBP
MyObjectBuilder_Ingot/Silver;noBP
class Permission < ApplicationRecord
has_many :roles through: :roles_permissions
end

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@hoblin
hoblin / react_upgrading.md
Last active March 9, 2022 07:43
Roadmap to upgrade react from 0.13 to 16

This document is a short how-to. It doesn't contain a lot of details about each change you need to implement, but it contains lots of links to the corresponding documents. Please read these docs for refetence.

Upgrade process in general.

1. Setup eslint

ESLint is the main tool to find deprecations in the code so first of all we need to configure it properly.

Prerequisites

@hoblin
hoblin / .eslintrc
Created March 13, 2019 15:54
ESLint config for react upgrading
{
"parser": "babel-eslint",
"plugins": [
"react",
"import"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
@hoblin
hoblin / .gitconfig
Created September 4, 2018 09:22
Some handy git config stuff
[color]
status = auto
diff = auto
branch = auto
[alias]
st = status
ci = commit
co = checkout
fp = format-patch
br = branch
0_package_control_loader.sublime-package
Advanced CSV.sublime-package
AdvancedNewFile.sublime-package
Better CoffeeScript.sublime-package
Better JavaScript.sublime-package
BracketHighlighter.sublime-package
Case Conversion.sublime-package
CMake.sublime-package
Color Highlighter.sublime-package
ColorSchemeEditor.sublime-package
@hoblin
hoblin / .bash_profile
Created March 30, 2016 10:12
Current project/branch and git status in prompt
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[0;37m\]"
COLOR_NONE="\[\e[0m\]"
@hoblin
hoblin / gist:67ab174ada75ba6e6506
Created February 9, 2015 11:11
Nice git one line log format
[format]
pretty = format:%Cgreen%h%Creset - %Cgreen(%cd) %C(bold blue)<%an>%Creset %s %C(yellow)%d%Creset
[log]
date = short