Skip to content

Instantly share code, notes, and snippets.

View Yennick's full-sized avatar

Yennick Yennick

  • Drogisterij.net
View GitHub Profile
@vstath
vstath / lww.ppd
Created April 28, 2019 10:22
Dymo LabelWriter Wireless Linux CUPS ppd file
*PPD-Adobe: "4.3"
*% $Id: lww.ppd 18293 2012-05-28 16:46:08Z aleksandr $
*% DYMO LabelWriter Drivers
*% Copyright (C) 2009 Sanford L.P.
*% This program is free software; you can redistribute it and/or
*% modify it under the terms of the GNU General Public License
*% as published by the Free Software Foundation; either version 2
@billyxs
billyxs / osx_brew_cask_installs.sh
Last active April 29, 2018 05:44
Install Homebrew, Cask, and necessary apps for Mac OSX
#!/bin/sh
echo Install Homebrew, Postgres, wget and cask
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Development
brew install node
brew install go
brew install dep # dep manager for go
brew install python3
@codeprogression
codeprogression / brew_install
Created April 8, 2015 21:37
Paved MacBook Script(ish)
# Install oh-my-zsh (http://ohmyz.sh) _Prompts XCode Command Line Tools install_
# Install Brew (http://brew.sh)
# Install Brew Cask (caskroom.io) brew install caskroom/cask/brew-cask
brew install cask
brew cask install xquartz
brew cask install iterm2
brew install git
brew install ruby
brew install ruby-build
@aslakhellesoy
aslakhellesoy / Makefile
Last active August 29, 2015 13:56
How to concatenate and minify js with make
BIN = node_modules/.bin
# Combine, ngmin and minify all of our own scripts
public/app.js: \
ng-app/providers/providers.js \
ng-app/providers/*.js \
ng-app/cucumber_pro.js \
ng-app/**/*.js
ifdef DEBUG
<?php
/**
* Custom redis client class to be able to set a custom prefix for every key
*
* @see https://github.com/nicolasff/phpredis
**/
class RedisClient extends Redis {
/**
* Default prefix
@lilbro1062000
lilbro1062000 / phpunit.xml
Created January 4, 2014 01:34
cakephp phpunit.xml
<phpunit>
<filter>
<!-- Exclude directories for coverrage. -->
<blacklist>
<directory suffix=".php">bin</directory>
<directory suffix=".php">cakephp</directory>
<directory suffix=".php">*/Config/Migration</directory>
<directory suffix=".php">*/Config/Schema</directory>
<directory suffix=".php">*/Console/Templates</directory>
<directory suffix=".php">*/Lib</directory>
@Yennick
Yennick / Clock
Last active December 28, 2015 23:39
A Pen by Yennick Wolthuizen.
SVG Clock with Raphael 2.1 (Part 2 - Drag-and-drop Time Picker Implementation)
------------------------------------------------------------------------------
http://terryyoung.blogspot.com/2013/02/svg-clock-with-raphael-21-part-2-drag.html
A [Pen](http://codepen.io/yennick/pen/AInhu) by [Yennick Wolthuizen](http://codepen.io/yennick) on [CodePen](http://codepen.io/).
[License](http://codepen.io/yennick/pen/AInhu/license).
@zenorocha
zenorocha / .hyper.js
Last active November 12, 2023 15:13 — forked from millermedeiros/osx_setup.md
Setup macOS Sierra (10.12)
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 14,
// font family with optional fallbacks
@eric-hu
eric-hu / Open iterm tab here
Last active March 11, 2022 02:45
Apple script to open an iterm2 tab from right-clicking on a file or folder in Finder. To use: (1) Open Automator (2) Create a new service (3) Change "Service receives selected" drop downs to "Files or folders" in "Finder" (4) Select "Run applescript" from the sidebar, then paste this script in and save
-- Adapted from these sources:
-- http://peterdowns.com/posts/open-iterm-finder-service.html
-- https://gist.github.com/cowboy/905546
--
-- Modified to work with files as well, cd-ing to their container folder
on run {input, parameters}
tell application "Finder"
set my_file to first item of input
set filetype to (kind of (info for my_file))
-- Treats OS X applications as files. To treat them as folders, integrate this SO answer:
@rvagg
rvagg / README.md
Last active April 21, 2024 08:33
Kindleberry "Paperwhite" Pi

Work in progress, I'll write this up properly when I'm done.

Almost all credit goes to @maxogden for putting me on to this and pointing me in the right direction for each of these items.

Prerequisites:

  • Raspberry Pi
  • Kindle Paperwhite freed from its locked down state (jailbroken) http://www.mobileread.com/forums/showthread.php?t=198446
    • You have to downgrade your Kindle to 5.3.1 to install the current jailbreak; that's just a matter of getting the old version image, putting it on your Kindle via USB and telling it to install "upgrade". Then you put in the Jailbreak files, load the ebook and break.
  • Your kindle will be quick to detect an upgrade is available so it'll want to upgrade soon afterwards but the jailbreak will last but you have to reinstall the developer certificates so it's a bit of a pain but doable. Find all the instructions on the mobileread.com forums and wiki.