Skip to content

Instantly share code, notes, and snippets.

View ds0nt's full-sized avatar
🏠
Working from home

Daniel Sont ds0nt

🏠
Working from home
View GitHub Profile
@ds0nt
ds0nt / gist:54c32f2d67622d683838
Last active August 29, 2015 14:20
Atom Editor Tree View Hackage
.tree-view {
font-size: 115%;
font-family: 'mono';
background: rgba(18, 19, 22, 0) !important;
overflow-y: auto;
.selected::before {
display: none;
}
@ds0nt
ds0nt / stylesheet
Last active August 29, 2015 14:20
Atom - Top Overlay Grid
.overlay.from-top {
transform: translate(-50%, 0);
width: 80%;
bottom: 10%;
margin-left: 0;
overflow-y: auto;
ol {
max-height: 100%;
display: flex;
@ds0nt
ds0nt / gist:ace71c3b30577543fc34
Created May 9, 2015 11:17
Some ES6 winning in a gist file.
var model = require('component/model');
var superagent = require('visionmedia/superagent');
var supercouch = require('qualiancy/supercouch');
var transforms = require('./transforms.js');
var state = require('./state.js');
var apiSpec = {
user: {
register: register,
duo --use ./plugins.js --development app.js
using : babel
using : handlebars
building : app.js
using : compatibility
using : stoj
[BABEL] Note: The code generator has deoptimised the styling of "/home/dsont/dev/microgrid/client/components/[email protected]/lodash.js" as it exceeds the max of "100KB".
[BABEL] Note: The code generator has deoptimised the styling of "/home/dsont/dev/microgrid/client/components/[email protected]/d3.js" as it exceeds the max of "100KB".
installed : [email protected]
@ds0nt
ds0nt / Directory Structure
Last active August 29, 2015 14:20
Microgrid Makefile
[dsont@dsont-pc client]$ tree -I node_modules\|components
.
├── app.css
├── app.js
├── build
│   ├── app.css
│   ├── app.js
│   ├── browser-polyfill.js
│   └── index.html
├── config
@ds0nt
ds0nt / xorg.conf
Created May 14, 2015 04:59
xorg example multihead
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
@ds0nt
ds0nt / dabblet.css
Created June 11, 2015 08:25
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
div {
background: red;
#!/bin/bash
#
# production
#
if [ "$NODE_ENV" = "production" ]; then
export PORT=8080;
export MONGODB='localhost/test';
export ASSETS='/code/klouds.io/build';
@ds0nt
ds0nt / gist:a23dcfd3022db00dffbc
Last active August 29, 2015 14:23
Metadev Proximus
{
"items": [
{
"name": "Quip",
"description": "Document and spreadsheet collaboration",
"url": "https://quip.com/"
},
{
"name": "Trello",
"description": "Project Management",
@ds0nt
ds0nt / 0_reuse_code.js
Last active August 29, 2015 14:24
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console