I hereby claim:
- I am dawnerd on github.
- I am dawnerd (https://keybase.io/dawnerd) on keybase.
- I have a public key ASAvM0e7v1bz-btItwUsmrZR0xL36Mnc2m7TQCjEp28ULAo
To claim this, I am signing this object:
| <?php | |
| add_filter('request', function( $request ) { | |
| $tax_qv = 'product_cat'; | |
| $cpt_name = 'product'; | |
| if(!empty( $request[$tax_qv])) { | |
| $slug = basename($request[$tax_qv]); | |
| // if this would generate a 404 | |
| if(!get_term_by('slug', $slug, $tax_qv)) { |
| files: | |
| /etc/httpd/conf.d/proxy.conf: | |
| mode: 000777 | |
| owner: ec2-user | |
| group: ec2-user | |
| content: | | |
| LoadModule proxy_module modules/mod_proxy.so | |
| LoadModule proxy_module modules/mod_proxy_http.so |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "precise64" | |
| config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box" | |
| config.vm.network :forwarded_port, guest: 80, host: 8080 |
| var sign = "The best hotdogs in town."; | |
| String.prototype.emphasize = function(options) { | |
| options = options || { | |
| minWordLength: 3 | |
| }; | |
| var wordRegex = new RegExp('(\\w{' + options.minWordLength + ',})', 'g'); | |
| var words = this.match(wordRegex); | |
| #!/bin/bash | |
| APP_NAME="opencoaster" | |
| DOCKER_HOST_SSH_COMMAND="docker-machine ssh $APP_NAME" | |
| WATCH_PID="" | |
| DOCKER_PID="" | |
| docker-machine start opencoaster | |
| eval "$(docker-machine env $APP_NAME)" |
| echo 'Starting nginx-proxy' | |
| docker run -d -p 80:80 -p 443:443 \ | |
| --name nginx-proxy \ | |
| -v /var/sites/certs:/etc/nginx/certs:ro \ | |
| -v /etc/nginx/vhost.d \ | |
| -v /usr/share/nginx/html \ | |
| -v /var/run/docker.sock:/tmp/docker.sock:ro \ | |
| jwilder/nginx-proxy | |
| echo 'Starting nginx-proxy ssl' |
| class Domodule { | |
| constructor(el) { | |
| this.el = el; | |
| this.els = {}; | |
| for (const action of this.find('[data-action]')) { | |
| action.addEventListener( | |
| action.dataset.actionType || 'click', | |
| this[action.dataset.action].bind(this) | |
| ); |
I hereby claim:
To claim this, I am signing this object:
| // Install with user style plugin of choice | |
| .GridTaskList > div > .TaskGroup > div { | |
| display: flex; | |
| -webkit-box-orient: vertical; | |
| flex-direction: column; | |
| } | |
| .GridTaskList > div > .TaskGroup .TaskGroup { | |
| -webkit-box-ordinal-group: 2; | |
| order: 2; |
| // ==UserScript== | |
| // @name Twitter STFO | |
| // @namespace http://twitter.com/ivanca | |
| // @version 1.0 | |
| // @description Delete button for individual annoying tweets you hate to read again! | |
| // @match https://twitter.com/* | |
| // @copyright 2012+, You | |
| // ==/UserScript== | |
| (function () { |