Skip to content

Instantly share code, notes, and snippets.

@deltafoxin
deltafoxin / clean_code.md
Created December 29, 2020 13:01 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@deltafoxin
deltafoxin / ffmpeg.md
Created September 3, 2020 01:38 — forked from steven2358/ffmpeg.md
FFmpeg cheat sheet
@echo off
:======================================================================================================================================================
:Thanks to abbodi1406 for SppExtComObjPatcher-kms\2-Activate-Local.cmd, which used as base in this script
:Thanks to rpo for the Great and Continued help in improving this script.
:Thanks to AR_Alex for the ideas and suggestions.
:======================================================================================================================================================
::===========================================================================
fsutil dirty query %systemdrive% >nul 2>&1 || (
@deltafoxin
deltafoxin / apikeys
Created September 3, 2019 06:38 — forked from csrutil/apikeys
Chromium API Keys
# Download from
# http://security.debian.org/debian-security/pool/updates/main/c/chromium-browser/chromium-browser_60.0.3112.78-1~deb9u1.debian.tar.xz
# API keys assigned to Debian by Google for access to their services like sync and gmail.
# *nix
export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"
export GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"
export GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"
# OSX
@deltafoxin
deltafoxin / sql-mongo_comparison.md
Created July 25, 2019 02:06 — forked from aponxi/sql-mongo_comparison.md
MongoDb Cheat Sheets

SQL to MongoDB Mapping Chart

SQL to MongoDB Mapping Chart

In addition to the charts that follow, you might want to consider the Frequently Asked Questions section for a selection of common questions about MongoDB.

Executables

The following table presents the MySQL/Oracle executables and the corresponding MongoDB executables.

@deltafoxin
deltafoxin / vcpkg_qtcreator.md
Created February 27, 2019 02:59 — forked from UnaNancyOwen/vcpkg_qtcreator.md
How to use Qt that installed by Vcpkg with Qt Creator

How to use Qt that installed by Vcpkg with Qt Creator

(0) Install Qt using Vcpkg

Vcpkgを使用してQtをインストールする。(e.g. C:\vcpkg)

cd C:\vcpkg
.\vcpkg install qt5:x64-windows
@deltafoxin
deltafoxin / mosquitto_websockets.md
Created February 26, 2019 03:25 — forked from smoofit/mosquitto_websockets.md
Howto install mosquitto with websockets
@deltafoxin
deltafoxin / es.py
Created February 17, 2019 14:00
[Python]Everything Search Engine SDK 封裝
# -*- coding: cp950 -*-
'''
Everything Search Engine SDK 封裝
'''
__author__ = 'Chui-Wen Chiu'
__version__ = "0.0.1"
from ctypes import *
from ctypes.wintypes import *
@deltafoxin
deltafoxin / README-Template.md
Created February 4, 2019 14:34 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@deltafoxin
deltafoxin / arm-none-eabi-gcc.sh
Created December 24, 2018 09:55 — forked from cjmeyer/arm-none-eabi-gcc.sh
Bash: Build Binutils, GCC, Newlib, and GDB for ARM EABI (Cross-compiler).
#! /usr/bin/env bash
# Target and build configuration.
TARGET=arm-none-eabi
PREFIX=/opt/arm-none-eabi-4.7.1
# Sources to build from.
BINUTILS=binutils-2.23.1
GCC=gcc-4.7.1
NEWLIB=newlib-1.20.0