Skip to content

Instantly share code, notes, and snippets.

Alexander Gugel alexanderGugel

Block or report user

Report or block alexanderGugel

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
View gist:bdd03242b16944e27b162cb9a4f50560
diff --git a/lib/module.js b/lib/module.js
index fb233d6..a2f6faa 100644
--- a/lib/module.js
+++ b/lib/module.js
@@ -103,20 +103,35 @@ function tryPackage(requestPath, exts, isMain) {
if (!pkg) return false;
var filename = path.resolve(requestPath, pkg);
+ var _filename = path.resolve(requestPath, '_' + pkg);
+
View .eslintrc
{
"ecmaFeatures": {
"modules": true,
"experimentalObjectRestSpread": true
},
"env": {
"browser": false,
"es6": true,
"node": true
@alexanderGugel
alexanderGugel / ied-0.1.0
Created Nov 16, 2015
ied-0.1.0 vs npm-2.14.7 vs npm-3.4.0
View ied-0.1.0
.
├── node_modules
│   ├── 00963d697b2adf0c185c4e04e73174ba9b288eb2
│   │   ├── node_modules
│   │   │   └── xml-escape -> ../../00963d697b2adf0c185c4e04e73174ba9b288eb2/package
│   │   └── package
│   │   ├── LICENSE
│   │   ├── README.md
│   │   ├── index.js
│   │   ├── package.json
View .gitconfig
[user]
name = Alexander Gugel
email = alexander.gugel@gmail.com
[alias]
lazy = !git add -A && git commit -m 'Too lazy for a commit message'
yolo = push origin master --force
back = revert HEAD
pom = !git pull origin master && git push origin master
shit = reset --hard HEAD
View .slate.js
slate.configAll({
'defaultToCurrentScreen': true,
'checkDefaultsOnLoad': true
});
var layout = {
maximize: S.op('move', {
'x' : 'screenOriginX',
'y' : 'screenOriginY',
'width' : 'screenSizeX',
@alexanderGugel
alexanderGugel / ping.go
Created Mar 29, 2015
PING server using Go
View ping.go
// Start using
// go run ping.go -addr=:3141
// Query using
// nc -u localhost 3141
package main
import (
"log"
"net"
View gist:f3a20f8dc42f4726e0d0
<div class="card depth-0">card depth-0</div>
<div class="card depth-1">card depth-1</div>
<div class="card depth-2">card depth-2</div>
<div class="card depth-3">card depth-3</div>
<div class="card depth-4">card depth-4</div>
<div class="card depth-5">card depth-5</div>
View gist:a20d920f6c4e059c6cb4
<h2>Buttons</h2>
<button class="white">white</button>
<button class="red">red</button>
<button class="pink">pink</button>
<button class="purple">purple</button>
<button class="deep-purple">deep-purple</button>
<button class="indigo">indigo</button>
<button class="blue">blue</button>
<button class="light-blue">light-blue</button>
<button class="cyan">cyan</button>
View .gitconfig
[user]
name = Alexander Gugel
email = alexander.gugel@gmail.com
[alias]
lazy = !git add -A && git commit -m 'Too lazy for a commit message'
yolo = push origin master --force
back = revert HEAD
pom = !git pull origin master && git push origin master
shit = reset --hard HEAD
@alexanderGugel
alexanderGugel / .slate.js
Created Nov 29, 2014
My slate configuration (stolen from someone else)
View .slate.js
slate.configAll({
'defaultToCurrentScreen': true,
'checkDefaultsOnLoad': true
});
var layout = {
maximize: S.op('move', {
'x' : 'screenOriginX',
'y' : 'screenOriginY',
'width' : 'screenSizeX',
You can’t perform that action at this time.