Skip to content

Instantly share code, notes, and snippets.

View paulvollmer's full-sized avatar
:octocat:
!#

Paul Vollmer paulvollmer

:octocat:
!#
View GitHub Profile
@paulvollmer
paulvollmer / 1-current-syntax.md
Last active October 13, 2019 20:16
1-current-syntax.md

current import ecmascript syntax for modules

import React from 'react';
import PropTypes from 'prop-types';
import { Add } from '@material-ui/icon';
import { Chip, Divider, Grid, Typography } from '@material-ui/core';
import SelectAttributes from './SelectAttributes';
import Translations from '../../../container/Translations';

Keybase proof

I hereby claim:

  • I am paulvollmer on github.
  • I am paulvollmer (https://keybase.io/paulvollmer) on keybase.
  • I have a public key ASCoLXc_wnU9eRDFXSoa_fgB5doz7QIAcZ6dYE1p1ojZ9Qo

To claim this, I am signing this object:

@paulvollmer
paulvollmer / writescript-plugin-sample.js
Created July 7, 2015 23:15
writescript-plugin-sample
writeln('console.log("plugin-sample")')
@paulvollmer
paulvollmer / README.md
Last active December 17, 2015 21:48
SVG timeout

Draw SVG's with timeout.

@paulvollmer
paulvollmer / README.md
Last active December 17, 2015 21:39
bl.ocks.org javascript template
#!/bin/sh
loc=0
dirs="src foo bar"
for dir in $dirs; do
files=`find $dir -type f | egrep -v "svn" | egrep -v "(DS_Store|pdf|svn|sql|png|txt|swfupload)"`
lines=`wc -l $files | tail -1 | sed "s/total//g"`
loc=$(($loc + $lines))
done
@paulvollmer
paulvollmer / quick look copy hack
Created January 31, 2013 12:49
Copy Text from Quick Look Previews
# found at http://lifehacker.com/5874280/copy-text-from-quick-look-previews-with-a-terminal-hack
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder
@paulvollmer
paulvollmer / git_cheat_sheet.md
Last active August 14, 2019 06:02
Clone with submodules

#git cheat sheet

##$ git clone Clone into a custom named folder

git clone git@github.com/username/repository.git foldername

Clone the last five commits

git clone --depth=5 git@github.com/username/repository.git
@paulvollmer
paulvollmer / create_two_finder_window.scpt
Created April 22, 2012 09:14
applescript create two finder window
tell application "Finder"
activate
set this_window to make new Finder window
set bounds of front window to {0, 22, 1440, 430}
set this_window to make new Finder window
set bounds of front window to {0, 452, 1440, 900}
end tell
// ofLog class
ofLogToFile("wng_"+ofGetTimestampString()+".log", true);
//ofLogToConsole();
ofSetLogLevel(OF_LOG_VERBOSE);
ofLog(OF_LOG_VERBOSE, "Start Logging.");