Generates an algorithmic 3D OBJ file with ThreeJS and Node.js.
# print to stdout
node generate-mesh.js > test.obj
# write to file
node generate-mesh.js test.obj
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.docker.docker-machine</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/docker-machine</string> | |
<string>start</string> |
/* http://meyerweb.com/eric/tools/css/reset/ | |
/* v2.0 | 20110126 | |
/* License: none (public domain) | |
html,body, | |
div,span, | |
applet,object,iframe, | |
h1,h2,h3,h4,h5,h6, | |
p,blockquote,pre, | |
a, |
(require 'dash) | |
(require 's) | |
(defmacro with-face (STR &rest PROPS) | |
"Return STR propertized with PROPS." | |
`(propertize ,STR 'face (list ,@PROPS))) | |
(defmacro esh-section (NAME ICON FORM &rest PROPS) | |
"Build eshell section NAME with ICON prepended to evaled FORM with PROPS." | |
`(setq ,NAME |
// $ cat .eslintrc.js | |
module.exports = { | |
'env': { | |
'browser': true, | |
'meteor': true, | |
'node': true, | |
'es6': true | |
}, | |
'extends': 'eslint:recommended', | |
'parserOptions': { |
(setq org-capture-templates (quote (("SA" "Skim Annotation" entry | |
(file+function org-ref-bibliography-notes my-org-move-point-to-capture-skim-annotation) | |
"* %^{Logging for...} :skim_annotation:read:literature: | |
:PROPERTIES: | |
:Created: %U | |
:CITE: cite:%(my-as-get-skim-bibtex-key) | |
:SKIM_NOTE: %(my-org-mac-skim-get-page) | |
:SKIM_PAGE: %(my-as-get-skim-page) | |
:END: | |
%i |
#!/bin/env python | |
# Copyright Nils Deppe, 2017 | |
# Distributed under the Boost Software License - Version 1.0 | |
# Boost Software License - Version 1.0 - August 17th, 2003 | |
# Permission is hereby granted, free of charge, to any person or organization | |
# obtaining a copy of the software and accompanying documentation covered by | |
# this license (the "Software") to use, reproduce, display, distribute, |
(defun create-directory (directory) | |
"Creates the todo directory." | |
(if (file-exists-p directory) (message "Director exists") | |
(make-directory directory) | |
(message "Directory created") | |
)) | |
(defun create-todo-file (directory filename) | |
"Checks if the todo file exists if not creates it." | |
(create-directory directory) |
#ifdef GL_ES | |
precision mediump float; | |
precision mediump int; | |
#endif | |
varying vec4 vertColor; | |
varying vec3 vertNormal; | |
varying vec3 vertLightDir; | |
varying vec4 vertTexCoord; |