Skip to content

Instantly share code, notes, and snippets.

Lekhnath Rijal lekhnath

Block or report user

Report or block lekhnath

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mauri870 /
Last active Nov 15, 2019
Installation of Manjaro 17 and nvidia/bumblebee drivers on Avell G1513

After a weekend of research, stress and pain I finally figure out how to install manjaro 17 and configure the nvidia/bumblebee drivers on my avell laptop

Here's my notebook specs:

$ inxi -MGCNA

Machine:   Device: laptop System: Avell High Performance product: 1513
           Mobo: N/A model: N/A v: 0.1 UEFI: American Megatrends v: N.1.02 date: 09/28/2016
Battery    BAT0: charge: 44.0 Wh 100.0% condition: 44.0/44.0 Wh (100%)
View lodash.d.ts
declare namespace fp {
interface Dictionary<T> {
[index: string]: T;
interface CurriedFunction1<T1, R> {
View _arrows.scss
// Demo at
/* This mixin is for generating CSS arrows on a box */
@mixin box-arrow($arrowDirection, $arrowColor, $arrowSize: 10px) {
position: relative;
z-index: 10;
&::after {
content: '';
width: 0;
height: 0;
View app.js
import express from 'express';
const app = express();
if (IS_DEV) {
//express routes, etc.
export default app;
markerikson / appEntryPoint.js
Last active Nov 20, 2019
Webpack React/Redux Hot Module Reloading (HMR) example
View appEntryPoint.js
import React from "react";
import ReactDOM from "react-dom";
import configureStore from "./store/configureStore";
const store = configureStore();
const rootEl = document.getElementById("root");
View mapToIterable.js
import { Pipe } from 'angular2/core.js';
* Map to Iteratble Pipe
* It accepts Objects and [Maps](
* Example:
* <div *ngFor="#keyValuePair of someObject | mapToIterable">
btroncone /
Last active Nov 11, 2019
A Comprehensive Introduction to @ngrx/store - Companion to Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents


Proposed module resolution strategy

Proposed set of rules is an extension to baseUrl based mechanics used by RequireJS or SystemJS.

Core elements of the system are baseUrl and path mappings. Resolution process describes how they are used together.


All non-rooted paths are computed relative to baseUrl. Value of baseUrl is determined as either:

renshuki /
Last active Oct 30, 2019
Ubuntu 16.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

nojaf / package.json
Created Nov 21, 2015
From TypeScript to Babel to ES5 with webpack
View package.json
"name": "webpack-ts-babel",
"version": "1.0.0",
"description": "",
"main": "webpack.config.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"author": "",
"license": "ISC",
You can’t perform that action at this time.