Skip to content

Instantly share code, notes, and snippets.

View kizzlebot's full-sized avatar

James Choi kizzlebot

View GitHub Profile
###
# #%L
# thinkbig-ui-app
# %%
# Copyright (C) 2017 ThinkBig Analytics
# %%
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
@srirajk
srirajk / application.properties
Created April 16, 2018 20:31
kylo-services
###
# #%L
# thinkbig-service-app
# %%
# Copyright (C) 2017 ThinkBig Analytics
# %%
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
anonymous
anonymous / base.js
Created October 20, 2016 09:56
Fast hack for electrode to load custom webpack.config.js
```
Add this function somewhere in file: "electrode/node_modules/electrode-archetype-react-app/config/webpack/base.js"
```
function webpackCustomConfig() {
var webpackPath = Path.join(context, "webpack.config.js");
/* eslint-disable no-console, global-require */
try {
return require(webpackPath);
@baumandm
baumandm / GIF-Screencast-OSX.md
Last active November 3, 2023 07:18 — forked from dergachev/GIF-Screencast-OSX.md
OS X Screencast to Animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime and ffmpeg.

Forked from https://gist.github.com/dergachev/4627207. Updated to use a palette to improve quality and skip gifsicle.

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@hamidreza-s
hamidreza-s / Erlang - ClearConsole.erl
Created April 12, 2014 05:25
How to clear the Erlang shell.
%% move cursor to beginning of the line
io:format("\e[H").
%% clear the console
io:format("\e[J").
%% both
io:format("\e[H\e[J").
@willurd
willurd / web-servers.md
Last active June 26, 2024 11:15
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@malkomalko
malkomalko / gist:3600741
Created September 2, 2012 15:46
js testing cheatsheet
sinon / chai / mocha / js-tests
_____________________________________
#### chai
expect(subject).not.equal(expected)
.a('string')
.instanceof(Foo)