Skip to content

Instantly share code, notes, and snippets.

View adnasa's full-sized avatar
💐

Adnan Asani adnasa

💐
View GitHub Profile
diff --git a/packages/application-shell/src/configure-store.ts b/packages/application-shell/src/configure-store.ts
index ad7ddf11..b3f005e7 100644
--- a/packages/application-shell/src/configure-store.ts
+++ b/packages/application-shell/src/configure-store.ts
@@ -53,45 +53,57 @@ const patchedGetCorrelationId = () =>
const createInternalReducer = (injectedReducers: ReducersMapObject = {}) =>
// NOTE: since we don't know in advance which reducers will be injected,
// we pass an `unknown` type to express this uncertainty and make the compiler happy.
combineReducers<unknown>({
  • Remove reducers, move them to utils
  • Remove actions
  • re-translating "Shared.StatesDropdown.noInitialStates": "In diesem Projekt ist kein Workflow definiert"
  • schema stitching MyCustomType
  • API has a mix of Ref on fields not named as *Ref

Integration

  • LineItems
  • OrderItemsPanel
.commit-link tt {
color: #e2e2e2 ;
}
.file-info a.link-gray-dark, pre, code, tt, kbd:not(.badmono), samp, .blob-code, .file-data pre, .line-data, #gist-form .file .input textarea, .blob-code-inner, .blob-code.blob-code-inner, .diff-table .code-review.blob-code {
font-family: "Fira Code"
;
}
Koen - 351 (Mijn Drom), 98
Foreign Exchange - Raw Life, 90
Jengi Beats - I Got It, 145
L Bordeaux - Few words, 95.50
Dayfly - Magnet, 95
Crustation-J Dilla - Purple (Zikomo Remix), 114
Dwele - Lady (Wantigga Flip), 120
@adnasa
adnasa / gist:0656a63101133d2e50a6075637e73ac4
Created September 26, 2016 20:21
hotfix/correct-eslint-error
➜ dext git:(hotfix/correct-eslint-error) npm run lint
> dext@0.4.0 lint /Users/adnasa/Sites/sandbox/js/node/dext
> eslint app
The react/require-extension rule is deprecated. Please use the import/extensions rule from eslint-plugin-import instead.
/Users/adnasa/Sites/sandbox/js/node/dext/app/main/index.js
59:17 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
149:21 error Expected parentheses around arrow function argument having a body with curly braces arrow-parens
➜ dext-hackernews-plugin git:(simplify) ✗ npm run lint
> dext-hackernews-plugin@0.2.1 lint /Users/adnasa/.dext/plugins/dext-hackernews-plugin
> eslint index.js
Oops! Something went wrong! :(
ESLint couldn't find the plugin "eslint-plugin-jsx-a11y". This can happen for a couple different reasons:
@adnasa
adnasa / eyeem-public.md
Last active March 6, 2016 19:21
Cleaned up eye doc

#EyeEm API

Introduction | API Documentation | Basics | OAuth | Request Headers | Pagination | Images and Image Resolution | Contact

##Introduction

The EyeEm Public API is read-only by default, and covers the complete EyeEm functionality. We do offer write access on a case-by-case basis. We use the API ourselves for our mobile apps, and are actively developing and improving it. The API is currently in version 2.2.0. We are working on v3 and expect to release that soon.

You can register an app by going to Your apps on EyeEm.

@adnasa
adnasa / _btn.css
Created February 4, 2016 21:46
Overhaul suggestion 1: Adding a specific class that defines that block's state itself
.btn,
.btn--primary,
.btn--secondary,
.btn--inverted {
outline: none;
border: none;
padding: 5px 10px;
letter-spacing: 1px;
text-transform: uppercase;
}
@adnasa
adnasa / _btn.css
Last active February 4, 2016 21:44
Overhaul suggestion 2: .btn class to set a base for button. adding an additional class to change its state.
.btn {
outline: none;
border: none;
padding: 5px 10px;
letter-spacing: 1px;
text-transform: uppercase;
}
.btn.btn--primary {
color: #333333;
Setting an external node module in your project with the hassle
// in random folder (NOT INSIDE THE PROJECT)
$ git clone tracking.js
$ cd tracking.js
$ sudo npm link
// in your project
$ cd maximalg/node_modules
$ npm install tracking.js