Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
defmodule TravelerWeb.SearchbarLive do | |
use TravelerWeb, :live_view | |
alias Phoenix.LiveView.JS | |
alias Traveler.Places | |
def mount(_params, _session, socket) do | |
socket = assign(socket, places: []) | |
{:ok, socket, layout: false} | |
end |
defaultdb=> SELECT * FROM pg_available_extensions; | |
name | default_version | installed_version | comment | |
------------------------------+-----------------+-------------------+--------------------------------------------------------------------------------------------------------------------- | |
aiven_extras | 1.0.2 | | aiven_extras | |
plpgsql | 1.0 | 1.0 | PL/pgSQL procedural language | |
btree_gist | 1.5 | | support for indexing common datatypes in GiST | |
tcn | 1.0 | | Triggered change notifications | |
seg | 1.3 | | data type for representing line segments or floating-point intervals | |
pgrowlocks | 1.2 | |
var gulp = require('gulp') | |
var sass = require('gulp-sass') | |
var autoprefixer = require('gulp-autoprefixer') | |
var browserSync = require('browser-sync').create() | |
gulp.task('sass', function () { | |
gulp.src('sass/**/main.scss') | |
.pipe(sass({outputStyle: 'uncompressed'}).on('error', sass.logError)) | |
.pipe(autoprefixer('last 3 versions', '> 1%', 'ie 8')) | |
.pipe(gulp.dest('./css')) |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Print ZPL from browser</title> | |
</head> | |
<body> | |
<h1>Test page for print ZPL from browser!</h1> | |
<script type="text/javascript"> | |
function printZpl(zpl) { |
<?php | |
/** | |
* Theme Update Script | |
* | |
* Runs if version number saved in theme_mod "version" doesn't match current theme version. | |
*/ | |
function prefix_update_check() { | |
$ver = get_theme_mod( 'version', false ); |
<?php | |
/** | |
* Custom nav walker | |
* | |
* Custom nav walker to assign icons to menu items. | |
*/ | |
class FA_Icon_Walker extends Walker_Nav_Menu | |
{ | |
/** |
<?php | |
// DO NOT INCLUDE OPENING PHP TAG AND PLACE INTO FUNCTIONS.PHP | |
/** | |
* Get Author's Gravatar profile data. | |
*/ | |
function custom_get_gravatar_profile() { | |
// Get author data | |
$author = strtolower( trim( get_the_author_meta( 'email' ) ) ); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.