
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Busymind Mindfulness for your busy life | |
Slow down. Search your body for tension. | |
This could be at your shoulders, your back, or your mouth. | |
Release the tension let your body sink in to relaxation. | |
Now focus on your breath. | |
As you breath, feel your chest expand and contract. Feel the air move in and out. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Copyright (c) 2012 | |
# | |
# Authors: Wild Man, Krytarik | |
# Helpers: chili555 | |
# | |
# This script gathers the infos necessary for troubleshooting a wireless | |
# connection and saves them in a text file, wrapping it in an archive if it | |
# exceeds the 19.5 kB size limit for ".txt" attachments on the Ubuntu Forums. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bus 001 Device 106: ID 0603:8612 Novatek Microelectronics Corp. | |
Couldn't open device, some information will be missing | |
Device Descriptor: | |
bLength 18 | |
bDescriptorType 1 | |
bcdUSB 2.00 | |
bDeviceClass 239 Miscellaneous Device | |
bDeviceSubClass 2 ? | |
bDeviceProtocol 1 Interface Association | |
bMaxPacketSize0 64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- This gist discribes a workaround for Android <4.4 and iOS <7. | |
The problem is that those iOS and Android versions do not support | |
flexbox wrapping and make (in the case I was working on) them invisible. | |
The goal is to flex a list of items with a fixed width and in case of floating a fixed height. | |
The workaround uses Modernizr to check if modernflexbox is available. | |
If not or JS is turned off, everything will be floated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var path = require('path'); | |
var HtmlwebpackPlugin = require('html-webpack-plugin'); | |
var webpack = require('webpack'); | |
var merge = require('webpack-merge'); | |
const TARGET = process.env.npm_lifecycle_event; | |
const PATHS = { | |
app: path.join(__dirname, 'dev'), | |
build: path.join(__dirname, 'build') | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.is-wide-columns .column { | |
width: 600px; | |
} | |
.stream-item { | |
padding: 0px 50px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomError(Exception): # Name it whatever you want. | |
def __init__(self, value): | |
¦ self.value = value | |
def __str__(self): | |
¦ return repr(self.value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/zsh | |
# prints out all the colors supported by the terminal | |
for COLOR in {0..255} | |
do | |
for STYLE in "38;5" | |
do | |
TAG="\033[${STYLE};${COLOR}m" | |
STR="${STYLE};${COLOR}" | |
echo -ne "${TAG}${STR}${NONE} " | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link href="test.css" rel="stylesheet"> | |
</head> | |
<body> | |
<ul id="ul"> | |
<div id="selected" /> |
OlderNewer