Skip to content

Instantly share code, notes, and snippets.

Avatar

Nathan Doyle Natetronn

  • Above Root
View GitHub Profile
@Natetronn
Natetronn / grub.cfg
Created Oct 19, 2020 — forked from Pysis868/grub.cfg
My own configuration file for GRUB2 to boot various live distributions of Linux-based operating systems, along with some system tools. I tried to include a lot of sample configuration entries, even if I don't currently use them, so it may help others. Exceedingly long blog post: http://tehfishyblog.logdown.com/chips/306146-a-homemade-ultimate-bo…
View grub.cfg
# Config for GNU GRand Unified Bootloader (GRUB) (2)
# /boot/grub/grub.cfg
# or
# /boot/grub2/grub.cfg
# This grub.cfg file was created by Lance http://www.pendrivelinux.com
# Suggested Entries and the suggestor, if available, will also be noted.
# and then improved by Pysis.
@Natetronn
Natetronn / pyproject.toml
Created Jul 3, 2020
poetry pyproject.toml
View pyproject.toml
[tool.poetry]
name = "some name"
version = "0.1.0"
description = "some description"
authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies]
python = "^3.7"
pyqt5 = "5.15.0"
View gist:bb7eb246c465e4c50fc152de412fee94
# Maintainer: Zach Hoffman <zach@zrhoffman.net>
pkgname=docksal
pkgver=1.13.1
pkgrel=1
epoch=1
pkgdesc='All-purpose web-development environment based on Docker and Docker Compose.'
arch=('any')
url='https://docksal.io/'
license=('MIT')
@Natetronn
Natetronn / craft-specific-syntax.md
Last active Aug 29, 2015
Craft CMS Project Specific Syntax Highlighting for HTML (Twig)
View craft-specific-syntax.md
@Natetronn
Natetronn / .editorconfig
Created Apr 16, 2015
Craft CMS Editor Config with PT Coding Standards - Find your IDE/Editor here: http://editorconfig.org/#download
View .editorconfig
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
@Natetronn
Natetronn / quotes
Created Mar 16, 2015
Thoughts on quotes
View quotes
Quotes can be damaging if read from the wrong state of mind. Some of us forget a whole life of successes can not be wrapped into one sentence. Life is not always so easily repeated.
@Natetronn
Natetronn / stash-columns.html
Created Jul 22, 2014
An easy way to build Columns in ExpressionEngine using Stash - This is a 2 column, 10 item per column, with pagination example
View stash-columns.html
{exp:stash:set_list name="directory" parse_tags="yes"}
{exp:channel:entries channel="profile" disable="categories|category_fields|profile_data|pagination" status="open" limit="200"}
{stash:company}{profile_company}{/stash:company}
{stash:first_name}{profile_first_name}{/stash:first_name}
{stash:last_name}{profile_last_name}{/stash:last_name}
{stash:title}{profile_title}{/stash:title}
{stash:address}{profile_address}{/stash:address}
{stash:address2}{profile_address2}{/stash:address2}
View get_remote_db.sh
#!/bin/sh
# Import a remote database into a local database
# ----------------------------------------------
#
# Based on http://danherd.net/quick-script-synchronise-from-a-remote-expressionengine-database/
#
# Don’t forget chmod +x to make the script executable.
#
# Change the extension to .command to run the script directly from OS X Finder.
@Natetronn
Natetronn / ee-edit-link.html
Last active Jan 4, 2016
Edit Entry - ExpressionEngine
View ee-edit-link.html
View templating.md

Templating in EE vs. Craft

Lots of people have asked, so here are a few common tasks you might do in your templates, as they would be written in ExpressionEngine vs. Craft.

Table of Contents

  1. Comments
  2. Conditionals
  3. Loops
You can’t perform that action at this time.