Skip to content

Instantly share code, notes, and snippets.

View erenesmer's full-sized avatar

Eren Esmer erenesmer

View GitHub Profile
@erenesmer
erenesmer / material-design.module.ts
Created February 19, 2019 12:50
Angular Material Design Module
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import {
MatAutocompleteModule,
MatBadgeModule,
MatBottomSheetModule,
MatButtonModule,
@erenesmer
erenesmer / .vimrc
Last active June 30, 2019 21:06
.vimrc config
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'pangloss/vim-javascript'
@erenesmer
erenesmer / .emacs
Created February 19, 2019 19:24
.emacs conf
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
;(package-initialize)
(split-window-horizontally)
;(split-window-vertically)
(add-to-list 'auto-mode-alist '("components\\/.*\\.js\\'" . rjsx-mode))
#!/bin/bash
#
# Script to automate building latest release of Aseprite (it can be release or beta build)
# This is for macOS build version.
POSTFIXPATH_SDKROOT=Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
CCPATH_TOOLCHAIN=Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
CXXPATH_TOOLCHAIN=Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
SDK_ROOT=`xcode-select -p`
TARGET="/Applications"
unbind C-b
#set -g prefix §
set-option -g prefix `
set-option -g prefix2 §
set -g prefix `
bind-key ` last-window
#bind-key § last-window
#bind-key § send-prefix
bind-key e send-prefix
@erenesmer
erenesmer / remap.md
Created July 29, 2023 00:52 — forked from vadikgo/remap.md
Remap HHKB Pro Eject key to Media Play/Pause

Remap HHKB Pro Eject key to Media Play/Pause

Run in a terminal

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0xC000000B8,"HIDKeyboardModifierMappingDst":0xC000000CD}]}'

Add remap on startup