hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9aa3d0a1573bb832caf37ac045772bfc5b97c28 | 1,195 | go | Go | learngopkg/grpc/hello-tls/server/main.go | 1000Delta/gopractice | 8772031b5d5430250d8fe4f8adb7f5d62decc7fe | [
"MIT"
] | null | null | null | learngopkg/grpc/hello-tls/server/main.go | 1000Delta/gopractice | 8772031b5d5430250d8fe4f8adb7f5d62decc7fe | [
"MIT"
] | null | null | null | learngopkg/grpc/hello-tls/server/main.go | 1000Delta/gopractice | 8772031b5d5430250d8fe4f8adb7f5d62decc7fe | [
"MIT"
] | null | null | null | package main
import (
"context"
"fmt"
"net"
"os"
pb "github.com/1000Delta/gopractice/learngopkg/grpc/proto/hello"
"google.golang.org/grpc"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/grpclog"
)
type helloService struct{}
func (h helloService) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.HelloResponse, error) {
rsp := &pb.HelloResponse{}
rsp.Message = fmt.Sprintf("Hello %s", in.Name)
// logging
grpclog.Infoln("Call: " + "HelloService.SayHello")
return rsp, nil
}
const (
// Address 是 TCP 连接地址
Address = "127.0.0.1:52081"
)
func main() {
listen, err := net.Listen("tcp", Address)
if err != nil {
grpclog.Fatalf("Listen %v error: %v", Address, err.Error())
}
// 设置 stdout 为 logger 输出
grpclog.SetLoggerV2(grpclog.NewLoggerV2(os.Stdout, os.Stdout, os.Stderr))
// TLS 认证
creds, err := credentials.NewServerTLSFromFile("../../keys/server.pem", "../../keys/server.key")
if err != nil {
grpclog.Errorln("NewServerTLSFromFile: " + err.Error())
}
s := grpc.NewServer(grpc.Creds(creds)) // 参数为启用 TLS 认证
// s := grpc.NewServer()
pb.RegisterHelloServer(s, helloService{})
grpclog.Println("listen on " + Address)
s.Serve(listen)
}
| 21.339286 | 101 | 0.681172 |
e98765a73a1fcb9b784c525a00720bd9a0136686 | 1,097 | rb | Ruby | spec/helpers.rb | ged/thingfish-datastore-filesystem | f4da4d85945e099cb687696f0e3aa899b951fc7e | [
"BSD-3-Clause"
] | 1 | 2021-11-28T23:35:28.000Z | 2021-11-28T23:35:28.000Z | spec/helpers.rb | ged/thingfish-datastore-filesystem | f4da4d85945e099cb687696f0e3aa899b951fc7e | [
"BSD-3-Clause"
] | null | null | null | spec/helpers.rb | ged/thingfish-datastore-filesystem | f4da4d85945e099cb687696f0e3aa899b951fc7e | [
"BSD-3-Clause"
] | 1 | 2021-11-28T23:35:16.000Z | 2021-11-28T23:35:16.000Z | #!/usr/bin/ruby
# coding: utf-8
BEGIN {
require 'pathname'
basedir = Pathname( __FILE__ ).dirname.parent
thingfishdir = basedir.parent + 'Thingfish'
thingfishlib = thingfishdir + 'lib'
strelkadir = basedir.parent + 'Strelka'
strelkalib = strelkadir + 'lib'
$LOAD_PATH.unshift( thingfishlib.to_s ) if thingfishlib.exist?
$LOAD_PATH.unshift( strelkalib.to_s ) if strelkalib.exist?
}
# SimpleCov test coverage reporting; enable this using the :coverage rake task
require 'simplecov' if ENV['COVERAGE']
require 'loggability'
require 'loggability/spechelpers'
require 'configurability'
require 'configurability/behavior'
require 'rspec'
require 'thingfish'
require 'thingfish/spechelpers'
Loggability.format_with( :color ) if $stdout.tty?
### Mock with RSpec
RSpec.configure do |c|
include Thingfish::SpecHelpers
include Thingfish::SpecHelpers::Constants
c.run_all_when_everything_filtered = true
c.filter_run :focus
c.order = 'random'
c.mock_with( :rspec ) do |mock|
mock.syntax = :expect
end
c.include( Loggability::SpecHelpers )
end
# vim: set nosta noet ts=4 sw=4:
| 21.509804 | 78 | 0.752051 |
4f0d84739852bfb49329c4ee76c07b91366e9827 | 2,619 | kt | Kotlin | lib/src/test/kotlin/com/jmeranda/glazy/lib/Objects.test.kt | joshmeranda/glazy | 03178825c8615b7c01bf62dbbb1b5bdf07041c0a | [
"MIT"
] | null | null | null | lib/src/test/kotlin/com/jmeranda/glazy/lib/Objects.test.kt | joshmeranda/glazy | 03178825c8615b7c01bf62dbbb1b5bdf07041c0a | [
"MIT"
] | 43 | 2019-09-03T16:46:25.000Z | 2021-02-28T01:42:30.000Z | lib/src/test/kotlin/com/jmeranda/glazy/lib/Objects.test.kt | joshmeranda/glazy | 03178825c8615b7c01bf62dbbb1b5bdf07041c0a | [
"MIT"
] | 1 | 2020-12-12T18:34:16.000Z | 2020-12-12T18:34:16.000Z | package com.jmeranda.glazy.lib
import com.jmeranda.glazy.lib.service.IssueService
import com.jmeranda.glazy.lib.service.LabelService
import com.jmeranda.glazy.lib.service.PullRequestService
import com.jmeranda.glazy.lib.service.RepoService
import kotlin.test.assertNotNull
import kotlin.test.assertNull
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.databind.PropertyNamingStrategy
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import com.jmeranda.glazy.lib.objects.Invite
import com.jmeranda.glazy.lib.objects.Repo
import org.junit.Test
/**
* Please noe that when running these tests, you will quickly deplete the
* standard unauthenticated rate limit of 60 per minute for the api.
*/
const val user: String = "joshmeranda"
const val name: String = "glazy"
const val badName: String = "I_DO_NOT_EXIST"
val token = null
class RepoTest {
private val service = RepoService(token)
@Test fun testRepo() {
assertNotNull(this.service.getRepo(user, name))
}
@Test fun testRepoBad() {
assertNull(this.service.getRepo(badName, badName))
}
@Test fun testRepoListBad() {
assertNull(this.service.getAllRepos(null, null))
}
}
class LabelTest {
private val service = LabelService(user, name, token)
private val badService = LabelService(badName, badName, token)
@Test fun testLabelList() {
assertNotNull(service.getAllLabels())
}
@Test fun testLabelListBad() {
assertNull(badService.getAllLabels())
}
}
class PullRequestTest {
private val service = PullRequestService(user, name, token)
private val badService = PullRequestService(badName, badName, token)
@Test fun testPullRequest() {
assertNotNull(service.getPullRequest(10))
}
@Test fun testPullRequestBad() {
assertNull(service.getPullRequest(-1))
}
@Test fun testPullRequestList() {
assertNotNull(service.getAllPullRequests())
}
@Test fun testPullRequestListBad() {
assertNull(badService.getAllPullRequests())
}
}
class IssueTest {
private val service = IssueService(user, name, token)
private val badService = IssueService(badName, badName, token)
@Test fun testIssue() {
assertNotNull(service.getIssue(1))
}
@Test fun testIssueBad() {
assertNull(service.getIssue(-1))
}
@Test fun testIssueList() {
assertNotNull(service.getAllIssues())
}
@Test fun testIssueListBad() {
assertNull(badService.getAllIssues())
}
} | 26.19 | 73 | 0.717068 |
0bcfcebcfdddec9e554a87b1b910805ed4a89987 | 2,262 | js | JavaScript | src/views/reports/App/AppReports.js | manhpham1711/WebAdmin | bd4566cc9142dc5b03629611c7c73eb4722aafb5 | [
"MIT"
] | null | null | null | src/views/reports/App/AppReports.js | manhpham1711/WebAdmin | bd4566cc9142dc5b03629611c7c73eb4722aafb5 | [
"MIT"
] | null | null | null | src/views/reports/App/AppReports.js | manhpham1711/WebAdmin | bd4566cc9142dc5b03629611c7c73eb4722aafb5 | [
"MIT"
] | null | null | null | import React, { useState, useEffect } from "react";
import { useHistory, useLocation } from "react-router-dom";
import {
CCard,
CCardBody,
CCol,
CDataTable,
CRow,
CPagination,
CHeaderNav,
CHeaderNavItem,
CHeaderNavLink,
} from "@coreui/react";
import axios from "axios";
//set color for status
var usersData = [];
const Users = () => {
const history = useHistory();
const queryPage = useLocation().search.match(/page=([0-9]+)/, "");
const currentPage = Number(queryPage && queryPage[1] ? queryPage[1] : 1);
const [page, setPage] = useState(currentPage);
const pageChange = (newPage) => {
currentPage !== newPage && history.push(`/users?page=${newPage}`);
};
useEffect(() => {
axios
.get("https://eat2gether-api.herokuapp.com/api/users")
.then((response) => {
// console.log(response.data);
usersData = response.data;
});
currentPage !== page && setPage(currentPage);
}, [currentPage, page]);
return (
<CRow>
<CCol lg={2}></CCol>
<CCol xl={8}>
<CCard>
<CHeaderNav className="d-md-down-none mr-auto">
<CHeaderNavItem className="px-1">
<CHeaderNavLink to="/reportUs">Users Report</CHeaderNavLink>
</CHeaderNavItem>
<CHeaderNavItem className="px-1">
<CHeaderNavLink to="/reportAs">Apps Report</CHeaderNavLink>
</CHeaderNavItem>
</CHeaderNav>
<CCardBody>
<CDataTable
items={usersData}
fields={[
{ key: "name user", _classes: "font-weight-bold" },
"content",
"proof",
"time",
]}
hover
striped
itemsPerPage={10}
activePage={page}
clickableRows
onRowClick={(item) => history.push(`/users/${item.id}`)}
/>
{/* Phân trang */}
<CPagination
activePage={page}
onActivePageChange={pageChange}
pages={10}
doubleArrows={false}
align="center"
/>
</CCardBody>
</CCard>
</CCol>
</CRow>
);
};
export default Users;
| 26.928571 | 75 | 0.525641 |
85c94539aa28d323699a60fc779ffc41e341cef7 | 9,072 | c | C | src/lstmlib.c | az13js/C-LSTM | dbfc73dc1fc1556f9e5b879f27d16bc4573491e0 | [
"MIT"
] | 2 | 2019-08-20T05:27:15.000Z | 2019-09-23T08:09:55.000Z | src/lstmlib.c | az13js/C-LSTM | dbfc73dc1fc1556f9e5b879f27d16bc4573491e0 | [
"MIT"
] | 1 | 2019-05-12T10:50:09.000Z | 2019-05-12T10:50:09.000Z | src/lstmlib.c | az13js/C-LSTM | dbfc73dc1fc1556f9e5b879f27d16bc4573491e0 | [
"MIT"
] | 3 | 2020-02-18T09:30:46.000Z | 2021-04-01T02:22:41.000Z | #include "lstmlib.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
struct lstmlib* lstmlib_create(int length)
{
struct lstmlib* unit;
if (length < 1) {
return NULL;
}
unit = (struct lstmlib*)malloc(sizeof (struct lstmlib));
if (!unit) {
return NULL;
}
(*unit).error_no = 0;
(*unit).error_msg = "\0";
(*unit).length = length;
(*unit).x = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).x) {
free(unit);
return NULL;
}
(*unit).h = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).h) {
free((*unit).x);
free(unit);
return NULL;
}
(*unit).f = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).f) {
free((*unit).h);
free((*unit).x);
free(unit);
return NULL;
}
(*unit).i = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).i) {
free((*unit).f);
free((*unit).h);
free((*unit).x);
free(unit);
return NULL;
}
(*unit).tilde_C = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).tilde_C) {
free((*unit).i);
free((*unit).f);
free((*unit).h);
free((*unit).x);
free(unit);
return NULL;
}
(*unit).C = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).C) {
free((*unit).tilde_C);
free((*unit).i);
free((*unit).f);
free((*unit).h);
free((*unit).x);
free(unit);
return NULL;
}
(*unit).o = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).o) {
free((*unit).C);
free((*unit).tilde_C);
free((*unit).i);
free((*unit).f);
free((*unit).h);
free((*unit).x);
free(unit);
return NULL;
}
(*unit).hat_h = (double*)calloc(length, sizeof (double));
if (NULL == (*unit).hat_h) {
free((*unit).o);
free((*unit).C);
free((*unit).tilde_C);
free((*unit).i);
free((*unit).f);
free((*unit).h);
free((*unit).x);
free(unit);
return NULL;
}
lstmlib_random_params(unit, -1, 1);
return unit;
}
char lstmlib_random_params(struct lstmlib *unit, double min, double max)
{
int i;
double diff;
if (NULL == unit) {
return 0;
}
if (max < min) {
return 0;
}
diff = max - min;
i = (*unit).length - 1;
do {
(*unit).x[i] = 0.0;
(*unit).h[i] = 0.0;
(*unit).f[i] = (double)rand() / RAND_MAX * diff + min;
(*unit).i[i] = (double)rand() / RAND_MAX * diff + min;
(*unit).tilde_C[i] = (double)rand() / RAND_MAX * diff + min;
(*unit).C[i] = (double)rand() / RAND_MAX * diff + min;
(*unit).o[i] = (double)rand() / RAND_MAX * diff + min;
(*unit).hat_h[i] = (double)rand() / RAND_MAX * diff + min;
} while (i--);
(*unit).W_fh = (double)rand() / RAND_MAX * diff + min;
(*unit).W_fx = (double)rand() / RAND_MAX * diff + min;
(*unit).b_f = (double)rand() / RAND_MAX * diff + min;
(*unit).W_ih = (double)rand() / RAND_MAX * diff + min;
(*unit).W_ix = (double)rand() / RAND_MAX * diff + min;
(*unit).b_i = (double)rand() / RAND_MAX * diff + min;
(*unit).W_Ch = (double)rand() / RAND_MAX * diff + min;
(*unit).W_Cx = (double)rand() / RAND_MAX * diff + min;
(*unit).b_C = (double)rand() / RAND_MAX * diff + min;
(*unit).W_oh = (double)rand() / RAND_MAX * diff + min;
(*unit).W_ox = (double)rand() / RAND_MAX * diff + min;
(*unit).b_o = (double)rand() / RAND_MAX * diff + min;
return 1;
}
char lstmlib_run(struct lstmlib *unit, double *input, double *output)
{
int i, length;
double s;
double *input_back;
double *output_back;
if (NULL == unit) {
return 0;
}
if (NULL == input) {
return 0;
}
if (NULL == output) {
return 0;
}
input_back = (*unit).x;
output_back = (*unit).h;
(*unit).x = input;
(*unit).h = output;
length = (*unit).length;
for (i = 0; i < length; i++) {
if (i == 0) {
s = (*unit).b_f;
(*unit).f[i] = 1.0 / (1.0 + exp(-1.0 * s));
s = (*unit).b_i;
(*unit).i[i] = 1.0 / (1.0 + exp(-1.0 * s));
s = (*unit).b_C;
(*unit).tilde_C[i] = tanh(s);
(*unit).C[i] = (*unit).i[i] * (*unit).tilde_C[i];
s = (*unit).b_o;
(*unit).o[i] = 1.0 / (1.0 + exp(-1.0 * s));
(*unit).h[i] = (*unit).o[i] * tanh((*unit).C[i]);
} else {
s = (*unit).W_fh * (*unit).h[i - 1] + (*unit).W_fx * (*unit).x[i - 1] + (*unit).b_f;
(*unit).f[i] = 1.0 / (1.0 + exp(-1.0 * s));
s = (*unit).W_ih * (*unit).h[i - 1] + (*unit).W_ix * (*unit).x[i - 1] + (*unit).b_i;
(*unit).i[i] = 1.0 / (1.0 + exp(-1.0 * s));
s = (*unit).W_Ch * (*unit).h[i - 1] + (*unit).W_Cx * (*unit).x[i - 1] + (*unit).b_C;
(*unit).tilde_C[i] = tanh(s);
(*unit).C[i] = (*unit).f[i] * (*unit).C[i - 1] + (*unit).i[i] * (*unit).tilde_C[i];
s = (*unit).W_oh * (*unit).h[i - 1] + (*unit).W_ox * (*unit).x[i - 1] + (*unit).b_o;
(*unit).o[i] = 1.0 / (1.0 + exp(-1.0 * s));
(*unit).h[i] = (*unit).o[i] * tanh((*unit).C[i]);
}
}
(*unit).x = input_back;
(*unit).h = output_back;
return 1;
}
double lstmlib_get_mse(struct lstmlib *unit)
{
int i;
double s, sum;
if (NULL == unit) {
return 0.0;
}
sum = 0.0;
i = (*unit).length - 1;
do {
s = (*unit).h[i] - (*unit).hat_h[i];
sum += (s * s);
} while (i--);
return sum / (*unit).length;
}
/**
* BPTT 过程
*/
char lstmlib_fit_unit(struct lstmlib *unit, double lr)
{
int i, length;
double temp1, temp2;
double d_h_W_fh = 0.0, d_h_W_fx = 0.0, d_h_b_f = 0.0;
double d_h_W_ih = 0.0, d_h_W_ix = 0.0, d_h_b_i = 0.0;
double d_h_W_Ch = 0.0, d_h_W_Cx = 0.0, d_h_b_C = 0.0;
double d_h_W_oh = 0.0, d_h_W_ox = 0.0, d_h_b_o = 0.0;
double d_E_W_fh = 0.0, d_E_W_fx = 0.0, d_E_b_f = 0.0;
double d_E_W_ih = 0.0, d_E_W_ix = 0.0, d_E_b_i = 0.0;
double d_E_W_Ch = 0.0, d_E_W_Cx = 0.0, d_E_b_C = 0.0;
double d_E_W_oh = 0.0, d_E_W_ox = 0.0, d_E_b_o = 0.0;
if (NULL == unit) {
return 0;
}
length = (*unit).length;
for (i = 0; i < length; i++) {
if (0 == i) {
d_h_b_f = 0.0;
d_h_W_fh = 0.0;
d_h_W_fx = 0.0;
temp1 = tanh((*unit).C[i]);
temp2 = 1.0 / (1.0 - exp(-((*unit).W_ix * (*unit).x[i] + (*unit).b_i)));
d_h_b_i = (*unit).o[i] * (1.0 - temp1 * temp1) * (*unit).tilde_C[i] * (1.0 - temp2) * temp2;
d_h_W_ih = 0.0;
d_h_W_ix = d_h_b_i * (*unit).x[i];
temp2 = tanh((*unit).W_Cx * (*unit).x[i] + (*unit).b_C);
d_h_b_C = (*unit).o[i] * (1.0 - temp1 * temp1) * (*unit).i[i] * (1.0 - temp2 * temp2);
d_h_W_Ch = 0.0;
d_h_W_Cx = d_h_b_C * (*unit).x[i];
temp2 = 1.0 / (1.0 - exp(-((*unit).W_ox * (*unit).x[i] + (*unit).b_o)));
d_h_b_o = temp1 * (1.0 - temp2) * temp2;
d_h_W_oh = 0.0;
d_h_W_ox = d_h_b_o * (*unit).x[i];
} else {
}
d_E_W_fh = d_E_W_fh + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_fh;
d_E_W_fx = d_E_W_fx + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_fx;
d_E_b_f = d_E_b_f + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_b_f;
d_E_W_ih = d_E_W_ih + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_ih;
d_E_W_ix = d_E_W_ix + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_ix;
d_E_b_i = d_E_b_i + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_b_i;
d_E_W_Ch = d_E_W_Ch + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_Ch;
d_E_W_Cx = d_E_W_Cx + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_Cx;
d_E_b_C = d_E_b_C + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_b_C;
d_E_W_oh = d_E_W_oh + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_oh;
d_E_W_ox = d_E_W_ox + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_W_ox;
d_E_b_o = d_E_b_o + 2.0 / length * ((*unit).h[i] - (*unit).hat_h[i]) * d_h_b_o;
}
(*unit).W_fh = (*unit).W_fh - lr * d_E_W_fh;
(*unit).W_fx = (*unit).W_fx - lr * d_E_W_fx;
(*unit).b_f = (*unit).b_f - lr * d_E_b_f;
(*unit).W_ih = (*unit).W_ih - lr * d_E_W_ih;
(*unit).W_ix = (*unit).W_ix - lr * d_E_W_ix;
(*unit).b_i = (*unit).b_i - lr * d_E_b_i;
(*unit).W_Ch = (*unit).W_Ch - lr * d_E_W_Ch;
(*unit).W_Cx = (*unit).W_Cx - lr * d_E_W_Cx;
(*unit).b_C = (*unit).b_C - lr * d_E_b_C;
(*unit).W_oh = (*unit).W_oh - lr * d_E_W_oh;
(*unit).W_ox = (*unit).W_ox - lr * d_E_W_ox;
(*unit).b_o = (*unit).b_o - lr * d_E_b_o;
return 1;
}
| 34.892308 | 104 | 0.472332 |
c63134b5e17b6f695e5d1c5dde21b9ba698f2670 | 1,041 | rb | Ruby | message_retweet.rb | tsutsui/message_retweet | 1b83c401248bfce671c6b163cabd095103267ef3 | [
"MIT"
] | 1 | 2019-12-15T11:45:51.000Z | 2019-12-15T11:45:51.000Z | message_retweet.rb | tsutsui/message_retweet | 1b83c401248bfce671c6b163cabd095103267ef3 | [
"MIT"
] | null | null | null | message_retweet.rb | tsutsui/message_retweet | 1b83c401248bfce671c6b163cabd095103267ef3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
Plugin.create :message_retweet do
error_message_get_retweeted_users = _('リツイートしたユーザの一覧が取得できませんでした')
message_fragment :retweeted, "ReTweet" do
message = model
set_icon Skin[:retweet]
user_list = Gtk::UserList.new
begin
user_list.add_user message.retweeted_by
rescue => err
error err
end
nativewidget user_list
on_retweet do |retweets|
retweets.deach do |retweet|
break if user_list.destroyed?
if retweet.retweet_source(true) == message
user_list.add_user([retweet.user]) end end end
user_list.ssc_atonce :draw do
twitter = Enumerator.new { |y|
Plugin.filtering(:worlds, y)
}.select { |world|
world.class.slug == :twitter
}.first
if twitter
twitter.retweeted_users(id: message.id).next { |users|
user_list.add_user(users)
}.terminate(error_message_get_retweeted_users).trap do |exception|
error exception
end
end
false
end
end
end
| 26.025 | 74 | 0.647454 |
0e6108323d94646cf6d11dfdd458a1c2546543f5 | 816 | html | HTML | node_modules/myui-bootstrap-kr/src/html/badge.html | Juyeon-0919/publishing-template | c246d0e364486d87230245f670689bd27b45c007 | [
"MIT"
] | null | null | null | node_modules/myui-bootstrap-kr/src/html/badge.html | Juyeon-0919/publishing-template | c246d0e364486d87230245f670689bd27b45c007 | [
"MIT"
] | null | null | null | node_modules/myui-bootstrap-kr/src/html/badge.html | Juyeon-0919/publishing-template | c246d0e364486d87230245f670689bd27b45c007 | [
"MIT"
] | null | null | null | <!doctype html>
<html lang="ko">
@@include('../html/include/head.html')
<body>
<div class="m-3">
<h1>Example heading <span class="badge badge-primary">New</span></h1>
<h2>Example heading <span class="badge badge-primary">New</span></h2>
<h3>Example heading <span class="badge badge-primary">New</span></h3>
<h4>Example heading <span class="badge badge-primary">New</span></h4>
<h5>Example heading <span class="badge badge-primary">New</span></h5>
<h6>Example heading <span class="badge badge-primary">New</span></h6>
</div>
<div class="m-3">
<button type="button" class="btn btn-primary">
Notifications <span class="badge">4</span>
</button>
</div>
<div class="m-3">
<a href="#" class="badge badge-primary">Primary</a>
<a href="#" class="badge badge-normal">Normal</a>
</div>
</body>
</html>
| 34 | 71 | 0.666667 |
5b23399e7728b9764de34112fa170d90e8e5679f | 282 | c | C | Assignment 4/4_18.c | faisalsanto007/Codes | eabf2a96509fe1244a54de73cc1b7d43af1f8569 | [
"MIT"
] | null | null | null | Assignment 4/4_18.c | faisalsanto007/Codes | eabf2a96509fe1244a54de73cc1b7d43af1f8569 | [
"MIT"
] | null | null | null | Assignment 4/4_18.c | faisalsanto007/Codes | eabf2a96509fe1244a54de73cc1b7d43af1f8569 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<math.h>
int main()
{
int bin, dec, p, q, c=-1;
scanf("%d", &bin);
dec=0;
while(bin)
{
p=bin/10;
q=bin%10;
++c;
dec += q * pow(2,c);
bin=p;
}
printf("%d\n", dec);
return 0;
}
| 10.071429 | 29 | 0.390071 |
653ce627115bca9b0a99c6fcb8f87bd198d5309b | 1,223 | py | Python | Basic Data Structures/string/leet_551_StudentAttendanceRecordI.py | rush2catch/algorithms-leetcode | 38a5e6aa33d48fa14fe09c50c28a2eaabd736e55 | [
"MIT"
] | null | null | null | Basic Data Structures/string/leet_551_StudentAttendanceRecordI.py | rush2catch/algorithms-leetcode | 38a5e6aa33d48fa14fe09c50c28a2eaabd736e55 | [
"MIT"
] | null | null | null | Basic Data Structures/string/leet_551_StudentAttendanceRecordI.py | rush2catch/algorithms-leetcode | 38a5e6aa33d48fa14fe09c50c28a2eaabd736e55 | [
"MIT"
] | null | null | null | # Problem: Student Attendance Record I
# Difficulty: Easy
# Category: String
# Leetcode 551: https://leetcode.com/problems/student-attendance-record-i/#/description
# Description:
"""
You are given a string representing an attendance record for a student.
The record only contains the following three characters:
'A' : Absent.
'L' : Late.
'P' : Present.
A student could be rewarded if his attendance record doesn't contain
more than one 'A' (absent) or more than two continuous 'L' (late).
You need to return whether the student could be rewarded according to his attendance record.
Example 1:
Input: "PPALLP"
Output: True
Example 2:
Input: "PPALLL"
Output: False
"""
class Solution(object):
def check_record(self, s):
absent = True
late = True
abscn = 0
i = 0
while i < len(s) and absent and late:
if abscn > 1:
absent = False
if s[i] == 'A':
abscn += 1
if s[i] == 'L' and i + 3 <= len(s) and set(s[i:i+3]) == {'L'}:
late = False
i += 1
if abscn > 1:
absent = False
return absent and late
obj = Solution()
s1 = 'PPALLP'
s2 = 'PPALLL'
s3 = 'ALLLPPPLLPL'
s4 = 'AA'
print(obj.check_record(s1))
print(obj.check_record(s2))
print(obj.check_record(s3))
print(obj.check_record(s4))
| 23.519231 | 92 | 0.681112 |
f071c7253e9179d235465d8e820fdd9baf511b76 | 7,529 | js | JavaScript | test/unit/methods/create.js | titanium-forks/appcelerator.appc.mysql | c7353b192df4402e201fc4211bb2926ccfb2e0c1 | [
"Apache-2.0"
] | null | null | null | test/unit/methods/create.js | titanium-forks/appcelerator.appc.mysql | c7353b192df4402e201fc4211bb2926ccfb2e0c1 | [
"Apache-2.0"
] | null | null | null | test/unit/methods/create.js | titanium-forks/appcelerator.appc.mysql | c7353b192df4402e201fc4211bb2926ccfb2e0c1 | [
"Apache-2.0"
] | null | null | null | const test = require('tap').test
const server = require('../../server')
const sinon = require('sinon')
const createMethod = require('../../../lib/methods/create')['create']
const lodash = require('lodash')
var ARROW
var CONNECTOR
test('### Start Arrow ###', function (t) {
server()
.then((inst) => {
ARROW = inst
CONNECTOR = ARROW.getConnector('appc.mysql')
t.ok(ARROW, 'Arrow has been started')
t.end()
})
.catch((err) => {
t.threw(err)
})
})
test('### Test Create with valid data no id ###', sinon.test(function (t) {
// Data
const Model = ARROW.getModel('Posts')
Model.instance = function (values, isSomething) {
return {
title: 'Some Title',
content: 'Some Content',
toPayload () {
return ['Some Title', 'Some Content']
},
setPrimaryKey (id) { }
}
}
const values = 'someValues'
// Stubs & spies
const getTableNameStub = this.stub(CONNECTOR, 'getTableName', function (Model) {
return 'post'
})
const getPrimaryKeyColumnStub = this.stub(CONNECTOR, 'getPrimaryKeyColumn', function (Model) {
return undefined
})
const fetchColumnsStub = this.stub(CONNECTOR, 'fetchColumns', function (table, paylod) {
var result = []
result.push('title')
result.push('content')
return result
})
const escapeKeysStub = this.stub(CONNECTOR, 'escapeKeys', function (columns) {
return columns
})
const returnPlaceholderStub = this.stub(CONNECTOR, 'returnPlaceholder', function () {
return '?'
})
const lodashValuesStub = this.stub(lodash, 'values', function (payload) { return ['Some Title', 'Some Content'] })
function cb (errParameter, instance) { }
const cbSpy = this.spy(cb)
function executor (result) { }
const queryStub = this.stub(CONNECTOR, '_query', function (query, data, cbSpy, executor) { executor({ insertId: 7 }) })
// Execution
createMethod.bind(CONNECTOR, Model, values, cbSpy, executor)()
// Test
const expectedQueryString = 'INSERT INTO post (title,content) VALUES (?,?)'
const data = ['Some Title', 'Some Content']
t.ok(getTableNameStub.calledOnce)
t.ok(getPrimaryKeyColumnStub.calledOnce)
t.ok(fetchColumnsStub.calledOnce)
t.ok(escapeKeysStub.calledOnce)
t.ok(returnPlaceholderStub.calledTwice)
t.ok(lodashValuesStub.calledOnce)
t.ok(queryStub.calledOnce)
t.ok(queryStub.calledWith(expectedQueryString, data))
t.ok(cbSpy.calledOnce)
t.ok(cbSpy.calledWith(null))
t.end()
}))
test('### Test Create with valid data with id ###', sinon.test(function (t) {
// Data
CONNECTOR.metadata.schema = {
objects: {
post: {
primaryKeyColumn: 'id'
}
}
}
const Model = ARROW.getModel('Posts')
Model.instance = function (values, isSomething) {
return {
title: 'Some Title',
content: 'Some Content',
toPayload () {
return ['Some Title', 'Some Content']
},
setPrimaryKey (id) { }
}
}
const values = 'someValues'
// Stubs & spies
const getTableNameStub = this.stub(CONNECTOR, 'getTableName', function (Model) {
return 'post'
})
const getPrimaryKeyColumnStub = this.stub(CONNECTOR, 'getPrimaryKeyColumn', function (Model) {
return 'id'
})
const fetchColumnsStub = this.stub(CONNECTOR, 'fetchColumns', function (table, paylod) {
var result = []
result.push('title')
result.push('content')
return result
})
const escapeKeysStub = this.stub(CONNECTOR, 'escapeKeys', function (columns) {
return columns
})
const returnPlaceholderStub = this.stub(CONNECTOR, 'returnPlaceholder', function () {
return '?'
})
const lodashValuesStub = this.stub(lodash, 'values', function (payload) { return ['Some Title', 'Some Content'] })
function cb (errParameter, instance) { }
const cbSpy = this.spy(cb)
function executor (result) { }
const queryStub = this.stub(CONNECTOR, '_query', function (query, data, cbSpy, executor) { executor({ insertId: 7 }) })
// Execution
createMethod.bind(CONNECTOR, Model, values, cbSpy, executor)()
// Test
const expectedQueryString = 'INSERT INTO post (id,title,content) VALUES (NULL, ?,?)'
const data = ['Some Title', 'Some Content']
t.ok(getTableNameStub.calledOnce)
t.ok(getTableNameStub.calledWith(Model))
t.ok(getPrimaryKeyColumnStub.calledOnce)
t.ok(getPrimaryKeyColumnStub.calledWith(Model))
t.ok(fetchColumnsStub.calledOnce)
t.ok(fetchColumnsStub.calledWith('post', ['Some Title', 'Some Content']))
t.ok(escapeKeysStub.calledOnce)
t.ok(escapeKeysStub.calledWith(['title', 'content']))
t.ok(returnPlaceholderStub.calledTwice)
t.ok(lodashValuesStub.calledOnce)
t.ok(lodashValuesStub.calledWith(['Some Title', 'Some Content']))
t.ok(queryStub.calledOnce)
t.ok(queryStub.calledWith(expectedQueryString, data))
t.ok(cbSpy.calledOnce)
t.ok(cbSpy.calledWith(null))
t.end()
}))
test('### Test Create with valid data with id auto-increment ###', sinon.test(function (t) {
// Data
CONNECTOR.metadata.schema = {
objects: {
post: {
id: {
EXTRA: 'auto_increment'
}
}
}
}
const Model = ARROW.getModel('Posts')
Model.instance = function (values, isSomething) {
return {
title: 'Some Title',
content: 'Some Content',
toPayload () {
return ['Some Title', 'Some Content']
},
setPrimaryKey (id) { }
}
}
const values = 'someValues'
// Stubs & spies
const getTableNameStub = this.stub(CONNECTOR, 'getTableName', function (Model) {
return 'post'
})
const getPrimaryKeyColumnStub = this.stub(CONNECTOR, 'getPrimaryKeyColumn', function (Model) {
return 'id'
})
const fetchColumnsStub = this.stub(CONNECTOR, 'fetchColumns', function (table, paylod) {
var result = []
result.push('title')
result.push('content')
return result
})
const escapeKeysStub = this.stub(CONNECTOR, 'escapeKeys', function (columns) {
return columns
})
const returnPlaceholderStub = this.stub(CONNECTOR, 'returnPlaceholder', function () {
return '?'
})
const lodashValuesStub = this.stub(lodash, 'values', function (payload) { return ['Some Title', 'Some Content'] })
function cb (errParameter, instance) { }
const cbSpy = this.spy(cb)
function executor (result) { }
const queryStub = this.stub(CONNECTOR, '_query', function (query, data, cbSpy, executor) { executor({ insertId: 7 }) })
// Execution
createMethod.bind(CONNECTOR, Model, values, cbSpy, executor)()
// Test
const expectedQueryString = 'INSERT INTO post (id,title,content) VALUES (NULL, ?,?)'
const data = ['Some Title', 'Some Content']
t.ok(getTableNameStub.calledOnce)
t.ok(getTableNameStub.calledWith(Model))
t.ok(getPrimaryKeyColumnStub.calledOnce)
t.ok(getPrimaryKeyColumnStub.calledWith(Model))
t.ok(fetchColumnsStub.calledOnce)
t.ok(fetchColumnsStub.calledWith('post', ['Some Title', 'Some Content']))
t.ok(escapeKeysStub.calledOnce)
t.ok(escapeKeysStub.calledWith(['title', 'content']))
t.ok(returnPlaceholderStub.calledTwice)
t.ok(lodashValuesStub.calledOnce)
t.ok(lodashValuesStub.calledWith(['Some Title', 'Some Content']))
t.ok(queryStub.calledOnce)
t.ok(queryStub.calledWith(expectedQueryString, data))
t.ok(cbSpy.calledOnce)
t.ok(cbSpy.calledWith(null))
t.end()
}))
test('### Stop Arrow ###', function (t) {
ARROW.stop(function () {
t.pass('Arrow has been stopped!')
t.end()
})
})
| 28.518939 | 121 | 0.659849 |
407c556343f9c1d1dc0d2f51db3c1d6ff5f785e4 | 1,107 | py | Python | generator/parameter.py | PhilippMatthes/java-generator | 45ea5d535eba08386ee68292ed9a98ca5ae1e269 | [
"Apache-2.0"
] | null | null | null | generator/parameter.py | PhilippMatthes/java-generator | 45ea5d535eba08386ee68292ed9a98ca5ae1e269 | [
"Apache-2.0"
] | 1 | 2019-01-22T13:58:55.000Z | 2019-01-22T14:08:35.000Z | generator/parameter.py | PhilippMatthes/java-generator | 45ea5d535eba08386ee68292ed9a98ca5ae1e269 | [
"Apache-2.0"
] | null | null | null | import random
import string
from generator.type import RandomRandomizedType
class Parameter:
def __init__(self, datatype, name, final=False):
self.datatype = datatype
self.name = name
self.final = final
def __str__(self):
return "{final}{datatype} {name}".format(
final="final " if self.final else "",
datatype=self.datatype,
name=self.name
)
class RandomizedParameter(Parameter):
def __init__(self):
datatype = RandomRandomizedType()
name = "".join(
random.choice(string.ascii_lowercase) for _ in range(10)
)
final = bool(random.getrandbits(1))
super().__init__(datatype, name, final)
class RandomizedNonFinalParameter(Parameter):
def __init__(self):
datatype = RandomRandomizedType()
name = "".join(
random.choice(string.ascii_lowercase) for _ in range(10)
)
final = False
super().__init__(datatype, name, final)
if __name__ == "__main__":
parameter = RandomizedParameter()
print(parameter)
| 25.159091 | 68 | 0.622403 |
cb758438b3210c3a2e1a341bedd3f41f7ac06a2c | 163 | html | HTML | src/DemoSite/App_Plugins/UmbracoForms/Backoffice/Common/FieldTypes/fileupload.html | chrden/umbraco-forms-mailchimp-workflow | d16efac057a3cc6edaa6020db16548ae3f58411c | [
"MIT"
] | null | null | null | src/DemoSite/App_Plugins/UmbracoForms/Backoffice/Common/FieldTypes/fileupload.html | chrden/umbraco-forms-mailchimp-workflow | d16efac057a3cc6edaa6020db16548ae3f58411c | [
"MIT"
] | null | null | null | src/DemoSite/App_Plugins/UmbracoForms/Backoffice/Common/FieldTypes/fileupload.html | chrden/umbraco-forms-mailchimp-workflow | d16efac057a3cc6edaa6020db16548ae3f58411c | [
"MIT"
] | null | null | null | <input tabindex="-1" type="file" multiple ng-show="field.allowMultipleFileUploads"/>
<input tabindex="-1" type="file" ng-show="!field.allowMultipleFileUploads" />
| 54.333333 | 84 | 0.748466 |
2f282c6d5c90168385bdef1953a0cc3b7e40cd5d | 5,114 | php | PHP | app/message.php | ydzsobj/yedda | a87b0edec8044d54da98380691e19a23d384baae | [
"MIT"
] | 2 | 2019-04-22T07:38:30.000Z | 2019-08-13T06:37:42.000Z | app/message.php | ydzsobj/yedda | a87b0edec8044d54da98380691e19a23d384baae | [
"MIT"
] | null | null | null | app/message.php | ydzsobj/yedda | a87b0edec8044d54da98380691e19a23d384baae | [
"MIT"
] | 1 | 2021-06-13T11:10:19.000Z | 2021-06-13T11:10:19.000Z | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class message extends Model
{
protected $table = 'message';
protected $primaryKey ='message_id';
public $timestamps=false;
/**
* 创建新消息
* @param $request
* @param $phone //结束短息号码
* @param $goods_id //商品ID
* @param $order_id //订单ID
* @param $text //发送短信内容
* @param $num //短信验证码
* @param $message_status //发送状态 0:成功 1:失败
* @return bool
*/
public static function CreateMessage($request,$phone,$goods_id,$order_id,$text,$num,$message_status,$messaga_remark){
$message = new Message();
$message->message_ip = $request->getClientIp();
$message->message_gettime = date('Y-m-d H:i:s');
$message->message_goods_id = $goods_id;
$message->message_order_msg = serialize($request->all());
$message->messaga_content = $text;
$message->messaga_code = $num;
$message->message_order_id = $order_id;
$message->message_status = $message_status;
$message->message_mobile_num = $phone;
$message->messaga_remark = $messaga_remark;
$message->message_marking = 0;
if($message->save()){
return true;
}else{
return false;
}
}
/** 地区区号处理
* @param $blade_id //商品模板id
* @param $phone //电话号码
* @return string
*/
public static function AreaCode($blade_id,$phone)
{
switch ($blade_id) {
case '0': //台湾模板
if('886' == substr($phone,0,3)){
$tel = substr($phone,3);
$phones = '886'.ltrim($tel,'0');
}else{
$phones = '886'.ltrim($phone,'0');
}
break;
case '1': //简体模板
if('86' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '86'.ltrim($tel,'0');
}else{
$phones = '86'.ltrim($phone,'0');
}
break;
case '2': //阿联酋模板
if('971' == substr($phone,0,3)){
$tel = substr($phone,3);
$phones = '971'.ltrim($tel,'0');
}else{
$phones = '971'.ltrim($phone,'0');
}
break;
case '3': //马来西亚
if('60' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '60'.ltrim($tel,'0');
}else{
$phones = '60'.ltrim($phone,'0');
}
break;
case '4': //泰国
if('66' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '66'.ltrim($tel,'0');
}else{
$phones = '66'.ltrim($phone,'0');
}
break;
case '5': //日本
if('81' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '81'.ltrim($tel,'0');
}else{
$phones = '81'.ltrim($phone,'0');
}
break;
case '6': //印度尼西亚
if('62' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '62'.ltrim($tel,'0');
}else{
$phones = '62'.ltrim($phone,'0');
}
break;
case '7': //菲律宾
if('63' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '63'.ltrim($tel,'0');
}else{
$phones = '63'.ltrim($phone,'0');
}
break;
case '8': //英国
if('44' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '44'.ltrim($tel,'0');
}else{
$phones = '44'.ltrim($phone,'0');
}
break;
case '9': //英国
if('44' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '44'.ltrim($tel,'0');
}else{
$phones = '44'.ltrim($phone,'0');
}
break;
case '10': //美国
if('1' == substr($phone,0,1)){
$tel = substr($phone,1);
$phones = '1'.ltrim($tel,'0');
}else{
$phones = '1'.ltrim($phone,'0');
}
break;
case '11': //越南
if('84' == substr($phone,0,2)){
$tel = substr($phone,2);
$phones = '84'.ltrim($tel,'0');
}else{
$phones = '84'.ltrim($phone,'0');
}
break;
default: //沙特、卡塔尔、中东地区
$phones = $phone;
break;
}
return $phones;
}
}
| 32.993548 | 121 | 0.380915 |
6213ab579beae7d766b2df41ee0871a4a77d4cfd | 1,243 | swift | Swift | Sources/iaAPI/Service/ArchiveService+MetadataAsync.swift | hunterleebrown/iaAPI | 7c32f85da694812bef8faa53141ec17cd8e6a825 | [
"CC0-1.0"
] | 1 | 2022-03-21T16:02:03.000Z | 2022-03-21T16:02:03.000Z | Sources/iaAPI/Service/ArchiveService+MetadataAsync.swift | hunterleebrown/iaAPI | 7c32f85da694812bef8faa53141ec17cd8e6a825 | [
"CC0-1.0"
] | null | null | null | Sources/iaAPI/Service/ArchiveService+MetadataAsync.swift | hunterleebrown/iaAPI | 7c32f85da694812bef8faa53141ec17cd8e6a825 | [
"CC0-1.0"
] | null | null | null | //
// ArchiveService+MetadataAsync.swift
//
//
// Created by Hunter Lee Brown on 4/8/22.
//
import Foundation
extension ArchiveService {
public func getArchiveAsync(with identifier: String) async throws -> Archive {
guard !identifier.isEmpty, let url = URL(string: "https://archive.org/metadata/\(identifier)") else {
throw ArchiveServiceError.badIdentifier
}
var archiveData: Data?
switch serviceType {
case .live:
let (data, response) = try await URLSession.shared.data(from: url)
guard let httpResponse = response as? HTTPURLResponse, 200...299 ~= httpResponse.statusCode
else { throw ArchiveServiceError.unexpectedHttpResponseCode }
archiveData = data
case .mock:
archiveData = IAStatic.archiveDoc.data(using: .utf8)!
}
guard let data = archiveData else { throw ArchiveServiceError.nodata }
var archive: Archive
do {
archive = try JSONDecoder().decode(Archive.self, from: data)
} catch let error as Error {
throw ArchiveServiceError.decodingError(errorMessage: "\(error)")
}
return archive
}
}
| 29.595238 | 109 | 0.61786 |
cb6e126b36a0fb1ab1f5dda0befcefe801ee74ef | 1,229 | swift | Swift | LabelSwitch/Classes/LabelSwtichSetting.swift | Tobaloidee/LabelSwitch | 801b09403cefebdf7dec9051461745b9c96dcd07 | [
"MIT"
] | 1 | 2018-03-13T04:10:07.000Z | 2018-03-13T04:10:07.000Z | LabelSwitch/Classes/LabelSwtichSetting.swift | mohsinalimat/LabelSwitch | 51bbed9b9f56ddc5c19fcb740225fc0b0f731a7e | [
"MIT"
] | null | null | null | LabelSwitch/Classes/LabelSwtichSetting.swift | mohsinalimat/LabelSwitch | 51bbed9b9f56ddc5c19fcb740225fc0b0f731a7e | [
"MIT"
] | null | null | null | //
// Model.swift
// ContentsSwitch
//
// Created by cookie on 20/02/2018.
// Copyright © 2018 cookie. All rights reserved.
//
import Foundation
import UIKit
public struct LabelSwtichSetting {
public var text: String
public var textColor: UIColor
public var font: UIFont
public var backgroundColor: UIColor
public init(text: String, textColor: UIColor, font: UIFont, backgroundColor: UIColor) {
self.text = text
self.textColor = textColor
self.font = font
self.backgroundColor = backgroundColor
}
public static let defaultLeft = LabelSwtichSetting(text: "Left",
textColor: .white,
font: UIFont.boldSystemFont(ofSize: 20),
backgroundColor: .green)
public static let defaultRight = LabelSwtichSetting(text: "Right",
textColor: .white,
font: UIFont.boldSystemFont(ofSize: 20),
backgroundColor: .red)
}
public enum SwitchState {
case L
case R
}
| 28.581395 | 91 | 0.529699 |
f6f41034fc36416567d2332d46ec5f73685bc6d4 | 1,203 | swift | Swift | EatList/Errors/LocationServiceError.swift | stenchy/eat-list | 22910a8093188c6b8bf25629b2ccce297998ed26 | [
"MIT"
] | null | null | null | EatList/Errors/LocationServiceError.swift | stenchy/eat-list | 22910a8093188c6b8bf25629b2ccce297998ed26 | [
"MIT"
] | null | null | null | EatList/Errors/LocationServiceError.swift | stenchy/eat-list | 22910a8093188c6b8bf25629b2ccce297998ed26 | [
"MIT"
] | null | null | null | //
// LocationServiceError.swift
// EatList
//
// Created by Christian Alvarez on 12/30/20.
//
import Foundation
enum LocationServiceError: Error {
case generalFailure
case permissionDenied
}
extension LocationServiceError: PresentableError {
var errorTitle: String {
switch self {
case .generalFailure: return R.string.localizable.errorLocationGeneralFailureTitle()
case .permissionDenied: return R.string.localizable.errorLocationPermissionDeniedTitle()
}
}
var errorMessage: String {
switch self {
case .generalFailure: return R.string.localizable.errorLocationGeneralFailureMessage()
case .permissionDenied: return R.string.localizable.errorLocationPermissionDeniedMessage()
}
}
var primaryButtonTitle: String {
switch self {
case .generalFailure: return ""
case .permissionDenied: return R.string.localizable.errorLocationPermissionDeniedPrimaryButtonTitle()
}
}
var dismissButtonTitle: String {
switch self {
case .generalFailure,
.permissionDenied: return R.string.localizable.buttonTitleClose()
}
}
}
| 27.340909 | 109 | 0.684954 |
b26004c4c902dcfccb14b31fdfa8e3300dd990d3 | 299 | swift | Swift | Sources/Glance/Visual Debugger/CustomLayout/Providers/LayoutProvidable.swift | nikitabelopotapov/Glance | eabc5a363aa98a56372b484925fcb9ac931a2405 | [
"MIT"
] | 38 | 2021-12-08T08:35:41.000Z | 2022-03-31T17:41:14.000Z | Sources/Glance/Visual Debugger/CustomLayout/Providers/LayoutProvidable.swift | nikitabelopotapov/Glance | eabc5a363aa98a56372b484925fcb9ac931a2405 | [
"MIT"
] | null | null | null | Sources/Glance/Visual Debugger/CustomLayout/Providers/LayoutProvidable.swift | nikitabelopotapov/Glance | eabc5a363aa98a56372b484925fcb9ac931a2405 | [
"MIT"
] | null | null | null | //
// LayoutProvidable.swift
// Glance
//
// Created by Nikita Belopotapov on 30.04.2021.
//
import UIKit
public protocol LayoutProvidable: AnyObject {
var layoutMapper: LayoutMappable? { get set }
func provide(for view: UIView, depth: inout Float, masterView: UIView?) -> [LayoutSnapshot]
}
| 21.357143 | 92 | 0.725753 |
9b7ecd4524738cf0bf63f0a703a7428677fba84e | 527 | swift | Swift | Sources/HollowCore/Utilities/String+sha256.swift | liang2kl/HollowCore | 70f389fde4a1175d6547825c518127c92b49b139 | [
"MIT"
] | 1 | 2021-06-21T09:54:04.000Z | 2021-06-21T09:54:04.000Z | Sources/HollowCore/Utilities/String+sha256.swift | liang2kl/HollowCore | 70f389fde4a1175d6547825c518127c92b49b139 | [
"MIT"
] | null | null | null | Sources/HollowCore/Utilities/String+sha256.swift | liang2kl/HollowCore | 70f389fde4a1175d6547825c518127c92b49b139 | [
"MIT"
] | null | null | null | //
// StringSHA256.swift
// Hollow
//
// Created by aliceinhollow on 3/2/2021.
// Copyright © 2021 treehollow. All rights reserved.
//
import Foundation
import CryptoKit
extension String {
/// calculate sha256
func sha256() -> String {
if let stringData = self.data(using: String.Encoding.utf8) {
let sha256String = SHA256.hash(data: stringData).compactMap {
String(format: "%02x", $0)
}.joined()
return sha256String
}
return ""
}
}
| 21.958333 | 73 | 0.590133 |
99bc0bbe9c6fdcf377aea6a5c53dbd5e93327856 | 2,666 | swift | Swift | Journey/Controllers/StartUp/RegisterViewController.swift | ytong3/Journey.ios | 521c72da938fd29a37e5d266889638fbb63e7626 | [
"MIT"
] | null | null | null | Journey/Controllers/StartUp/RegisterViewController.swift | ytong3/Journey.ios | 521c72da938fd29a37e5d266889638fbb63e7626 | [
"MIT"
] | null | null | null | Journey/Controllers/StartUp/RegisterViewController.swift | ytong3/Journey.ios | 521c72da938fd29a37e5d266889638fbb63e7626 | [
"MIT"
] | null | null | null | //
// RegisterViewController.swift
// Journey
//
// Created by Aaron Tong on 5/27/19.
// Copyright © 2019 Aaron Tong. All rights reserved.
//
import Firebase
import FirebaseAuth
class RegisterViewController: UIViewController {
@IBOutlet weak var usernameField: UITextField!
@IBOutlet weak var emailField: UITextField!
@IBOutlet weak var passwordField: UITextField!
@IBOutlet weak var registerButton: UIButton!
@IBOutlet weak var waitSpinner: UIActivityIndicatorView!
override func viewDidLoad() {
super.viewDidLoad()
// styling
usernameField.borderStyle = .roundedRect
usernameField.addTarget(self, action: #selector(RegisterViewController.textFieldChangedEventHandler), for: .editingChanged)
emailField.borderStyle = .roundedRect
emailField.addTarget(self, action: #selector(RegisterViewController.textFieldChangedEventHandler), for: UIControl.Event.editingChanged)
passwordField.borderStyle = .roundedRect
passwordField.addTarget(self, action: #selector(RegisterViewController.textFieldChangedEventHandler), for: UIControl.Event.editingChanged)
}
@IBAction func registerButtonPressed(_ sender: UIButton) {
guard let name = usernameField.text, !name.isEmpty,
let email = emailField.text, !email.isEmpty,
let password = passwordField.text, !password.isEmpty else {
self.showMessagePrompt(message: "Username/email/password cannot be empty")
return
}
waitSpinner.startAnimating()
Auth.auth().createUser(withEmail: email, password: password){
(authResult, error) in
self.waitSpinner.stopAnimating()
if let error = error {
self.showMessagePrompt(message: error.localizedDescription)
return
}
//goto the MainView controller
appDelegate.window!.rootViewController?.dismiss(animated: true, completion: nil)
}
}
//MARK - Input Validation
@objc func textFieldChangedEventHandler() {
guard let name = usernameField.text, !name.isEmpty, let email = emailField.text, !email.isEmpty, let password = passwordField.text, password.count>6 else {
registerButton.setTitleColor(UIColor.lightText, for: UIControl.State.normal)
registerButton.isEnabled = false
return
}
registerButton.setTitleColor(UIColor.white, for: UIControl.State.normal)
registerButton.isEnabled = true
}
}
| 37.027778 | 163 | 0.657164 |
0402c80a0490f9807f17ef2e93fdf6af4adb7217 | 2,228 | js | JavaScript | test/mocks/MockFileSystem.js | darrylwest/node-file-utils | 4c46adfc55bbaf93096eb60c05c69018cfc40703 | [
"Apache-2.0"
] | null | null | null | test/mocks/MockFileSystem.js | darrylwest/node-file-utils | 4c46adfc55bbaf93096eb60c05c69018cfc40703 | [
"Apache-2.0"
] | null | null | null | test/mocks/MockFileSystem.js | darrylwest/node-file-utils | 4c46adfc55bbaf93096eb60c05c69018cfc40703 | [
"Apache-2.0"
] | null | null | null | /**
* @class MockFileSystem
*
* @author: darryl.west@raincitysoftware.com
* @created: 1/20/14 11:39 AM
*/
const dash = require('lodash');
const stream = require('stream');
const MockFileSystem = function() {
'use strict';
const writer = this;
this.filename = null;
this.data = null;
this.appendFile = function(filename, data, callback) {
if (!filename) throw new Error('appendFile requires a filename, found null');
if (!data) throw new Error('appendFile requires data, found null');
if (!callback) throw new Error('appendFile requires callback, found null');
writer.filename = filename;
writer.data += data;
process.nextTick( function() {
callback( null );
});
};
this.truncate = function(path, size, callback) {
if (!path) throw new Error('truncate requires a filename/path');
if (size && typeof size === 'function') callback = size;
this.data = '';
this.filename = path;
process.nextTick( function() {
callback( null );
});
};
this.rename = function(oldPath, newPath, callback) {
if (!oldPath) throw new Error('rename requires an old path name');
if (!newPath) throw new Error('rename requires a new path name');
if (!callback) throw new Error('rename requires a callback');
this.filename = newPath;
process.nextTick( function() {
callback( null );
});
};
this.writeFile = function(filename, data, opts, callback) {
if (!filename) throw new Error('writeFile requires a filename');
if (!data) throw new Error('writeFile requires data');
if (!opts) throw new Error('writeFile requires a callback');
if (typeof opts === 'function') {
callback = opts;
}
this.filename = filename;
process.nextTick( function() {
callback( null, {} );
});
};
this.createWriteStream = function(filename, opts) {
const ws = new stream.Writable({
write(chunk, enc, cb) {
cb();
}
});
return ws;
};
};
module.exports = MockFileSystem;
| 27.506173 | 85 | 0.572711 |
c2fe08eb2715d45c6bbaa7f37c5c1d1224a74ed0 | 637 | go | Go | jsonutil.go | melmango/melhelper | c1f798059806f7eb06d0c9a16fd36e47d7b14c0f | [
"MIT"
] | null | null | null | jsonutil.go | melmango/melhelper | c1f798059806f7eb06d0c9a16fd36e47d7b14c0f | [
"MIT"
] | null | null | null | jsonutil.go | melmango/melhelper | c1f798059806f7eb06d0c9a16fd36e47d7b14c0f | [
"MIT"
] | null | null | null | package helpers
import (
"encoding/json"
"github.com/bitly/go-simplejson"
"fmt"
)
func JsonDecodeS(jstr string, obj interface{}) {
json.Unmarshal([]byte(jstr), obj)
}
func JsonDecodeB(value []byte,obj interface{}){
fmt.Printf("jsondecodeB:%s\n",string(value))
json.Unmarshal(value,obj);
}
func JsonEncodeS(obj interface{}) string {
res, _ := json.Marshal(obj)
return string(res)
}
func JsonEncodeB(obj interface{}) []byte {
res, _ := json.Marshal(obj)
return res
}
func JsonDecodeSimple(jstr string) *simplejson.Json {
js, err := simplejson.NewJson([]byte(jstr))
if err == nil {
return js
} else {
return nil
}
}
| 17.694444 | 53 | 0.689168 |
f78fba951c303e8ea1896dab38759809996a9b56 | 291 | c | C | Debugging/CppCheck/array.c | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 115 | 2015-03-23T13:34:42.000Z | 2022-03-21T00:27:21.000Z | Debugging/CppCheck/array.c | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 56 | 2015-02-25T15:04:26.000Z | 2022-01-03T07:42:48.000Z | Debugging/CppCheck/array.c | Gjacquenot/training-material | 16b29962bf5683f97a1072d961dd9f31e7468b8d | [
"CC-BY-4.0"
] | 59 | 2015-11-26T11:44:51.000Z | 2022-03-21T00:27:22.000Z | #include <stdio.h>
#include <stdlib.h>
int main() {
int *a = (int *) malloc(5*sizeof(int));
int n = 5;
int m;
if (m > n) {
printf("in if-statement\n");
for (int i = 0; i <= 5; ++i)
a[i] = i;
}
printf("a[5] = %d\n", a[n]);
return 0;
}
| 18.1875 | 43 | 0.42268 |
50adbc338f9a24eb8690a9927797a6740a4e85e7 | 244 | go | Go | util/net.go | igor-feoktistov/go-ontap-rest | 5dabffb0f239c17ba55292e5aea5fea9014dfd1f | [
"MIT"
] | 1 | 2019-10-29T03:42:20.000Z | 2019-10-29T03:42:20.000Z | util/net.go | igor-feoktistov/go-ontap-rest | 5dabffb0f239c17ba55292e5aea5fea9014dfd1f | [
"MIT"
] | null | null | null | util/net.go | igor-feoktistov/go-ontap-rest | 5dabffb0f239c17ba55292e5aea5fea9014dfd1f | [
"MIT"
] | null | null | null | package util
import (
"net"
)
func GetOutboundIP() (ip net.IP, err error) {
conn, err := net.Dial("udp", "8.8.8.8:53")
if err == nil {
defer conn.Close()
localAddr := conn.LocalAddr().(*net.UDPAddr)
ip = localAddr.IP
}
return
}
| 15.25 | 46 | 0.606557 |
7754e176cc296d0cbe19636bf9be1288b6518c89 | 1,236 | html | HTML | cms/templates/cms/search_results.html | kingsdigitallab/mmc-django | 3b582a9c59e4210428fce54f65531223122ec4a3 | [
"MIT"
] | null | null | null | cms/templates/cms/search_results.html | kingsdigitallab/mmc-django | 3b582a9c59e4210428fce54f65531223122ec4a3 | [
"MIT"
] | null | null | null | cms/templates/cms/search_results.html | kingsdigitallab/mmc-django | 3b582a9c59e4210428fce54f65531223122ec4a3 | [
"MIT"
] | null | null | null | {% extends "cms/base.html" %}
{% load wagtailcore_tags cms_tags %}
{% block meta_title %}Search Results{% endblock %}
{% block breadcrumb %}
<div class="breadcrumb">
<a href="/"> Home</a> >
<a href="#">Search Results {% if q %} for: <span>{{ q }}</span> {% endif %}</a>
</div>
{% endblock %}
{% block main %}
{% if results %}
<p>{{ results.paginator.count }} Results.</p>
<ol class="search-results" start="{{ results.start_index }}">
{% for result in results_qs %}
<li>
<h4><a href="{{ result.url }}">{{ result.title }}</a></h4>
{% if result.specific.search_description %}
{{ result.specific.search_description|safe }}
{% endif %}
</li>
{% endfor %}
</ol>
<div class="pagination">
<span class="step-links">
{% if results.has_previous %}
<a class="prev" href="?q={{ q }}&page={{ results.previous_page_number }}">« Previous</a>
{% endif %}
<span class="current">
Page {{ results.number }} of {{ results.paginator.num_pages }}.
</span>
{% if results.has_next %}
<a class="next" href="?q={{ q }}&page={{ results.next_page_number }}">Next »</a>
{% endif %}
</span>
</div>
{% else %}
<p>No results found.</p>
{% endif %}
</div>
{% endblock %}
| 23.320755 | 98 | 0.575243 |
96fbdf1e740be7173bdd4b03001886bd4656e99c | 64 | sql | SQL | db/schema.sql | veidul/CryptoChamps | 68d6aa2e7b93e014397b6e6f84f996b1c6f898d7 | [
"MIT"
] | null | null | null | db/schema.sql | veidul/CryptoChamps | 68d6aa2e7b93e014397b6e6f84f996b1c6f898d7 | [
"MIT"
] | 4 | 2022-01-05T04:58:06.000Z | 2022-01-08T19:00:09.000Z | db/schema.sql | veidul/CryptoChamps | 68d6aa2e7b93e014397b6e6f84f996b1c6f898d7 | [
"MIT"
] | 1 | 2022-01-15T20:50:41.000Z | 2022-01-15T20:50:41.000Z | DROP DATABASE IF EXISTS cryptos_db;
CREATE DATABASE cryptos_db;
| 21.333333 | 35 | 0.84375 |
a7fb417adc98daf3c4079a33fdad94352df71aab | 671 | asm | Assembly | Checkpoints/chk13_1.asm | richardhyy/AssemblyLab | 7e0ba3800f3db1e2f5d616ca89905963d1da0996 | [
"MIT"
] | 3 | 2021-06-26T14:52:16.000Z | 2021-11-23T03:48:48.000Z | Checkpoints/chk13_1.asm | richardhyy/AssemblyLab | 7e0ba3800f3db1e2f5d616ca89905963d1da0996 | [
"MIT"
] | 1 | 2021-06-26T14:12:21.000Z | 2021-06-26T14:18:54.000Z | Checkpoints/chk13_1.asm | richardhyy/AssemblyLab | 7e0ba3800f3db1e2f5d616ca89905963d1da0996 | [
"MIT"
] | 4 | 2021-11-30T06:06:08.000Z | 2022-03-16T03:55:42.000Z | assume cs:code
data segment
db 'Light and Wings',0
data ends
code segment
start: call setjpn
mov ax,data
mov ds,ax
mov si,0
mov ax,0b800h
mov es,ax
mov di,12*160
s: cmp byte ptr [si],0
je ok
mov al,[si]
mov es:[di],al
inc si
add di,2
mov bx,offset s-offset ok
int 7ch
ok: mov ax,4c00h
int 21h
; Set up jpn
setjpn:mov ax,cs
mov ds,ax
mov si,offset jpn
mov ax,0
mov es,ax
mov di,200h
mov cx,offset jpnend-offset jpn
cld
rep movsb
mov ax,0
mov es,ax
mov word ptr es:[7ch*4],200h
mov word ptr es:[7ch*4+2],0
ret
jpn:push bp
mov bp,sp
add [bp+2],bx
pop bp
iret
jpnend:nop
code ends
end start
| 12.903846 | 33 | 0.633383 |
9162a14759f265448b536a8ee325968f31ff922b | 315 | dart | Dart | lib/color_type.dart | ddmgy/acnh_helper | f04b2ca3fe3a76e1b49be1173b0e06ac96354a72 | [
"MIT"
] | null | null | null | lib/color_type.dart | ddmgy/acnh_helper | f04b2ca3fe3a76e1b49be1173b0e06ac96354a72 | [
"MIT"
] | 1 | 2020-11-26T12:30:24.000Z | 2020-11-26T12:30:24.000Z | lib/color_type.dart | ddmgy/acnh_helper | f04b2ca3fe3a76e1b49be1173b0e06ac96354a72 | [
"MIT"
] | null | null | null | class ColorType {
static get found => "found_color";
static get donated => "donated_color";
static get neighbor => "neighbor_color";
static get currentlyAvailable => "currently_available_color";
static get newlyAvailable => "newly_available_color";
static get leavingSoon => "leaving_soon_color";
} | 24.230769 | 63 | 0.739683 |
83389764cb4bfaf822e0499829235448afabb1b6 | 990 | sql | SQL | 9.0.window_function/window_function.sql | dipbazz/SQL_zoo | 28acef03e4b4b39191683fdd004a35f4bb8c1f07 | [
"MIT"
] | 2 | 2020-12-02T10:15:17.000Z | 2020-12-04T00:26:00.000Z | 9.0.window_function/window_function.sql | dipbazz/SQL_zoo | 28acef03e4b4b39191683fdd004a35f4bb8c1f07 | [
"MIT"
] | null | null | null | 9.0.window_function/window_function.sql | dipbazz/SQL_zoo | 28acef03e4b4b39191683fdd004a35f4bb8c1f07 | [
"MIT"
] | null | null | null | -- 1.
SELECT lastName, party, votes
FROM ge
WHERE constituency = 'S14000024' AND yr = 2017
ORDER BY votes DESC
-- 2.
SELECT party, votes,
RANK() OVER (ORDER BY votes DESC) as posn
FROM ge
WHERE constituency = 'S14000024' AND yr = 2017
ORDER BY party
-- 3.
SELECT yr,party, votes,
RANK() OVER (PARTITION BY yr ORDER BY votes DESC) as posn
FROM ge
WHERE constituency = 'S14000021'
ORDER BY party,yr
-- 4.
SELECT constituency,party, votes,
RANK() OVER (PARTITION BY constituency ORDER BY votes DESC) AS posn
FROM ge
WHERE constituency BETWEEN 'S14000021' AND 'S14000026'
AND yr = 2017
ORDER BY posn, constituency;
-- 5.
SELECT constituency,party
FROM ge y
WHERE constituency BETWEEN 'S14000021' AND 'S14000026'
AND party = (
SELECT party FROM ge x
WHERE x.constituency = y.constituency
AND yr = 2017
ORDER BY RANK() OVER (ORDER BY votes DESC)
LIMIT 1
)
GROUP BY constituency;
-- 6.
-- couldn't solve because of confusion.
| 22.5 | 69 | 0.690909 |
0fa08f357b3d3dd2174358a9c1b61cfdaab15ca1 | 448 | swift | Swift | Sources/PostgreSQL/Message/Type/SASLResponse.swift | chaqmoq/postgresql | b50b243f51abd7aa684a0b31a3fa8a1197426633 | [
"MIT"
] | 1 | 2020-04-18T16:31:25.000Z | 2020-04-18T16:31:25.000Z | Sources/PostgreSQL/Message/Type/SASLResponse.swift | chaqmoq/postgresql | b50b243f51abd7aa684a0b31a3fa8a1197426633 | [
"MIT"
] | null | null | null | Sources/PostgreSQL/Message/Type/SASLResponse.swift | chaqmoq/postgresql | b50b243f51abd7aa684a0b31a3fa8a1197426633 | [
"MIT"
] | null | null | null | extension Message {
struct SASLResponse: MessageType {
let identifier: Identifier = .saslResponse
let data: [UInt8]
init(data: [UInt8] = .init()) {
self.data = data
}
init(buffer: inout ByteBuffer) {
self.data = buffer.readBytes(length: buffer.readableBytes)!
}
func encode(into buffer: inout ByteBuffer) {
buffer.writeBytes(data)
}
}
}
| 23.578947 | 71 | 0.555804 |
2682690a02f8e78a948e213626493585f58ba33a | 1,489 | java | Java | src/controller/funGAController/strategy/TournamentSelection.java | bernardotc/CE810-2 | 0552e6d84f8bf590ce145cdf97e576002d12ec7f | [
"MIT"
] | null | null | null | src/controller/funGAController/strategy/TournamentSelection.java | bernardotc/CE810-2 | 0552e6d84f8bf590ce145cdf97e576002d12ec7f | [
"MIT"
] | null | null | null | src/controller/funGAController/strategy/TournamentSelection.java | bernardotc/CE810-2 | 0552e6d84f8bf590ce145cdf97e576002d12ec7f | [
"MIT"
] | null | null | null | package controller.funGAController.strategy;
import controller.funGAController.search.GAIndividual;
import controller.funGAController.strategy.*;
import controller.funGAController.strategy.ISelection;
import java.util.Random;
/**
* Created by dperez on 08/07/15.
*/
public class TournamentSelection implements ISelection
{
public static int TOURNAMENT_SIZE = 2;
Random rnd;
public TournamentSelection(Random rnd, int tSize)
{
TOURNAMENT_SIZE = tSize;
this.rnd = rnd;
}
public TournamentSelection(Random rnd)
{
this.rnd = rnd;
}
public GAIndividual getParent(GAIndividual[] pop, GAIndividual[] parents) {
GAIndividual best = null;
int[] tour = new int[TOURNAMENT_SIZE];
for (int i = 0; i < TOURNAMENT_SIZE; ++i)
tour[i] = -1;
int i = 0;
while (tour[TOURNAMENT_SIZE - 1] == -1) {
int part = (int) (rnd.nextFloat() * pop.length);
boolean valid = pop[part] != parents[0] && pop[part] != parents[1];; //Check it is not the same selected first.
for (int k = 0; valid && k < i; ++k) {
valid = (part != tour[k]); //Check it is not in the tournament already.
}
if (valid) {
tour[i++] = part;
if (best == null || (pop[part].getFitness() > best.getFitness()))
best = pop[part];
}
}
return best;
}
}
| 28.09434 | 124 | 0.566823 |
39eb3d6c805880f08214a41c0c814636c00cb395 | 1,996 | java | Java | app/src/main/java/com/androidexperiments/landmarker/util/AnimationChain.java | Ankit77/AR_Location | a747171044e78d5a9992be97ec17592adf293339 | [
"Apache-2.0"
] | 205 | 2015-08-12T15:55:41.000Z | 2021-12-08T21:40:33.000Z | app/src/main/java/com/androidexperiments/landmarker/util/AnimationChain.java | Ankit77/AR_Location | a747171044e78d5a9992be97ec17592adf293339 | [
"Apache-2.0"
] | 4 | 2016-05-07T12:04:14.000Z | 2018-08-28T15:07:50.000Z | app/src/main/java/com/androidexperiments/landmarker/util/AnimationChain.java | Ankit77/AR_Location | a747171044e78d5a9992be97ec17592adf293339 | [
"Apache-2.0"
] | 62 | 2015-08-12T16:21:00.000Z | 2021-12-08T21:41:22.000Z | package com.androidexperiments.landmarker.util;
import android.app.Activity;
import android.app.Fragment;
import android.os.Handler;
import android.view.animation.Animation;
/**
* Simple class for an easier way to chain animations together
*/
public class AnimationChain extends SimpleAnimationListener
{
private Runnable mNext;
private Handler mHandler;
private Activity mActivity;
private long mDelay = 0;
private boolean mShouldRun = true;
/**
* When you want the next animation in the chain to run immediately and don't
* want to worry about dealing with your own Handler
* @param next {@link Runnable} containing the next animation to run on UI Thread
* @param activity {@link Activity} the activity calling the next runnable
*/
public AnimationChain(Runnable next, Activity activity) {
mNext = next;
mActivity = activity;
}
public AnimationChain(Runnable next, Fragment fragment)
{
this(next, fragment.getActivity());
}
/**
* Constructor to be used when you want to post a delay or use your own Handler
* to control timing and such.
* @param next
* @param handler
* @param delay
*/
public AnimationChain(Runnable next, Handler handler, long delay)
{
mNext = next;
mHandler = handler;
mDelay = delay;
}
/**
* If we still have an active chain in onPause or onStop we should
* set shouldRun to false so that we don't trigger the runnables in the background
* @param shouldRun
*/
public void setShouldRun(boolean shouldRun) {
this.mShouldRun = shouldRun;
}
@Override
public void onAnimationEnd(Animation animation)
{
if(mShouldRun) {
if(mHandler != null) {
mHandler.postDelayed(mNext, mDelay);
}
else
mActivity.runOnUiThread(mNext);
}
super.onAnimationEnd(animation);
}
}
| 27.342466 | 86 | 0.648297 |
878894c3676e85e0068a8f28151fed27dc07d7c2 | 73,201 | lua | Lua | Earth Breaker (Tremor).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 70 | 2021-02-09T17:21:32.000Z | 2022-03-28T12:41:42.000Z | Earth Breaker (Tremor).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 4 | 2021-08-19T22:05:58.000Z | 2022-03-19T18:58:01.000Z | Earth Breaker (Tremor).lua | xVoid-xyz/Roblox-Scripts | 7eb176fa654f2ea5fbc6bcccced1b15df7ed82c2 | [
"BSD-3-Clause"
] | 325 | 2021-02-26T22:23:41.000Z | 2022-03-31T19:36:12.000Z | -- Gaster <3
-- Somewhat The Same Problem I Had With Gakisera.
wait(0.016666666666667)
Effects = {}
local Player = game.Players.localPlayer
local Character = Player.Character
local Humanoid = Character.Humanoid
local mouse = Player:GetMouse()
local m = Instance.new("Model", Character)
m.Name = "WeaponModel"
local effect = Instance.new("Model", Character)
effect.Name = "Effects"
local LeftArm = Character["Left Arm"]
local RightArm = Character["Right Arm"]
local LeftLeg = Character["Left Leg"]
local RightLeg = Character["Right Leg"]
local Head = Character.Head
local Torso = Character.Torso
local cam = game.Workspace.CurrentCamera
local RootPart = Character.HumanoidRootPart
local RootJoint = RootPart.RootJoint
local equipped = false
local attack = false
local Anim = "Idle"
local idle = 0
local attacktype = 1
local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
local velocity = RootPart.Velocity.y
local sine = 0
local change = 1
local mana = 0
local it = Instance.new
vt = Vector3.new
local grabbed = false
local cf = CFrame.new
local mr = math.rad
local angles = CFrame.Angles
local ud = UDim2.new
local c3 = Color3.new
local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
Humanoid.Animator:Destroy()
Character.Animate:Destroy()
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
RSH = nil
RW = Instance.new("Weld")
LW = Instance.new("Weld")
RH = Torso["Right Hip"]
LH = Torso["Left Hip"]
RSH = Torso["Right Shoulder"]
LSH = Torso["Left Shoulder"]
RSH.Parent = nil
LSH.Parent = nil
RW.Name = "RW"
RW.Part0 = Torso
RW.C0 = cf(1.5, 0.5, 0)
RW.C1 = cf(0, 0.5, 0)
RW.Part1 = RightArm
RW.Parent = Torso
LW.Name = "LW"
LW.Part0 = Torso
LW.C0 = cf(-1.5, 0.5, 0)
LW.C1 = cf(0, 0.5, 0)
LW.Part1 = LeftArm
LW.Parent = Torso
clerp = function(a, b, t)
return a:lerp(b, t)
end
local RbxUtility = LoadLibrary("RbxUtility")
local Create = RbxUtility.Create
RemoveOutlines = function(part)
part.TopSurface = 10
end
CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
RemoveOutlines(Part)
return Part
end
CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
if Mesh == "SpecialMesh" then
Msh.MeshType = MeshType
Msh.MeshId = MeshId
end
return Msh
end
local co1 = 10
local co2 = 20
local co3 = 25
local co4 = 30
local cooldown1 = 0
local cooldown2 = 0
local cooldown3 = 0
local cooldown4 = 0
local maxEnergy = 100
local Energy = 0
local skill1stam = 10
local skill2stam = 50
local skill3stam = 60
local skill4stam = 100
local recovermana = 5
local skillcolorscheme = BrickColor.new("Dirt brown").Color
local scrn = Instance.new("ScreenGui", Player.PlayerGui)
makeframe = function(par, trans, pos, size, color)
local frame = Instance.new("Frame", par)
frame.BackgroundTransparency = trans
frame.BorderSizePixel = 0
frame.Position = pos
frame.Size = size
frame.BackgroundColor3 = color
return frame
end
makelabel = function(par, text)
local label = Instance.new("TextLabel", par)
label.BackgroundTransparency = 1
label.Size = UDim2.new(1, 0, 1, 0)
label.Position = UDim2.new(0, 0, 0, 0)
label.TextColor3 = Color3.new(255, 255, 255)
label.TextStrokeTransparency = 0
label.FontSize = Enum.FontSize.Size32
label.Font = Enum.Font.SourceSansBold
label.BorderSizePixel = 0
label.TextScaled = true
label.Text = text
end
framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.93, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.86, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.79, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.72, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
text1 = makelabel(framesk1, "[Z] Earthwave")
text2 = makelabel(framesk2, "[X] Charger")
text3 = makelabel(framesk3, "[C] Fury")
text4 = makelabel(framesk4, "[V] Devastation")
ArtificialHB = Instance.new("BindableEvent", script)
ArtificialHB.Name = "Heartbeat"
script:WaitForChild("Heartbeat")
frame = 0.033333333333333
tf = 0
allowframeloss = false
tossremainder = false
lastframe = tick()
script.Heartbeat:Fire()
game:GetService("RunService").Heartbeat:connect(function(s, p)
tf = tf + s
if frame <= tf then
if allowframeloss then
script.Heartbeat:Fire()
lastframe = tick()
else
for i = 1, math.floor(tf / frame) do
script.Heartbeat:Fire()
end
lastframe = tick()
end
if tossremainder then
tf = 0
else
tf = tf - frame * math.floor(tf / frame)
end
end
end
)
swait = function(num)
if num == 0 or num == nil then
ArtificialHB.Event:wait()
else
for i = 0, num do
ArtificialHB.Event:wait()
end
end
end
CreateWeld = function(Parent, Part0, Part1, C0, C1)
local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
return Weld
end
rayCast = function(Position, Direction, Range, Ignore)
return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
end
CreateSound = function(id, par, vol, pit)
coroutine.resume(coroutine.create(function()
local sou = Instance.new("Sound", par or workspace)
sou.Volume = vol
sou.Pitch = pit or 1
sou.SoundId = id
swait()
sou:play()
game:GetService("Debris"):AddItem(sou, 6)
end
))
end
local getclosest = function(obj, distance)
local last, lastx = distance + 1, nil
for i,v in pairs(workspace:GetChildren()) do
if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
local t = v.Torso
local dist = t.Position - obj.Position.magnitude
if dist <= distance and dist < last then
last = dist
lastx = v
end
end
end
return lastx
end
Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 1, "Dark stone grey", "FakeHandle", Vector3.new(0.505485535, 1.32378638, 0.437194824))
HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0155639648, 0.026468277, 1.02599454, 1, 0, 0, 0, 0, -1, 0, 1, 0))
FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 1, "Dark stone grey", "FakeHandle", Vector3.new(0.505485535, 1.32378638, 0.437194824))
FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651604891, 0.353641689, 0.960422277))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00848388672, -2.25204468, 3.03001976, -1, 0, 0, 0, 0.715983272, -0.698117495, 0, -0.698117495, -0.715983272))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.785459161, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.33682251, -0.617828369, 1.15732193, 0, 1, -2.98023224e-008, 1, 0, 0, 0, -2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.40277863, -3.02360535, 1.15732217, -0.707106829, 0.707106829, -2.10734257e-008, 0.707106829, 0.707106829, -2.10734257e-008, 0, -2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.3026886, 1.70986938, 1.15732193, 0.707106829, -0.707106829, -2.10734257e-008, -0.707106829, -0.707106829, -2.10734257e-008, 0, 2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.783992589, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.33755493, -0.598022461, 1.16449344, 0, 1, 2.98023224e-008, -1, 0, 0, 0, -2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651604891, 0.353641689, 0.960422277))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00848388672, -2.24703598, 3.03515816, 1, 0, 0, 0, 0.715983272, 0.698117495, 0, -0.698117495, 0.715983272))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.929814219, 1.22773778, 0.619561553))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0127563477, -3.40548706, 1.14073551, 1, 0, 0, 0, 1, 2.98023224e-008, 0, -2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00924682617, -4.0140686, 1.15732217, -1, 0, 0, 0, 1, -2.98023224e-008, 0, -2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.929814219, 1.22773778, 0.597561538))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0127563477, -3.40548706, 1.13656998, -1, 0, 0, 0, 1, -2.98023224e-008, 0, -2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.773990393))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00924682617, 2.66007996, 1.11695445, -1, 0, 0, 0, -1, 2.98023224e-008, 0, 2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.31669617, 1.69586182, 1.1644932, -0.707106829, -0.707106829, 2.10734257e-008, 0.707106829, -0.707106829, 2.10734257e-008, 0, 2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.3026886, 1.70986938, 1.1644932, -0.707106829, 0.707106829, -2.10734257e-008, -0.707106829, -0.707106829, 2.10734257e-008, 0, 2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651604891, 0.353641689, 0.982642174))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00848388672, 2.45775986, -1.71069145, 1, 0, 0, 0, -0.715983272, -0.698117495, 0, 0.698117495, -0.715983272))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.31669617, 1.69586182, 1.15732193, 0.707106829, 0.707106829, 2.10734257e-008, 0.707106829, -0.707106829, -2.10734257e-008, 0, 2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651604891, 0.353641689, 0.982642174))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00848388672, 2.46276665, -1.70555687, -1, 0, 0, 0, -0.715983272, 0.698117495, 0, 0.698117495, 0.715983272))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00924682617, -4.0140686, 1.16449344, 1, 0, 0, 0, 1, 2.98023224e-008, 0, -2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.773990393))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00924682617, 2.66007996, 1.10978317, 1, 0, 0, 0, -1, -2.98023224e-008, 0, 2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.40277863, -3.02360535, 1.16449344, 0.707106829, -0.707106829, -2.10734257e-008, 0.707106829, 0.707106829, 2.10734257e-008, 0, -2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.783992589, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33755493, -0.598022461, 1.15732193, 0, -1, 2.98023224e-008, -1, 0, 0, 0, -2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651604891, 0.53363961, 0.814506233))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00848388672, -3.28816223, 0.00796890259, -1, 0, 0, 0, 1, 0, 0, 0, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.41677856, -3.00960541, 1.15732217, -0.707106829, -0.707106829, 2.10734257e-008, -0.707106829, 0.707106829, -2.10734257e-008, 0, -2.98023224e-008, -1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.785459161, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33682251, -0.617828369, 1.16449344, 0, -1, -2.98023224e-008, 1, 0, 0, 0, -2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.651604891, 0.353641689, 0.678900838))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.41677856, -3.00960541, 1.16449344, 0.707106829, 0.707106829, 2.10734257e-008, -0.707106829, 0.707106829, 2.10734257e-008, 0, -2.98023224e-008, 1))
CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 4.86178637, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.35499573, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Medium stone grey", "Part", Vector3.new(0.505485535, 0.792678058, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -2.69285583, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Sand red", "Part", Vector3.new(0.505485535, 0.317724407, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -2.92750549, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 2))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0849323273, -0.0202736855, 1, 0, 0, 0, 0.98192817, -0.189254314, 0, 0.189254314, 0.98192817))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.297920227, -0.0411686897, 1, 0, 0, 0, 0.99248904, 0.122333705, 0, -0.122333705, 0.99248904))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.12693405, 0.134458065, 1, 0, 0, 0, 0.99248904, 0.122333705, 0, -0.122333705, 0.99248904))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.85461044, 0.224159002, 1, 0, 0, 0, 0.99248904, 0.122333705, 0, -0.122333705, 0.99248904))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.774690628, -0.153215885, 1, 0, 0, 0, 0.98192817, -0.189254314, 0, 0.189254314, 0.98192817))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.635002136, 0.11848402, 1, 0, 0, 0, 0.98192817, -0.189254314, 0, 0.189254314, 0.98192817))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.494627, -0.291974545, 1, 0, 0, 0, 0.98192817, -0.189254314, 0, 0.189254314, 0.98192817))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.505485535, 0.200000003, 0.437194824))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.429756165, 0.0485243797, 1, 0, 0, 0, 0.99248904, 0.122333705, 0, -0.122333705, 0.99248904))
CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.10000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33679962, -1.1673584, -1.15903568, 7.07509798e-006, -1, -1.02181616e-007, 1, 7.07509844e-006, -4.51291817e-006, 4.51291908e-006, -1.02149684e-007, 1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Sand red", "Part", Vector3.new(0.5, 0.5, 0.5))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00302124023, 1.28483582, -0.00327897072, -1, -0.000214757063, 2.38186044e-006, -0.000214756918, 1, 6.37130361e-005, -2.39554311e-006, 6.37125195e-005, -1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.850000024, 0.75, 0.850000024))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00355529785, 2.11416054, -1.15905571, -1, -6.97575024e-006, 1.02181218e-007, 6.97575069e-006, -1, 4.51291817e-006, 1.02149734e-007, 4.51291908e-006, 1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Dark stone grey", "Part", Vector3.new(0.5, 0.5, 0.5))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00444793701, 1.28483582, -0.000190734863, -0.707106173, -0.000107986314, -0.707107365, -0.000212582891, 1, 5.98669576e-005, 0.707107365, 0.000192651234, -0.707106233))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.949999988, 0.5, 0.949999988))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00146484375, -4.53398132, 0.000669956207, -1, -7.06317314e-006, -1.02181616e-007, -7.0631736e-006, 1, 4.51291817e-006, 1.02149741e-007, 4.51291908e-006, -1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.215000004, 2, 0.215000004))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00357055664, -4.56028175, -1.15905166, 1, 7.06317314e-006, -1.02181616e-007, -7.0631736e-006, 1, -4.51291817e-006, 1.02149741e-007, 4.51291908e-006, 1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00355529785, 2.11416245, -1.15817821, 1, 6.97575024e-006, 1.02181218e-007, 6.97575069e-006, -1, -4.51291817e-006, 1.02149734e-007, 4.51291908e-006, -1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00357055664, -4.56028366, -1.15817392, -1, -7.06317314e-006, -1.02181616e-007, -7.0631736e-006, 1, 4.51291817e-006, 1.02149741e-007, 4.51291908e-006, -1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(1.30130839, 0.570941746, 0.533639908))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.395450592, 0.168457031, -3.28816223, -0.353771091, 0, -0.93533206, -0.93533206, 0, 0.353771091, 0, 1, 0))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.33681679, -1.15431213, -1.15904069, -6.98767508e-006, 1, 1.02181218e-007, -1, -6.98767553e-006, 4.51291817e-006, 4.51291908e-006, -1.02149684e-007, 1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.10000000149012, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.33679962, -1.16734314, -1.15815818, -7.07509798e-006, 1, -1.02181616e-007, 1, 7.07509844e-006, 4.51291817e-006, 4.51291908e-006, -1.02149684e-007, -1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Dark stone grey", "Part", Vector3.new(0.300000012, 0.800000012, 0.300000012))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33681679, -1.15431213, -1.15816295, 6.98767508e-006, -1, 1.02181218e-007, -1, -6.98767553e-006, -4.51291817e-006, 4.51291908e-006, -1.02149684e-007, -1))
CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(0.170000002, 1, 0.170000002))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(1.30029905, 0.569891214, 0.533639908))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.388046265, 0.152572632, -3.28816223, -0.351845443, 0, 0.936058104, 0.936058104, 0, 0.351845443, 0, 1, 0))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(1.32294869, 0.567779899, 0.533639908))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.388534546, 0.173995972, -3.28816223, 0.347984225, 0, -0.937500358, -0.937500358, 0, -0.347984254, 0, 1, 0))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(1.3219558, 0.566737056, 0.533639908))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.381248474, 0.158065796, -3.28816223, 0.346081376, 0, 0.938204527, 0.938204527, 0, -0.346081376, 0, 1, 0))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651607454, 0.608765721, 0.699442625))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00848388672, 0.4419384, 3.66109848, 1, 8.35569267e-008, -5.07116091e-008, 4.37113883e-008, 0.0817466229, 0.99665314, 8.74227766e-008, -0.99665314, 0.0817466229))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651607454, 0.608765721, 0.503385246))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00848388672, 0.441930771, -3.05968666, -1, -8.35569338e-008, 5.07116091e-008, 4.37113954e-008, 0.0817465335, 0.99665314, -8.74227766e-008, 0.99665314, -0.0817465335))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651607454, 0.608765721, 0.503385246))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00848388672, 0.434783459, -3.0590992, 1, 8.35569338e-008, 5.07116091e-008, 4.37113954e-008, 0.0817465335, -0.99665314, -8.74227766e-008, 0.99665314, 0.0817465335))
Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Part", Vector3.new(0.651607454, 0.608765721, 0.699442625))
PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00848388672, 0.434791565, 3.66051102, -1, -8.35569267e-008, -5.07116091e-008, 4.37113883e-008, 0.0817466229, -0.99665314, 8.74227766e-008, -0.99665314, -0.0817466229))
Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 1, "Dark stone grey", "Hitbox", Vector3.new(1.41548562, 1.75178647, 3.32719469))
HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0950012207, -3.2899971, 0.0750000477, 1, 0, 0, 0, 1, 0, 0, 0, 1))
Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
if hit.Parent == nil then
return
end
local h = hit.Parent:FindFirstChild("Humanoid")
for _,v in pairs(hit.Parent:children()) do
if v:IsA("Humanoid") then
h = v
end
end
if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
return
end
local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
game:GetService("Debris"):AddItem(c, 0.5)
if HitSound ~= nil and HitPitch ~= nil then
CreateSound(HitSound, hit, 1, HitPitch)
end
local Damage = math.random(minim, maxim)
local blocked = false
local block = hit.Parent:findFirstChild("Block")
if block ~= nil and block.className == "IntValue" and block.Value > 0 then
blocked = true
block.Value = block.Value - 1
print(block.Value)
end
if blocked == false then
h.Health = h.Health - Damage
ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
else
h.Health = h.Health - Damage / 2
ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
end
if Type == "Knockdown" then
local hum = hit.Parent.Humanoid
hum.PlatformStand = true
coroutine.resume(coroutine.create(function(HHumanoid)
swait(1)
HHumanoid.PlatformStand = false
end
), hum)
local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
game:GetService("Debris"):AddItem(bodvol, 0.5)
game:GetService("Debris"):AddItem(rl, 0.5)
else
do
if Type == "Normal" then
local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
if knockback > 0 then
vp.Parent = hit.Parent.Torso
end
game:GetService("Debris"):AddItem(vp, 0.5)
else
do
if Type == "Up" then
local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
else
do
if Type == "DarkUp" then
coroutine.resume(coroutine.create(function()
for i = 0, 1, 0.1 do
swait()
BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
end
end
))
local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
game:GetService("Debris"):AddItem(bodyVelocity, 1)
else
do
if Type == "Snare" then
local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
game:GetService("Debris"):AddItem(bp, 1)
else
do
if Type == "Freeze" then
local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
hit.Parent.Torso.Anchored = true
coroutine.resume(coroutine.create(function(Part)
swait(1.5)
Part.Anchored = false
end
), hit.Parent.Torso)
game:GetService("Debris"):AddItem(BodPos, 3)
game:GetService("Debris"):AddItem(BodGy, 3)
end
do
local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
game:GetService("Debris"):AddItem(debounce, Delay)
c = Instance.new("ObjectValue")
c.Name = "creator"
c.Value = Player
c.Parent = h
game:GetService("Debris"):AddItem(c, 0.5)
end
end
end
end
end
end
end
end
end
end
end
end
end
MagniCamShake = function(Part, magni, cam, intens)
for _,c in pairs(workspace:children()) do
if game.Players:GetPlayerFromCharacter(c) ~= nil and c:findFirstChild("Torso") ~= nil then
local targ = c.Torso.Position - Part.Position
local mag = targ.magnitude
if mag <= magni then
camshake = script[cam]:Clone()
camshake.Intensity.Value = mag / intens
camshake.Parent = game.Players:GetPlayerFromCharacter(c).Backpack
camshake.Disabled = false
end
end
end
end
ShowDamage = function(Pos, Text, Time, Color)
local Rate = 0.033333333333333
if not Pos then
local Pos = Vector3.new(0, 0, 0)
end
local Text = Text or ""
local Time = Time or 2
if not Color then
local Color = Color3.new(1, 0, 1)
end
local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
EffectPart.Anchored = true
local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
game.Debris:AddItem(EffectPart, Time + 0.1)
EffectPart.Parent = game:GetService("Workspace")
delay(0, function()
local Frames = Time / Rate
for Frame = 1, Frames do
wait(Rate)
local Percent = Frame / Frames
EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
TextLabel.TextTransparency = Percent
end
if EffectPart and EffectPart.Parent then
EffectPart:Destroy()
end
end
)
end
MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
for _,c in pairs(workspace:children()) do
local hum = c:findFirstChild("Humanoid")
if hum ~= nil then
local head = c:findFirstChild("Torso")
if head ~= nil then
local targ = head.Position - Part.Position
local mag = targ.magnitude
if mag <= magni and c.Name ~= Player.Name then
Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
end
end
end
end
end
BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
if Type == 1 or Type == nil then
table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
else
if Type == 2 then
table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
end
end
end
SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
end
RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CFrame = cframe * CFrame.new(x1, y1, z1)
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
end
CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
end
WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
end
SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
end
BreakEffect = function(brickcolor, cframe, x1, y1, z1)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
local num = math.random(10, 50) / 1000
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
end
attackone = function()
attack = true
local con = Hitbox.Touched:connect(function(hit)
Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
end
)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(10), math.rad(80)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-80)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, 0.5) * angles(math.rad(70), math.rad(0), math.rad(-100)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2, 0.25) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(90)), 0.3)
end
for i = 0, 1, 0.5 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(70), math.rad(0), math.rad(0)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, 0.5) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
end
CreateSound("rbxassetid://231917950", Torso, 1, 1.8)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(5), math.rad(-50)), 0.6)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.6)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, 0.5) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-80), math.rad(90)), 0.3)
end
con:disconnect()
attack = false
end
earthquake = function()
attack = true
local con = Hitbox.Touched:connect(function(hit)
Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
end
)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(10), math.rad(80)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-80)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, 0.5) * angles(math.rad(70), math.rad(0), math.rad(-100)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2, 0.25) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(90)), 0.3)
end
Humanoid.JumpPower = 200
Humanoid.Jump = true
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
end
CreateSound("rbxassetid://231917950", Torso, 1, 1.8)
for i = 0, 1, 0.08 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
end
CreateSound("rbxassetid://231917950", Torso, 1, 1.3)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(-20), math.rad(0)), 0.3)
end
if RootPart.Velocity.y < -1 and hit == nil then
hit = nil
for i = 1, 1 do
if hit == nil then
swait()
end
hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
end
local hit = nil
while hit == nil do
swait()
hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
end
hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
if hit ~= nil then
local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
ref.Anchored = true
ref.CFrame = cf(pos)
game:GetService("Debris"):AddItem(ref, 3)
for i = 1, 30 do
Col = hit.BrickColor
local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
groundpart.CanCollide = true
groundpart.CFrame = cf(pos) * cf(math.random(-3000, 3000) / 100, 0, math.random(-3000, 3000) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
game:GetService("Debris"):AddItem(groundpart, 5)
end
CreateSound("http://roblox.com/asset/?id=157878578", ref, 1, 0.7)
WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 2, 2, 2, 0.05)
WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 1, 3, 1, 0.05)
MagniDamage(ref, 20, 20, 33, math.random(10, 20), "Knockdown")
MagniCamShake(ref, 20, "CamShake1", 0.1)
end
end
do
Humanoid.JumpPower = 50
con:disconnect()
attack = false
end
end
attacktwo = function()
attack = true
local con = Hitbox.Touched:connect(function(hit)
Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
end
)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(80)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(40), math.rad(90)), 0.3)
end
for i = 0, 1, 0.5 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(90)), 0.5)
end
CreateSound("rbxassetid://231917950", Torso, 1, 1.5)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-60), math.rad(90)), 0.5)
end
con:disconnect()
attack = false
end
attackthree = function()
attack = true
local con = Hitbox.Touched:connect(function(hit)
Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
end
)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
end
CreateSound("rbxassetid://231917950", Torso, 1, 1.3)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(-20), math.rad(0)), 0.3)
end
con:disconnect()
attack = false
end
spin = function()
attack = true
local con = Hitbox.Touched:connect(function(hit)
Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
end
)
CreateSound("rbxassetid://231917950", Torso, 1, 2)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(10), math.rad(80)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-80)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.4, 0.5) * angles(math.rad(70), math.rad(0), math.rad(-100)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -0.9, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2, 0.25) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(90)), 0.3)
end
for i = 1, 10 do
CreateSound("rbxassetid://231917950", Torso, 1, 1.5)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.5)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -1) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -1) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(-90), math.rad(60), math.rad(0)), 0.3)
end
end
con:disconnect()
attack = false
end
local boop = false
charger = function()
attack = true
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(10), math.rad(70)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, 0.5) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2, 0.25) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
end
Torso.Velocity = RootPart.CFrame.lookVector * 150
WaveEffect(BrickColor.new("White"), RootPart.CFrame * angles(1.57, 0, 0), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
local con = RightArm.Touched:connect(function(hit)
if boop == true then
return
end
boop = true
hit = nil
for i = 1, 1 do
if hit == nil then
swait()
end
hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
end
local hit = nil
while hit == nil do
swait()
hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
end
hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
if hit ~= nil then
local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
ref.Anchored = true
ref.CFrame = cf(pos)
game:GetService("Debris"):AddItem(ref, 3)
for i = 1, 10 do
Col = hit.BrickColor
local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
groundpart.Anchored = true
groundpart.CanCollide = true
groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
game:GetService("Debris"):AddItem(groundpart, 5)
end
CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
MagniCamShake(ref, 5, "CamShake1", 0.05)
end
end
)
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(70)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(-70)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, 0.5) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2, 0.25) * LHCF * angles(math.rad(-30), math.rad(0), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
end
con:disconnect()
boop = false
attack = false
end
earthwave = function()
attack = true
for i = 0, 1, 0.05 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
end
local con = Hitbox.Touched:connect(function(hit)
Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
end
)
CreateSound("rbxassetid://231917950", Torso, 1, 1)
coroutine.resume(coroutine.create(function()
hit = nil
for i = 1, 1 do
if hit == nil then
swait()
end
hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
end
local hit = nil
while hit == nil do
swait()
hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
end
hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
if hit ~= nil then
local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
ref.Anchored = true
ref.CFrame = cf(pos)
game:GetService("Debris"):AddItem(ref, 3)
for i = 1, 10 do
Col = hit.BrickColor
local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
groundpart.Anchored = true
groundpart.CanCollide = true
groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
game:GetService("Debris"):AddItem(sou, 6)
end
CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
MagniCamShake(ref, 9, "CamShake1", 0.01)
end
end
))
for i = 0, 1, 0.1 do
swait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(-20), math.rad(0)), 0.3)
end
con:disconnect()
attack = false
end
ob1u = function()
end
ob1d = function()
if attack == false and attacktype == 1 then
attacktype = 2
attackone()
else
if attack == false and attacktype == 2 then
attacktype = 3
attacktwo()
else
if attack == false and attacktype == 3 then
attacktype = 1
attackthree()
end
end
end
end
key = function(k)
k = k:lower()
if attack == false and co1 <= cooldown1 and k == "z" then
cooldown1 = 0
earthwave()
else
if attack == false and co2 <= cooldown2 and k == "x" then
cooldown2 = 0
charger()
else
if attack == false and co3 <= cooldown3 and k == "c" then
cooldown3 = 0
spin()
else
if attack == false and co4 <= cooldown4 and k == "v" then
cooldown4 = 0
earthquake()
end
end
end
end
end
Bin = Instance.new("HopperBin", Player.Backpack)
ds = function(mouse)
end
s = function(mouse)
mouse.Button1Down:connect(function()
ob1d(mouse)
end
)
mouse.Button1Up:connect(function()
ob1u(mouse)
end
)
mouse.KeyDown:connect(key)
end
Bin.Selected:connect(s)
Bin.Deselected:connect(ds)
updateskills = function()
if cooldown1 <= co1 then
cooldown1 = cooldown1 + 0.033333333333333
end
if cooldown2 <= co2 then
cooldown2 = cooldown2 + 0.033333333333333
end
if cooldown3 <= co3 then
cooldown3 = cooldown3 + 0.033333333333333
end
if cooldown4 <= co4 then
cooldown4 = cooldown4 + 0.033333333333333
end
end
while 1 do
swait()
updateskills()
bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
velocity = RootPart.Velocity.y
sine = sine + change
local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
if equipped == true or equipped == false then
if Torsovelocity.x < 1 or Torsovelocity.z <1 and hit ~= nil then
Anim = "Jump"
if attack == false then
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(0), math.rad(10), math.rad(40)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-50), math.rad(0), math.rad(-40)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3 - 0.1 * math.cos((sine) / 9), -0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5 - 0.1 * math.cos((sine) / 9), 0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 9), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2 + 0.1 * math.cos((sine) / 9), 0.25) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
end
else
if RootPart.Velocity.y < -1 and hit == nil then
Anim = "Fall"
if attack == false then
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
end
else
if Torsovelocity.x < 1 or Torsovelocity.z <1 and hit ~= nil then
Anim = "Idle"
if attack == false then
change = 1
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(20), math.rad(10), math.rad(40)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.3 - 0.1 * math.cos((sine) / 9), -0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5 - 0.1 * math.cos((sine) / 9), 0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 9), 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1.2 + 0.1 * math.cos((sine) / 9), 0.25) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
end
else
if 2 < Torsovelocity.z or 2 < Torsovelocity.x and hit ~= nil then
Anim = "Walk"
if attack == false then
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.3 - 0.1 * math.cos((sine) / 9), 0) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 9), 0) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
RH.C0 = clerp(RH.C0, cf(1, -1, 0 - 0.5 * math.cos((sine) / 5)) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0 + 55 * math.cos((sine) / 5))), 0.3)
LH.C0 = clerp(LH.C0, cf(-1, -1, 0 + 0.5 * math.cos((sine) / 5)) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0 + 55 * math.cos((sine) / 5))), 0.3)
FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-20), math.rad(90)), 0.3)
end
end
end
end
end
end
if 0 < #Effects then
for e = 1, #Effects do
if Effects[e] ~= nil then
local Thing = Effects[e]
if Thing ~= nil then
local Part = Thing[1]
local Mode = Thing[2]
local Delay = Thing[3]
local IncX = Thing[4]
local IncY = Thing[5]
local IncZ = Thing[6]
if Thing[1].Transparency <= 1 then
if Thing[2] == "Block1" then
Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
Mesh = Thing[1].Mesh
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
else
if Thing[2] == "Block2" then
Thing[1].CFrame = Thing[1].CFrame
Mesh = Thing[7]
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
else
if Thing[2] == "Cylinder" then
Mesh = Thing[1].Mesh
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
else
if Thing[2] == "Blood" then
Mesh = Thing[7]
Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
else
if Thing[2] == "Elec" then
Mesh = Thing[1].Mesh
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
else
if Thing[2] == "Disappear" then
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
else
if Thing[2] == "Shatter" then
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
Thing[6] = Thing[6] + Thing[5]
end
end
end
end
end
end
end
else
Part.Parent = nil
table.remove(Effects, e)
end
end
end
end
end
end
| 61.102671 | 272 | 0.628325 |
30810b058b4afe0a78d08109ec83a4610b6819f3 | 2,761 | lua | Lua | libs/group/joinRequest.lua | Uncontained0/lublox | 1d2ca3aba2f904ed410fb75ce7925de59d88b59f | [
"MIT"
] | 1 | 2022-03-13T21:24:16.000Z | 2022-03-13T21:24:16.000Z | libs/group/joinRequest.lua | Uncontained0/lublox | 1d2ca3aba2f904ed410fb75ce7925de59d88b59f | [
"MIT"
] | null | null | null | libs/group/joinRequest.lua | Uncontained0/lublox | 1d2ca3aba2f904ed410fb75ce7925de59d88b59f | [
"MIT"
] | null | null | null | local DateTime = require("util/datetime")
--[=[
@within JoinRequest
@prop Client Client
@readonly
A reference back to the client that owns this object.
]=]
--[=[
@within JoinRequest
@prop Requester User
@readonly
The user that made the request.
]=]
--[=[
@within JoinRequest
@prop Created number
@readonly
When the join request was made (unix time).
]=]
--[=[
This object represents a group join request.
@class JoinRequest
]=]
local JoinRequest = {}
--[=[
Constructs a JoinRequest object, returns nil if there is no join request by that user
for the group.
@param _ JoinRequest
@param Client Client -- The client to make requests with.
@param GroupId Group|number -- The Group or GroupId the join request is for.
@param UserId User|number -- The User or UserId that made the join request.
@param Data {[any]=any} -- Optional preset data. Used within the library, not meant for general use.
@return JoinRequest?
]=]
function JoinRequest.__call (_,Client,GroupId,UserId,Data)
local self = {}
setmetatable(self,{__index=JoinRequest})
self.Client = Client
if type(GroupId) == "number" then
self.Group = Client:Group (GroupId)
elseif type(GroupId) == "table" then
self.Group = GroupId
else
error ("Lublox: Invalid type for group!")
end
if type(UserId) == "number" or type(UserId) == "string" then
self.User = Client:User (UserId)
elseif type(UserId) == "table" then
self.User = UserId
else
error ("Lublox: Invalid type for user!")
end
if type(Data) == "table" then
for i,v in pairs(Data) do
self[i] = v
end
end
if self.Valid then return self end
local Success,Body = Client:Request ("GET","https://groups.roblox.com/v1/groups/"..self.Group.Id.."/join-requests/users/"..self.User.Id)
if Success then
if Body ~= nil then
self.Created = DateTime(Body.created)
return self
end
end
end
--[=[
Accepts the join request, allowing the user into the group. Returns
if the operation was successful.
@return boolean
]=]
function JoinRequest:Accept ()
local Success = self.Client:Request ("POST","https://groups.roblox.com/v1/groups/"..self.Group.Id.."/join-requests/users/"..self.User.Id)
return Success
end
--[=[
Declines the join request. Returns if the operation was successful.
@return boolean
]=]
function JoinRequest:Decline ()
local Success = self.Client:Request ("DELETE","https://groups.roblox.com/v1/groups/"..self.Group.Id.."/join-requests/users/"..self.User.Id)
return Success
end
setmetatable(JoinRequest,JoinRequest)
return JoinRequest | 27.61 | 143 | 0.6523 |
2a3f988203c1c250b26610e5203e1577e860b921 | 9,494 | java | Java | 1.12.2-Forge/src/main/java/me/independed/inceptice/modules/combat/PVPBot.java | Kwiri123/Rage-R8 | 98a93bb89cf6d2462b789c0f46f240476074d844 | [
"WTFPL"
] | 4 | 2021-02-25T10:46:44.000Z | 2021-12-11T04:40:56.000Z | 1.12.2-Forge/src/main/java/me/independed/inceptice/modules/combat/PVPBot.java | Kwiri123/Rage-R8 | 98a93bb89cf6d2462b789c0f46f240476074d844 | [
"WTFPL"
] | null | null | null | 1.12.2-Forge/src/main/java/me/independed/inceptice/modules/combat/PVPBot.java | Kwiri123/Rage-R8 | 98a93bb89cf6d2462b789c0f46f240476074d844 | [
"WTFPL"
] | 2 | 2021-02-13T10:17:08.000Z | 2021-06-20T13:04:12.000Z |
/*
* Decompiled with CFR 0.150.
*
* Could not load the following classes:
* net.minecraft.client.settings.KeyBinding
* net.minecraft.entity.Entity
* net.minecraft.entity.EntityLivingBase
* net.minecraft.entity.item.EntityArmorStand
* net.minecraft.entity.player.EntityPlayer
* net.minecraft.util.EnumHand
* net.minecraftforge.client.event.EntityViewRenderEvent$CameraSetup
* net.minecraftforge.fml.common.eventhandler.SubscribeEvent
* net.minecraftforge.fml.common.gameevent.TickEvent$PlayerTickEvent
* net.minecraftforge.fml.relauncher.Side
* net.minecraftforge.fml.relauncher.SideOnly
*/
package me.independed.inceptice.modules.combat;
import java.util.Comparator;
import java.util.List;
import java.util.Random;
import java.util.stream.Collectors;
import me.independed.inceptice.modules.Module;
import me.independed.inceptice.modules.Module.Category;
import me.independed.inceptice.util.RotationUtils;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityArmorStand;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumHand;
import net.minecraftforge.client.event.EntityViewRenderEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class PVPBot
extends Module {
private int hitDelayTimer = 625;
private long curTimeHit;
private Random random = new Random();
private double posX;
private long curTimeRotate;
private int rotateTimer = 2000;
@Override
public void onEnable() {
super.onEnable();
this.posX = PVPBot.mc.player.posX;
}
public PVPBot() {
super("PVPBot", "automatically pvp", 0, Module.Category.COMBAT);
this.curTimeHit = System.currentTimeMillis();
this.curTimeRotate = System.currentTimeMillis();
}
public static float[] getRotations(Entity entity) {
double d = entity.posX + (entity.posX - entity.lastTickPosX) - PVPBot.mc.player.posX;
double d2 = entity.posY + (double)entity.getEyeHeight() - PVPBot.mc.player.posY + (double)PVPBot.mc.player.getEyeHeight() - 3.5;
double d3 = entity.posZ + (entity.posZ - entity.lastTickPosZ) - PVPBot.mc.player.posZ;
double d4 = Math.sqrt(Math.pow(d, 2.0) + Math.pow(d3, 2.0));
float f = (float)Math.toDegrees(-Math.atan(d / d3));
float f2 = (float)(-Math.toDegrees(Math.atan(d2 / d4)));
if (d < 0.0 && d3 < 0.0) {
f = (float)(90.0 + Math.toDegrees(Math.atan(d3 / d)));
} else if (d > 0.0 && d3 < 0.0) {
f = (float)(-90.0 + Math.toDegrees(Math.atan(d3 / d)));
}
return new float[]{f, f2};
}
@SideOnly(value=Side.SERVER)
@SubscribeEvent
public void onCameraSetup(EntityViewRenderEvent.CameraSetup cameraSetup) {
block21: {
if (PVPBot.mc.player == null || PVPBot.mc.player.isDead) {
return;
}
List list = PVPBot.mc.world.loadedEntityList.stream().filter(entity -> entity != PVPBot.mc.player).filter(entity -> (double)PVPBot.mc.player.getDistance(entity) <= 3.5).filter(entity -> !entity.isDead).filter(this::attackCheck).filter(entity -> !(entity instanceof EntityArmorStand)).sorted(Comparator.comparing(entity -> Float.valueOf(PVPBot.mc.player.getDistance(entity)))).collect(Collectors.toList());
if (list.size() <= 0) break block21;
float[] arrf = PVPBot.getRotations((Entity)((EntityLivingBase)list.get(0)));
arrf[0] = arrf[0] + (float)this.random.nextInt(30) * 0.1f;
arrf[1] = arrf[1] + (float)this.random.nextInt(60) * 0.1f;
float f = arrf[0] - 180.0f;
float f2 = arrf[1];
PVPBot.mc.player.renderYawOffset = f - 180.0f;
PVPBot.mc.player.rotationYawHead = f - 180.0f;
if (f >= 0.0f) {
if (cameraSetup.getYaw() < f) {
while (cameraSetup.getYaw() < f) {
cameraSetup.setYaw(cameraSetup.getYaw() + (float)this.random.nextInt(99) * 0.001f);
}
} else {
while (cameraSetup.getYaw() > f) {
cameraSetup.setYaw(cameraSetup.getYaw() - (float)this.random.nextInt(99) * 0.001f);
}
}
} else if (cameraSetup.getYaw() < f) {
while (cameraSetup.getYaw() < f) {
cameraSetup.setYaw(cameraSetup.getYaw() + (float)this.random.nextInt(99) * 0.001f);
}
} else {
while (cameraSetup.getYaw() > f) {
cameraSetup.setYaw(cameraSetup.getYaw() - (float)this.random.nextInt(99) * 0.001f);
}
}
if (f2 >= 0.0f) {
if (cameraSetup.getPitch() < f2) {
while (cameraSetup.getPitch() < f2) {
cameraSetup.setPitch(cameraSetup.getPitch() + (float)this.random.nextInt(99) * 0.001f);
}
} else {
while (cameraSetup.getPitch() > f2) {
cameraSetup.setPitch(cameraSetup.getPitch() - (float)this.random.nextInt(99) * 0.001f);
}
}
} else if (cameraSetup.getPitch() < f2) {
while (cameraSetup.getPitch() < f2) {
cameraSetup.setPitch(cameraSetup.getPitch() + (float)this.random.nextInt(99) * 0.001f);
}
} else {
while (cameraSetup.getPitch() > f2) {
cameraSetup.setPitch(cameraSetup.getPitch() - (float)this.random.nextInt(99) * 0.001f);
}
}
}
}
private void setRotation(float f, float f2, EntityPlayer entityPlayer) {
PVPBot.mc.player.renderYawOffset = f;
PVPBot.mc.player.rotationYawHead = f;
if (f >= 0.0f) {
if (PVPBot.mc.player.rotationYaw < f) {
while (PVPBot.mc.player.rotationYaw < f) {
PVPBot.mc.player.rotationYaw = (float)((double)PVPBot.mc.player.rotationYaw + (double)this.random.nextInt(99) * 1.0E-4);
}
} else {
while (PVPBot.mc.player.rotationYaw > f) {
PVPBot.mc.player.rotationYaw = (float)((double)PVPBot.mc.player.rotationYaw - (double)this.random.nextInt(99) * 1.0E-4);
}
}
} else if (PVPBot.mc.player.rotationYaw < f) {
while (PVPBot.mc.player.rotationYaw < f) {
PVPBot.mc.player.rotationYaw = (float)((double)PVPBot.mc.player.rotationYaw + (double)this.random.nextInt(99) * 1.0E-4);
}
} else {
while (PVPBot.mc.player.rotationYaw > f) {
PVPBot.mc.player.rotationYaw = (float)((double)PVPBot.mc.player.rotationYaw - (double)this.random.nextInt(99) * 1.0E-4);
}
}
}
@Override
public void onDisable() {
super.onDisable();
KeyBinding.setKeyBindState((int)PVPBot.mc.gameSettings.keyBindForward.getKeyCode(), (boolean)false);
}
public boolean attackCheck(Entity entity) {
return entity instanceof EntityPlayer && ((EntityPlayer)entity).getHealth() > 0.0f && Math.abs(PVPBot.mc.player.rotationYaw - RotationUtils.getNeededRotations((EntityLivingBase)entity)[0]) % 180.0f < 190.0f && !entity.isInvisible() && !entity.getUniqueID().equals(PVPBot.mc.player.getUniqueID());
}
@SubscribeEvent
public void onPlayerTick(TickEvent.PlayerTickEvent playerTickEvent) {
List list;
if (PVPBot.mc.player == null || PVPBot.mc.player.isDead) {
return;
}
KeyBinding.setKeyBindState((int)PVPBot.mc.gameSettings.keyBindForward.getKeyCode(), (boolean)true);
if (PVPBot.mc.player.onGround) {
KeyBinding.setKeyBindState((int)PVPBot.mc.gameSettings.keyBindJump.getKeyCode(), (boolean)true);
}
if ((list = PVPBot.mc.world.loadedEntityList.stream().filter(entity -> entity != PVPBot.mc.player).filter(entity -> PVPBot.mc.player.getDistance(entity) <= 50.0f).filter(entity -> !entity.isDead).filter(this::attackCheck).filter(entity -> !(entity instanceof EntityArmorStand)).sorted(Comparator.comparing(entity -> Float.valueOf(PVPBot.mc.player.getDistance(entity)))).collect(Collectors.toList())).size() > 0) {
float[] arrf = PVPBot.getRotations((Entity)list.get(0));
if (PVPBot.mc.player.getDistance((Entity)list.get(0)) > 7.0f && System.currentTimeMillis() - this.curTimeRotate >= (long)this.rotateTimer) {
this.setRotation(arrf[0], arrf[1], (EntityPlayer)list.get(0));
this.curTimeRotate = System.currentTimeMillis();
}
if ((double)PVPBot.mc.player.getDistance((Entity)list.get(0)) <= 3.5 && System.currentTimeMillis() - this.curTimeHit >= (long)this.hitDelayTimer) {
this.setRotation(arrf[0], arrf[1], (EntityPlayer)list.get(0));
PVPBot.mc.playerController.attackEntity((EntityPlayer)PVPBot.mc.player, (Entity)list.get(0));
PVPBot.mc.player.swingArm(EnumHand.MAIN_HAND);
this.curTimeHit = System.currentTimeMillis();
}
}
}
}
| 49.447917 | 421 | 0.617021 |
c34e8f865dd5584b08374560fed8e4c4fd456175 | 33,825 | rs | Rust | src/hash/pbkdf/scrypt.rs | tom25519/alkali | 403660a8f1dcd7a54b245ec4c42a948a94f58f05 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/hash/pbkdf/scrypt.rs | tom25519/alkali | 403660a8f1dcd7a54b245ec4c42a948a94f58f05 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/hash/pbkdf/scrypt.rs | tom25519/alkali | 403660a8f1dcd7a54b245ec4c42a948a94f58f05 | [
"Apache-2.0",
"MIT"
] | null | null | null | //! The [scrypt](https://www.tarsnap.com/scrypt.html) password-based key derivation algorithm.
//!
//! Please note that the `scrypt` API is missing the `MEM_LIMIT_MODERATE` and `OPS_LIMIT_MODERATE`
//! constants included in [`super::argon2id`] and [`super::argon2i`].
use super::pbkdf_module;
use libsodium_sys as sodium;
pbkdf_module! {
sodium::crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MIN,
sodium::crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVE,
sodium::crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVE,
sodium::crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAX,
sodium::crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MIN,
sodium::crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVE,
sodium::crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVE,
sodium::crypto_pwhash_scryptsalsa208sha256_memlimit_max,
sodium::crypto_pwhash_scryptsalsa208sha256_PASSWD_MIN,
sodium::crypto_pwhash_scryptsalsa208sha256_passwd_max,
sodium::crypto_pwhash_scryptsalsa208sha256_BYTES_MIN,
sodium::crypto_pwhash_scryptsalsa208sha256_bytes_max,
sodium::crypto_pwhash_scryptsalsa208sha256_SALTBYTES,
sodium::crypto_pwhash_scryptsalsa208sha256_STRBYTES,
sodium::crypto_pwhash_scryptsalsa208sha256,
sodium::crypto_pwhash_scryptsalsa208sha256_str,
sodium::crypto_pwhash_scryptsalsa208sha256_str_verify,
sodium::crypto_pwhash_scryptsalsa208sha256_str_needs_rehash,
}
#[cfg(test)]
mod tests {
use super::super::{kdf_tests, verify_password_invalid_tests, verify_password_valid_tests};
kdf_tests! {
{
pass: [0xa3, 0x47, 0xae, 0x92, 0xbc, 0xe9, 0xf8, 0x0f, 0x6f, 0x59, 0x5a, 0x44, 0x80,
0xfc, 0x9c, 0x2f, 0xe7, 0xe7, 0xd7, 0x14, 0x8d, 0x37, 0x1e, 0x94, 0x87, 0xd7,
0x5f, 0x5c, 0x23, 0x00, 0x8f, 0xfa, 0xe0, 0x65, 0x57, 0x7a, 0x92, 0x8f, 0xeb,
0xd9, 0xb1, 0x97, 0x3a, 0x5a, 0x95, 0x07, 0x3a, 0xcd, 0xbe, 0xb6, 0xa0, 0x30,
0xcf, 0xc0, 0xd7, 0x9c, 0xaa, 0x2d, 0xc5, 0xcd, 0x01, 0x1c, 0xef, 0x02, 0xc0,
0x8d, 0xa2, 0x32, 0xd7, 0x6d, 0x52, 0xdf, 0xbc, 0xa3, 0x8c, 0xa8, 0xdc, 0xbd,
0x66, 0x5b, 0x17, 0xd1, 0x66, 0x5f, 0x7c, 0xf5, 0xfe, 0x59, 0x77, 0x2e, 0xc9,
0x09, 0x73, 0x3b, 0x24, 0xde, 0x97, 0xd6, 0xf5, 0x8d, 0x22, 0x0b, 0x20, 0xc6,
0x0d, 0x7c, 0x07, 0xec, 0x1f, 0xd9, 0x3c, 0x52, 0xc3, 0x10, 0x20, 0x30, 0x0c,
0x6c, 0x1f, 0xac, 0xd7, 0x79, 0x37, 0xa5, 0x97, 0xc7, 0xa6],
salt: [0x55, 0x41, 0xfb, 0xc9, 0x95, 0xd5, 0xc1, 0x97, 0xba, 0x29, 0x03, 0x46, 0xd2,
0xc5, 0x59, 0xde, 0xdf, 0x40, 0x5c, 0xf9, 0x7e, 0x5f, 0x95, 0x48, 0x21, 0x43,
0x20, 0x2f, 0x9e, 0x74, 0xf5, 0xc2],
ops: 32768,
mem: 16777216,
out: [0xd5, 0x49, 0x16, 0x74, 0x80, 0x76, 0xb9, 0xd9, 0xf7, 0x21, 0x98, 0xc8, 0xfb,
0xef, 0x56, 0x34, 0x62, 0xdc, 0x8c, 0x70, 0x6e, 0x1a, 0xd3, 0x8a, 0xbd, 0x1f,
0xac, 0x57, 0x00, 0x16, 0x72, 0x1a, 0xcd, 0x0a, 0x76, 0x59, 0xab, 0x49, 0xa4,
0x72, 0x99, 0xa9, 0x96, 0xb4, 0x35, 0x97, 0x69, 0x0c, 0x0c, 0x94, 0x71, 0x43,
0x06, 0x9f, 0x35, 0xd8, 0x3e, 0x60, 0x62, 0x73, 0xdb, 0xf2, 0xd6, 0x22, 0x32,
0x13, 0x93, 0x94, 0x9b, 0x8e, 0xd5, 0xa6, 0x83, 0x15, 0x36, 0x2c, 0x4f, 0x84,
0x80, 0x43, 0x84, 0xd0, 0x5e, 0x0e, 0x0e, 0x86, 0xbc, 0x00, 0xe3, 0x64, 0x12,
0x33, 0xf9, 0xf9, 0x75, 0xab, 0x46, 0xb6, 0x0b, 0xa1, 0x85, 0xc5, 0xe5, 0xfe,
0x47, 0xf7, 0x8e, 0xfd, 0x20, 0x7e, 0x69, 0xfd, 0x8f, 0x63, 0x90, 0x73, 0x08,
0x28, 0xb9, 0x3b, 0x9b, 0x37, 0x63, 0xea, 0x12, 0x83, 0xca, 0xa0, 0x3b, 0xc3,
0x67, 0x26, 0x76, 0x37, 0x15, 0xde, 0x81, 0x19, 0x15, 0x68, 0x1d, 0xd2, 0x14,
0x52, 0x4f, 0x5a, 0xd4, 0xdd, 0x38, 0x66, 0x08, 0xca, 0xc6, 0xc7, 0xf2],
},
{
pass: [0xe1, 0x25, 0xce, 0xe6, 0x1c, 0x8c, 0xb7, 0x77, 0x8d, 0x9e, 0x5a, 0xd0, 0xa6,
0xf5, 0xd9, 0x78, 0xce, 0x9f, 0x84, 0xde, 0x21, 0x3a, 0x85, 0x56, 0xd9, 0xff,
0xe2, 0x02, 0x02, 0x0a, 0xb4, 0xa6, 0xed, 0x90, 0x74, 0xa4, 0xeb, 0x34, 0x16,
0xf9, 0xb1, 0x68, 0xf1, 0x37, 0x51, 0x0f, 0x3a, 0x30, 0xb7, 0x0b, 0x96, 0xcb,
0xfa, 0x21, 0x9f, 0xf9, 0x9f, 0x6c, 0x6e, 0xaf, 0xfb, 0x15, 0xc0, 0x6b, 0x60,
0xe0, 0x0c, 0xc2, 0x89, 0x02, 0x77, 0xf0, 0xfd, 0x3c, 0x62, 0x21, 0x15, 0x77,
0x2f, 0x70, 0x48, 0xad, 0xae, 0xbe, 0xd8, 0x6e],
salt: [0xf1, 0x19, 0x2d, 0xd5, 0xdc, 0x23, 0x68, 0xb9, 0xcd, 0x42, 0x13, 0x38, 0xb2,
0x24, 0x33, 0x45, 0x5e, 0xe0, 0xa3, 0x69, 0x9f, 0x93, 0x79, 0xa0, 0x8b, 0x96,
0x50, 0xea, 0x2c, 0x12, 0x6f, 0x0d],
ops: 535778,
mem: 16777216,
out: [0xd6, 0x62, 0xfb, 0xc6, 0x25, 0xad, 0xef, 0x2c, 0xd2, 0x7a, 0xfa, 0x89, 0x9e,
0xcc, 0x9a, 0x4d, 0xd9, 0x07, 0x36, 0x2d, 0x77, 0x16, 0xe9, 0xa1, 0x7e, 0x72,
0xd3, 0x74, 0xdb, 0xd8, 0x84, 0x53, 0x10, 0xe3, 0xdc, 0x56, 0x97, 0xc9, 0x66,
0x7e, 0xc7, 0x81, 0x1e, 0x2b, 0xdc, 0x15, 0xbf, 0xc0, 0x0c, 0xae, 0x05, 0xc4,
0x54, 0x3d, 0x85, 0x9f, 0xfe, 0x8c, 0xe4, 0x94, 0xd1, 0xd2, 0x28, 0xb0, 0xbb,
0xa3, 0xe3, 0xa3, 0xc5, 0x0b, 0x26, 0x96, 0x2b, 0x15, 0x7f, 0x05, 0x6d, 0x44,
0xd5, 0xbb, 0xde, 0x6d, 0xf2, 0x4b, 0xd8, 0x96, 0xf0, 0x72, 0x6f, 0x41, 0xa1,
0xc3, 0xe2, 0xc2, 0xdd, 0x66, 0x3c, 0x4b, 0x45, 0x5b, 0x48, 0x78, 0x21, 0x90,
0xd2, 0x2b, 0xf3, 0xf7, 0xae, 0x37, 0x29, 0x92, 0xea, 0xd6, 0xd6, 0x9d, 0x0b,
0x1d, 0xd2, 0xf9, 0x4e, 0x64, 0xe5, 0x6d, 0xfc, 0x30, 0x51, 0xb0, 0x75, 0xcc,
0x95, 0xe4, 0x7c, 0xcd, 0xbb, 0xa3, 0x61, 0xb5, 0xfc, 0x53, 0x09, 0xd3, 0x43,
0xa1, 0xdb, 0xa7, 0xb1, 0xec, 0xb3, 0x3b, 0x30, 0x20, 0x15, 0x96, 0xee, 0x5f,
0xf4, 0x21, 0xf1, 0x2b, 0xb5, 0xc7, 0x72, 0x86, 0x44, 0x37, 0x46, 0xd7, 0xbd,
0xb1, 0x06, 0x00, 0x8c, 0x07, 0x3c, 0x05, 0x47, 0xc1, 0xf0, 0x66, 0xa6, 0x70,
0x02, 0xef, 0xd0, 0xfe, 0xcf, 0x66, 0xe7, 0xa6, 0x4c, 0x94, 0x51, 0x6d, 0x6e,
0xec, 0xca, 0x00, 0xb4, 0xed, 0x85, 0x7e, 0x17, 0xcd, 0x1d, 0xaf, 0x6b, 0x35,
0x70, 0x74, 0x02, 0x2a, 0x03, 0xb8, 0x6f, 0x25, 0xa4, 0x65, 0x5c, 0xb4, 0xa3,
0x74, 0x13, 0x31, 0x32, 0x9c, 0xa9, 0xfd, 0x73, 0x32, 0x14, 0x1a, 0xe0, 0x26,
0x77, 0xd3, 0x0b, 0x5c, 0x26, 0x18, 0xfc, 0xdc, 0x01, 0x65, 0x53, 0x3c, 0xa2,
0x2a, 0xdb, 0xdb],
},
{
pass: [0x92, 0x26, 0x3c, 0xbf, 0x6a, 0xc3, 0x76, 0x49, 0x9f, 0x68, 0xa4, 0x28, 0x9d,
0x3b, 0xb5, 0x9e, 0x5a, 0x22, 0x33, 0x5e, 0xba, 0x63, 0xa3, 0x2e, 0x64, 0x10,
0x24, 0x91, 0x55, 0xb9, 0x56, 0xb6, 0xa3, 0xb4, 0x8d, 0x4a, 0x44, 0x90, 0x6b,
0x18, 0xb8, 0x97, 0x12, 0x73, 0x00, 0xb3, 0x75, 0xb8, 0xf8, 0x34, 0xf1, 0xce,
0xff, 0xc7, 0x08, 0x80, 0xa8, 0x85, 0xf4, 0x7c, 0x33, 0x87, 0x67, 0x17, 0xe3,
0x92, 0xbe, 0x57, 0xf7, 0xda, 0x3a, 0xe5, 0x8d, 0xa4, 0xfd, 0x1f, 0x43, 0xda,
0xa7, 0xe4, 0x4b, 0xb8, 0x2d, 0x37, 0x17, 0xaf, 0x43, 0x19, 0x34, 0x9c, 0x24,
0xcd, 0x31, 0xe4, 0x6d, 0x29, 0x58, 0x56, 0xb0, 0x44, 0x1b, 0x6b, 0x28, 0x99,
0x92, 0xa1, 0x1c, 0xed, 0x1c, 0xc3, 0xbf, 0x30, 0x11, 0x60, 0x45, 0x90, 0x24,
0x4a, 0x3e, 0xb7, 0x37, 0xff, 0x22, 0x11, 0x29, 0x21, 0x5e, 0x4e, 0x43, 0x47,
0xf4, 0x91, 0x5d, 0x41, 0x29, 0x2b, 0x51, 0x73, 0xd1, 0x96, 0xeb, 0x9a, 0xdd,
0x69, 0x3b, 0xe5, 0x31, 0x9f, 0xda, 0xdc, 0x24, 0x29, 0x06, 0x17, 0x8b, 0xb6,
0xc0, 0x28, 0x6c, 0x9b, 0x6c, 0xa6, 0x01, 0x27, 0x46, 0x71, 0x1f, 0x58, 0xc8,
0xc3, 0x92, 0x01, 0x6b, 0x2f, 0xdf, 0xc0, 0x9c, 0x64, 0xf0, 0xf6, 0xb6, 0xab,
0x7b],
salt: [0x3b, 0x84, 0x0e, 0x20, 0xe9, 0x55, 0x5e, 0x9f, 0xb0, 0x31, 0xc4, 0xba, 0x1f,
0x17, 0x47, 0xce, 0x25, 0xcc, 0x1d, 0x0f, 0xf6, 0x64, 0xbe, 0x67, 0x6b, 0x9b,
0x4a, 0x90, 0x64, 0x1f, 0xf1, 0x94],
ops: 311757,
mem: 16777216,
out: [0x50, 0x38, 0xc0, 0x48, 0x35, 0xce, 0x37, 0x0d, 0x8c, 0x87, 0x16, 0x58, 0xcc,
0xad, 0x62, 0xb7, 0x0a, 0xef, 0xe6, 0xdd, 0xcb, 0x65, 0x36, 0x59, 0xc4, 0x27,
0x09, 0x76, 0xf0, 0x95, 0xb1, 0xf4, 0x5a, 0xbc, 0x19, 0x1a, 0xc4, 0x61, 0xcd,
0x2e, 0xe5, 0xfc, 0x62, 0xb3, 0x35, 0x12, 0x11, 0x7f, 0x40, 0x54, 0x69, 0x84,
0x61, 0x9c, 0x04, 0x59, 0xd4, 0xdc, 0xf5, 0x7d, 0x1c, 0xe8, 0xf4, 0xbb, 0xb7,
0x89, 0xdf, 0x3e, 0x68, 0xf0, 0x35, 0xf9, 0xed, 0x78, 0x8a, 0x80, 0x8e, 0xf9,
0x3a, 0xc0, 0xeb, 0x5f, 0x9b, 0xf3, 0x5c, 0xdb, 0x1c, 0x7f, 0xc1, 0x30, 0x97,
0x09, 0xbd, 0xbb, 0x12, 0x07, 0xe4, 0x48, 0xd5, 0x67, 0xd3, 0xef, 0x7b, 0x6b,
0x2a, 0x4b, 0x0d, 0xc8, 0xb5, 0xde, 0xf7, 0xc4, 0x7d, 0xea, 0xfe, 0xbf, 0x6e,
0x98, 0xe6, 0xae, 0x1c, 0xae, 0xc7, 0x9a, 0x09, 0x26, 0x42, 0xe3, 0x68, 0x13,
0x4d, 0x33, 0x2e, 0xd6, 0xed, 0xdc, 0x3a, 0xf0, 0xc9, 0x43, 0x20, 0x9b, 0x06,
0xfb, 0x36, 0xc5, 0xd7, 0xc3, 0x82, 0x17, 0x04, 0x8a, 0x8b, 0x1b, 0x1c, 0x96,
0xef, 0xb6, 0xce, 0x0a, 0xd1, 0x5d, 0x1b, 0x93, 0x99, 0x67, 0x05, 0x31, 0x4f,
0xf4, 0x34, 0xf2, 0xe8, 0x8f, 0xbc, 0x0a, 0x53, 0x94, 0xbc, 0x67, 0x92, 0x7d,
0x38, 0x23, 0x61, 0xba, 0x40, 0xd4, 0x3e, 0x99, 0x37, 0x0b, 0xfa, 0xa4, 0xae,
0x20, 0xff, 0x4e, 0x41, 0xd9, 0xba, 0x56, 0xea, 0x55, 0x86, 0x70, 0x6a, 0x63,
0x7f, 0x5d, 0x1e, 0x65, 0xd5, 0x2d, 0xd6, 0x72, 0x1b, 0xd1, 0xe7, 0x18, 0x0f,
0xee, 0x51, 0x2f, 0x80, 0x48, 0x0e, 0x48, 0x26, 0x16, 0x32, 0x60, 0xac, 0x35,
0xf6, 0xf1, 0xca, 0x6c, 0x6f, 0xd7, 0x29, 0xc5, 0x40, 0x9d, 0x42, 0x0d, 0xc3,
0x71, 0x9d],
},
{
pass: [0x4a, 0x85, 0x7e, 0x2e, 0xe8, 0xaa, 0x9b, 0x60, 0x56, 0xf2, 0x42, 0x4e, 0x84,
0xd2, 0x4a, 0x72, 0x47, 0x33, 0x78, 0x90, 0x6e, 0xe0, 0x4a, 0x46, 0xcb, 0x05,
0x31, 0x15, 0x02, 0xd5, 0x25, 0x0b, 0x82, 0xad, 0x86, 0xb8, 0x3c, 0x8f, 0x20,
0xa2, 0x3d, 0xbb, 0x74, 0xf6, 0xda, 0x60, 0xb0, 0xb6, 0xec, 0xff, 0xd6, 0x71,
0x34, 0xd4, 0x59, 0x46, 0xac, 0x8e, 0xbf, 0xb3, 0x06, 0x42, 0x94, 0xbc, 0x09,
0x7d, 0x43, 0xce, 0xd6, 0x86, 0x42, 0xbf, 0xb8, 0xbb, 0xbd, 0xd0, 0xf5, 0x0b,
0x30, 0x11, 0x8f, 0x5e],
salt: [0x39, 0xd8, 0x2e, 0xef, 0x32, 0x01, 0x0b, 0x8b, 0x79, 0xcc, 0x5b, 0xa8, 0x8e,
0xd5, 0x39, 0xfb, 0xab, 0xa7, 0x41, 0x10, 0x0f, 0x2e, 0xdb, 0xec, 0xa7, 0xcc,
0x17, 0x1f, 0xfe, 0xab, 0xf2, 0x58],
ops: 758010,
mem: 16777216,
out: [0xa7, 0x57, 0xcc, 0xa7, 0xdd, 0x90, 0xf4, 0x86, 0xe0, 0x38, 0x28, 0xa9, 0x78,
0xe5, 0xb7, 0xfd, 0x3e, 0x85, 0x71, 0x70, 0x2a, 0xf9, 0xa0, 0x9d, 0xef, 0x4d,
0xda, 0xa7, 0x1a, 0x3b, 0x01, 0x27, 0x0c, 0x95, 0x90, 0x6f, 0x40, 0x87, 0xf9,
0xef, 0x0e, 0x2c, 0x6a, 0xa5, 0x39, 0xa4, 0xd5, 0x3e, 0xc6, 0xc6, 0xd5, 0x26,
0x4f, 0x63, 0x13, 0xab, 0xf5, 0x32, 0xc8, 0xd7, 0xfd, 0x70, 0xd4, 0x5c, 0x2a,
0x30, 0x14, 0x63, 0x31, 0x2b, 0xd5, 0x8c, 0xfa, 0x76, 0x6e, 0x93, 0xd2, 0xc5,
0xb9, 0xa9, 0xb6, 0xa7, 0xd4, 0x80, 0x67, 0x76, 0xcd, 0xd0, 0x9c, 0xbb, 0xa4,
0x4f, 0xe8, 0x0f, 0xe4, 0xbe, 0x77, 0x52, 0x0b, 0xfd, 0xae, 0x13, 0xb5, 0x52,
0xc2, 0x95, 0x0e, 0xb2, 0xf8, 0x6c, 0xb4, 0xc7, 0xab, 0x9d, 0xfc, 0x0d, 0x6c,
0x09, 0xa1, 0xd7, 0xdc, 0xb3, 0x5c, 0x5c, 0x61, 0x1e, 0x1f, 0x4b, 0x9f, 0x67,
0x00, 0xc6, 0xcc, 0x89, 0x67, 0x88, 0x6d, 0x05, 0xe7, 0x4f, 0x56, 0x44, 0x4a,
0x9d, 0x63, 0x6c, 0x5d, 0x03, 0xd1, 0x33, 0x20, 0x57, 0x2f, 0x58, 0x0c, 0x97,
0xc3, 0x9b, 0x11, 0x16, 0x17, 0x6e, 0xe5, 0xde, 0xd8, 0x0a, 0xe4, 0x8a, 0xb3,
0xbf, 0x0a, 0x51, 0xd2, 0x43, 0x8c, 0x98, 0xc1, 0x49, 0xe2, 0x96, 0xea, 0xcb,
0x02, 0x1f, 0xc0, 0x1d, 0xdd, 0xb1, 0x2e, 0x45],
},
{
pass: [0x18, 0x45, 0xe3, 0x75, 0x47, 0x95, 0x37, 0xe9, 0xdd, 0x4f, 0x44, 0x86, 0xd5,
0xc9, 0x1a, 0xc7, 0x27, 0x75, 0xd6, 0x66, 0x05, 0xee, 0xb1, 0x1a, 0x78, 0x7b,
0x78, 0xa7, 0x74, 0x5f, 0x1f, 0xd0, 0x05, 0x2d, 0x52, 0x6c, 0x67, 0x23, 0x5d,
0xba, 0xe1, 0xb2, 0xa4, 0xd5, 0x75, 0xa7, 0x4c, 0xb5, 0x51, 0xc8, 0xe9, 0x09,
0x6c, 0x59, 0x3a, 0x49, 0x7a, 0xee, 0x74, 0xba, 0x30, 0x47, 0xd9, 0x11, 0x35,
0x8e, 0xde, 0x57, 0xbc, 0x27, 0xc9, 0xea, 0x18, 0x29, 0x82, 0x43, 0x48, 0xda,
0xaa, 0xb6, 0x06, 0x21, 0x7c, 0xc9, 0x31, 0xdc, 0xb6, 0x62, 0x77, 0x87, 0xbd,
0x6e, 0x4e, 0x58, 0x54, 0xf0, 0xe8],
salt: [0x3e, 0xe9, 0x1a, 0x80, 0x5a, 0xa6, 0x2c, 0xfb, 0xe8, 0xdc, 0xe2, 0x9a, 0x2d,
0x9a, 0x44, 0x37, 0x3a, 0x50, 0x06, 0xf4, 0xa4, 0xce, 0x24, 0x02, 0x2a, 0xca,
0x9c, 0xec, 0xb2, 0x9d, 0x14, 0x73],
ops: 233177,
mem: 16777216,
out: [0x82, 0x76, 0x5c, 0x04, 0x0c, 0x58, 0xc1, 0x81, 0x0f, 0x8c, 0x05, 0x3e, 0xf5,
0xc2, 0x48, 0x55, 0x62, 0x99, 0x38, 0x54, 0x76, 0xbd, 0xe4, 0x4b, 0xdd, 0x91,
0xa0, 0xd9, 0xa2, 0x39, 0xf2, 0x4e, 0x9b, 0x17, 0x17, 0xfd, 0x8b, 0x23, 0x20,
0x9f, 0xfa, 0x45, 0xb7, 0xaa, 0x79, 0x37, 0x29, 0x6c, 0x60, 0x1b, 0x79, 0xe7,
0x7d, 0xa9, 0x9e, 0x8d, 0x2f, 0xda, 0x0e, 0xa4, 0x45, 0x9b, 0xe2, 0xd0, 0x90,
0x0f, 0x5b, 0xc5, 0xa2, 0x69, 0xb5, 0x48, 0x8d, 0x87, 0x3d, 0x46, 0x32, 0xd1,
0xba, 0xf7, 0x59, 0x65, 0xe5, 0x09, 0xee, 0x24, 0xb1, 0x25, 0x01, 0xa9, 0xce,
0x3b, 0xbb, 0xd8, 0xb7, 0xd7, 0x59, 0x98, 0x7d, 0x54, 0x5a, 0x1c, 0x22, 0x1a,
0x36, 0x31, 0x95, 0xe5, 0x80, 0x2d, 0x76, 0x8b, 0x3b, 0x9e, 0x00, 0xeb, 0xe5,
0xac, 0x0e, 0xd8, 0xad, 0x23, 0x62, 0xc1, 0xc4, 0x15, 0x7b, 0x91, 0x0a, 0x40,
0xf9, 0x4a, 0xdf, 0x25, 0x61, 0xa2, 0xb0, 0xd3, 0xe6, 0x5d, 0xbb, 0x06, 0xf2,
0x44, 0xe5, 0xac, 0x44, 0xd3, 0x62, 0x10, 0x3d, 0xf5, 0x4c, 0x9b, 0x91, 0x75,
0x77, 0x7b, 0x3d, 0xb1, 0xcd, 0xad, 0xb0, 0x3e, 0x97, 0x7a, 0xb8, 0xa7, 0x9b,
0xaf, 0x1e, 0x1e, 0x18, 0xec, 0x9f, 0x5d, 0x0f, 0x25, 0xc4, 0x87, 0xdd, 0xc5,
0x3d, 0x7e, 0x81, 0x91, 0x0f, 0x83, 0x57, 0x6b, 0x44, 0xe9, 0xca, 0xee, 0xce,
0x26, 0xe2, 0xeb, 0x37, 0x65, 0x69, 0xad, 0x3a, 0x8c, 0xdc, 0xcb, 0xde, 0x8b,
0xc3, 0x55, 0x21, 0x0e],
},
{
pass: [0xc7, 0xb0, 0x9a, 0xec, 0x68, 0x0e, 0x7b, 0x42, 0xfe, 0xdd, 0x7f, 0xc7, 0x92,
0xe7, 0x8b, 0x2f, 0x6c, 0x1b, 0xea, 0x8f, 0x4a, 0x88, 0x43, 0x20, 0xb6, 0x48,
0xf8, 0x1e, 0x8c, 0xf5, 0x15, 0xe8, 0xba, 0x9d, 0xcf, 0xb1, 0x1d, 0x43, 0xc4,
0xaa, 0xe1, 0x14, 0xc1, 0x73, 0x4a, 0xa6, 0x9c, 0xa8, 0x2d, 0x44, 0x99, 0x83,
0x65, 0xdb, 0x9c, 0x93, 0x74, 0x4f, 0xa2, 0x8b, 0x63, 0xfd, 0x16, 0x00, 0x0e,
0x82, 0x61, 0xcb, 0xbe, 0x08, 0x3e, 0x7e, 0x2d, 0xa1, 0xe5, 0xf6, 0x96, 0xbd,
0xe0, 0x83, 0x4f, 0xe5, 0x31, 0x46, 0xd7, 0xe0, 0xe3, 0x5e, 0x7d, 0xe9, 0x92,
0x0d, 0x04, 0x1f, 0x5a, 0x56, 0x21, 0xaa, 0xbe, 0x02, 0xda, 0x3e, 0x2b, 0x09,
0xb4, 0x05, 0xb7, 0x79, 0x37, 0xef, 0xef, 0x31, 0x97, 0xbd, 0x57, 0x72, 0xe4,
0x1f, 0xdb, 0x73, 0xfb, 0x52, 0x94, 0x47, 0x8e, 0x45, 0x20, 0x80, 0x63, 0xb5,
0xf5, 0x8e, 0x08, 0x9d, 0xbe, 0xb6, 0xd6, 0x34, 0x2a, 0x90, 0x9c, 0x13, 0x07,
0xb3, 0xff, 0xf5, 0xfe, 0x2c, 0xf4, 0xda, 0x56, 0xbd, 0xae, 0x50, 0x84, 0x8f],
salt: [0x03, 0x9c, 0x05, 0x6d, 0x93, 0x3b, 0x47, 0x50, 0x32, 0x77, 0x7e, 0xdb, 0xaf,
0xfa, 0xc5, 0x0f, 0x14, 0x3f, 0x64, 0xc1, 0x23, 0x32, 0x9e, 0xd9, 0xcf, 0x59,
0xe3, 0xb6, 0x5d, 0x3f, 0x43, 0xb6],
ops: 234753,
mem: 16777216,
out: [0xca, 0x92, 0x16, 0xd4, 0x12, 0x7e, 0x2e, 0x4a, 0x6e, 0xe3, 0x58, 0x4b, 0x49,
0xbe, 0x10, 0x62, 0x17, 0xbb, 0x61, 0xcc, 0x80, 0x70, 0x16, 0xd4, 0x6d, 0x0c,
0xfb, 0xb1, 0xfd, 0x72, 0x2e, 0x2b, 0xba, 0xc3, 0x35, 0x41, 0x38, 0x6b, 0xdf,
0xea, 0xc4, 0x1a, 0x29, 0x9e, 0xad, 0x22, 0x79, 0x09, 0x93, 0xfc, 0xaa, 0x8e,
0x1d, 0x23, 0xbd, 0x1c, 0x84, 0x26, 0xaf, 0xa5, 0xff, 0x4c, 0x08, 0xe7, 0x31,
0xdc, 0x47, 0x6e, 0xf8, 0x34, 0xf1, 0x42, 0xc3, 0x2d, 0xfb, 0x2c, 0x1b, 0xe1,
0x2b, 0x99, 0x78, 0x80, 0x2e, 0x63, 0xb2, 0xcd, 0x6f, 0x22, 0x6b, 0x1a, 0x8d,
0xf5, 0x9f, 0x0c, 0x79, 0x15, 0x4d, 0x7e, 0xf4, 0x29, 0x6a, 0x68, 0xec, 0x65,
0x45, 0x38, 0xd9, 0x87, 0x10, 0x4f, 0x9a, 0x11, 0xac, 0xa1, 0xb7, 0xc8, 0x3a,
0xb2, 0xed, 0x8f, 0xd6, 0x9d, 0xa6, 0xb8, 0x8f, 0x0b, 0xcb, 0xd2, 0x7d, 0x3f,
0xea, 0x01, 0x32, 0x9c, 0xec, 0xf1, 0x0c, 0x57, 0xec, 0x3b, 0xa1, 0x63, 0xd5,
0x7b, 0x38, 0x80, 0x1b, 0xd6, 0xc3, 0xb3, 0x1c, 0xe5, 0x27, 0xb3, 0x37, 0x17,
0xbb, 0x56, 0xa4, 0x6f, 0x78, 0xfb, 0x96, 0xbe, 0x9f, 0x24, 0x24, 0xa2, 0x1b,
0x32, 0x84, 0x23, 0x23, 0x88, 0xcb, 0xba, 0x6a, 0x74],
},
{
pass: [0x8f, 0x3a, 0x06, 0xe2, 0xfd, 0x87, 0x11, 0x35, 0x0a, 0x51, 0x7b, 0xb1, 0x2e,
0x31, 0xf3, 0xd3, 0x42, 0x3e, 0x8d, 0xc0, 0xbb, 0x14, 0xaa, 0xc8, 0x24, 0x0f,
0xca, 0x09, 0x95, 0x93, 0x8d, 0x59, 0xbb, 0x37, 0xbd, 0x0a, 0x7d, 0xfc, 0x9c,
0x9c, 0xc0, 0x70, 0x56, 0x84, 0xb4, 0x66, 0x12, 0xe8, 0xc8, 0xb1, 0xd6, 0x65,
0x5f, 0xb0, 0xf9, 0x88, 0x75, 0x62, 0xbb, 0x98, 0x99, 0x79, 0x1a, 0x02, 0x50,
0xd1, 0x32, 0x0f, 0x94, 0x5e, 0xda, 0x48, 0xcd, 0xc2, 0x0c, 0x23, 0x3f, 0x40,
0xa5, 0xbb, 0x0a, 0x7e, 0x3a, 0xc5, 0xad, 0x72, 0x50, 0xce, 0x68, 0x4f, 0x68,
0xfc, 0x0b, 0x8c, 0x96, 0x33, 0xbf, 0xd7, 0x5a, 0xad, 0x11, 0x65, 0x25, 0xaf,
0x7b, 0xdc, 0xdb, 0xbd, 0xb4, 0xe0, 0x0a, 0xb1, 0x63, 0xfd, 0x4d, 0xf0, 0x8f,
0x24, 0x3f, 0x12, 0x55, 0x7e],
salt: [0x90, 0x63, 0x1f, 0x68, 0x6a, 0x8c, 0x3d, 0xbc, 0x07, 0x03, 0xff, 0xa3, 0x53,
0xbc, 0x1f, 0xdf, 0x35, 0x77, 0x45, 0x68, 0xac, 0x62, 0x40, 0x6f, 0x98, 0xa1,
0x3e, 0xd8, 0xf4, 0x75, 0x95, 0xfd],
ops: 695191,
mem: 16777216,
out: [0x64, 0x29, 0xae, 0xe4, 0x20, 0x8c, 0x89, 0x84, 0x2d, 0x3c, 0x84, 0xb9, 0x9f,
0xd1, 0xc2, 0xeb, 0x96, 0xed, 0xb6, 0x09, 0xd7, 0xdd, 0x4a, 0xa7, 0xa3, 0x57,
0x33, 0xea, 0xa6, 0x94, 0x95, 0x3e, 0xba, 0x57, 0x01, 0xaa, 0x24, 0xbd, 0xeb,
0x9c, 0x42, 0xfa, 0x70, 0xc8, 0x75, 0x41, 0xe7, 0x5d, 0x24, 0x7f, 0xc5, 0xc4,
0x49, 0x20, 0x5c],
},
{
pass: [0xb5, 0x40, 0xbe, 0xb0, 0x16, 0xa5, 0x36, 0x65, 0x24, 0xd4, 0x60, 0x51, 0x56,
0x49, 0x3f, 0x98, 0x74, 0x51, 0x4a, 0x5a, 0xa5, 0x88, 0x18, 0xcd, 0x0c, 0x6d,
0xff, 0xfa, 0xa9, 0xe9, 0x02, 0x05, 0xf1, 0x7b],
salt: [0x44, 0x07, 0x1f, 0x6d, 0x18, 0x15, 0x61, 0x67, 0x0b, 0xda, 0x72, 0x8d, 0x43,
0xfb, 0x79, 0xb4, 0x43, 0xbb, 0x80, 0x5a, 0xfd, 0xeb, 0xaf, 0x98, 0x62, 0x2b,
0x51, 0x65, 0xe0, 0x1b, 0x15, 0xfb],
ops: 78652,
mem: 16777216,
out: [0xd7, 0xb1, 0xef, 0x46, 0x4b, 0xe0, 0x3c, 0xe9, 0x05, 0x0b, 0x51, 0x08, 0xe2,
0x5f, 0x0b, 0x8e, 0x82, 0x12, 0x99, 0x98, 0x6f, 0xe0, 0xff, 0x89, 0xe1, 0x7f,
0xba, 0xe6, 0x5b, 0xa9, 0xfa, 0xd1, 0x67, 0xfb, 0xd2, 0x65, 0x86, 0x6a, 0xc0,
0x3e, 0xfc, 0x86, 0xab, 0x0b, 0x50, 0xd4, 0x6d, 0x67, 0x40, 0xa5, 0x9a, 0xdf,
0x59, 0x49, 0xb4, 0x4f, 0x7f, 0x9f, 0x3a, 0xc3, 0xf3, 0xd4, 0xcc, 0x9f, 0x12,
0x89, 0x66, 0xdb, 0x90, 0x99, 0xde, 0xb1, 0xb6, 0xb7, 0x85, 0x05, 0x24, 0x2b,
0x24, 0x01, 0xa1, 0x93, 0x82, 0x04, 0x08, 0xeb, 0x07, 0x80, 0xb2, 0x71, 0x62,
0xeb, 0xaf, 0xb7, 0xc5, 0x05, 0xb0, 0xe7, 0xc3, 0x2c, 0xe6, 0x6c, 0x6e, 0xfc,
0x0b, 0xe4, 0x87, 0x00, 0x8c, 0x12, 0x01, 0x45, 0x46, 0x80, 0x49, 0x8a, 0x2f,
0xc0, 0x6e, 0x00, 0xb4, 0x54, 0xe0, 0xb2, 0x09, 0x33, 0x90, 0x6b, 0xbb, 0x0e,
0x43, 0xb3, 0x99, 0xb9, 0xee, 0x46, 0xd8, 0x82, 0xf1, 0x07, 0xdf, 0x1e, 0xbd,
0xd1, 0xe7, 0xcd, 0x86, 0x7c, 0x9c, 0xdb, 0xa6, 0x01, 0x5b, 0x7e, 0x80, 0x06,
0x4a, 0xe8, 0xb3, 0x41, 0x7d, 0x96, 0x95, 0x24, 0xbe, 0xc0, 0x46, 0xe7, 0x82,
0xa1, 0x3b, 0x12, 0x5f, 0x05, 0x8c, 0xd3, 0x6b, 0x5d, 0x1a, 0xe6, 0x58, 0x86,
0xae, 0x7c, 0xaa, 0xb4, 0x5a, 0x6d, 0x98, 0x65, 0x1a, 0xda, 0x43, 0x5b, 0x8e,
0xe1, 0x1d, 0x5c, 0x12, 0x24, 0x23, 0x2f, 0x5f, 0x51, 0x5d, 0xf9, 0x74, 0x13,
0x8d, 0xd6, 0xcf, 0x34, 0x7b, 0x73, 0x04, 0x81, 0xd4, 0xb0, 0x73, 0xaf, 0x8f,
0xf0, 0x39, 0x4f, 0xe9, 0xf0, 0xb8, 0xcd, 0xfd, 0x99, 0xf5],
},
{
pass: [0xa1, 0x49, 0x75, 0xc2, 0x6c, 0x08, 0x87, 0x55, 0xa8, 0xb7, 0x15, 0xff, 0x25,
0x28, 0xd6, 0x47, 0xcd, 0x34, 0x39, 0x87, 0xfc, 0xf4, 0xaa, 0x25, 0xe7, 0x19,
0x4a, 0x84, 0x17, 0xfb, 0x2b, 0x4b, 0x3f, 0x72, 0x68, 0xda, 0x9f, 0x31, 0x82,
0xb4, 0xcf, 0xb2, 0x2d, 0x13, 0x8b, 0x27, 0x49, 0xd6, 0x73, 0xa4, 0x7e, 0xcc,
0x75, 0x25, 0xdd, 0x15, 0xa0, 0xa3, 0xc6, 0x60, 0x46, 0x97, 0x17, 0x84, 0xbb,
0x63, 0xd7, 0xea, 0xe2, 0x4c, 0xc8, 0x4f, 0x26, 0x31, 0x71, 0x20, 0x75, 0xa1,
0x0e, 0x10, 0xa9, 0x6b, 0x0e, 0x0e, 0xe6, 0x7c, 0x43, 0xe0, 0x1c, 0x42, 0x3c,
0xb9, 0xc4, 0x4e, 0x53, 0x71, 0x01, 0x7e, 0x9c, 0x49, 0x69, 0x56, 0xb6, 0x32,
0x15, 0x8d, 0xa3, 0xfe, 0x12, 0xad, 0xde, 0xcb, 0x88, 0x91, 0x2e, 0x67, 0x59,
0xbc, 0x37, 0xf9, 0xaf, 0x2f, 0x45, 0xaf, 0x72, 0xc5, 0xca, 0xe3, 0xb1, 0x79,
0xff, 0xb6, 0x76, 0xa6, 0x97, 0xde, 0x6e, 0xbe, 0x45, 0xcd, 0x4c, 0x16, 0xd4,
0xa9, 0xd6, 0x42, 0xd2, 0x9d, 0xdc, 0x01, 0x86, 0xa0, 0xa4, 0x8c, 0xb6, 0xcd,
0x62, 0xbf, 0xc3, 0xdd, 0x22, 0x9d, 0x31, 0x3b, 0x30, 0x15, 0x60, 0x97, 0x1e,
0x74, 0x0e, 0x2c, 0xf1, 0xf9, 0x9a, 0x9a, 0x09, 0x0a, 0x5b, 0x28, 0x3f, 0x35,
0x47, 0x50, 0x57, 0xe9, 0x6d, 0x70, 0x64, 0xe2, 0xe0, 0xfc, 0x81, 0x98, 0x45,
0x91, 0x06, 0x8d, 0x55, 0xa3, 0xb4, 0x16, 0x9f, 0x22, 0xcc, 0xcb, 0x07, 0x45,
0xa2, 0x68, 0x94, 0x07, 0xea, 0x19, 0x01, 0xa0, 0xa7, 0x66, 0xeb, 0x99],
salt: [0x3d, 0x96, 0x8b, 0x27, 0x52, 0xb8, 0x83, 0x84, 0x31, 0x16, 0x50, 0x59, 0x31,
0x9f, 0x3f, 0xf8, 0x91, 0x0b, 0x7b, 0x8e, 0xcb, 0x54, 0xea, 0x01, 0xd3, 0xf5,
0x47, 0x69, 0xe9, 0xd9, 0x8d, 0xaf],
ops: 717248,
mem: 16777216,
out: [0x2d, 0xe0, 0xba, 0x72, 0x83, 0x3e, 0xf0, 0x85, 0x8d, 0x80, 0x07, 0x2c, 0x7a,
0xb9, 0x91, 0xcb, 0xc2, 0x57, 0x1b, 0x94, 0x43, 0x57, 0xed, 0x2b, 0x8d, 0x3e,
0xbd, 0x3f, 0x60, 0x94, 0xc6, 0x53, 0x3a, 0x3d, 0x9d, 0xb4, 0x21, 0x6f, 0x78,
0x13, 0xcc, 0x54, 0x50, 0xee, 0x9f, 0xfc, 0x1f, 0xd5, 0x64, 0xe9, 0x37, 0xad,
0x70, 0x5b, 0xbd, 0x5d, 0xc0, 0x3b, 0xbf, 0x7a, 0x6b, 0x7e, 0x24, 0xa9, 0xd0,
0x80, 0x9b, 0x5a, 0xa5, 0x19, 0xe9, 0x1b, 0xa6, 0x5c, 0x27, 0x1b, 0xac, 0x3c,
0x31, 0x65, 0x61, 0x6b, 0x8e, 0xb1, 0x79, 0x76, 0x11, 0x1a, 0x87, 0x38, 0xf3,
0xff, 0x5d, 0x41, 0xe1, 0xef, 0x6f, 0xa7, 0x26, 0x88, 0x56, 0x20, 0x15, 0xd4,
0x80, 0xa6, 0x5a, 0xa7, 0x91, 0x8b, 0x74, 0xb0, 0xda, 0x5a, 0xea, 0xd2, 0xc3,
0x45, 0x3e, 0x8b, 0x84, 0x24, 0x99, 0xc4, 0xb3, 0x3f, 0xc2, 0x82, 0xba, 0x1e,
0x21, 0x22, 0x15, 0x50, 0x08, 0xb7, 0x5d, 0x44, 0xd2, 0xec, 0xf2, 0xaa, 0x1c,
0xe0, 0x21, 0x69, 0x35, 0xad, 0x41, 0x84, 0x32, 0x8e, 0xfe, 0xf1, 0x6c, 0xf6,
0xfc, 0x4c, 0x1d, 0x05, 0x9e, 0xb8, 0x85, 0x5a, 0x1e, 0x61, 0x9e],
},
}
verify_password_valid_tests! [
{
pass: "^T5H$JYt39n%K*j:W]!1s?vg!:jGi]Ax?..l7[p0v:1jHTpla9;]bUN;?bWyCbtqg nrDFal+Jxl\
3,2`#^tFSu%v_+7iYse8-cCkNf!tD=KrW)",
hash: "$7$B6....1....75gBMAGwfFWZqBdyF3WdTQnWdUsuTiWjG1fF9c1jiSD$tc8RoB3.Em3/zNgMLW\
o2u00oGIoTyJv4fl3Fl8Tix72",
},
{
pass: "bl72h6#y<':MFRZ>B IA1=NRkCKS%W8`1I.2uQxJN0g)N N aTt^4K!Iw5r H6;crDsv^a55j9ts\
k'/GqweZn;cdk6+F_St6:#*=?ZCD_lw>.",
hash: "$7$A6....3....Iahc6qM0.UQJHVgE4h9oa1/4OWlWLm9CCtfguvz6bQD$QnXCo3M7nIqtry2WKs\
UZ5gQ.mY0wAlJu.WUhtE8vF66",
},
{
pass: "Py >e.5b+tLo@rL`dC2k@eJ&4eVl!W=JJ4+k&mAt@gt',FS1JjqKW3aq21:]^kna`mde7kVkN5Nr\
pKUptu)@4*b&?BE_sJMG1=&@`3GBCV]Wg7xwgo7x3El",
hash: "$7$96..../....f6bEusKt79kK4wdYN0ki2nw4bJQ7P3rN6k3BSigsK/D$Dsvuw7vXj5xijmrb/N\
OhdgoyK/OiSIYv88cEtl9Cik7",
},
{
pass: "2vj;Um]FKOL27oam(:Uo8+UmSTvb1FD*h?jk_,S=;RDgF-$Fjk?]9yvfxe@fN^!NN(Cuml?+2Raa",
hash: "$7$86....I....7XwIxLtCx4VphmFeUa6OGuGJrFaIaYzDiLNu/tyUPhD$U3q5GCEqCWxMwh.YQH\
DJrlg7FIZgViv9pcXE3h1vg61",
},
{
pass: "CT=[9uUoGav,J`kU+348tA50ue#sL:ABZ3QgF+r[#vh:tTOiL>s8tv%,Jeo]jH/_4^i(*jD-_ku[\
9Ko[=86 06V",
hash: "$7$A6....2....R3.bjH6YS9wz9z8Jsj.3weGQ3J80ZZElGw2oVux1TP6$i5u6lFzXDHaIgYEICi\
nLD6WNaovbiXP8SnLrDRdKgA9",
},
{
pass: "J#wNn`hDgOpTHNI.w^1a70%f,.9V_m038H_JIJQln`vdWnn/rmILR?9H5g(+`;@H(2VosN9Fgk[W\
EjaBr'yB9Q19-imNa04[Mk5kvGcSn-TV",
hash: "$7$B6....1....Dj1y.4mF1J9XmT/6IDskYdCLaPFJTq9xcCwXQ1DpT92$92/hYfZLRq1nTLyIz.\
uc/dC6wLqwnsoqpkadrCXusm6",
},
{
pass: "j4BS38Asa;p)[K+9TY!3YDj<LK-`nLVXQw9%*QfM",
hash: "$7$B6....1....5Ods8mojVwXJq4AywF/uI9BdMSiJ/zT8hQP/4cB68VC$nk4ExHNXJ802froj51\
/1wJTrSZvTIyyK7PecOxRRaz0",
},
{
pass: "M.R>Qw+!qJb]>pP :_.9`dxM9k [eR7Y!yL-3)sNs[R,j_/^ TH=5ny'15>6UXWcQW^6D%XCsO[v\
N[%ReA-`tV1vW(Nt*0KVK#]45P_A",
hash: "$7$B6....1....D/eyk8N5y6Z8YVQEsw521cTx.9zzLuK7YDs1KMMh.o4$alfW8ZbsUWnXc.vqon\
2zoljVk24Tt1.IsCuo2KurvS2",
},
{
pass: "K3S=KyH#)36_?]LxeR8QNKw6X=gFb'ai$C%29V* tyh^Wo$TN-#Q4qkmtTCf0LLb.^E$0uykkP",
hash: "$7$B6....1....CuBuU97xgAage8whp/JNKobo0TFbsORGVbfcQIefyP8$aqalP.XofGViB8EPLO\
NqHma8vs1xc9uTIMYh9CgE.S8",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
];
verify_password_invalid_tests! [
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1....$TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$.6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A.....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6.........TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i44269$a4ik5hGDN7foMu\
HOW.cp.CtX01UyCeO0.JAG.AH",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx54269",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7^A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$!6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A!....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....!....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "",
hash: "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7fA6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4#a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$AX....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1!...TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$a4ik5hGDN7foMuHOW.\
cp.CtX01UyCeO0.JAG.AHPpx5",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "",
},
{
pass: "Y0!?iQa9M%5ekffW(`",
hash: "$7$A6....1....TrXs5Zk6s8sWHpQgWDIXTR8kUU3s6Jc3s.DtdS8M2i4$",
},
{
pass: "test",
hash: "$7$.6..../.....lgPchkGHqbeONR/xtuXyjCrt9kUSg6NlKFQO0OSxo/$.DbajbPYH9T7sg3fOt\
cgxvJzzfIgJBIxMkeQ8b24YQ.",
},
{
pass: "test",
hash: "$7$z6..../.....lgPchkGHqbeONR/xtuXyjCrt9kUSg6NlKFQO0OSxo/$.DbajbPYH9T7sg3fOt\
cgxvJzzfIgJBIxMkeQ8b24YQ.",
},
{
pass: "test",
hash: "$7$8zzzzzzzzzz.lgPchkGHqbeONR/xtuXyjCrt9kUSg6NlKFQO0OSxo/$.DbajbPYH9T7sg3fOt\
cgxvJzzfIgJBIxMkeQ8b24YQ.",
},
{
pass: "test",
hash: "$7$8.....zzzzz.lgPchkGHqbeONR/xtuXyjCrt9kUSg6NlKFQO0OSxo/$.DbajbPYH9T7sg3fOt\
cgxvJzzfIgJBIxMkeQ8b24YQ.",
},
{
pass: "test",
hash: "$7$86..../..../lgPchkGHqbeONR/xtuXyjCrt9kUSg6NlKFQO0OSxo/$.DbajbPYH9T7sg3fOt\
cgxvJzzfIgJBIxMkeQ8b24YQ.",
},
];
#[cfg(feature = "std")]
#[test]
fn needs_rehash() -> Result<(), crate::AlkaliError> {
use crate::hash::pbkdf::RehashResult;
const OPS_LIMIT: usize = super::OPS_LIMIT_INTERACTIVE;
const MEM_LIMIT: usize = super::MEM_LIMIT_INTERACTIVE;
const PASSWORD: &'static str = "Correct Horse Battery Staple";
let hash = super::store_password(PASSWORD, OPS_LIMIT, MEM_LIMIT)?;
assert_eq!(
super::requires_rehash(&hash, OPS_LIMIT, MEM_LIMIT)?,
RehashResult::ParametersMatch,
);
assert_eq!(
super::requires_rehash(&hash, OPS_LIMIT, MEM_LIMIT / 2)?,
RehashResult::ParametersDiffer,
);
assert_eq!(
super::requires_rehash(&hash, OPS_LIMIT / 2, MEM_LIMIT)?,
RehashResult::ParametersDiffer,
);
assert_eq!(
super::requires_rehash(&hash, OPS_LIMIT * 2, MEM_LIMIT)?,
RehashResult::ParametersDiffer,
);
assert_eq!(
super::requires_rehash("not valid", OPS_LIMIT, MEM_LIMIT)?,
RehashResult::InvalidHash,
);
Ok(())
}
}
| 63.461538 | 98 | 0.540813 |
490ca0907913ecdffe345f7447dd88279f455300 | 1,599 | sql | SQL | src/main/resources/db/migration/V34__update_court_names.sql | ministryofjustice/prisonstaffhub-api | ffbc18a8c4ae5ab86bf02797c2f50f28595cdf39 | [
"Apache-2.0"
] | 1 | 2020-06-17T16:29:42.000Z | 2020-06-17T16:29:42.000Z | src/main/resources/db/migration/V34__update_court_names.sql | ministryofjustice/prisonstaffhub-api | ffbc18a8c4ae5ab86bf02797c2f50f28595cdf39 | [
"Apache-2.0"
] | 4 | 2020-03-10T16:15:01.000Z | 2022-01-28T12:58:12.000Z | src/main/resources/db/migration/V34__update_court_names.sql | ministryofjustice/prisonstaffhub-api | ffbc18a8c4ae5ab86bf02797c2f50f28595cdf39 | [
"Apache-2.0"
] | 1 | 2021-04-11T06:16:37.000Z | 2021-04-11T06:16:37.000Z | update enabled_court set name = 'Bromley Magistrates' where id = 'BROMMC';
update enabled_court set name = 'Cheltenham Magistrates' where id = 'CHELMC';
update enabled_court set name = 'City of London Magistrates' where id = 'CITYMC';
update enabled_court set name = 'Dudley Magistrates' where id = 'DUDLMC';
update enabled_court set name = 'Inner London Crown' where id = 'INNRCC';
update enabled_court set name = 'Kidderminster Magistrates' where id = 'KIDDMC';
update enabled_court set name = 'Kingston upon Thames Crown' where id = 'KNGTCC';
update enabled_court set name = 'Leamington Spa Magistrates' where id = 'LEAMMC';
update enabled_court set name = 'Redditch Magistrates' where id = 'RDDTMC';
update enabled_court set name = 'South Derbyshire Magistrates' where id = 'DRBYMC';
update enabled_court set name = 'Southwark Crown' where id = 'STHWCC';
update enabled_court set name = 'Telford Magistrates' where id = 'TELFMC';
update enabled_court set name = 'Walsall Magistrates' where id = 'WLLSMC';
update enabled_court set name = 'Warwick Crown' where id = 'WRWKCC';
update enabled_court set name = 'Westminster Magistrates' where id = 'CRT034';
update enabled_court set name = 'Wimbledon Magistrates' where id = 'WMBLMC';
update enabled_court set name = 'Southwark Crown' where id = 'STHWCC';
update enabled_court set name = 'Thames Magistrates' where id = 'THMSMC';
update enabled_court set name = 'Wood Green Crown' where id = 'WDGRCC';
update enabled_court set name = 'Woolwich Crown' where id = 'WOOLCC';
update enabled_court set name = 'Llandudno Magistrates' where id = 'LLDUMC';
| 69.521739 | 83 | 0.757974 |
21468ec49b9f05d8ca784f8ceb86c4e560e5c014 | 30,144 | rs | Rust | src/extmem/pro_dcache_ctrl.rs | jessebraham/esp32s2 | a693ff9ba72a140cbbb331548d4f3744f549af0c | [
"Apache-2.0",
"MIT"
] | null | null | null | src/extmem/pro_dcache_ctrl.rs | jessebraham/esp32s2 | a693ff9ba72a140cbbb331548d4f3744f549af0c | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-08T17:41:17.000Z | 2021-09-08T17:41:17.000Z | src/extmem/pro_dcache_ctrl.rs | jessebraham/esp32s2 | a693ff9ba72a140cbbb331548d4f3744f549af0c | [
"Apache-2.0",
"MIT"
] | null | null | null | #[doc = "Register `PRO_DCACHE_CTRL` reader"]
pub struct R(crate::R<PRO_DCACHE_CTRL_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<PRO_DCACHE_CTRL_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<PRO_DCACHE_CTRL_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<PRO_DCACHE_CTRL_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `PRO_DCACHE_CTRL` writer"]
pub struct W(crate::W<PRO_DCACHE_CTRL_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<PRO_DCACHE_CTRL_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
impl From<crate::W<PRO_DCACHE_CTRL_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<PRO_DCACHE_CTRL_SPEC>) -> Self {
W(writer)
}
}
#[doc = "Field `PRO_DCACHE_ENABLE` reader - The bit is used to activate the data cache. 0: disable, 1: enable"]
pub struct PRO_DCACHE_ENABLE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_ENABLE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_ENABLE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_ENABLE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_ENABLE` writer - The bit is used to activate the data cache. 0: disable, 1: enable"]
pub struct PRO_DCACHE_ENABLE_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_ENABLE_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !0x01) | (value as u32 & 0x01);
self.w
}
}
#[doc = "Field `PRO_DCACHE_SETSIZE_MODE` reader - The bit is used to configure cache memory size.0: 8KB, 1: 16KB"]
pub struct PRO_DCACHE_SETSIZE_MODE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_SETSIZE_MODE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_SETSIZE_MODE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_SETSIZE_MODE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_SETSIZE_MODE` writer - The bit is used to configure cache memory size.0: 8KB, 1: 16KB"]
pub struct PRO_DCACHE_SETSIZE_MODE_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_SETSIZE_MODE_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 2)) | ((value as u32 & 0x01) << 2);
self.w
}
}
#[doc = "Field `PRO_DCACHE_BLOCKSIZE_MODE` reader - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"]
pub struct PRO_DCACHE_BLOCKSIZE_MODE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_BLOCKSIZE_MODE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_BLOCKSIZE_MODE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_BLOCKSIZE_MODE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_BLOCKSIZE_MODE` writer - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"]
pub struct PRO_DCACHE_BLOCKSIZE_MODE_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_BLOCKSIZE_MODE_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 3)) | ((value as u32 & 0x01) << 3);
self.w
}
}
#[doc = "Field `PRO_DCACHE_INVALIDATE_ENA` reader - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."]
pub struct PRO_DCACHE_INVALIDATE_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_INVALIDATE_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_INVALIDATE_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_INVALIDATE_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_INVALIDATE_ENA` writer - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."]
pub struct PRO_DCACHE_INVALIDATE_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_INVALIDATE_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 8)) | ((value as u32 & 0x01) << 8);
self.w
}
}
#[doc = "Field `PRO_DCACHE_INVALIDATE_DONE` reader - The bit is used to indicate invalidate operation is finished."]
pub struct PRO_DCACHE_INVALIDATE_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_INVALIDATE_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_INVALIDATE_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_INVALIDATE_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_FLUSH_ENA` reader - The bit is used to enable flush operation. It will be cleared by hardware after flush operation done."]
pub struct PRO_DCACHE_FLUSH_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_FLUSH_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_FLUSH_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_FLUSH_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_FLUSH_ENA` writer - The bit is used to enable flush operation. It will be cleared by hardware after flush operation done."]
pub struct PRO_DCACHE_FLUSH_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_FLUSH_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 10)) | ((value as u32 & 0x01) << 10);
self.w
}
}
#[doc = "Field `PRO_DCACHE_FLUSH_DONE` reader - The bit is used to indicate flush operation is finished."]
pub struct PRO_DCACHE_FLUSH_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_FLUSH_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_FLUSH_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_FLUSH_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_CLEAN_ENA` reader - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done."]
pub struct PRO_DCACHE_CLEAN_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_CLEAN_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_CLEAN_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_CLEAN_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_CLEAN_ENA` writer - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done."]
pub struct PRO_DCACHE_CLEAN_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_CLEAN_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 12)) | ((value as u32 & 0x01) << 12);
self.w
}
}
#[doc = "Field `PRO_DCACHE_CLEAN_DONE` reader - The bit is used to indicate clean operation is finished."]
pub struct PRO_DCACHE_CLEAN_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_CLEAN_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_CLEAN_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_CLEAN_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_LOCK0_EN` reader - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK0_ADDR_REG and PRO_DCACHE_LOCK0_SIZE_REG."]
pub struct PRO_DCACHE_LOCK0_EN_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_LOCK0_EN_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_LOCK0_EN_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_LOCK0_EN_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_LOCK0_EN` writer - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK0_ADDR_REG and PRO_DCACHE_LOCK0_SIZE_REG."]
pub struct PRO_DCACHE_LOCK0_EN_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_LOCK0_EN_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 14)) | ((value as u32 & 0x01) << 14);
self.w
}
}
#[doc = "Field `PRO_DCACHE_LOCK1_EN` reader - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_LOCK1_SIZE_REG."]
pub struct PRO_DCACHE_LOCK1_EN_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_LOCK1_EN_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_LOCK1_EN_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_LOCK1_EN_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_LOCK1_EN` writer - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_LOCK1_SIZE_REG."]
pub struct PRO_DCACHE_LOCK1_EN_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_LOCK1_EN_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 15)) | ((value as u32 & 0x01) << 15);
self.w
}
}
#[doc = "Field `PRO_DCACHE_AUTOLOAD_ENA` reader - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable."]
pub struct PRO_DCACHE_AUTOLOAD_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_AUTOLOAD_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_AUTOLOAD_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_AUTOLOAD_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_AUTOLOAD_ENA` writer - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable."]
pub struct PRO_DCACHE_AUTOLOAD_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_AUTOLOAD_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 18)) | ((value as u32 & 0x01) << 18);
self.w
}
}
#[doc = "Field `PRO_DCACHE_AUTOLOAD_DONE` reader - The bit is used to indicate conditional-preload operation is finished."]
pub struct PRO_DCACHE_AUTOLOAD_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_AUTOLOAD_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_AUTOLOAD_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_AUTOLOAD_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_PRELOAD_ENA` reader - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."]
pub struct PRO_DCACHE_PRELOAD_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_PRELOAD_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_PRELOAD_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_PRELOAD_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_PRELOAD_ENA` writer - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."]
pub struct PRO_DCACHE_PRELOAD_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_PRELOAD_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 20)) | ((value as u32 & 0x01) << 20);
self.w
}
}
#[doc = "Field `PRO_DCACHE_PRELOAD_DONE` reader - The bit is used to indicate preload operation is finished."]
pub struct PRO_DCACHE_PRELOAD_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_PRELOAD_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_PRELOAD_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_PRELOAD_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_UNLOCK_ENA` reader - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."]
pub struct PRO_DCACHE_UNLOCK_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_UNLOCK_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_UNLOCK_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_UNLOCK_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_UNLOCK_ENA` writer - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."]
pub struct PRO_DCACHE_UNLOCK_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_UNLOCK_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 22)) | ((value as u32 & 0x01) << 22);
self.w
}
}
#[doc = "Field `PRO_DCACHE_UNLOCK_DONE` reader - The bit is used to indicate unlock operation is finished."]
pub struct PRO_DCACHE_UNLOCK_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_UNLOCK_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_UNLOCK_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_UNLOCK_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_LOCK_ENA` reader - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."]
pub struct PRO_DCACHE_LOCK_ENA_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_LOCK_ENA_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_LOCK_ENA_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_LOCK_ENA_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `PRO_DCACHE_LOCK_ENA` writer - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."]
pub struct PRO_DCACHE_LOCK_ENA_W<'a> {
w: &'a mut W,
}
impl<'a> PRO_DCACHE_LOCK_ENA_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 24)) | ((value as u32 & 0x01) << 24);
self.w
}
}
#[doc = "Field `PRO_DCACHE_LOCK_DONE` reader - The bit is used to indicate lock operation is finished."]
pub struct PRO_DCACHE_LOCK_DONE_R(crate::FieldReader<bool, bool>);
impl PRO_DCACHE_LOCK_DONE_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
PRO_DCACHE_LOCK_DONE_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for PRO_DCACHE_LOCK_DONE_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl R {
#[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"]
#[inline(always)]
pub fn pro_dcache_enable(&self) -> PRO_DCACHE_ENABLE_R {
PRO_DCACHE_ENABLE_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB"]
#[inline(always)]
pub fn pro_dcache_setsize_mode(&self) -> PRO_DCACHE_SETSIZE_MODE_R {
PRO_DCACHE_SETSIZE_MODE_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"]
#[inline(always)]
pub fn pro_dcache_blocksize_mode(&self) -> PRO_DCACHE_BLOCKSIZE_MODE_R {
PRO_DCACHE_BLOCKSIZE_MODE_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 8 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."]
#[inline(always)]
pub fn pro_dcache_invalidate_ena(&self) -> PRO_DCACHE_INVALIDATE_ENA_R {
PRO_DCACHE_INVALIDATE_ENA_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - The bit is used to indicate invalidate operation is finished."]
#[inline(always)]
pub fn pro_dcache_invalidate_done(&self) -> PRO_DCACHE_INVALIDATE_DONE_R {
PRO_DCACHE_INVALIDATE_DONE_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - The bit is used to enable flush operation. It will be cleared by hardware after flush operation done."]
#[inline(always)]
pub fn pro_dcache_flush_ena(&self) -> PRO_DCACHE_FLUSH_ENA_R {
PRO_DCACHE_FLUSH_ENA_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - The bit is used to indicate flush operation is finished."]
#[inline(always)]
pub fn pro_dcache_flush_done(&self) -> PRO_DCACHE_FLUSH_DONE_R {
PRO_DCACHE_FLUSH_DONE_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done."]
#[inline(always)]
pub fn pro_dcache_clean_ena(&self) -> PRO_DCACHE_CLEAN_ENA_R {
PRO_DCACHE_CLEAN_ENA_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - The bit is used to indicate clean operation is finished."]
#[inline(always)]
pub fn pro_dcache_clean_done(&self) -> PRO_DCACHE_CLEAN_DONE_R {
PRO_DCACHE_CLEAN_DONE_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK0_ADDR_REG and PRO_DCACHE_LOCK0_SIZE_REG."]
#[inline(always)]
pub fn pro_dcache_lock0_en(&self) -> PRO_DCACHE_LOCK0_EN_R {
PRO_DCACHE_LOCK0_EN_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_LOCK1_SIZE_REG."]
#[inline(always)]
pub fn pro_dcache_lock1_en(&self) -> PRO_DCACHE_LOCK1_EN_R {
PRO_DCACHE_LOCK1_EN_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 18 - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable."]
#[inline(always)]
pub fn pro_dcache_autoload_ena(&self) -> PRO_DCACHE_AUTOLOAD_ENA_R {
PRO_DCACHE_AUTOLOAD_ENA_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - The bit is used to indicate conditional-preload operation is finished."]
#[inline(always)]
pub fn pro_dcache_autoload_done(&self) -> PRO_DCACHE_AUTOLOAD_DONE_R {
PRO_DCACHE_AUTOLOAD_DONE_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."]
#[inline(always)]
pub fn pro_dcache_preload_ena(&self) -> PRO_DCACHE_PRELOAD_ENA_R {
PRO_DCACHE_PRELOAD_ENA_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - The bit is used to indicate preload operation is finished."]
#[inline(always)]
pub fn pro_dcache_preload_done(&self) -> PRO_DCACHE_PRELOAD_DONE_R {
PRO_DCACHE_PRELOAD_DONE_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."]
#[inline(always)]
pub fn pro_dcache_unlock_ena(&self) -> PRO_DCACHE_UNLOCK_ENA_R {
PRO_DCACHE_UNLOCK_ENA_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - The bit is used to indicate unlock operation is finished."]
#[inline(always)]
pub fn pro_dcache_unlock_done(&self) -> PRO_DCACHE_UNLOCK_DONE_R {
PRO_DCACHE_UNLOCK_DONE_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."]
#[inline(always)]
pub fn pro_dcache_lock_ena(&self) -> PRO_DCACHE_LOCK_ENA_R {
PRO_DCACHE_LOCK_ENA_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - The bit is used to indicate lock operation is finished."]
#[inline(always)]
pub fn pro_dcache_lock_done(&self) -> PRO_DCACHE_LOCK_DONE_R {
PRO_DCACHE_LOCK_DONE_R::new(((self.bits >> 25) & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"]
#[inline(always)]
pub fn pro_dcache_enable(&mut self) -> PRO_DCACHE_ENABLE_W {
PRO_DCACHE_ENABLE_W { w: self }
}
#[doc = "Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB"]
#[inline(always)]
pub fn pro_dcache_setsize_mode(&mut self) -> PRO_DCACHE_SETSIZE_MODE_W {
PRO_DCACHE_SETSIZE_MODE_W { w: self }
}
#[doc = "Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"]
#[inline(always)]
pub fn pro_dcache_blocksize_mode(&mut self) -> PRO_DCACHE_BLOCKSIZE_MODE_W {
PRO_DCACHE_BLOCKSIZE_MODE_W { w: self }
}
#[doc = "Bit 8 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."]
#[inline(always)]
pub fn pro_dcache_invalidate_ena(&mut self) -> PRO_DCACHE_INVALIDATE_ENA_W {
PRO_DCACHE_INVALIDATE_ENA_W { w: self }
}
#[doc = "Bit 10 - The bit is used to enable flush operation. It will be cleared by hardware after flush operation done."]
#[inline(always)]
pub fn pro_dcache_flush_ena(&mut self) -> PRO_DCACHE_FLUSH_ENA_W {
PRO_DCACHE_FLUSH_ENA_W { w: self }
}
#[doc = "Bit 12 - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done."]
#[inline(always)]
pub fn pro_dcache_clean_ena(&mut self) -> PRO_DCACHE_CLEAN_ENA_W {
PRO_DCACHE_CLEAN_ENA_W { w: self }
}
#[doc = "Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK0_ADDR_REG and PRO_DCACHE_LOCK0_SIZE_REG."]
#[inline(always)]
pub fn pro_dcache_lock0_en(&mut self) -> PRO_DCACHE_LOCK0_EN_W {
PRO_DCACHE_LOCK0_EN_W { w: self }
}
#[doc = "Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_LOCK1_SIZE_REG."]
#[inline(always)]
pub fn pro_dcache_lock1_en(&mut self) -> PRO_DCACHE_LOCK1_EN_W {
PRO_DCACHE_LOCK1_EN_W { w: self }
}
#[doc = "Bit 18 - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable."]
#[inline(always)]
pub fn pro_dcache_autoload_ena(&mut self) -> PRO_DCACHE_AUTOLOAD_ENA_W {
PRO_DCACHE_AUTOLOAD_ENA_W { w: self }
}
#[doc = "Bit 20 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."]
#[inline(always)]
pub fn pro_dcache_preload_ena(&mut self) -> PRO_DCACHE_PRELOAD_ENA_W {
PRO_DCACHE_PRELOAD_ENA_W { w: self }
}
#[doc = "Bit 22 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."]
#[inline(always)]
pub fn pro_dcache_unlock_ena(&mut self) -> PRO_DCACHE_UNLOCK_ENA_W {
PRO_DCACHE_UNLOCK_ENA_W { w: self }
}
#[doc = "Bit 24 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."]
#[inline(always)]
pub fn pro_dcache_lock_ena(&mut self) -> PRO_DCACHE_LOCK_ENA_W {
PRO_DCACHE_LOCK_ENA_W { w: self }
}
#[doc = "Writes raw bits to the register."]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "register description\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pro_dcache_ctrl](index.html) module"]
pub struct PRO_DCACHE_CTRL_SPEC;
impl crate::RegisterSpec for PRO_DCACHE_CTRL_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [pro_dcache_ctrl::R](R) reader structure"]
impl crate::Readable for PRO_DCACHE_CTRL_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [pro_dcache_ctrl::W](W) writer structure"]
impl crate::Writable for PRO_DCACHE_CTRL_SPEC {
type Writer = W;
}
#[doc = "`reset()` method sets PRO_DCACHE_CTRL to value 0x0100"]
impl crate::Resettable for PRO_DCACHE_CTRL_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0x0100
}
}
| 39.097276 | 416 | 0.651008 |
e8cb515349d5bd28092cb1a443b1e9f7480ec3f3 | 351 | asm | Assembly | programs/oeis/292/A292045.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/292/A292045.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/292/A292045.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A292045: Wiener index of the n X n X n grid graph.
; 0,48,972,7680,37500,136080,403368,1032192,2361960,4950000,9663060,17791488,31188612,52437840,85050000,133693440,204459408,305165232,445697820,638400000,898502220,1244602128,1699194552,2289254400,3046875000,4009964400,5223002148
add $0,1
mov $2,$0
pow $0,7
pow $2,5
sub $0,$2
div $0,24
mul $0,12
| 31.909091 | 229 | 0.783476 |
0eda4f7850b525c448215c33f02280ac30ee62a1 | 1,362 | ts | TypeScript | src/app/shared/services/pwa-check-for-update.service.ts | elgervb/beez | 1e5662dcb5ae15d77dcb4410379646b7ef0e0e57 | [
"MIT"
] | null | null | null | src/app/shared/services/pwa-check-for-update.service.ts | elgervb/beez | 1e5662dcb5ae15d77dcb4410379646b7ef0e0e57 | [
"MIT"
] | 82 | 2018-12-23T20:16:45.000Z | 2022-03-14T14:29:43.000Z | src/app/shared/services/pwa-check-for-update.service.ts | elgervb/beez | 1e5662dcb5ae15d77dcb4410379646b7ef0e0e57 | [
"MIT"
] | null | null | null | import { ApplicationRef, Injectable } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { SwUpdate } from '@angular/service-worker';
import { concat, interval } from 'rxjs';
import { first } from 'rxjs/operators';
@Injectable({
providedIn: 'root'
})
export class PwaCheckForUpdateService {
constructor(appRef: ApplicationRef, swUpdate: SwUpdate, snackbar: MatSnackBar,) {
if (swUpdate.isEnabled) {
// update when needed
swUpdate.available.subscribe(() => {
const snack = snackbar.open('Update Available', 'Reload');
snack
.onAction()
.subscribe(() => {
swUpdate.activateUpdate().then(() => document.location.reload());
});
});
// check for update
const appIsStable$ = appRef.isStable.pipe(first(isStable => isStable === true));
const everySixHours$ = interval(6 * 60 * 60 * 1000);
const everySixHoursOnceAppIsStable$ = concat(appIsStable$, everySixHours$);
everySixHoursOnceAppIsStable$.subscribe(() => swUpdate.checkForUpdate());
// unrecoverable
swUpdate.unrecoverable.subscribe(event => {
const snack = snackbar.open(`Unrecoverable error ${event.reason}`, 'Reload');
snack
.onAction()
.subscribe(() => document.location.reload());
});
}
}
}
| 32.428571 | 86 | 0.632159 |
fb6878f6e24f441e9b75f6cc40c47e8e5cedbca7 | 24,194 | h | C | machine/qemu/sources/u-boot/include/dt-bindings/soc/imx_rsrc.h | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | 1 | 2021-11-21T19:56:29.000Z | 2021-11-21T19:56:29.000Z | machine/qemu/sources/u-boot/include/dt-bindings/soc/imx_rsrc.h | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | null | null | null | machine/qemu/sources/u-boot/include/dt-bindings/soc/imx_rsrc.h | muddessir/framework | 5b802b2dd7ec9778794b078e748dd1f989547265 | [
"MIT"
] | null | null | null | /* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2018 NXP
*/
#ifndef DT_BINDINGS_RSCRC_IMX_H
#define DT_BINDINGS_RSCRC_IMX_H
/*!
* These defines are used to indicate a resource. Resources include peripherals
* and bus masters (but not memory regions). Note items from list should
* never be changed or removed (only added to at the end of the list).
*/
#define SC_R_A53 0
#define SC_R_A53_0 1
#define SC_R_A53_1 2
#define SC_R_A53_2 3
#define SC_R_A53_3 4
#define SC_R_A72 5
#define SC_R_A72_0 6
#define SC_R_A72_1 7
#define SC_R_A72_2 8
#define SC_R_A72_3 9
#define SC_R_CCI 10
#define SC_R_DB 11
#define SC_R_DRC_0 12
#define SC_R_DRC_1 13
#define SC_R_GIC_SMMU 14
#define SC_R_IRQSTR_M4_0 15
#define SC_R_IRQSTR_M4_1 16
#define SC_R_SMMU 17
#define SC_R_GIC 18
#define SC_R_DC_0_BLIT0 19
#define SC_R_DC_0_BLIT1 20
#define SC_R_DC_0_BLIT2 21
#define SC_R_DC_0_BLIT_OUT 22
#define SC_R_DC_0_CAPTURE0 23
#define SC_R_DC_0_CAPTURE1 24
#define SC_R_DC_0_WARP 25
#define SC_R_DC_0_INTEGRAL0 26
#define SC_R_DC_0_INTEGRAL1 27
#define SC_R_DC_0_VIDEO0 28
#define SC_R_DC_0_VIDEO1 29
#define SC_R_DC_0_FRAC0 30
#define SC_R_DC_0_FRAC1 31
#define SC_R_DC_0 32
#define SC_R_GPU_2_PID0 33
#define SC_R_DC_0_PLL_0 34
#define SC_R_DC_0_PLL_1 35
#define SC_R_DC_1_BLIT0 36
#define SC_R_DC_1_BLIT1 37
#define SC_R_DC_1_BLIT2 38
#define SC_R_DC_1_BLIT_OUT 39
#define SC_R_DC_1_CAPTURE0 40
#define SC_R_DC_1_CAPTURE1 41
#define SC_R_DC_1_WARP 42
#define SC_R_DC_1_INTEGRAL0 43
#define SC_R_DC_1_INTEGRAL1 44
#define SC_R_DC_1_VIDEO0 45
#define SC_R_DC_1_VIDEO1 46
#define SC_R_DC_1_FRAC0 47
#define SC_R_DC_1_FRAC1 48
#define SC_R_DC_1 49
#define SC_R_GPU_3_PID0 50
#define SC_R_DC_1_PLL_0 51
#define SC_R_DC_1_PLL_1 52
#define SC_R_SPI_0 53
#define SC_R_SPI_1 54
#define SC_R_SPI_2 55
#define SC_R_SPI_3 56
#define SC_R_UART_0 57
#define SC_R_UART_1 58
#define SC_R_UART_2 59
#define SC_R_UART_3 60
#define SC_R_UART_4 61
#define SC_R_EMVSIM_0 62
#define SC_R_EMVSIM_1 63
#define SC_R_DMA_0_CH0 64
#define SC_R_DMA_0_CH1 65
#define SC_R_DMA_0_CH2 66
#define SC_R_DMA_0_CH3 67
#define SC_R_DMA_0_CH4 68
#define SC_R_DMA_0_CH5 69
#define SC_R_DMA_0_CH6 70
#define SC_R_DMA_0_CH7 71
#define SC_R_DMA_0_CH8 72
#define SC_R_DMA_0_CH9 73
#define SC_R_DMA_0_CH10 74
#define SC_R_DMA_0_CH11 75
#define SC_R_DMA_0_CH12 76
#define SC_R_DMA_0_CH13 77
#define SC_R_DMA_0_CH14 78
#define SC_R_DMA_0_CH15 79
#define SC_R_DMA_0_CH16 80
#define SC_R_DMA_0_CH17 81
#define SC_R_DMA_0_CH18 82
#define SC_R_DMA_0_CH19 83
#define SC_R_DMA_0_CH20 84
#define SC_R_DMA_0_CH21 85
#define SC_R_DMA_0_CH22 86
#define SC_R_DMA_0_CH23 87
#define SC_R_DMA_0_CH24 88
#define SC_R_DMA_0_CH25 89
#define SC_R_DMA_0_CH26 90
#define SC_R_DMA_0_CH27 91
#define SC_R_DMA_0_CH28 92
#define SC_R_DMA_0_CH29 93
#define SC_R_DMA_0_CH30 94
#define SC_R_DMA_0_CH31 95
#define SC_R_I2C_0 96
#define SC_R_I2C_1 97
#define SC_R_I2C_2 98
#define SC_R_I2C_3 99
#define SC_R_I2C_4 100
#define SC_R_ADC_0 101
#define SC_R_ADC_1 102
#define SC_R_FTM_0 103
#define SC_R_FTM_1 104
#define SC_R_CAN_0 105
#define SC_R_CAN_1 106
#define SC_R_CAN_2 107
#define SC_R_DMA_1_CH0 108
#define SC_R_DMA_1_CH1 109
#define SC_R_DMA_1_CH2 110
#define SC_R_DMA_1_CH3 111
#define SC_R_DMA_1_CH4 112
#define SC_R_DMA_1_CH5 113
#define SC_R_DMA_1_CH6 114
#define SC_R_DMA_1_CH7 115
#define SC_R_DMA_1_CH8 116
#define SC_R_DMA_1_CH9 117
#define SC_R_DMA_1_CH10 118
#define SC_R_DMA_1_CH11 119
#define SC_R_DMA_1_CH12 120
#define SC_R_DMA_1_CH13 121
#define SC_R_DMA_1_CH14 122
#define SC_R_DMA_1_CH15 123
#define SC_R_DMA_1_CH16 124
#define SC_R_DMA_1_CH17 125
#define SC_R_DMA_1_CH18 126
#define SC_R_DMA_1_CH19 127
#define SC_R_DMA_1_CH20 128
#define SC_R_DMA_1_CH21 129
#define SC_R_DMA_1_CH22 130
#define SC_R_DMA_1_CH23 131
#define SC_R_DMA_1_CH24 132
#define SC_R_DMA_1_CH25 133
#define SC_R_DMA_1_CH26 134
#define SC_R_DMA_1_CH27 135
#define SC_R_DMA_1_CH28 136
#define SC_R_DMA_1_CH29 137
#define SC_R_DMA_1_CH30 138
#define SC_R_DMA_1_CH31 139
#define SC_R_UNUSED1 140
#define SC_R_UNUSED2 141
#define SC_R_UNUSED3 142
#define SC_R_UNUSED4 143
#define SC_R_GPU_0_PID0 144
#define SC_R_GPU_0_PID1 145
#define SC_R_GPU_0_PID2 146
#define SC_R_GPU_0_PID3 147
#define SC_R_GPU_1_PID0 148
#define SC_R_GPU_1_PID1 149
#define SC_R_GPU_1_PID2 150
#define SC_R_GPU_1_PID3 151
#define SC_R_PCIE_A 152
#define SC_R_SERDES_0 153
#define SC_R_MATCH_0 154
#define SC_R_MATCH_1 155
#define SC_R_MATCH_2 156
#define SC_R_MATCH_3 157
#define SC_R_MATCH_4 158
#define SC_R_MATCH_5 159
#define SC_R_MATCH_6 160
#define SC_R_MATCH_7 161
#define SC_R_MATCH_8 162
#define SC_R_MATCH_9 163
#define SC_R_MATCH_10 164
#define SC_R_MATCH_11 165
#define SC_R_MATCH_12 166
#define SC_R_MATCH_13 167
#define SC_R_MATCH_14 168
#define SC_R_PCIE_B 169
#define SC_R_SATA_0 170
#define SC_R_SERDES_1 171
#define SC_R_HSIO_GPIO 172
#define SC_R_MATCH_15 173
#define SC_R_MATCH_16 174
#define SC_R_MATCH_17 175
#define SC_R_MATCH_18 176
#define SC_R_MATCH_19 177
#define SC_R_MATCH_20 178
#define SC_R_MATCH_21 179
#define SC_R_MATCH_22 180
#define SC_R_MATCH_23 181
#define SC_R_MATCH_24 182
#define SC_R_MATCH_25 183
#define SC_R_MATCH_26 184
#define SC_R_MATCH_27 185
#define SC_R_MATCH_28 186
#define SC_R_LCD_0 187
#define SC_R_LCD_0_PWM_0 188
#define SC_R_LCD_0_I2C_0 189
#define SC_R_LCD_0_I2C_1 190
#define SC_R_PWM_0 191
#define SC_R_PWM_1 192
#define SC_R_PWM_2 193
#define SC_R_PWM_3 194
#define SC_R_PWM_4 195
#define SC_R_PWM_5 196
#define SC_R_PWM_6 197
#define SC_R_PWM_7 198
#define SC_R_GPIO_0 199
#define SC_R_GPIO_1 200
#define SC_R_GPIO_2 201
#define SC_R_GPIO_3 202
#define SC_R_GPIO_4 203
#define SC_R_GPIO_5 204
#define SC_R_GPIO_6 205
#define SC_R_GPIO_7 206
#define SC_R_GPT_0 207
#define SC_R_GPT_1 208
#define SC_R_GPT_2 209
#define SC_R_GPT_3 210
#define SC_R_GPT_4 211
#define SC_R_KPP 212
#define SC_R_MU_0A 213
#define SC_R_MU_1A 214
#define SC_R_MU_2A 215
#define SC_R_MU_3A 216
#define SC_R_MU_4A 217
#define SC_R_MU_5A 218
#define SC_R_MU_6A 219
#define SC_R_MU_7A 220
#define SC_R_MU_8A 221
#define SC_R_MU_9A 222
#define SC_R_MU_10A 223
#define SC_R_MU_11A 224
#define SC_R_MU_12A 225
#define SC_R_MU_13A 226
#define SC_R_MU_5B 227
#define SC_R_MU_6B 228
#define SC_R_MU_7B 229
#define SC_R_MU_8B 230
#define SC_R_MU_9B 231
#define SC_R_MU_10B 232
#define SC_R_MU_11B 233
#define SC_R_MU_12B 234
#define SC_R_MU_13B 235
#define SC_R_ROM_0 236
#define SC_R_FSPI_0 237
#define SC_R_FSPI_1 238
#define SC_R_IEE 239
#define SC_R_IEE_R0 240
#define SC_R_IEE_R1 241
#define SC_R_IEE_R2 242
#define SC_R_IEE_R3 243
#define SC_R_IEE_R4 244
#define SC_R_IEE_R5 245
#define SC_R_IEE_R6 246
#define SC_R_IEE_R7 247
#define SC_R_SDHC_0 248
#define SC_R_SDHC_1 249
#define SC_R_SDHC_2 250
#define SC_R_ENET_0 251
#define SC_R_ENET_1 252
#define SC_R_MLB_0 253
#define SC_R_DMA_2_CH0 254
#define SC_R_DMA_2_CH1 255
#define SC_R_DMA_2_CH2 256
#define SC_R_DMA_2_CH3 257
#define SC_R_DMA_2_CH4 258
#define SC_R_USB_0 259
#define SC_R_USB_1 260
#define SC_R_USB_0_PHY 261
#define SC_R_USB_2 262
#define SC_R_USB_2_PHY 263
#define SC_R_DTCP 264
#define SC_R_NAND 265
#define SC_R_LVDS_0 266
#define SC_R_LVDS_0_PWM_0 267
#define SC_R_LVDS_0_I2C_0 268
#define SC_R_LVDS_0_I2C_1 269
#define SC_R_LVDS_1 270
#define SC_R_LVDS_1_PWM_0 271
#define SC_R_LVDS_1_I2C_0 272
#define SC_R_LVDS_1_I2C_1 273
#define SC_R_LVDS_2 274
#define SC_R_LVDS_2_PWM_0 275
#define SC_R_LVDS_2_I2C_0 276
#define SC_R_LVDS_2_I2C_1 277
#define SC_R_M4_0_PID0 278
#define SC_R_M4_0_PID1 279
#define SC_R_M4_0_PID2 280
#define SC_R_M4_0_PID3 281
#define SC_R_M4_0_PID4 282
#define SC_R_M4_0_RGPIO 283
#define SC_R_M4_0_SEMA42 284
#define SC_R_M4_0_TPM 285
#define SC_R_M4_0_PIT 286
#define SC_R_M4_0_UART 287
#define SC_R_M4_0_I2C 288
#define SC_R_M4_0_INTMUX 289
#define SC_R_M4_0_SIM 290
#define SC_R_M4_0_WDOG 291
#define SC_R_M4_0_MU_0B 292
#define SC_R_M4_0_MU_0A0 293
#define SC_R_M4_0_MU_0A1 294
#define SC_R_M4_0_MU_0A2 295
#define SC_R_M4_0_MU_0A3 296
#define SC_R_M4_0_MU_1A 297
#define SC_R_M4_1_PID0 298
#define SC_R_M4_1_PID1 299
#define SC_R_M4_1_PID2 300
#define SC_R_M4_1_PID3 301
#define SC_R_M4_1_PID4 302
#define SC_R_M4_1_RGPIO 303
#define SC_R_M4_1_SEMA42 304
#define SC_R_M4_1_TPM 305
#define SC_R_M4_1_PIT 306
#define SC_R_M4_1_UART 307
#define SC_R_M4_1_I2C 308
#define SC_R_M4_1_INTMUX 309
#define SC_R_M4_1_SIM 310
#define SC_R_M4_1_WDOG 311
#define SC_R_M4_1_MU_0B 312
#define SC_R_M4_1_MU_0A0 313
#define SC_R_M4_1_MU_0A1 314
#define SC_R_M4_1_MU_0A2 315
#define SC_R_M4_1_MU_0A3 316
#define SC_R_M4_1_MU_1A 317
#define SC_R_SAI_0 318
#define SC_R_SAI_1 319
#define SC_R_SAI_2 320
#define SC_R_IRQSTR_SCU2 321
#define SC_R_IRQSTR_DSP 322
#define SC_R_UNUSED5 323
#define SC_R_OCRAM 324
#define SC_R_AUDIO_PLL_0 325
#define SC_R_PI_0 326
#define SC_R_PI_0_PWM_0 327
#define SC_R_PI_0_PWM_1 328
#define SC_R_PI_0_I2C_0 329
#define SC_R_PI_0_PLL 330
#define SC_R_PI_1 331
#define SC_R_PI_1_PWM_0 332
#define SC_R_PI_1_PWM_1 333
#define SC_R_PI_1_I2C_0 334
#define SC_R_PI_1_PLL 335
#define SC_R_SC_PID0 336
#define SC_R_SC_PID1 337
#define SC_R_SC_PID2 338
#define SC_R_SC_PID3 339
#define SC_R_SC_PID4 340
#define SC_R_SC_SEMA42 341
#define SC_R_SC_TPM 342
#define SC_R_SC_PIT 343
#define SC_R_SC_UART 344
#define SC_R_SC_I2C 345
#define SC_R_SC_MU_0B 346
#define SC_R_SC_MU_0A0 347
#define SC_R_SC_MU_0A1 348
#define SC_R_SC_MU_0A2 349
#define SC_R_SC_MU_0A3 350
#define SC_R_SC_MU_1A 351
#define SC_R_SYSCNT_RD 352
#define SC_R_SYSCNT_CMP 353
#define SC_R_DEBUG 354
#define SC_R_SYSTEM 355
#define SC_R_SNVS 356
#define SC_R_OTP 357
#define SC_R_VPU_PID0 358
#define SC_R_VPU_PID1 359
#define SC_R_VPU_PID2 360
#define SC_R_VPU_PID3 361
#define SC_R_VPU_PID4 362
#define SC_R_VPU_PID5 363
#define SC_R_VPU_PID6 364
#define SC_R_VPU_PID7 365
#define SC_R_VPU_UART 366
#define SC_R_VPUCORE 367
#define SC_R_VPUCORE_0 368
#define SC_R_VPUCORE_1 369
#define SC_R_VPUCORE_2 370
#define SC_R_VPUCORE_3 371
#define SC_R_DMA_4_CH0 372
#define SC_R_DMA_4_CH1 373
#define SC_R_DMA_4_CH2 374
#define SC_R_DMA_4_CH3 375
#define SC_R_DMA_4_CH4 376
#define SC_R_ISI_CH0 377
#define SC_R_ISI_CH1 378
#define SC_R_ISI_CH2 379
#define SC_R_ISI_CH3 380
#define SC_R_ISI_CH4 381
#define SC_R_ISI_CH5 382
#define SC_R_ISI_CH6 383
#define SC_R_ISI_CH7 384
#define SC_R_MJPEG_DEC_S0 385
#define SC_R_MJPEG_DEC_S1 386
#define SC_R_MJPEG_DEC_S2 387
#define SC_R_MJPEG_DEC_S3 388
#define SC_R_MJPEG_ENC_S0 389
#define SC_R_MJPEG_ENC_S1 390
#define SC_R_MJPEG_ENC_S2 391
#define SC_R_MJPEG_ENC_S3 392
#define SC_R_MIPI_0 393
#define SC_R_MIPI_0_PWM_0 394
#define SC_R_MIPI_0_I2C_0 395
#define SC_R_MIPI_0_I2C_1 396
#define SC_R_MIPI_1 397
#define SC_R_MIPI_1_PWM_0 398
#define SC_R_MIPI_1_I2C_0 399
#define SC_R_MIPI_1_I2C_1 400
#define SC_R_CSI_0 401
#define SC_R_CSI_0_PWM_0 402
#define SC_R_CSI_0_I2C_0 403
#define SC_R_CSI_1 404
#define SC_R_CSI_1_PWM_0 405
#define SC_R_CSI_1_I2C_0 406
#define SC_R_HDMI 407
#define SC_R_HDMI_I2S 408
#define SC_R_HDMI_I2C_0 409
#define SC_R_HDMI_PLL_0 410
#define SC_R_HDMI_RX 411
#define SC_R_HDMI_RX_BYPASS 412
#define SC_R_HDMI_RX_I2C_0 413
#define SC_R_ASRC_0 414
#define SC_R_ESAI_0 415
#define SC_R_SPDIF_0 416
#define SC_R_SPDIF_1 417
#define SC_R_SAI_3 418
#define SC_R_SAI_4 419
#define SC_R_SAI_5 420
#define SC_R_GPT_5 421
#define SC_R_GPT_6 422
#define SC_R_GPT_7 423
#define SC_R_GPT_8 424
#define SC_R_GPT_9 425
#define SC_R_GPT_10 426
#define SC_R_DMA_2_CH5 427
#define SC_R_DMA_2_CH6 428
#define SC_R_DMA_2_CH7 429
#define SC_R_DMA_2_CH8 430
#define SC_R_DMA_2_CH9 431
#define SC_R_DMA_2_CH10 432
#define SC_R_DMA_2_CH11 433
#define SC_R_DMA_2_CH12 434
#define SC_R_DMA_2_CH13 435
#define SC_R_DMA_2_CH14 436
#define SC_R_DMA_2_CH15 437
#define SC_R_DMA_2_CH16 438
#define SC_R_DMA_2_CH17 439
#define SC_R_DMA_2_CH18 440
#define SC_R_DMA_2_CH19 441
#define SC_R_DMA_2_CH20 442
#define SC_R_DMA_2_CH21 443
#define SC_R_DMA_2_CH22 444
#define SC_R_DMA_2_CH23 445
#define SC_R_DMA_2_CH24 446
#define SC_R_DMA_2_CH25 447
#define SC_R_DMA_2_CH26 448
#define SC_R_DMA_2_CH27 449
#define SC_R_DMA_2_CH28 450
#define SC_R_DMA_2_CH29 451
#define SC_R_DMA_2_CH30 452
#define SC_R_DMA_2_CH31 453
#define SC_R_ASRC_1 454
#define SC_R_ESAI_1 455
#define SC_R_SAI_6 456
#define SC_R_SAI_7 457
#define SC_R_AMIX 458
#define SC_R_MQS_0 459
#define SC_R_DMA_3_CH0 460
#define SC_R_DMA_3_CH1 461
#define SC_R_DMA_3_CH2 462
#define SC_R_DMA_3_CH3 463
#define SC_R_DMA_3_CH4 464
#define SC_R_DMA_3_CH5 465
#define SC_R_DMA_3_CH6 466
#define SC_R_DMA_3_CH7 467
#define SC_R_DMA_3_CH8 468
#define SC_R_DMA_3_CH9 469
#define SC_R_DMA_3_CH10 470
#define SC_R_DMA_3_CH11 471
#define SC_R_DMA_3_CH12 472
#define SC_R_DMA_3_CH13 473
#define SC_R_DMA_3_CH14 474
#define SC_R_DMA_3_CH15 475
#define SC_R_DMA_3_CH16 476
#define SC_R_DMA_3_CH17 477
#define SC_R_DMA_3_CH18 478
#define SC_R_DMA_3_CH19 479
#define SC_R_DMA_3_CH20 480
#define SC_R_DMA_3_CH21 481
#define SC_R_DMA_3_CH22 482
#define SC_R_DMA_3_CH23 483
#define SC_R_DMA_3_CH24 484
#define SC_R_DMA_3_CH25 485
#define SC_R_DMA_3_CH26 486
#define SC_R_DMA_3_CH27 487
#define SC_R_DMA_3_CH28 488
#define SC_R_DMA_3_CH29 489
#define SC_R_DMA_3_CH30 490
#define SC_R_DMA_3_CH31 491
#define SC_R_AUDIO_PLL_1 492
#define SC_R_AUDIO_CLK_0 493
#define SC_R_AUDIO_CLK_1 494
#define SC_R_MCLK_OUT_0 495
#define SC_R_MCLK_OUT_1 496
#define SC_R_PMIC_0 497
#define SC_R_PMIC_1 498
#define SC_R_SECO 499
#define SC_R_CAAM_JR1 500
#define SC_R_CAAM_JR2 501
#define SC_R_CAAM_JR3 502
#define SC_R_SECO_MU_2 503
#define SC_R_SECO_MU_3 504
#define SC_R_SECO_MU_4 505
#define SC_R_HDMI_RX_PWM_0 506
#define SC_R_A35 507
#define SC_R_A35_0 508
#define SC_R_A35_1 509
#define SC_R_A35_2 510
#define SC_R_A35_3 511
#define SC_R_DSP 512
#define SC_R_DSP_RAM 513
#define SC_R_CAAM_JR1_OUT 514
#define SC_R_CAAM_JR2_OUT 515
#define SC_R_CAAM_JR3_OUT 516
#define SC_R_VPU_DEC_0 517
#define SC_R_VPU_ENC_0 518
#define SC_R_CAAM_JR0 519
#define SC_R_CAAM_JR0_OUT 520
#define SC_R_PMIC_2 521
#define SC_R_DBLOGIC 522
#define SC_R_HDMI_PLL_1 523
#define SC_R_BOARD_R0 524
#define SC_R_BOARD_R1 525
#define SC_R_BOARD_R2 526
#define SC_R_BOARD_R3 527
#define SC_R_BOARD_R4 528
#define SC_R_BOARD_R5 529
#define SC_R_BOARD_R6 530
#define SC_R_BOARD_R7 531
#define SC_R_MJPEG_DEC_MP 532
#define SC_R_MJPEG_ENC_MP 533
#define SC_R_VPU_TS_0 534
#define SC_R_VPU_MU_0 535
#define SC_R_VPU_MU_1 536
#define SC_R_VPU_MU_2 537
#define SC_R_VPU_MU_3 538
#define SC_R_VPU_ENC_1 539
#define SC_R_VPU 540
#define SC_R_LAST 541
#define SC_R_NONE 0xFFF0
#endif /* DT_BINDINGS_RSCRC_IMX_H */
| 43.280859 | 79 | 0.506531 |
9a28bdf8d16fd1b1e76e956204aec0d2b5576d83 | 282 | css | CSS | train-scheduler/assets/css/syle.css | jason-michael/ku | 0d05f7fcf69b1f3fd40337945848649581468e91 | [
"MIT"
] | null | null | null | train-scheduler/assets/css/syle.css | jason-michael/ku | 0d05f7fcf69b1f3fd40337945848649581468e91 | [
"MIT"
] | null | null | null | train-scheduler/assets/css/syle.css | jason-michael/ku | 0d05f7fcf69b1f3fd40337945848649581468e91 | [
"MIT"
] | null | null | null | .container-fluid {
max-width: 1200px;
}
.card {
border: 1px solid royalblue;
}
.card-header {
font-weight: 600;
}
.delete-train-btn {
background: none;
color: #444;
transition: color .3s;
}
.delete-train-btn:hover {
color: red;
cursor: pointer;
} | 12.818182 | 32 | 0.606383 |
40c64decd8d1ee23c45f4a4bee8404d729e7610e | 12,957 | html | HTML | app/View/Admin/Config/PayPlugin.html | landlordlycat/acg-faka | 81d4155fc5ffac185a843f6a8ee5f90c1a127614 | [
"MIT"
] | 145 | 2021-11-27T14:32:23.000Z | 2022-03-31T16:24:41.000Z | app/View/Admin/Config/PayPlugin.html | landlordlycat/acg-faka | 81d4155fc5ffac185a843f6a8ee5f90c1a127614 | [
"MIT"
] | 6 | 2021-12-15T03:13:35.000Z | 2022-03-21T11:22:28.000Z | app/View/Admin/Config/PayPlugin.html | landlordlycat/acg-faka | 81d4155fc5ffac185a843f6a8ee5f90c1a127614 | [
"MIT"
] | 42 | 2021-11-27T15:37:56.000Z | 2022-03-26T10:11:17.000Z | #{include file="../Header.html"}
<style>
.layui-layer-page .layui-layer-content {
position: relative !important;
overflow: auto !important;
}
</style>
<!--begin::Content-->
<div class="content d-flex flex-column flex-column-fluid" id="kt_content">
<!--begin::Toolbar-->
#{include file="../Toolbar.html"}
<!--end::Toolbar-->
<!--begin::Post-->
<div class="post d-flex flex-column-fluid" id="kt_post">
<!--begin::Container-->
<div id="kt_content_container" class="container-fluid">
<!--begin::Tables Widget 9-->
<div class="card mb-5 mb-xl-8">
<!--begin::Header-->
<div class="card-header border-0 pt-5">
<div class="card-toolbar">
<a href="/admin/store/home" class="btn btn-sm btn-light-primary btn-app-create me-3"><i
class="fab fa-instalod"></i>
获取更多插件
</a>
</div>
</div>
<!--end::Header-->
<div class="card-body py-3">
<table id="pay-plugin" lay-filter="pay-plugin"></table>
</div>
</div>
<!--end::Tables Widget 9-->
</div>
<!--end::Container-->
</div>
<!--end::Post-->
</div>
<!--end::Content-->
<script>
$(function () {
layui.use(['hex'], function () {
let table = $("#pay-plugin");
var cao = layui.hex;
let pluginUpdate = {
items: null,
updateNum: 0,
init() {
if (!this.items) {
let items = localStorage.getItem("pluginVersions");
if (items) {
this.items = JSON.parse(items);
} else {
this.items = {};
}
}
},
getPlugin(key) {
this.init();
if (!this.items || !this.items.hasOwnProperty(key)) {
return null;
}
return this.items[key];
},
renderButton(key, version) {
let plugin = this.getPlugin(key);
if (!plugin) {
return "";
}
if (version != plugin.version) {
this.updateNum++;
$('#updateNum').html('<b style="color:red;">[' + this.updateNum + ']个插件需要更新</b>');
return ' <span style="cursor: pointer;" class="badge badge-light-success updatePlugin">更新->' + plugin.version + '</span>';
}
return "";
}
}
let queryParams = null;
table.bootstrapTable({
url: '/admin/api/pay/getPlugins',//请求的url地址
method: "post",//请求方式
showRefresh: false,//是否显示刷新按钮
cache: false,//是否使用缓存
showToggle: false,//是否显示详细视图和列表视图的切换按钮
cardView: false,
pageNumber: 1,//初始化显示第几页,默认第1页
singleSelect: false,//复选框只能选择一条记录
sidePagination: 'server',//分页显示方式,可以选择客户端和服务端(server|client)
contentType: "application/x-www-form-urlencoded",//使用post请求时必须加上
dataType: "json",//接收的数据类型
queryParamsType: 'limit',//参数格式,发送标准的Restful类型的请求
queryParams: function (params) {
params.page = (params.offset / params.limit) + 1;
if (queryParams) {
for (const key in params) {
queryParams[key] = params[key];
}
console.log(queryParams)
} else {
queryParams = params;
}
return queryParams;
},
//回调函数
responseHandler: function (res) {
pluginUpdate.updateNum = 0;
return {
"total": res.count,
"rows": res.data
}
},
columns: [
{
field: 'name', title: '插件名称', formatter: function (val, item) {
return '<span class="badge badge-light-dark"><img src="' + item.icon + '" style="width: 18px;border-radius: 5px;margin-top: -2px"/> ' + item.info.name + '</span>';
}
}
, {
field: 'website', title: '官方网站', formatter: function (val, item) {
return '<span class="badge badge-light-primary">' + item.info.website + '</span>';
}
}
, {
field: 'description', title: '简介', formatter: function (val, item) {
return '<span class="badge badge-light">' + item.info.description + '</span>';
}
}
, {
field: 'version', title: '<span id="updateNum">版本号</span>', formatter: function (val, item) {
return '<span class="badge badge-light">' + item.info.version + '</span>' + pluginUpdate.renderButton(item.id, item.info.version);
}
,
events: {
'click .updatePlugin': function (event, value, row, index) {
let plugin = pluginUpdate.getPlugin(row.id);
if (!plugin) {
layer.msg("初始化更新失败,请刷新页面重试");
return;
}
layer.confirm(plugin.update_content.replace(/\n/, "<br>"), {
btn: ['立即更新', '取消'],
title: "更新插件 -> " + '<span style="color: red;">' + row.info.name + '</span>'
}, function () {
let layIndex = layer.load(1, {shade: [0.3, '#fff']});
$.post('/admin/api/app/upgrade', {
plugin_key: row.id,
type: plugin.type,
plugin_id: plugin.id
}, res => {
layer.close(layIndex);
layer.msg(res.msg);
if (res.code == 200) {
window.location.reload();
}
});
});
}
}
}
, {
field: 'author', title: '作者', formatter: function (val, item) {
return '<span class="badge badge-light">' + item.info.author + '</span>';
}
}
, {
field: 'options', title: '功能', formatter: function (val, item) {
let list = [];
for (const key in item.info.options) {
list.push('<span class="badge badge-success me-1">' + item.info.options[key] + '</span>');
}
return list.join("");
}
}
, {
field: 'operate',
title: '操作',
formatter: function (val, item) {
let html = '<a class="badge badge-light text-success log" style="cursor: pointer;"><i class="far fa-clipboard text-success"></i> 日志</a>';
if (item.hasOwnProperty('submit') && item.submit.length > 0) {
html += ' <a style="cursor: pointer;" class="badge badge-light text-success edit"><i class="fa fa-cog text-success"></i> 配置</a>';
}
html += '<a style="cursor: pointer;" class="badge badge-light uninstall"><i class="fas fa-trash-alt"></i> 卸载</a>';
return html;
},
events: {
'click .edit': function (event, value, row, index) {
modal(row);
},
'click .uninstall': function (event, value, row, index) {
layer.confirm('你想要卸载 <span style="color: red;"> ' + row.info.name + " </span>吗,这将清空该插件的所有数据,并且无法恢复?", {
btn: ['卸载', '取消'],
title: "卸载插件"
}, function () {
let layIndex = layer.load(1, {shade: [0.3, '#fff']});
$.post('/admin/api/app/uninstall', {
plugin_key: row.id,
type: 1
}, res => {
layer.close(layIndex);
layer.msg(res.msg);
if (res.code == 200) {
table.bootstrapTable('refresh', {silent: true});
}
});
});
},
'click .log': function (event, value, row, index) {
let mapItem = row;
$.post('/admin/api/pay/getPluginLog', {handle: mapItem.handle}, res => {
if (res.code != 200) {
layer.msg(res.msg);
return;
}
layer.open({
type: 1,
shade: 0.4,
shadeClose: true, //开启遮罩关闭
title: '<i class="fas fa-robot" style="color: #f16a8b;"></i> 日志', //不显示标题
btn: ["清空日志", "关闭"],
content: '<textarea class="log-textarea" style="width: 100%;height: 100%;border: none;color: grey;padding: 5px;">' + res.data.log + '</textarea>',
area: cao.isPc() ? ["860px", "660px"] : ["100%", "100%"],
maxmin: true,
yes: (index, layero) => {
$.post('/admin/api/pay/ClearPluginLog', {handle: mapItem.handle}, res => {
layer.msg("日志已清空");
});
},
success: (layero, index) => {
this.timer = setInterval(() => {
$.post('/admin/api/pay/getPluginLog', {handle: mapItem.handle}, res => {
if (res.data.log != $('.log-textarea').html()) {
$('.log-textarea').html(res.data.log);
}
});
}, 1500);
},
end: () => {
clearInterval(this.timer);
}
});
});
}
}
}
]
});
let modal = (values = {}) => {
cao.popup('/admin/api/pay/setPluginConfig', values.submit, res => {
table.bootstrapTable('refresh', {silent: true});
}, values, "660px", false, "插件配置");
}
});
});
</script>
#{include file="../Footer.html"} | 47.988889 | 192 | 0.338427 |
e17fa2bcff10edb8d63362063d1fd7bcad4e776d | 2,124 | kt | Kotlin | editor/src/main/kotlin/dev/thecodewarrior/bitfont/fonteditor/widgets/NkWidget.kt | thecodewarrior/Bitfont | 51a9402fa1f31b0886307cdf120a5c66b5a02906 | [
"BSD-2-Clause"
] | 9 | 2019-07-13T08:55:50.000Z | 2022-03-15T16:21:28.000Z | editor/src/main/kotlin/dev/thecodewarrior/bitfont/fonteditor/widgets/NkWidget.kt | thecodewarrior/Bitfont | 51a9402fa1f31b0886307cdf120a5c66b5a02906 | [
"BSD-2-Clause"
] | 4 | 2020-08-30T19:16:53.000Z | 2020-11-01T22:48:07.000Z | editor/src/main/kotlin/dev/thecodewarrior/bitfont/fonteditor/widgets/NkWidget.kt | thecodewarrior/Bitfont | 51a9402fa1f31b0886307cdf120a5c66b5a02906 | [
"BSD-2-Clause"
] | null | null | null | package dev.thecodewarrior.bitfont.fonteditor.widgets
import dev.thecodewarrior.bitfont.fonteditor.utils.DrawList
import org.lwjgl.nuklear.NkContext
import org.lwjgl.nuklear.NkRect
import org.lwjgl.nuklear.Nuklear.*
import org.lwjgl.system.MemoryStack
abstract class NkWidget {
private var lastWidth: Float = -1f
private var lastHeight: Float = -1f
protected open fun resize(width: Float, height: Float) {}
protected abstract fun draw(
ctx: NkContext, drawList: DrawList,
rom: Boolean,
width: Float, height: Float,
mouseX: Float, mouseY: Float
)
fun push(ctx: NkContext) {
MemoryStack.stackPush().use { stack ->
val bounds = NkRect.mallocStack(stack)
val layoutState = nk_widget(bounds, ctx)
if(layoutState != NK_WIDGET_INVALID) {
val mousePos = ctx.input().mouse().pos()
val mouseX = mousePos.x() - bounds.x()
val mouseY = mousePos.y() - bounds.y()
if(bounds.w() != lastWidth || bounds.h() != lastHeight) {
lastWidth = bounds.w()
lastHeight = bounds.h()
resize(bounds.w(), bounds.h())
}
val drawList = DrawList()
draw(ctx, drawList, layoutState == NK_WIDGET_ROM, bounds.w(), bounds.h(), mouseX, mouseY)
drawList.transformX = bounds.x()
drawList.transformY = bounds.y()
drawList.push(ctx)
}
}
}
}
fun pushWidget(
ctx: NkContext,
drawFunction: (
ctx: NkContext, drawList: DrawList,
rom: Boolean,
width: Float, height: Float,
mouseX: Float, mouseY: Float
) -> Unit
) {
object : NkWidget() {
override fun draw(
ctx: NkContext,
drawList: DrawList,
rom: Boolean,
width: Float,
height: Float,
mouseX: Float,
mouseY: Float
) {
drawFunction(ctx, drawList, rom, width, height, mouseX, mouseY)
}
}.push(ctx)
} | 30.342857 | 105 | 0.556026 |
904bf35c3864dfe283dcd88e06b9927b6cb7425f | 2,267 | py | Python | robosuite/demos/demo_video_recording.py | JadeCong/jade_robosuite | 0d4b4efd9ca95742ed375ce0b0d4e16d499cec06 | [
"MIT"
] | null | null | null | robosuite/demos/demo_video_recording.py | JadeCong/jade_robosuite | 0d4b4efd9ca95742ed375ce0b0d4e16d499cec06 | [
"MIT"
] | null | null | null | robosuite/demos/demo_video_recording.py | JadeCong/jade_robosuite | 0d4b4efd9ca95742ed375ce0b0d4e16d499cec06 | [
"MIT"
] | null | null | null | """
Record video of agent episodes with the imageio library.
This script uses offscreen rendering.
Example:
$ python demo_video_recording.py --environment Lift --robots Panda
"""
import sys
sys.path.append("/home/jade/Documents/JadeCloud/Works/Aisono/Projects/Workflows/Doing/PycharmProjects/aisono-robosuite")
import argparse
import imageio
import numpy as np
import robosuite.utils.macros as macros
from robosuite import make
# Set the image convention to opencv so that the images are automatically rendered "right side up" when using imageio
# (which uses opencv convention)
macros.IMAGE_CONVENTION = "opencv"
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--environment", type=str, default="Stack")
parser.add_argument("--robots", nargs="+", type=str, default="Panda", help="Which robot(s) to use in the env")
parser.add_argument("--camera", type=str, default="agentview", help="Name of camera to render")
parser.add_argument("--video_path", type=str, default="video.mp4")
parser.add_argument("--timesteps", type=int, default=500)
parser.add_argument("--height", type=int, default=512)
parser.add_argument("--width", type=int, default=512)
parser.add_argument("--skip_frame", type=int, default=1)
args = parser.parse_args()
# initialize an environment with offscreen renderer
env = make(
args.environment,
args.robots,
has_renderer=False,
ignore_done=True,
use_camera_obs=True,
use_object_obs=False,
camera_names=args.camera,
camera_heights=args.height,
camera_widths=args.width,
)
obs = env.reset()
ndim = env.action_dim
# create a video writer with imageio
writer = imageio.get_writer(args.video_path, fps=20)
frames = []
for i in range(args.timesteps):
# run a uniformly random agent
action = 0.5 * np.random.randn(ndim)
obs, reward, done, info = env.step(action)
# dump a frame from every K frames
if i % args.skip_frame == 0:
frame = obs[args.camera + "_image"]
writer.append_data(frame)
print("Saving frame #{}".format(i))
if done:
break
writer.close()
| 31.486111 | 120 | 0.676224 |
4db4ab8ee7d3d9d7830b4ad195ecc0018386ca72 | 3,069 | html | HTML | templates/addperformance.html | bmsimons/EventManagerWebapp | 60273c61d56791365083ea98b9e2405ad54b4f2e | [
"MIT"
] | null | null | null | templates/addperformance.html | bmsimons/EventManagerWebapp | 60273c61d56791365083ea98b9e2405ad54b4f2e | [
"MIT"
] | null | null | null | templates/addperformance.html | bmsimons/EventManagerWebapp | 60273c61d56791365083ea98b9e2405ad54b4f2e | [
"MIT"
] | 2 | 2019-02-23T14:19:16.000Z | 2020-02-14T12:18:18.000Z | {% extends 'blocks/main.html' %}
{% block title %}Add performance{% endblock %}
{% block content %}
<div class="container">
<form class="form-horizontal">
<label for="performanceStartDate">Start date and time:</label>
<div class="form-group">
<div class='input-group date' id='performanceStartDate'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<label for="performanceEndDate">End date and time:</label>
<div class="form-group">
<div class='input-group date' id='performanceEndDate'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
</div>
<label for="podium">Podium:</label>
<div class="form-group">
<select class="form-control" id="podium">
{% for item in podia %}<option value="{{ item[0] }}">{{ item[1] }}</option>{% endfor %}
</select>
</div>
<label for="band">Band:</label>
<div class="form-group">
<select class="form-control" id="band">
<option value="-1">None</option>
{% for item in bands %}<option value="{{ item[0] }}">{{ item[1] }}</option>{% endfor %}
</select>
</div>
<label for="artist">Artist:</label>
<div class="form-group">
<select class="form-control" id="artist">
<option value="-1">None</option>
{% for item in artists %}<option value="{{ item[0] }}">{{ item[1] }}</option>{% endfor %}
</select>
</div>
<button type="button" class="btn btn-primary btn-block" id="addPerformanceButton">Add performance</button>
</form>
</div>
<script type="text/javascript">
$("#performanceStartDate").datetimepicker({
format: 'DD-MM-YYYY HH:mm'
});
$("#performanceEndDate").datetimepicker({
format: 'DD-MM-YYYY HH:mm'
});
$("#addPerformanceButton").on('click', function() {
var postBody = {performanceStart: $("#performanceStartDate input").val(), performanceEnd: $("#performanceEndDate input").val(), podiumId: $("#podium").val()}
if ($("#band").val() != "-1") {
postBody.bandId = $("#band").val()
} else if ($("#artist").val() != "-1") {
postBody.artistId = $("#artist").val()
}
$.post("/api/performance", postBody, function(data) {
window.location = "/performances?success=true"
})
})
</script>
{% endblock %} | 40.381579 | 169 | 0.479635 |
5c7afead0e55555f7c60b52106d0108debb4bfe8 | 439 | h | C | src/goto-programs/show_symbol_table.h | quiveringlemon/pfl | 615a4036ddd61b996a778a402d70148667261475 | [
"BSD-4-Clause"
] | null | null | null | src/goto-programs/show_symbol_table.h | quiveringlemon/pfl | 615a4036ddd61b996a778a402d70148667261475 | [
"BSD-4-Clause"
] | 6 | 2017-12-03T22:02:14.000Z | 2018-04-10T09:42:20.000Z | src/goto-programs/show_symbol_table.h | romainbrenguier/cbmc | 2cd5def9ffcbb3a0be386823ad33e099a47378d4 | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: Show the symbol table
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
#ifndef CPROVER_GOTO_PROGRAMS_SHOW_SYMBOL_TABLE_H
#define CPROVER_GOTO_PROGRAMS_SHOW_SYMBOL_TABLE_H
#include <util/ui_message.h>
void show_symbol_table(
const goto_modelt &,
ui_message_handlert::uit ui);
#endif
| 23.105263 | 69 | 0.558087 |
9360e784e39e6b3a61efe43c160d180e9011d044 | 1,676 | swift | Swift | Controlio/AttachmentContainerView.swift | backmeupplz/controlio-ios | 5bd8c5e138758bc4fc0e3e84163daeb807fc8fbc | [
"MIT"
] | 6 | 2018-06-07T11:49:45.000Z | 2019-09-24T12:38:30.000Z | Controlio/AttachmentContainerView.swift | backmeupplz/controlio-ios | 5bd8c5e138758bc4fc0e3e84163daeb807fc8fbc | [
"MIT"
] | null | null | null | Controlio/AttachmentContainerView.swift | backmeupplz/controlio-ios | 5bd8c5e138758bc4fc0e3e84163daeb807fc8fbc | [
"MIT"
] | null | null | null | //
// AttachmentContainerView.swift
// Controlio
//
// Created by Nikita Kolmogorov on 10/05/16.
// Copyright © 2016 Nikita Kolmogorov. All rights reserved.
//
import UIKit
import NohanaImagePicker
import Photos
protocol AttachmentContainerViewDelegate: class {
func closeImagePicker()
}
class AttachmentContainerView: UIView, AllPickerDelegate {
// MARK: - NohanaImagePickerControllerDelegate -
func nohanaImagePickerDidCancel(_ picker: NohanaImagePickerController){
picker.dismiss(animated: true, completion: nil)
}
func nohanaImagePicker(_ picker: NohanaImagePickerController, didFinishPickingPhotoKitAssets pickedAssts: [PHAsset]){
for image in pickedAssts {
wrapperView.attachments.append(picker.getAssetUIImage(image))
}
picker.dismiss(animated: true, completion: nil)
}
// MARK: - Variables -
weak var delegate: AttachmentContainerViewDelegate?
// MARK: - Outlets -
@IBOutlet weak var wrapperView: AttachmentWrapperView!
// MARK: - View Life Cycle -
override func layoutSubviews() {
super.layoutSubviews()
wrapperView.preferredMaxLayoutWidth = wrapperView.frame.width
super.layoutSubviews()
}
// MARK: - UIImagePickerControllerDelegate -
func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) {
if let pickedImage = info[UIImagePickerControllerOriginalImage] as? UIImage {
wrapperView.attachments.append(pickedImage)
}
delegate?.closeImagePicker()
}
}
| 27.47541 | 121 | 0.684368 |
117d991e84a5a463fde750b9ad4b93c3e25aa3b9 | 294 | rs | Rust | build.rs | zdimension/inline-vbs | 7482cb8bc6ec883f8831ea811f3c1ca1f7ee3518 | [
"Apache-2.0",
"MIT"
] | 13 | 2022-03-01T17:56:55.000Z | 2022-03-08T23:39:16.000Z | build.rs | zdimension/inline-vbs | 7482cb8bc6ec883f8831ea811f3c1ca1f7ee3518 | [
"Apache-2.0",
"MIT"
] | null | null | null | build.rs | zdimension/inline-vbs | 7482cb8bc6ec883f8831ea811f3c1ca1f7ee3518 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-06T14:49:56.000Z | 2022-03-06T14:49:56.000Z | fn main()
{
cxx_build::bridge("src/lib.rs")
.cpp(true)
.file("src/vbs.cpp")
.compile("inline-vbs-backend");
println!("cargo:rerun-if-changed=src/lib.rs");
println!("cargo:rerun-if-changed=src/vbs.cpp");
println!("cargo:rerun-if-changed=include/vbs.h");
} | 29.4 | 53 | 0.605442 |
829b13e320edfd7b85daf13bbc3a7b620501d50a | 5,169 | asm | Assembly | kernel/source/arch/x86_64/interrupts.asm | thomtl/Sigma | 30da9446a1f1b5cae4eff77bf9917fae1446ce85 | [
"BSD-2-Clause"
] | 46 | 2019-09-30T18:40:06.000Z | 2022-02-20T12:54:59.000Z | kernel/source/arch/x86_64/interrupts.asm | thomtl/Sigma | 30da9446a1f1b5cae4eff77bf9917fae1446ce85 | [
"BSD-2-Clause"
] | 11 | 2019-08-18T18:31:11.000Z | 2021-09-14T22:34:16.000Z | kernel/source/arch/x86_64/interrupts.asm | thomtl/Sigma | 30da9446a1f1b5cae4eff77bf9917fae1446ce85 | [
"BSD-2-Clause"
] | 1 | 2020-01-20T16:55:13.000Z | 2020-01-20T16:55:13.000Z | %macro ISR_NOERROR 1
[global isr%1]
isr%1:
cli
push 0
push %1
jmp isr_stub
%endmacro
%macro ISR_ERROR 1
[global isr%1]
isr%1:
cli
push %1
jmp isr_stub
%endmacro
ISR_NOERROR 0
ISR_NOERROR 1
ISR_NOERROR 2
ISR_NOERROR 3
ISR_NOERROR 4
ISR_NOERROR 5
ISR_NOERROR 6
ISR_NOERROR 7
ISR_ERROR 8
ISR_NOERROR 9
ISR_ERROR 10
ISR_ERROR 11
ISR_ERROR 12
ISR_ERROR 13
ISR_ERROR 14
ISR_NOERROR 15
ISR_NOERROR 16
ISR_ERROR 17
ISR_NOERROR 18
ISR_NOERROR 19
ISR_NOERROR 20
ISR_ERROR 21
ISR_NOERROR 22
ISR_NOERROR 23
ISR_NOERROR 24
ISR_NOERROR 25
ISR_NOERROR 26
ISR_NOERROR 27
ISR_NOERROR 28
ISR_NOERROR 29
ISR_ERROR 30
ISR_NOERROR 31
; End of exceptions
ISR_NOERROR 32
ISR_NOERROR 33
ISR_NOERROR 34
ISR_NOERROR 35
ISR_NOERROR 36
ISR_NOERROR 37
ISR_NOERROR 38
ISR_NOERROR 39
ISR_NOERROR 40
ISR_NOERROR 41
ISR_NOERROR 42
ISR_NOERROR 43
ISR_NOERROR 44
ISR_NOERROR 45
ISR_NOERROR 46
ISR_NOERROR 47
ISR_NOERROR 48
ISR_NOERROR 49
ISR_NOERROR 50
ISR_NOERROR 51
ISR_NOERROR 52
ISR_NOERROR 53
ISR_NOERROR 54
ISR_NOERROR 55
ISR_NOERROR 56
ISR_NOERROR 57
ISR_NOERROR 58
ISR_NOERROR 59
ISR_NOERROR 60
ISR_NOERROR 61
ISR_NOERROR 62
ISR_NOERROR 63
ISR_NOERROR 64
ISR_NOERROR 65
ISR_NOERROR 66
ISR_NOERROR 67
ISR_NOERROR 68
ISR_NOERROR 69
ISR_NOERROR 70
ISR_NOERROR 71
ISR_NOERROR 72
ISR_NOERROR 73
ISR_NOERROR 74
ISR_NOERROR 75
ISR_NOERROR 76
ISR_NOERROR 77
ISR_NOERROR 78
ISR_NOERROR 79
ISR_NOERROR 80
ISR_NOERROR 81
ISR_NOERROR 82
ISR_NOERROR 83
ISR_NOERROR 84
ISR_NOERROR 85
ISR_NOERROR 86
ISR_NOERROR 87
ISR_NOERROR 88
ISR_NOERROR 89
ISR_NOERROR 90
ISR_NOERROR 91
ISR_NOERROR 92
ISR_NOERROR 93
ISR_NOERROR 94
ISR_NOERROR 95
ISR_NOERROR 96
ISR_NOERROR 97
ISR_NOERROR 98
ISR_NOERROR 99
ISR_NOERROR 100
ISR_NOERROR 101
ISR_NOERROR 102
ISR_NOERROR 103
ISR_NOERROR 104
ISR_NOERROR 105
ISR_NOERROR 106
ISR_NOERROR 107
ISR_NOERROR 108
ISR_NOERROR 109
ISR_NOERROR 110
ISR_NOERROR 111
ISR_NOERROR 112
ISR_NOERROR 113
ISR_NOERROR 114
ISR_NOERROR 115
ISR_NOERROR 116
ISR_NOERROR 117
ISR_NOERROR 118
ISR_NOERROR 119
ISR_NOERROR 120
ISR_NOERROR 121
ISR_NOERROR 122
ISR_NOERROR 123
ISR_NOERROR 124
ISR_NOERROR 125
ISR_NOERROR 126
ISR_NOERROR 127
ISR_NOERROR 128
ISR_NOERROR 129
ISR_NOERROR 130
ISR_NOERROR 131
ISR_NOERROR 132
ISR_NOERROR 133
ISR_NOERROR 134
ISR_NOERROR 135
ISR_NOERROR 136
ISR_NOERROR 137
ISR_NOERROR 138
ISR_NOERROR 139
ISR_NOERROR 140
ISR_NOERROR 141
ISR_NOERROR 142
ISR_NOERROR 143
ISR_NOERROR 144
ISR_NOERROR 145
ISR_NOERROR 146
ISR_NOERROR 147
ISR_NOERROR 148
ISR_NOERROR 149
ISR_NOERROR 150
ISR_NOERROR 151
ISR_NOERROR 152
ISR_NOERROR 153
ISR_NOERROR 154
ISR_NOERROR 155
ISR_NOERROR 156
ISR_NOERROR 157
ISR_NOERROR 158
ISR_NOERROR 159
ISR_NOERROR 160
ISR_NOERROR 161
ISR_NOERROR 162
ISR_NOERROR 163
ISR_NOERROR 164
ISR_NOERROR 165
ISR_NOERROR 166
ISR_NOERROR 167
ISR_NOERROR 168
ISR_NOERROR 169
ISR_NOERROR 170
ISR_NOERROR 171
ISR_NOERROR 172
ISR_NOERROR 173
ISR_NOERROR 174
ISR_NOERROR 175
ISR_NOERROR 176
ISR_NOERROR 177
ISR_NOERROR 178
ISR_NOERROR 179
ISR_NOERROR 180
ISR_NOERROR 181
ISR_NOERROR 182
ISR_NOERROR 183
ISR_NOERROR 184
ISR_NOERROR 185
ISR_NOERROR 186
ISR_NOERROR 187
ISR_NOERROR 188
ISR_NOERROR 189
ISR_NOERROR 190
ISR_NOERROR 191
ISR_NOERROR 192
ISR_NOERROR 193
ISR_NOERROR 194
ISR_NOERROR 195
ISR_NOERROR 196
ISR_NOERROR 197
ISR_NOERROR 198
ISR_NOERROR 199
ISR_NOERROR 200
ISR_NOERROR 201
ISR_NOERROR 202
ISR_NOERROR 203
ISR_NOERROR 204
ISR_NOERROR 205
ISR_NOERROR 206
ISR_NOERROR 207
ISR_NOERROR 208
ISR_NOERROR 209
ISR_NOERROR 210
ISR_NOERROR 211
ISR_NOERROR 212
ISR_NOERROR 213
ISR_NOERROR 214
ISR_NOERROR 215
ISR_NOERROR 216
ISR_NOERROR 217
ISR_NOERROR 218
ISR_NOERROR 219
ISR_NOERROR 220
ISR_NOERROR 221
ISR_NOERROR 222
ISR_NOERROR 223
ISR_NOERROR 224
ISR_NOERROR 225
ISR_NOERROR 226
ISR_NOERROR 227
ISR_NOERROR 228
ISR_NOERROR 229
ISR_NOERROR 230
ISR_NOERROR 231
ISR_NOERROR 232
ISR_NOERROR 233
ISR_NOERROR 234
ISR_NOERROR 235
ISR_NOERROR 236
ISR_NOERROR 237
ISR_NOERROR 238
ISR_NOERROR 239
ISR_NOERROR 240
ISR_NOERROR 241
ISR_NOERROR 242
ISR_NOERROR 243
ISR_NOERROR 244
ISR_NOERROR 245
ISR_NOERROR 246
ISR_NOERROR 247
ISR_NOERROR 248
ISR_NOERROR 249
ISR_NOERROR 250
ISR_NOERROR 251
ISR_NOERROR 252
ISR_NOERROR 253
ISR_NOERROR 254
[global isr255]
isr255: ; APIC Spurious
iretq
isr_stub:
push rax
push rcx
push rdx
push rbx
push rsp
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
xor rax, rax
mov ax, ds
push rax
mov ax, 0x0
mov ds, ax
mov es, ax
cld
mov rdi, rsp
extern sigma_isr_handler
call sigma_isr_handler
pop rax
mov ds, ax
mov es, ax
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rsp
pop rbx
pop rdx
pop rcx
pop rax
add rsp, 16
iretq
global flush_gdt
flush_gdt:
push rax
mov rax, rsp
push 0x0 ; Stack Segment
push rax ; RSP
pushf ; RFLAGS
push 0x8 ; CS
push flush_done ; RIP
iretq
flush_done:
xor rax, rax
mov ax, 0x0
mov ds, ax
mov ss, ax
mov es, ax
pop rax
ret | 14.519663 | 28 | 0.798027 |
4846654135ca520c26efbaddefdfbb7bdc584d73 | 1,394 | asm | Assembly | programs/oeis/157/A157759.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/157/A157759.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/157/A157759.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A157759: a(n) = 15780962*n^2 - 25943924*n + 10662963.
; 500001,21898963,74859849,159382659,275467393,423114051,602322633,813093139,1055425569,1329319923,1634776201,1971794403,2340374529,2740516579,3172220553,3635486451,4130314273,4656704019,5214655689,5804169283,6425244801,7077882243,7762081609,8477842899,9225166113,10004051251,10814498313,11656507299,12530078209,13435211043,14371905801,15340162483,16339981089,17371361619,18434304073,19528808451,20654874753,21812502979,23001693129,24222445203,25474759201,26758635123,28074072969,29421072739,30799634433,32209758051,33651443593,35124691059,36629500449,38165871763,39733805001,41333300163,42964357249,44626976259,46321157193,48046900051,49804204833,51593071539,53413500169,55265490723,57149043201,59064157603,61010833929,62989072179,64998872353,67040234451,69113158473,71217644419,73353692289,75521302083,77720473801,79951207443,82213503009,84507360499,86832779913,89189761251,91578304513,93998409699,96450076809,98933305843,101448096801,103994449683,106572364489,109181841219,111822879873,114495480451,117199642953,119935367379,122702653729,125501502003,128331912201,131193884323,134087418369,137012514339,139969172233,142957392051,145977173793,149028517459,152111423049,155225890563
seq $0,157758 ; a(n) = 297754*n - 244754.
pow $0,2
mov $2,$0
mul $2,2
sub $0,$2
mov $2,$0
max $0,0
sub $0,$2
sub $0,2808999994
div $0,5618
add $0,500001
| 92.933333 | 1,183 | 0.868006 |
084b524b624096d4c350a3cf15e4e3f53b72b227 | 816 | dart | Dart | lib/store/provider/user_provider.dart | imboy-pub/imboy-flutter | 166a97c682557819cec7290cb59f210a8b211ba1 | [
"MulanPSL-1.0"
] | 1 | 2022-02-04T14:15:43.000Z | 2022-02-04T14:15:43.000Z | lib/store/provider/user_provider.dart | imboy-pub/imboy-flutter | 166a97c682557819cec7290cb59f210a8b211ba1 | [
"MulanPSL-1.0"
] | null | null | null | lib/store/provider/user_provider.dart | imboy-pub/imboy-flutter | 166a97c682557819cec7290cb59f210a8b211ba1 | [
"MulanPSL-1.0"
] | null | null | null | import 'package:connectivity_plus/connectivity_plus.dart';
import 'package:dio/dio.dart';
import 'package:imboy/component/http/http_client.dart';
import 'package:imboy/component/http/http_response.dart';
import 'package:imboy/config/const.dart';
class UserProvider extends HttpClient {
Future<String> refreshtoken(String refreshtoken) async {
var connectivityResult = await (Connectivity().checkConnectivity());
if (connectivityResult == ConnectivityResult.none) {
return "";
}
HttpResponse resp = await post(
API.refreshtoken,
options: Options(
contentType: "application/x-www-form-urlencoded",
headers: {
Keys.refreshtokenKey: refreshtoken,
},
),
);
if (!resp.ok) {
return "";
}
return resp.payload["token"];
}
}
| 29.142857 | 72 | 0.677696 |
2d397f15a994cb1509365702613f0ed3a175a056 | 762 | swift | Swift | Combine/CombineTest/Common.swift | LHQ25/100DayProject | 8a56e3aea151aef4669537f8c9f9880c1820643e | [
"MIT"
] | null | null | null | Combine/CombineTest/Common.swift | LHQ25/100DayProject | 8a56e3aea151aef4669537f8c9f9880c1820643e | [
"MIT"
] | null | null | null | Combine/CombineTest/Common.swift | LHQ25/100DayProject | 8a56e3aea151aef4669537f8c9f9880c1820643e | [
"MIT"
] | null | null | null | //
// Common.swift
// CombineTest
//
// Created by cbkj on 2021/9/30.
//
import Foundation
import Combine
// MARK: - “辅助类的代码,用来帮助打印和确认事件流”
public enum SampleError: Error {
case sampleError
case stringError(msg: String)
case customError(error: Error)
}
@discardableResult
public func check<P: Publisher>(_ title: String, publisher: () -> P) -> AnyCancellable
{
print("----- \(title) -----")
defer { print("") }
return publisher()
.print()
.sink(receiveCompletion: { _ in}, receiveValue: { _ in } )
}
/*
使用 check 来检查某个 Publisher,它将打印输入的 title 信息,
然后通过 sink 来订阅这个 Publisher,这可以让输入的 publisher 开始发送和产生值。
在订阅之前,为 publisher 添加了一个 .print(),
这是一个 Combine 内建的 Operator,
它会在该 publisher 发送事件时,将具体事件的内容打印到控制台,方便调试观察”
*/
| 20.594595 | 86 | 0.666667 |
9c3c2d6468f8d0ea46078ff23c195a8b88feb385 | 1,065 | dart | Dart | lib/main.dart | ferrarafer/counter_app_extended | 04a9f81195a8236e6bd2f7fd4c58203107428936 | [
"MIT"
] | null | null | null | lib/main.dart | ferrarafer/counter_app_extended | 04a9f81195a8236e6bd2f7fd4c58203107428936 | [
"MIT"
] | null | null | null | lib/main.dart | ferrarafer/counter_app_extended | 04a9f81195a8236e6bd2f7fd4c58203107428936 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:logger/logger.dart';
import 'package:stacked_services/stacked_services.dart';
import 'package:starter_app/app/app.locator.dart';
import 'package:starter_app/app/app.router.dart';
Future<void> main() async {
Logger.level = Level.verbose;
try {
WidgetsFlutterBinding.ensureInitialized();
// Register all the models and services before the app starts
setupLocator();
runApp(const MyApp());
} catch (e) {
// ignore: avoid_print
print('App failed to start. Probably the locator setup. ${e.toString()}');
}
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
builder: (context, child) => child!,
initialRoute: Routes.startupView,
navigatorKey: StackedService.navigatorKey,
navigatorObservers: [
StackedService.routeObserver,
],
onGenerateRoute: StackedRouter().onGenerateRoute,
title: 'StarterAppStacked',
);
}
}
| 26.625 | 78 | 0.696714 |
1bf0d0c9969972dbecf2d0adc4d04e45f98a94d6 | 1,777 | py | Python | Python-Intermetiate/04_regular_expressions.py | carlosmertens/Django-Full-Stack | e9713618936d6a90e098056cd6168d427dc91bd3 | [
"MIT"
] | null | null | null | Python-Intermetiate/04_regular_expressions.py | carlosmertens/Django-Full-Stack | e9713618936d6a90e098056cd6168d427dc91bd3 | [
"MIT"
] | null | null | null | Python-Intermetiate/04_regular_expressions.py | carlosmertens/Django-Full-Stack | e9713618936d6a90e098056cd6168d427dc91bd3 | [
"MIT"
] | null | null | null | # REGULAR EXPRESSIONS
# Start by importing "re" for Reglar Expressions
import re
patterns = ["term1", "term2"]
text = "This is a string with term1, but not the other!"
# Search with re
print("\n** Regular Expression - Search")
for pattern in patterns:
print("*Serching for: " + pattern)
if re.search(pattern, text):
print("Found match!")
else:
print("No match found!")
match = re.search("term1", text)
print("** Locations start at:", match.start()) # Print location
# Split with re
print("\nRegular Expression - Split")
email = "username@email.com"
split_at = "@"
print(re.split(split_at, email))
# Find with re
finding = re.findall("t", text)
print(finding)
# Create a function to find patterns with re
def multi_re_find(patterns, phrase):
"""Function to find patterns using Regular Expressions."""
for idx in patterns:
print("*Searching for pattern {}".format(idx))
print(re.findall(idx, phrase))
print("\n")
test_phrase = "sdsd..sssddd...sdddsddd...dsds...dsssss...sdddd"
test_patterns = ["sd*", # s followed by zero or more d's
"sd+", # s followed by one or more d's
"sd?", # s followed by zero or one d's
"sd{3}", # s followed by three d's
"sd{2,3}", # s followed by two to three d's
"s[sd]+"
]
multi_re_find(test_patterns, test_phrase)
# Strip punctuations
print("** Strip Punctuation")
test_comment = "This is a string! But it has punctuation. How can we remove it?"
new_patterns = ["[^!.?]+"]
multi_re_find(new_patterns, test_comment)
other_patterns = ["[a-z]+"] # To find capital letters change to A-Z
multi_re_find(other_patterns, test_comment)
| 25.028169 | 80 | 0.620709 |
7776ff141f01e70f4be1d09c2075ec094046eea0 | 64 | sql | SQL | mysql/init_sql_scripts/init_database.sql | yotsuba1022/the-curd | 019f57fffee3c896cdd2c430140cd69c8269778d | [
"Apache-2.0"
] | 1 | 2021-01-06T06:16:30.000Z | 2021-01-06T06:16:30.000Z | mysql/init_sql_scripts/init_database.sql | yotsuba1022/the-curd | 019f57fffee3c896cdd2c430140cd69c8269778d | [
"Apache-2.0"
] | null | null | null | mysql/init_sql_scripts/init_database.sql | yotsuba1022/the-curd | 019f57fffee3c896cdd2c430140cd69c8269778d | [
"Apache-2.0"
] | 1 | 2021-01-06T06:16:41.000Z | 2021-01-06T06:16:41.000Z | CREATE DATABASE IF NOT EXISTS the_crud default charset utf8mb4;
| 32 | 63 | 0.84375 |
0cc31eec76a99a4705096b18e21f9ea4dd88bce8 | 523 | py | Python | web/pyshop/admin.py | Andrew7891-kip/Ecommerce-pyshop | 2eaa7b553789b65992cbd80f80a68fcf25ef0efd | [
"Apache-2.0"
] | null | null | null | web/pyshop/admin.py | Andrew7891-kip/Ecommerce-pyshop | 2eaa7b553789b65992cbd80f80a68fcf25ef0efd | [
"Apache-2.0"
] | null | null | null | web/pyshop/admin.py | Andrew7891-kip/Ecommerce-pyshop | 2eaa7b553789b65992cbd80f80a68fcf25ef0efd | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
class ProductAdmin(admin.ModelAdmin):
list_display=['name','category','price_is']
prepopulated_fields = {"slug": ("name",)}
class CartAdmin(admin.ModelAdmin):
list_display=['item','user','created']
class OrderAdmin(admin.ModelAdmin):
list_display=['user','ordered']
admin.site.register(Product,ProductAdmin)
admin.site.register(Cart,CartAdmin)
admin.site.register(Order,OrderAdmin)
admin.site.register(Checkout)
# Register your models here.
| 20.115385 | 47 | 0.743786 |
f720533cbeb0fb79891cfec58a603c54458254f7 | 197 | h | C | src/better_LogEntry.h | ddarknut/better | 47d801c4fa8de6c32dff933de7d25b559421ce09 | [
"Apache-2.0"
] | 5 | 2020-11-21T03:44:17.000Z | 2021-07-10T22:51:28.000Z | src/better_LogEntry.h | ddarknut/better | 47d801c4fa8de6c32dff933de7d25b559421ce09 | [
"Apache-2.0"
] | null | null | null | src/better_LogEntry.h | ddarknut/better | 47d801c4fa8de6c32dff933de7d25b559421ce09 | [
"Apache-2.0"
] | 1 | 2021-03-24T20:33:57.000Z | 2021-03-24T20:33:57.000Z | #ifndef BETTER_LOGENTRY_H
#define BETTER_LOGENTRY_H
#include "better_const.h"
struct LogEntry
{
u8 level;
char* content;
};
void LogEntry_free(LogEntry* e);
#endif // BETTER_LOGENTRY_H
| 13.133333 | 32 | 0.741117 |
ca45be53e3ea1530873cba7f082cda9634dcd93f | 477,740 | sql | SQL | workshop.sql | hlavacm/wordcamp-praha-2018 | 80a61e9de5873bb5b6efa520b18ab6f7eeb9adbf | [
"BSD-3-Clause"
] | null | null | null | workshop.sql | hlavacm/wordcamp-praha-2018 | 80a61e9de5873bb5b6efa520b18ab6f7eeb9adbf | [
"BSD-3-Clause"
] | null | null | null | workshop.sql | hlavacm/wordcamp-praha-2018 | 80a61e9de5873bb5b6efa520b18ab6f7eeb9adbf | [
"BSD-3-Clause"
] | null | null | null | # ************************************************************
# Sequel Pro SQL dump
# Version 4541
#
# http://www.sequelpro.com/
# https://github.com/sequelpro/sequelpro
#
# Host: 127.0.0.1 (MySQL 5.5.5-10.1.21-MariaDB)
# Database: wordcamp-praha-2018-workshop
# Generation Time: 2018-02-25 11:23:20 +0000
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Dump of table kt_logs
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_logs`;
CREATE TABLE `kt_logs` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`level_id` int(5) unsigned NOT NULL,
`scope` varchar(30) DEFAULT NULL,
`message` text NOT NULL,
`date` datetime NOT NULL,
`logged_user_name` varchar(60) DEFAULT NULL,
`file` varchar(300) DEFAULT NULL,
`line` int(15) unsigned DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table kt_termmeta
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_termmeta`;
CREATE TABLE `kt_termmeta` (
`meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`ktterm_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`meta_key` varchar(255) DEFAULT NULL,
`meta_value` longtext,
PRIMARY KEY (`meta_id`),
KEY `ktterm_id` (`ktterm_id`),
KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# Dump of table kt_wp_commentmeta
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_commentmeta`;
CREATE TABLE `kt_wp_commentmeta` (
`meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`comment_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`meta_id`),
KEY `comment_id` (`comment_id`),
KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
# Dump of table kt_wp_comments
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_comments`;
CREATE TABLE `kt_wp_comments` (
`comment_ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`comment_post_ID` bigint(20) unsigned NOT NULL DEFAULT '0',
`comment_author` tinytext COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_author_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_author_url` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_author_IP` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`comment_content` text COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_karma` int(11) NOT NULL DEFAULT '0',
`comment_approved` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
`comment_agent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`comment_ID`),
KEY `comment_post_ID` (`comment_post_ID`),
KEY `comment_approved_date_gmt` (`comment_approved`,`comment_date_gmt`),
KEY `comment_date_gmt` (`comment_date_gmt`),
KEY `comment_parent` (`comment_parent`),
KEY `comment_author_email` (`comment_author_email`(10))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_comments` WRITE;
/*!40000 ALTER TABLE `kt_wp_comments` DISABLE KEYS */;
INSERT INTO `kt_wp_comments` (`comment_ID`, `comment_post_ID`, `comment_author`, `comment_author_email`, `comment_author_url`, `comment_author_IP`, `comment_date`, `comment_date_gmt`, `comment_content`, `comment_karma`, `comment_approved`, `comment_agent`, `comment_type`, `comment_parent`, `user_id`)
VALUES
(1,1,'WordPress komentátor','wapuu@wordpress.example','https://wordpress.org/','','2018-02-22 15:07:05','2018-02-22 14:07:05','Zdravím, tohle je komentář.\nChcete-li začít se schvalováním, úpravami a mazáním komentářů, pak si prohlédněte sekci Komentáře na nástěnce.\nProfilové obrázky komentujících vám přináší služba <a href=\"https://gravatar.com\">Gravatar</a>.',0,'1','','',0,0);
/*!40000 ALTER TABLE `kt_wp_comments` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_links
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_links`;
CREATE TABLE `kt_wp_links` (
`link_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_image` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_target` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_visible` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Y',
`link_owner` bigint(20) unsigned NOT NULL DEFAULT '1',
`link_rating` int(11) NOT NULL DEFAULT '0',
`link_updated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`link_rel` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`link_notes` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
`link_rss` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`link_id`),
KEY `link_visible` (`link_visible`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
# Dump of table kt_wp_options
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_options`;
CREATE TABLE `kt_wp_options` (
`option_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`option_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`option_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`autoload` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
PRIMARY KEY (`option_id`),
UNIQUE KEY `option_name` (`option_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_options` WRITE;
/*!40000 ALTER TABLE `kt_wp_options` DISABLE KEYS */;
INSERT INTO `kt_wp_options` (`option_id`, `option_name`, `option_value`, `autoload`)
VALUES
(1,'siteurl','http://localhost/wordcamp-praha-2018/workshop','yes'),
(2,'home','http://localhost/wordcamp-praha-2018/workshop','yes'),
(3,'blogname','WordCamp Praha 2018 workshop','yes'),
(4,'blogdescription','Další web používající WordPress','yes'),
(5,'users_can_register','0','yes'),
(6,'admin_email','hlavac@brilo.cz','yes'),
(7,'start_of_week','1','yes'),
(8,'use_balanceTags','0','yes'),
(9,'use_smilies','1','yes'),
(10,'require_name_email','1','yes'),
(11,'comments_notify','1','yes'),
(12,'posts_per_rss','10','yes'),
(13,'rss_use_excerpt','0','yes'),
(14,'mailserver_url','mail.example.com','yes'),
(15,'mailserver_login','login@example.com','yes'),
(16,'mailserver_pass','password','yes'),
(17,'mailserver_port','110','yes'),
(18,'default_category','1','yes'),
(19,'default_comment_status','open','yes'),
(20,'default_ping_status','open','yes'),
(21,'default_pingback_flag','1','yes'),
(22,'posts_per_page','10','yes'),
(23,'date_format','j. n. Y','yes'),
(24,'time_format','G:i','yes'),
(25,'links_updated_date_format','j. n. Y, G:i','yes'),
(26,'comment_moderation','0','yes'),
(27,'moderation_notify','1','yes'),
(28,'permalink_structure','/%year%/%monthnum%/%day%/%postname%/','yes'),
(29,'rewrite_rules','a:135:{s:11:\"^wp-json/?$\";s:22:\"index.php?rest_route=/\";s:14:\"^wp-json/(.*)?\";s:33:\"index.php?rest_route=/$matches[1]\";s:21:\"^index.php/wp-json/?$\";s:22:\"index.php?rest_route=/\";s:24:\"^index.php/wp-json/(.*)?\";s:33:\"index.php?rest_route=/$matches[1]\";s:7:\"blog/?$\";s:24:\"index.php?post_type=post\";s:12:\"reference/?$\";s:29:\"index.php?post_type=reference\";s:42:\"reference/feed/(feed|rdf|rss|rss2|atom)/?$\";s:46:\"index.php?post_type=reference&feed=$matches[1]\";s:37:\"reference/(feed|rdf|rss|rss2|atom)/?$\";s:46:\"index.php?post_type=reference&feed=$matches[1]\";s:29:\"reference/page/([0-9]{1,})/?$\";s:47:\"index.php?post_type=reference&paged=$matches[1]\";s:47:\"category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:42:\"category/(.+?)/(feed|rdf|rss|rss2|atom)/?$\";s:52:\"index.php?category_name=$matches[1]&feed=$matches[2]\";s:23:\"category/(.+?)/embed/?$\";s:46:\"index.php?category_name=$matches[1]&embed=true\";s:35:\"category/(.+?)/page/?([0-9]{1,})/?$\";s:53:\"index.php?category_name=$matches[1]&paged=$matches[2]\";s:17:\"category/(.+?)/?$\";s:35:\"index.php?category_name=$matches[1]\";s:44:\"tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?tag=$matches[1]&feed=$matches[2]\";s:39:\"tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?tag=$matches[1]&feed=$matches[2]\";s:20:\"tag/([^/]+)/embed/?$\";s:36:\"index.php?tag=$matches[1]&embed=true\";s:32:\"tag/([^/]+)/page/?([0-9]{1,})/?$\";s:43:\"index.php?tag=$matches[1]&paged=$matches[2]\";s:14:\"tag/([^/]+)/?$\";s:25:\"index.php?tag=$matches[1]\";s:45:\"type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?post_format=$matches[1]&feed=$matches[2]\";s:40:\"type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?post_format=$matches[1]&feed=$matches[2]\";s:21:\"type/([^/]+)/embed/?$\";s:44:\"index.php?post_format=$matches[1]&embed=true\";s:33:\"type/([^/]+)/page/?([0-9]{1,})/?$\";s:51:\"index.php?post_format=$matches[1]&paged=$matches[2]\";s:15:\"type/([^/]+)/?$\";s:33:\"index.php?post_format=$matches[1]\";s:37:\"reference/[^/]+/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:47:\"reference/[^/]+/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:67:\"reference/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:62:\"reference/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:62:\"reference/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:43:\"reference/[^/]+/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:26:\"reference/([^/]+)/embed/?$\";s:42:\"index.php?reference=$matches[1]&embed=true\";s:30:\"reference/([^/]+)/trackback/?$\";s:36:\"index.php?reference=$matches[1]&tb=1\";s:50:\"reference/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:48:\"index.php?reference=$matches[1]&feed=$matches[2]\";s:45:\"reference/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:48:\"index.php?reference=$matches[1]&feed=$matches[2]\";s:38:\"reference/([^/]+)/page/?([0-9]{1,})/?$\";s:49:\"index.php?reference=$matches[1]&paged=$matches[2]\";s:45:\"reference/([^/]+)/comment-page-([0-9]{1,})/?$\";s:49:\"index.php?reference=$matches[1]&cpage=$matches[2]\";s:34:\"reference/([^/]+)(?:/([0-9]+))?/?$\";s:48:\"index.php?reference=$matches[1]&page=$matches[2]\";s:26:\"reference/[^/]+/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:36:\"reference/[^/]+/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:56:\"reference/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:51:\"reference/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:51:\"reference/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:32:\"reference/[^/]+/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:60:\"kategorie-referenci/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:56:\"index.php?referencecategory=$matches[1]&feed=$matches[2]\";s:55:\"kategorie-referenci/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:56:\"index.php?referencecategory=$matches[1]&feed=$matches[2]\";s:36:\"kategorie-referenci/([^/]+)/embed/?$\";s:50:\"index.php?referencecategory=$matches[1]&embed=true\";s:48:\"kategorie-referenci/([^/]+)/page/?([0-9]{1,})/?$\";s:57:\"index.php?referencecategory=$matches[1]&paged=$matches[2]\";s:30:\"kategorie-referenci/([^/]+)/?$\";s:39:\"index.php?referencecategory=$matches[1]\";s:34:\"slider/[^/]+/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:44:\"slider/[^/]+/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:64:\"slider/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:59:\"slider/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:59:\"slider/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:40:\"slider/[^/]+/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:23:\"slider/([^/]+)/embed/?$\";s:39:\"index.php?slider=$matches[1]&embed=true\";s:27:\"slider/([^/]+)/trackback/?$\";s:33:\"index.php?slider=$matches[1]&tb=1\";s:35:\"slider/([^/]+)/page/?([0-9]{1,})/?$\";s:46:\"index.php?slider=$matches[1]&paged=$matches[2]\";s:42:\"slider/([^/]+)/comment-page-([0-9]{1,})/?$\";s:46:\"index.php?slider=$matches[1]&cpage=$matches[2]\";s:31:\"slider/([^/]+)(?:/([0-9]+))?/?$\";s:45:\"index.php?slider=$matches[1]&page=$matches[2]\";s:23:\"slider/[^/]+/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:33:\"slider/[^/]+/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:53:\"slider/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:48:\"slider/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:48:\"slider/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:29:\"slider/[^/]+/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:48:\".*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\\.php$\";s:18:\"index.php?feed=old\";s:20:\".*wp-app\\.php(/.*)?$\";s:19:\"index.php?error=403\";s:18:\".*wp-register.php$\";s:23:\"index.php?register=true\";s:32:\"feed/(feed|rdf|rss|rss2|atom)/?$\";s:27:\"index.php?&feed=$matches[1]\";s:27:\"(feed|rdf|rss|rss2|atom)/?$\";s:27:\"index.php?&feed=$matches[1]\";s:8:\"embed/?$\";s:21:\"index.php?&embed=true\";s:20:\"page/?([0-9]{1,})/?$\";s:28:\"index.php?&paged=$matches[1]\";s:41:\"comments/feed/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?&feed=$matches[1]&withcomments=1\";s:36:\"comments/(feed|rdf|rss|rss2|atom)/?$\";s:42:\"index.php?&feed=$matches[1]&withcomments=1\";s:17:\"comments/embed/?$\";s:21:\"index.php?&embed=true\";s:44:\"search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:40:\"index.php?s=$matches[1]&feed=$matches[2]\";s:39:\"search/(.+)/(feed|rdf|rss|rss2|atom)/?$\";s:40:\"index.php?s=$matches[1]&feed=$matches[2]\";s:20:\"search/(.+)/embed/?$\";s:34:\"index.php?s=$matches[1]&embed=true\";s:32:\"search/(.+)/page/?([0-9]{1,})/?$\";s:41:\"index.php?s=$matches[1]&paged=$matches[2]\";s:14:\"search/(.+)/?$\";s:23:\"index.php?s=$matches[1]\";s:47:\"author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?author_name=$matches[1]&feed=$matches[2]\";s:42:\"author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:50:\"index.php?author_name=$matches[1]&feed=$matches[2]\";s:23:\"author/([^/]+)/embed/?$\";s:44:\"index.php?author_name=$matches[1]&embed=true\";s:35:\"author/([^/]+)/page/?([0-9]{1,})/?$\";s:51:\"index.php?author_name=$matches[1]&paged=$matches[2]\";s:17:\"author/([^/]+)/?$\";s:33:\"index.php?author_name=$matches[1]\";s:69:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$\";s:80:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]\";s:64:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$\";s:80:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]\";s:45:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$\";s:74:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true\";s:57:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$\";s:81:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]\";s:39:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$\";s:63:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]\";s:56:\"([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$\";s:64:\"index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]\";s:51:\"([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$\";s:64:\"index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]\";s:32:\"([0-9]{4})/([0-9]{1,2})/embed/?$\";s:58:\"index.php?year=$matches[1]&monthnum=$matches[2]&embed=true\";s:44:\"([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$\";s:65:\"index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]\";s:26:\"([0-9]{4})/([0-9]{1,2})/?$\";s:47:\"index.php?year=$matches[1]&monthnum=$matches[2]\";s:43:\"([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$\";s:43:\"index.php?year=$matches[1]&feed=$matches[2]\";s:38:\"([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$\";s:43:\"index.php?year=$matches[1]&feed=$matches[2]\";s:19:\"([0-9]{4})/embed/?$\";s:37:\"index.php?year=$matches[1]&embed=true\";s:31:\"([0-9]{4})/page/?([0-9]{1,})/?$\";s:44:\"index.php?year=$matches[1]&paged=$matches[2]\";s:13:\"([0-9]{4})/?$\";s:26:\"index.php?year=$matches[1]\";s:58:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:68:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:88:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:83:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:83:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:64:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:53:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/embed/?$\";s:91:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&embed=true\";s:57:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/trackback/?$\";s:85:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&tb=1\";s:77:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:97:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&feed=$matches[5]\";s:72:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:97:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&feed=$matches[5]\";s:65:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/page/?([0-9]{1,})/?$\";s:98:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&paged=$matches[5]\";s:72:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)/comment-page-([0-9]{1,})/?$\";s:98:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&cpage=$matches[5]\";s:61:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([^/]+)(?:/([0-9]+))?/?$\";s:97:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&name=$matches[4]&page=$matches[5]\";s:47:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:57:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:77:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:72:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:72:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:53:\"[0-9]{4}/[0-9]{1,2}/[0-9]{1,2}/[^/]+/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:64:\"([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$\";s:81:\"index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&cpage=$matches[4]\";s:51:\"([0-9]{4})/([0-9]{1,2})/comment-page-([0-9]{1,})/?$\";s:65:\"index.php?year=$matches[1]&monthnum=$matches[2]&cpage=$matches[3]\";s:38:\"([0-9]{4})/comment-page-([0-9]{1,})/?$\";s:44:\"index.php?year=$matches[1]&cpage=$matches[2]\";s:27:\".?.+?/attachment/([^/]+)/?$\";s:32:\"index.php?attachment=$matches[1]\";s:37:\".?.+?/attachment/([^/]+)/trackback/?$\";s:37:\"index.php?attachment=$matches[1]&tb=1\";s:57:\".?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:52:\".?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$\";s:49:\"index.php?attachment=$matches[1]&feed=$matches[2]\";s:52:\".?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$\";s:50:\"index.php?attachment=$matches[1]&cpage=$matches[2]\";s:33:\".?.+?/attachment/([^/]+)/embed/?$\";s:43:\"index.php?attachment=$matches[1]&embed=true\";s:16:\"(.?.+?)/embed/?$\";s:41:\"index.php?pagename=$matches[1]&embed=true\";s:20:\"(.?.+?)/trackback/?$\";s:35:\"index.php?pagename=$matches[1]&tb=1\";s:40:\"(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$\";s:47:\"index.php?pagename=$matches[1]&feed=$matches[2]\";s:35:\"(.?.+?)/(feed|rdf|rss|rss2|atom)/?$\";s:47:\"index.php?pagename=$matches[1]&feed=$matches[2]\";s:28:\"(.?.+?)/page/?([0-9]{1,})/?$\";s:48:\"index.php?pagename=$matches[1]&paged=$matches[2]\";s:35:\"(.?.+?)/comment-page-([0-9]{1,})/?$\";s:48:\"index.php?pagename=$matches[1]&cpage=$matches[2]\";s:24:\"(.?.+?)(?:/([0-9]+))?/?$\";s:47:\"index.php?pagename=$matches[1]&page=$matches[2]\";}','yes'),
(30,'hack_file','0','yes'),
(31,'blog_charset','UTF-8','yes'),
(32,'moderation_keys','','no'),
(33,'active_plugins','a:0:{}','yes'),
(34,'category_base','','yes'),
(35,'ping_sites','http://rpc.pingomatic.com/','yes'),
(36,'comment_max_links','2','yes'),
(37,'gmt_offset','0','yes'),
(38,'default_email_category','1','yes'),
(39,'recently_edited','','no'),
(40,'template','wpframework','yes'),
(41,'stylesheet','wpframework','yes'),
(42,'comment_whitelist','1','yes'),
(43,'blacklist_keys','','no'),
(44,'comment_registration','0','yes'),
(45,'html_type','text/html','yes'),
(46,'use_trackback','0','yes'),
(47,'default_role','subscriber','yes'),
(48,'db_version','38590','yes'),
(49,'uploads_use_yearmonth_folders','1','yes'),
(50,'upload_path','','yes'),
(51,'blog_public','1','yes'),
(52,'default_link_category','2','yes'),
(53,'show_on_front','posts','yes'),
(54,'tag_base','','yes'),
(55,'show_avatars','1','yes'),
(56,'avatar_rating','G','yes'),
(57,'upload_url_path','','yes'),
(58,'thumbnail_size_w','150','yes'),
(59,'thumbnail_size_h','150','yes'),
(60,'thumbnail_crop','1','yes'),
(61,'medium_size_w','300','yes'),
(62,'medium_size_h','300','yes'),
(63,'avatar_default','mystery','yes'),
(64,'large_size_w','1024','yes'),
(65,'large_size_h','1024','yes'),
(66,'image_default_link_type','none','yes'),
(67,'image_default_size','','yes'),
(68,'image_default_align','','yes'),
(69,'close_comments_for_old_posts','0','yes'),
(70,'close_comments_days_old','14','yes'),
(71,'thread_comments','1','yes'),
(72,'thread_comments_depth','5','yes'),
(73,'page_comments','0','yes'),
(74,'comments_per_page','50','yes'),
(75,'default_comments_page','newest','yes'),
(76,'comment_order','asc','yes'),
(77,'sticky_posts','a:0:{}','yes'),
(78,'widget_categories','a:2:{i:2;a:4:{s:5:\"title\";s:0:\"\";s:5:\"count\";i:0;s:12:\"hierarchical\";i:0;s:8:\"dropdown\";i:0;}s:12:\"_multiwidget\";i:1;}','yes'),
(79,'widget_text','a:0:{}','yes'),
(80,'widget_rss','a:0:{}','yes'),
(81,'uninstall_plugins','a:0:{}','no'),
(82,'timezone_string','Europe/Prague','yes'),
(83,'page_for_posts','0','yes'),
(84,'page_on_front','0','yes'),
(85,'default_post_format','0','yes'),
(86,'link_manager_enabled','0','yes'),
(87,'finished_splitting_shared_terms','1','yes'),
(88,'site_icon','0','yes'),
(89,'medium_large_size_w','768','yes'),
(90,'medium_large_size_h','0','yes'),
(91,'initial_db_version','38590','yes'),
(92,'kt_wp_user_roles','a:5:{s:13:\"administrator\";a:2:{s:4:\"name\";s:13:\"Administrator\";s:12:\"capabilities\";a:61:{s:13:\"switch_themes\";b:1;s:11:\"edit_themes\";b:1;s:16:\"activate_plugins\";b:1;s:12:\"edit_plugins\";b:1;s:10:\"edit_users\";b:1;s:10:\"edit_files\";b:1;s:14:\"manage_options\";b:1;s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:6:\"import\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:8:\"level_10\";b:1;s:7:\"level_9\";b:1;s:7:\"level_8\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;s:12:\"delete_users\";b:1;s:12:\"create_users\";b:1;s:17:\"unfiltered_upload\";b:1;s:14:\"edit_dashboard\";b:1;s:14:\"update_plugins\";b:1;s:14:\"delete_plugins\";b:1;s:15:\"install_plugins\";b:1;s:13:\"update_themes\";b:1;s:14:\"install_themes\";b:1;s:11:\"update_core\";b:1;s:10:\"list_users\";b:1;s:12:\"remove_users\";b:1;s:13:\"promote_users\";b:1;s:18:\"edit_theme_options\";b:1;s:13:\"delete_themes\";b:1;s:6:\"export\";b:1;}}s:6:\"editor\";a:2:{s:4:\"name\";s:6:\"Editor\";s:12:\"capabilities\";a:34:{s:17:\"moderate_comments\";b:1;s:17:\"manage_categories\";b:1;s:12:\"manage_links\";b:1;s:12:\"upload_files\";b:1;s:15:\"unfiltered_html\";b:1;s:10:\"edit_posts\";b:1;s:17:\"edit_others_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:10:\"edit_pages\";b:1;s:4:\"read\";b:1;s:7:\"level_7\";b:1;s:7:\"level_6\";b:1;s:7:\"level_5\";b:1;s:7:\"level_4\";b:1;s:7:\"level_3\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:17:\"edit_others_pages\";b:1;s:20:\"edit_published_pages\";b:1;s:13:\"publish_pages\";b:1;s:12:\"delete_pages\";b:1;s:19:\"delete_others_pages\";b:1;s:22:\"delete_published_pages\";b:1;s:12:\"delete_posts\";b:1;s:19:\"delete_others_posts\";b:1;s:22:\"delete_published_posts\";b:1;s:20:\"delete_private_posts\";b:1;s:18:\"edit_private_posts\";b:1;s:18:\"read_private_posts\";b:1;s:20:\"delete_private_pages\";b:1;s:18:\"edit_private_pages\";b:1;s:18:\"read_private_pages\";b:1;}}s:6:\"author\";a:2:{s:4:\"name\";s:6:\"Author\";s:12:\"capabilities\";a:10:{s:12:\"upload_files\";b:1;s:10:\"edit_posts\";b:1;s:20:\"edit_published_posts\";b:1;s:13:\"publish_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_2\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;s:22:\"delete_published_posts\";b:1;}}s:11:\"contributor\";a:2:{s:4:\"name\";s:11:\"Contributor\";s:12:\"capabilities\";a:5:{s:10:\"edit_posts\";b:1;s:4:\"read\";b:1;s:7:\"level_1\";b:1;s:7:\"level_0\";b:1;s:12:\"delete_posts\";b:1;}}s:10:\"subscriber\";a:2:{s:4:\"name\";s:10:\"Subscriber\";s:12:\"capabilities\";a:2:{s:4:\"read\";b:1;s:7:\"level_0\";b:1;}}}','yes'),
(93,'fresh_site','1','yes'),
(94,'WPLANG','cs_CZ','yes'),
(95,'widget_search','a:2:{i:2;a:1:{s:5:\"title\";s:0:\"\";}s:12:\"_multiwidget\";i:1;}','yes'),
(96,'widget_recent-posts','a:2:{i:2;a:2:{s:5:\"title\";s:0:\"\";s:6:\"number\";i:5;}s:12:\"_multiwidget\";i:1;}','yes'),
(97,'widget_recent-comments','a:2:{i:2;a:2:{s:5:\"title\";s:0:\"\";s:6:\"number\";i:5;}s:12:\"_multiwidget\";i:1;}','yes'),
(98,'widget_archives','a:2:{i:2;a:3:{s:5:\"title\";s:0:\"\";s:5:\"count\";i:0;s:8:\"dropdown\";i:0;}s:12:\"_multiwidget\";i:1;}','yes'),
(99,'widget_meta','a:2:{i:2;a:1:{s:5:\"title\";s:0:\"\";}s:12:\"_multiwidget\";i:1;}','yes'),
(100,'sidebars_widgets','a:3:{s:19:\"wp_inactive_widgets\";a:0:{}s:22:\"kt-zzz-sidebar-default\";a:0:{}s:13:\"array_version\";i:3;}','yes'),
(101,'widget_pages','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(102,'widget_calendar','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(103,'widget_media_audio','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(104,'widget_media_image','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(105,'widget_media_gallery','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(106,'widget_media_video','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(107,'widget_tag_cloud','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(108,'widget_nav_menu','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(109,'widget_custom_html','a:1:{s:12:\"_multiwidget\";i:1;}','yes'),
(110,'cron','a:4:{i:1519567626;a:3:{s:16:\"wp_version_check\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:17:\"wp_update_plugins\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}s:16:\"wp_update_themes\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:10:\"twicedaily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:43200;}}}i:1519568797;a:2:{s:19:\"wp_scheduled_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}s:25:\"delete_expired_transients\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}i:1519569805;a:1:{s:30:\"wp_scheduled_auto_draft_delete\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:\"args\";a:0:{}s:8:\"interval\";i:86400;}}}s:7:\"version\";i:2;}','yes'),
(111,'theme_mods_twentyseventeen','a:2:{s:18:\"custom_css_post_id\";i:-1;s:16:\"sidebars_widgets\";a:2:{s:4:\"time\";i:1519482405;s:4:\"data\";a:4:{s:19:\"wp_inactive_widgets\";a:0:{}s:9:\"sidebar-1\";a:6:{i:0;s:8:\"search-2\";i:1;s:14:\"recent-posts-2\";i:2;s:17:\"recent-comments-2\";i:3;s:10:\"archives-2\";i:4;s:12:\"categories-2\";i:5;s:6:\"meta-2\";}s:9:\"sidebar-2\";a:0:{}s:9:\"sidebar-3\";a:0:{}}}}','yes'),
(122,'_site_transient_update_core','O:8:\"stdClass\":4:{s:7:\"updates\";a:1:{i:0;O:8:\"stdClass\":10:{s:8:\"response\";s:6:\"latest\";s:8:\"download\";s:65:\"https://downloads.wordpress.org/release/cs_CZ/wordpress-4.9.4.zip\";s:6:\"locale\";s:5:\"cs_CZ\";s:8:\"packages\";O:8:\"stdClass\":5:{s:4:\"full\";s:65:\"https://downloads.wordpress.org/release/cs_CZ/wordpress-4.9.4.zip\";s:10:\"no_content\";b:0;s:11:\"new_bundled\";b:0;s:7:\"partial\";b:0;s:8:\"rollback\";b:0;}s:7:\"current\";s:5:\"4.9.4\";s:7:\"version\";s:5:\"4.9.4\";s:11:\"php_version\";s:5:\"5.2.4\";s:13:\"mysql_version\";s:3:\"5.0\";s:11:\"new_bundled\";s:3:\"4.7\";s:15:\"partial_version\";s:0:\"\";}}s:12:\"last_checked\";i:1519557345;s:15:\"version_checked\";s:5:\"4.9.4\";s:12:\"translations\";a:0:{}}','no'),
(123,'_site_transient_update_themes','O:8:\"stdClass\":4:{s:12:\"last_checked\";i:1519557344;s:7:\"checked\";a:4:{s:13:\"twentyfifteen\";s:3:\"1.9\";s:15:\"twentyseventeen\";s:3:\"1.4\";s:13:\"twentysixteen\";s:3:\"1.4\";s:11:\"wpframework\";s:3:\"1.0\";}s:8:\"response\";a:0:{}s:12:\"translations\";a:0:{}}','no'),
(134,'_site_transient_update_plugins','O:8:\"stdClass\":4:{s:12:\"last_checked\";i:1519557342;s:8:\"response\";a:1:{s:19:\"akismet/akismet.php\";O:8:\"stdClass\":11:{s:2:\"id\";s:21:\"w.org/plugins/akismet\";s:4:\"slug\";s:7:\"akismet\";s:6:\"plugin\";s:19:\"akismet/akismet.php\";s:11:\"new_version\";s:5:\"4.0.3\";s:3:\"url\";s:38:\"https://wordpress.org/plugins/akismet/\";s:7:\"package\";s:56:\"https://downloads.wordpress.org/plugin/akismet.4.0.3.zip\";s:5:\"icons\";a:3:{s:2:\"1x\";s:59:\"https://ps.w.org/akismet/assets/icon-128x128.png?rev=969272\";s:2:\"2x\";s:59:\"https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272\";s:7:\"default\";s:59:\"https://ps.w.org/akismet/assets/icon-256x256.png?rev=969272\";}s:7:\"banners\";a:2:{s:2:\"1x\";s:61:\"https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904\";s:7:\"default\";s:61:\"https://ps.w.org/akismet/assets/banner-772x250.jpg?rev=479904\";}s:11:\"banners_rtl\";a:0:{}s:6:\"tested\";s:5:\"4.9.4\";s:13:\"compatibility\";O:8:\"stdClass\":0:{}}}s:12:\"translations\";a:0:{}s:9:\"no_update\";a:1:{s:9:\"hello.php\";O:8:\"stdClass\":9:{s:2:\"id\";s:25:\"w.org/plugins/hello-dolly\";s:4:\"slug\";s:11:\"hello-dolly\";s:6:\"plugin\";s:9:\"hello.php\";s:11:\"new_version\";s:3:\"1.6\";s:3:\"url\";s:42:\"https://wordpress.org/plugins/hello-dolly/\";s:7:\"package\";s:58:\"https://downloads.wordpress.org/plugin/hello-dolly.1.6.zip\";s:5:\"icons\";a:3:{s:2:\"1x\";s:63:\"https://ps.w.org/hello-dolly/assets/icon-128x128.jpg?rev=969907\";s:2:\"2x\";s:63:\"https://ps.w.org/hello-dolly/assets/icon-256x256.jpg?rev=969907\";s:7:\"default\";s:63:\"https://ps.w.org/hello-dolly/assets/icon-256x256.jpg?rev=969907\";}s:7:\"banners\";a:2:{s:2:\"1x\";s:65:\"https://ps.w.org/hello-dolly/assets/banner-772x250.png?rev=478342\";s:7:\"default\";s:65:\"https://ps.w.org/hello-dolly/assets/banner-772x250.png?rev=478342\";}s:11:\"banners_rtl\";a:0:{}}}}','no'),
(135,'_site_transient_timeout_browser_5c071cc169268415bdddca39a2fd70ed','1520087198','no'),
(136,'_site_transient_browser_5c071cc169268415bdddca39a2fd70ed','a:10:{s:4:\"name\";s:5:\"Opera\";s:7:\"version\";s:12:\"51.0.2830.34\";s:8:\"platform\";s:9:\"Macintosh\";s:10:\"update_url\";s:22:\"https://www.opera.com/\";s:7:\"img_src\";s:42:\"http://s.w.org/images/browsers/opera.png?1\";s:11:\"img_src_ssl\";s:43:\"https://s.w.org/images/browsers/opera.png?1\";s:15:\"current_version\";s:5:\"12.18\";s:7:\"upgrade\";b:0;s:8:\"insecure\";b:0;s:6:\"mobile\";b:0;}','no'),
(140,'can_compress_scripts','1','no'),
(141,'_transient_timeout_feed_ac0b00fe65abe10e0c5b588f3ed8c7ca','1519525600','no'),
(142,'_transient_feed_ac0b00fe65abe10e0c5b588f3ed8c7ca','a:4:{s:5:\"child\";a:1:{s:0:\"\";a:1:{s:3:\"rss\";a:1:{i:0;a:6:{s:4:\"data\";s:3:\"\n\n\n\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:7:\"version\";s:3:\"2.0\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:1:{s:0:\"\";a:1:{s:7:\"channel\";a:1:{i:0;a:6:{s:4:\"data\";s:49:\"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:7:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:14:\"WordPress News\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:26:\"https://wordpress.org/news\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:14:\"WordPress News\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:13:\"lastBuildDate\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"\n Wed, 21 Feb 2018 22:53:31 +0000 \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"language\";a:1:{i:0;a:5:{s:4:\"data\";s:5:\"en-US\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:9:\"generator\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"https://wordpress.org/?v=5.0-alpha-42730\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"item\";a:10:{i:0;a:6:{s:4:\"data\";s:39:\"\n \n \n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"WordCamp Incubator 2.0\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wordpress.org/news/2018/02/wordcamp-incubator-2-0/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 21 Feb 2018 22:53:20 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:3:{i:0;a:5:{s:4:\"data\";s:9:\"Community\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:1;a:5:{s:4:\"data\";s:6:\"Events\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:2;a:5:{s:4:\"data\";s:8:\"WordCamp\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5577\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:343:\"WordCamps are informal, community-organized events that are put together by a team of local WordPress users who have a passion for growing their communities. They are born out of active WordPress meetup groups that meet regularly and are able to host an annual WordCamp event. This has worked very well in many communities, with over […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Hugh Lashbrooke\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:2450:\"<p><a href=\"https://central.wordcamp.org/\">WordCamps</a> are informal, community-organized events that are put together by a team of local WordPress users who have a passion for growing their communities. They are born out of active WordPress meetup groups that meet regularly and are able to host an annual WordCamp event. This has worked very well in many communities, with over 120 WordCamps being hosted around the world in 2017.<br /></p>\n\n<p>Sometimes though, passionate and enthusiastic community members can’t pull together enough people in their community to make a WordCamp happen. To address this, we introduced <a href=\"https://wordpress.org/news/2016/02/experiment-wordcamp-incubator/\">the WordCamp Incubator program</a> in 2016.<br /></p>\n\n<p>The goal of the incubator program is <strong>to help spread WordPress to underserved areas by providing more significant organizing support for their first WordCamp event.</strong> In 2016, members of <a href=\"https://make.wordpress.org/community/\">the global community team</a> worked with volunteers in three cities — Denpasar, Harare and Medellín — giving direct, hands-on assistance in making local WordCamps possible. All three of these WordCamp incubators <a href=\"https://make.wordpress.org/community/2017/06/30/wordcamp-incubator-report/\">were a great success</a>, so we're bringing the incubator program back for 2018.<br /></p>\n\n<p>Where should the next WordCamp incubators be? If you have always wanted a WordCamp in your city but haven’t been able to get a community started, this is a great opportunity. We will be taking applications for the next few weeks, then will get in touch with everyone who applied to discuss the possibilities. We will announce the chosen cities by the end of March.<br /></p>\n\n<p><strong>To apply, </strong><a href=\"https://wordcampcentral.polldaddy.com/s/wordcamp-incubator-program-2018-city-application\"><strong>fill in the application</strong></a><strong> by March 15, 2018.</strong> You don’t need to have any specific information handy, it’s just a form to let us know you’re interested. You can apply to nominate your city even if you don’t want to be the main organizer, but for this to work well we will need local liaisons and volunteers, so please only nominate cities where you live or work so that we have at least one local connection to begin.<br /></p>\n\n<p>We're looking forward to hearing from you!<br /></p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5577\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:1;a:6:{s:4:\"data\";s:36:\"\n \n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:35:\"WordPress 4.9.4 Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"https://wordpress.org/news/2018/02/wordpress-4-9-4-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 06 Feb 2018 16:17:55 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:2:{i:0;a:5:{s:4:\"data\";s:8:\"Releases\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:1;a:5:{s:4:\"data\";s:3:\"4.9\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5559\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:350:\"WordPress 4.9.4 is now available. This maintenance release fixes a severe bug in 4.9.3, which will cause sites that support automatic background updates to fail to update automatically, and will require action from you (or your host) for it to be updated to 4.9.4. Four years ago with WordPress 3.7 “Basie”, we added the ability […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:10:\"Dion Hulse\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:1823:\"<p>WordPress 4.9.4 is now available.</p>\n<p>This maintenance release fixes a severe bug in 4.9.3, which will cause sites that support automatic background updates to fail to update automatically, and will require action from you (or your host) for it to be updated to 4.9.4.</p>\n<p>Four years ago with <a href=\"https://wordpress.org/news/2013/10/basie/\">WordPress 3.7 “Basie”</a>, we added the ability for WordPress to self-update, keeping your website secure and bug-free, even when you weren’t available to do it yourself. For four years it’s helped keep millions of installs updated with very few issues over that time. Unfortunately <a href=\"https://wordpress.org/news/2018/02/wordpress-4-9-3-maintenance-release/\">yesterdays 4.9.3 release</a> contained a severe bug which was only discovered after release. The bug will cause WordPress to encounter an error when it attempts to update itself to WordPress 4.9.4, and will require an update to be performed through the WordPress dashboard or hosts update tools.</p>\n<p>WordPress managed hosting companies who install updates automatically for their customers can install the update as normal, and we’ll be working with other hosts to ensure that as many customers of theirs who can be automatically updated to WordPress 4.9.4 can be.</p>\n<p>For more technical details of the issue, we’ve <a href=\"https://make.wordpress.org/core/2018/02/06/wordpress-4-9-4-release-the-technical-details/\">posted on our Core Development blog</a>. For a full list of changes, consult the <a href=\"https://core.trac.wordpress.org/query?status=closed&milestone=4.9.4&group=component\">list of tickets</a>.</p>\n<p><a href=\"https://wordpress.org/download/\">Download WordPress 4.9.4</a> or visit Dashboard → Updates and click “Update Now.”</p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5559\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:2;a:6:{s:4:\"data\";s:33:\"\n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:35:\"WordPress 4.9.3 Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"https://wordpress.org/news/2018/02/wordpress-4-9-3-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 05 Feb 2018 19:47:45 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:1:{i:0;a:5:{s:4:\"data\";s:8:\"Releases\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5545\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:372:\"WordPress 4.9.3 is now available. This maintenance release fixes 34 bugs in 4.9, including fixes for Customizer changesets, widgets, visual editor, and PHP 7.2 compatibility. For a full list of changes, consult the list of tickets and the changelog. Download WordPress 4.9.3 or visit Dashboard → Updates and click “Update Now.” Sites that support automatic […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Sergey Biryukov\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:3421:\"<p>WordPress 4.9.3 is now available.</p>\n<p>This maintenance release fixes 34 bugs in 4.9, including fixes for Customizer changesets, widgets, visual editor, and PHP 7.2 compatibility. For a full list of changes, consult the <a href=\"https://core.trac.wordpress.org/query?status=closed&milestone=4.9.3&group=component\">list of tickets</a> and the <a href=\"https://core.trac.wordpress.org/log/branches/4.9?rev=42630&stop_rev=42521\">changelog</a>.</p>\n<p><a href=\"https://wordpress.org/download/\">Download WordPress 4.9.3</a> or visit Dashboard → Updates and click “Update Now.” Sites that support automatic background updates are already beginning to update automatically.</p>\n<p>Thank you to everyone who contributed to WordPress 4.9.3:</p>\n<p><a href=\"https://profiles.wordpress.org/jorbin/\">Aaron Jorbin</a>, <a href=\"https://profiles.wordpress.org/abdullahramzan/\">abdullahramzan</a>, <a href=\"https://profiles.wordpress.org/adamsilverstein/\">Adam Silverstein</a>, <a href=\"https://profiles.wordpress.org/afercia/\">Andrea Fercia</a>, <a href=\"https://profiles.wordpress.org/andreiglingeanu/\">andreiglingeanu</a>, <a href=\"https://profiles.wordpress.org/azaozz/\">Andrew Ozz</a>, <a href=\"https://profiles.wordpress.org/bpayton/\">Brandon Payton</a>, <a href=\"https://profiles.wordpress.org/chetan200891/\">Chetan Prajapati</a>, <a href=\"https://profiles.wordpress.org/coleh/\">coleh</a>, <a href=\"https://profiles.wordpress.org/darko-a7/\">Darko A7</a>, <a href=\"https://profiles.wordpress.org/desertsnowman/\">David Cramer</a>, <a href=\"https://profiles.wordpress.org/dlh/\">David Herrera</a>, <a href=\"https://profiles.wordpress.org/dd32/\">Dion Hulse</a>, <a href=\"https://profiles.wordpress.org/flixos90/\">Felix Arntz</a>, <a href=\"https://profiles.wordpress.org/frank-klein/\">Frank Klein</a>, <a href=\"https://profiles.wordpress.org/pento/\">Gary Pendergast</a>, <a href=\"https://profiles.wordpress.org/audrasjb/\">Jb Audras</a>, <a href=\"https://profiles.wordpress.org/jbpaul17/\">Jeffrey Paul</a>, <a href=\"https://profiles.wordpress.org/lizkarkoski/\">lizkarkoski</a>, <a href=\"https://profiles.wordpress.org/clorith/\">Marius L. J.</a>, <a href=\"https://profiles.wordpress.org/mattyrob/\">mattyrob</a>, <a href=\"https://profiles.wordpress.org/monikarao/\">Monika Rao</a>, <a href=\"https://profiles.wordpress.org/munyagu/\">munyagu</a>, <a href=\"https://profiles.wordpress.org/ndavison/\">ndavison</a>, <a href=\"https://profiles.wordpress.org/nickmomrik/\">Nick Momrik</a>, <a href=\"https://profiles.wordpress.org/peterwilsoncc/\">Peter Wilson</a>, <a href=\"https://profiles.wordpress.org/rachelbaker/\">Rachel Baker</a>, <a href=\"https://profiles.wordpress.org/rishishah/\">rishishah</a>, <a href=\"https://profiles.wordpress.org/othellobloke/\">Ryan Paul</a>, <a href=\"https://profiles.wordpress.org/sasiddiqui/\">Sami Ahmed Siddiqui</a>, <a href=\"https://profiles.wordpress.org/sayedwp/\">Sayed Taqui</a>, <a href=\"https://profiles.wordpress.org/seanchayes/\">Sean Hayes</a>, <a href=\"https://profiles.wordpress.org/sergeybiryukov/\">Sergey Biryukov</a>, <a href=\"https://profiles.wordpress.org/shooper/\">Shawn Hooper</a>, <a href=\"https://profiles.wordpress.org/netweb/\">Stephen Edgar</a>, <a href=\"https://profiles.wordpress.org/manikmist09/\">Sultan Nasir Uddin</a>, <a href=\"https://profiles.wordpress.org/tigertech/\">tigertech</a>, and <a href=\"https://profiles.wordpress.org/westonruter/\">Weston Ruter</a>.</p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5545\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:3;a:6:{s:4:\"data\";s:33:\"\n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:36:\"The Month in WordPress: January 2018\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"https://wordpress.org/news/2018/02/the-month-in-wordpress-january-2018/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 02 Feb 2018 08:10:07 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:1:{i:0;a:5:{s:4:\"data\";s:18:\"Month in WordPress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5541\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:339:\"Things got off to a gradual start in 2018 with momentum starting to pick up over the course of the month. There were some notable developments in January, including a new point release and work being done on other important areas of the WordPress project. WordPress 4.9.2 Security and Maintenance Release On January 16, WordPress […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Hugh Lashbrooke\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:3840:\"<p>Things got off to a gradual start in 2018 with momentum starting to pick up over the course of the month. There were some notable developments in January, including a new point release and work being done on other important areas of the WordPress project.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>WordPress 4.9.2 Security and Maintenance Release</h2>\n\n<p>On January 16, <a href=\"https://wordpress.org/news/2018/01/wordpress-4-9-2-security-and-maintenance-release/\">WordPress 4.9.2 was released</a> to fix an important security issue with the media player, as well as a number of other smaller bugs. This release goes a long way to smoothing out the 4.9 release cycle with the next point release, v4.9.3, <a href=\"https://make.wordpress.org/core/2018/01/31/wordpress-4-9-3-release-pushed-to-february-5th/\">due in early February</a>.</p>\n\n<p>To get involved in building WordPress Core, jump into the #core channel in the<a href=\"https://make.wordpress.org/chat/\"> Making WordPress Slack group</a>, and follow<a href=\"https://make.wordpress.org/core/\"> the Core team blog</a>.</p>\n\n<h2>Updated Plugin Directory Guidelines</h2>\n\n<p>At the end of 2017, <a href=\"https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/\">the guidelines for the Plugin Directory</a> received a significant update to make them clearer and expanded to address certain situations. This does not necessarily make these guidelines complete, but rather more user-friendly and practical; they govern how developers build plugins for the Plugin Directory, so they need to evolve with the global community that the Directory serves.</p>\n\n<p>If you would like to contribute to these guidelines, you can make a pull request to <a href=\"https://github.com/WordPress/wporg-plugin-guidelines\">the GitHub repository</a> or email <a href=\"mailto:plugins@wordpress.org\">plugins@wordpress.org</a>. You can also jump into the #pluginreview channel in the<a href=\"https://make.wordpress.org/chat/\"> Making WordPress Slack group</a>.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>Further Reading:</h2>\n\n<ul>\n <li>Near the end of last year a lot of work was put into improving the standards in the WordPress core codebase and now <a href=\"https://make.wordpress.org/core/2017/11/30/wordpress-php-now-mostly-conforms-to-wordpress-coding-standards/\">the entire platform is at nearly 100% compliance with the WordPress coding standards</a>.</li>\n <li>Gutenberg, the new editor coming to WordPress core in the next major release, <a href=\"https://make.wordpress.org/core/2018/01/25/whats-new-in-gutenberg-25th-january/\">was updated to v2.1 this month</a> with some great usability and technical improvements.</li>\n <li>The Global Community Team is <a href=\"https://make.wordpress.org/community/2018/01/16/2018-goals-for-the-global-community-team-suggestions-time/\">taking suggestions for the goals of the Community program in 2018</a>.</li>\n <li><a href=\"https://online.wpcampus.org/\">WPCampus Online</a>, a digital conference focused on WordPress in higher education, took place on January 30. The videos of the event sessions will be online soon.</li>\n <li>A WordPress community member <a href=\"https://wptavern.com/new-toolkit-simplifies-the-process-of-creating-gutenberg-blocks\">has released a toolkit</a> to help developers build blocks for Gutenberg.</li>\n <li>The community team that works to improve the WordPress hosting experience is relatively young, but <a href=\"https://make.wordpress.org/hosting/2018/01/25/hosting-meeting-notes-january-10-2018/\">they have been making some great progress recently</a>.</li>\n</ul>\n\n<p><em>If you have a story we should consider including in the next “Month in WordPress” post, please <a href=\"https://make.wordpress.org/community/month-in-wordpress-submissions/\">submit it here</a>.</em></p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5541\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:4;a:6:{s:4:\"data\";s:39:\"\n \n \n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:48:\"WordPress 4.9.2 Security and Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:84:\"https://wordpress.org/news/2018/01/wordpress-4-9-2-security-and-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 16 Jan 2018 23:00:14 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:3:{i:0;a:5:{s:4:\"data\";s:8:\"Releases\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:1;a:5:{s:4:\"data\";s:8:\"Security\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:2;a:5:{s:4:\"data\";s:3:\"4.9\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5376\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:360:\"WordPress 4.9.2 is now available. This is a security and maintenance release for all versions since WordPress 3.7. We strongly encourage you to update your sites immediately. An XSS vulnerability was discovered in the Flash fallback files in MediaElement, a library that is included with WordPress. Because the Flash files are no longer needed for […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:8:\"Ian Dunn\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:3946:\"<p>WordPress 4.9.2 is now available. This is a <strong>security and maintenance release</strong> for all versions since WordPress 3.7. We strongly encourage you to update your sites immediately.</p>\n\n<p>An XSS vulnerability was discovered in the Flash fallback files in MediaElement, a library that is included with WordPress. Because the Flash files are no longer needed for most use cases, they have been removed from WordPress.</p>\n\n<p>MediaElement has released a new version that contains a fix for the bug, and <a href=\"https://wordpress.org/plugins/mediaelement-flash-fallbacks/\">a WordPress plugin containing the fixed files</a> is available in the plugin repository.</p>\n\n<p>Thank you to the reporters of this issue for practicing <a href=\"https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/\">responsible security disclosure</a>: <a href=\"https://opnsec.com\">Enguerran Gillier</a> and <a href=\"https://widiz.com/\">Widiz</a>.</p>\n\n<p>21 other bugs were fixed in WordPress 4.9.2. Particularly of note were:</p>\n\n<ul>\n <li>JavaScript errors that prevented saving posts in Firefox have been fixed.</li>\n <li>The previous taxonomy-agnostic behavior of <code>get_category_link()</code> and <code>category_description()</code> was restored.</li>\n <li>Switching themes will now attempt to restore previous widget assignments, even when there are no sidebars to map.<br /></li>\n</ul>\n\n<p>The Codex has <a href=\"https://codex.wordpress.org/Version_4.9.2\">more information about all of the issues fixed in 4.9.2</a>, if you'd like to learn more.</p>\n\n<p><a href=\"https://wordpress.org/download/\"></a><a href=\"https://wordpress.org/download/\">Download WordPress 4.9.2</a> or venture over to Dashboard → Updates and click "Update Now." Sites that support automatic background updates are already beginning to update automatically.</p>\n\n<p>Thank you to everyone who contributed to WordPress 4.9.2:</p>\n\n<p><a href=\"https://profiles.wordpress.org/0x6f0/\">0x6f0</a>, <a href=\"https://profiles.wordpress.org/jorbin/\">Aaron Jorbin</a>, <a href=\"https://profiles.wordpress.org/afercia/\">Andrea Fercia</a>, <a href=\"https://profiles.wordpress.org/aduth/\">Andrew Duthie</a>, <a href=\"https://profiles.wordpress.org/azaozz/\">Andrew Ozz</a>, <a href=\"https://profiles.wordpress.org/blobfolio/\">Blobfolio</a>, <a href=\"https://profiles.wordpress.org/boonebgorges/\">Boone Gorges</a>, <a href=\"https://profiles.wordpress.org/icaleb/\">Caleb Burks</a>, <a href=\"https://profiles.wordpress.org/poena/\">Carolina Nymark</a>, <a href=\"https://profiles.wordpress.org/chasewg/\">chasewg</a>, <a href=\"https://profiles.wordpress.org/chetan200891/\">Chetan Prajapati</a>, <a href=\"https://profiles.wordpress.org/dd32/\">Dion Hulse</a>, <a href=\"https://profiles.wordpress.org/hardik-amipara/\">Hardik Amipara</a>, <a href=\"https://profiles.wordpress.org/ionvv/\">ionvv</a>, <a href=\"https://profiles.wordpress.org/jaswrks/\">Jason Caldwell</a>, <a href=\"https://profiles.wordpress.org/jbpaul17/\">Jeffrey Paul</a>, <a href=\"https://profiles.wordpress.org/jeremyfelt/\">Jeremy Felt</a>, <a href=\"https://profiles.wordpress.org/joemcgill/\">Joe McGill</a>, <a href=\"https://profiles.wordpress.org/johnschulz/\">johnschulz</a>, <a href=\"https://profiles.wordpress.org/juiiee8487/\">Juhi Patel</a>, <a href=\"https://profiles.wordpress.org/obenland/\">Konstantin Obenland</a>, <a href=\"https://profiles.wordpress.org/markjaquith/\">Mark Jaquith</a>, <a href=\"https://profiles.wordpress.org/rabmalin/\">Nilambar Sharma</a>, <a href=\"https://profiles.wordpress.org/peterwilsoncc/\">Peter Wilson</a>, <a href=\"https://profiles.wordpress.org/rachelbaker/\">Rachel Baker</a>, <a href=\"https://profiles.wordpress.org/rinkuyadav999/\">Rinku Y</a>, <a href=\"https://profiles.wordpress.org/sergeybiryukov/\">Sergey Biryukov</a>, and <a href=\"https://profiles.wordpress.org/westonruter/\">Weston Ruter</a>.<strong></strong><br /></p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5376\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:5;a:6:{s:4:\"data\";s:33:\"\n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:37:\"The Month in WordPress: December 2017\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:72:\"https://wordpress.org/news/2018/01/the-month-in-wordpress-december-2017/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 03 Jan 2018 10:00:24 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:1:{i:0;a:5:{s:4:\"data\";s:18:\"Month in WordPress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5424\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:311:\"Activity slowed down in December in the WordPress community, particularly in the last two weeks. However, the month started off with a big event and work pushed forward in a number of key areas of the project. Read on to find out more about what transpired in the WordPress community as 2017 came to a […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Hugh Lashbrooke\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:4711:\"<p>Activity slowed down in December in the WordPress community, particularly in the last two weeks. However, the month started off with a big event and work pushed forward in a number of key areas of the project. Read on to find out more about what transpired in the WordPress community as 2017 came to a close.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>WordCamp US 2017 Brings the Community Together</h2>\n\n<p>The latest edition of <a href=\"https://2017.us.wordcamp.org/\">WordCamp US</a> took place last month in Nashville on December 1-3. The event brought together over 1,400 WordPress enthusiasts from around the world, fostering a deeper, more engaged global community.</p>\n\n<p>While attending a WordCamp is always a unique experience, you can catch up on <a href=\"https://wordpress.tv/event/wordcamp-us-2017/\">the sessions on WordPress.tv</a> and look through <a href=\"https://www.facebook.com/pg/WordCampUSA/photos/?tab=albums\">the event photos on Facebook</a> to get a feel for how it all happened. Of course, <a href=\"https://wordpress.tv/2017/12/04/matt-mullenweg-state-of-the-word-2017/\">Matt Mullenweg’s State of the Word</a> talk is always one of the highlights at this event.</p>\n\n<p>The next WordCamp US will be held in Nashville again in 2018, but if you would like to see it hosted in your city in 2019 and 2020, then <a href=\"https://make.wordpress.org/community/2017/12/19/apply-to-host-wordcamp-us-2019-2020/\">you have until February 2 to apply</a>.</p>\n\n<h2>WordPress User Survey Data Is Published</h2>\n\n<p>Over the last few years, tens of thousands of WordPress users all over the world have filled out the annual WordPress user survey. The results of that survey are used to improve the WordPress project, but that data has mostly remained private. This has changed now and <a href=\"https://wordpress.org/news/2017/12/wordpress-user-survey-data-for-2015-2017/\">the results from the last three surveys are now publicly available</a> for everyone to analyze.</p>\n\n<p>The data will be useful to anyone involved in WordPress since it provides a detailed look at who uses WordPress and what they do with it — information that can help inform product development decisions across the board.</p>\n\n<h2>New WordPress.org Team for the Tide Project</h2>\n\n<p>As announced at WordCamp US, <a href=\"https://make.wordpress.org/tide/2017/12/02/new-home/\">the Tide project is being brought under the WordPress.org umbrella</a> to be managed and developed by the community.</p>\n\n<p>Tide is a series of automated tests run against every plugin and theme in the directory to help WordPress users make informed decisions about the plugins and themes that they choose to install.</p>\n\n<p>To get involved in developing Tide, jump into the #tide channel in the <a href=\"https://make.wordpress.org/chat/\">Making WordPress Slack group</a>, and follow <a href=\"https://make.wordpress.org/tide/\">the Tide team blog</a>.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>Further Reading:</h2>\n\n<ul>\n <li>If you’re following the development of Gutenberg, or if you want a primer on where it’s headed, then <a href=\"https://wordpress.tv/2017/12/10/morten-rand-hendriksen-gutenberg-and-the-wordpress-of-tomorrow/\">Morten Rand-Hendriksen’s talk from WordCamp US</a> is a must watch.</li>\n <li>The annual surveys for WordPress <a href=\"https://wordpressdotorg.polldaddy.com/s/2017-annual-meetup-member-survey\">meetup members</a> and <a href=\"https://wordpressdotorg.polldaddy.com/s/2017-annual-meetup-organizer-survey\">meetup organizers</a> are available for people to fill out — if you’re involved in or attend your local meetup group then be sure to complete those.</li>\n <li>10up has <a href=\"https://distributorplugin.com/\">a brand new plugin in beta</a> that will assist with powerful and flexible content publishing and syndication across WordPress sites.</li>\n <li><a href=\"https://make.wordpress.org/community/2017/12/07/should-we-change-the-default-wordcamp-theme-to-campsite-2017/\">The Community Team is exploring a move</a> to make the recently developed CampSite theme the default theme for all new WordCamp websites. This is the theme that was developed and employed for <a href=\"https://2017.europe.wordcamp.org\">WordCamp Europe 2017</a>.</li>\n <li>The team working on the multisite features of WordPress Core has recently published <a href=\"https://make.wordpress.org/core/2017/12/19/multisite-roadmap-published/\">their planned roadmap for development</a>.</li>\n</ul>\n\n<p><em>If you have a story we should consider including in the next “Month in WordPress” post, please <a href=\"https://make.wordpress.org/community/month-in-wordpress-submissions/\">submit it here</a>.</em></p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5424\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:6;a:6:{s:4:\"data\";s:39:\"\n \n \n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"WordPress User Survey Data for 2015-2017\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:76:\"https://wordpress.org/news/2017/12/wordpress-user-survey-data-for-2015-2017/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 22 Dec 2017 21:40:57 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:3:{i:0;a:5:{s:4:\"data\";s:7:\"General\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:1;a:5:{s:4:\"data\";s:6:\"WrapUp\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:2;a:5:{s:4:\"data\";s:6:\"survey\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5310\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:321:\"For many years, we’ve invited folks to tell us how they use WordPress by filling out an annual survey. In the past, interesting results from this survey have been shared in the annual State of the Word address. This year, for the first time, the results of the 2017 survey are being published on WordPress […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:16:\"Andrea Middleton\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:64131:\"<p>For many years, we’ve invited folks to tell us how they use WordPress by filling out an annual survey. In the past, interesting results from this survey have been shared in the annual <a href=\"https://ma.tt/2017/12/state-of-the-word-2017/\">State of the Word</a> address. This year, for the first time, the results of the 2017 survey are being published on WordPress News, along with the results of the 2015 and 2016 survey.</p>\n<p>So that information from the survey doesn’t reveal anything that respondents might consider private, we do not publish a full export of the raw data. We’d love to make this information as accessible as possible, though, so if you have a suggestion for an OS project or tool we can put the data into that allows people to play with it that still protects individual response privacy, please leave a comment on this post!</p>\n<h4>Major Groups</h4>\n<p>This survey features multiple groups, dividing respondents at the first question:</p>\n<blockquote><p>Which of the following best describes how you use WordPress? (<em>Mandatory</em>)</p></blockquote>\n<p>Those who selected “I’m a designer or developer, or I work for a company that designs/develops websites; I use WordPress to build websites and/or blogs for others. (This might include theme development, writing plugins, or other custom work.)” were served questions from what we’ll call the “WordPress Professionals” group.</p>\n<p>This “WordPress Professionals” group is further divided into WordPress Company and WordPress Freelancer/Hobbyist groups, based on how the respondent answered the question, “Which of the following best describes your involvement with WordPress? (2015) / Do you work for a company, or on your own? (2016-17).”</p>\n<p>Those who selected “I own, run, or contribute to a blog or website that is built with WordPress.” were served questions in what we’re calling the “WordPress Users” group.</p>\n<p>The relevant survey group is noted in each table below. In the case of questions that were served to different groups in 2015 but then served to all respondents in 2016 and 2017, the group responses from 2015 have been consolidated into one set of data for easier comparison between years.</p>\n<h4>Survey results</h4>\n<p><a href=\"#pro\">Jump to answers from WordPress Professionals</a></p>\n<p><a href=\"#user\">Jump to answers from WordPress Users</a></p>\n<p><a href=\"#all\">Jump to answers from All Respondents</a></p>\n<p><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></p>\n<h3>Which of the following best describes how you use WordPress? (Mandatory)</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td>Number of responses (since this question was mandatory, the number of responses here is the total number for the survey)</td>\n<td>45,995</td>\n<td></td>\n<td>15,585</td>\n<td></td>\n<td>16,029</td>\n<td></td>\n</tr>\n<tr>\n<td>I’m a designer or developer, or I work for a company that designs/develops websites; I use WordPress to build websites and/or blogs for others. (This might include theme development, writing plugins, other custom work.)</td>\n<td>26,662</td>\n<td>58%</td>\n<td>8,838</td>\n<td>57%</td>\n<td>9,099</td>\n<td>57%</td>\n</tr>\n<tr>\n<td>I own, run, or contribute to a blog or website that is built with WordPress.</td>\n<td>16,130</td>\n<td>35%</td>\n<td>5,293</td>\n<td>34%</td>\n<td>5,625</td>\n<td>35%</td>\n</tr>\n<tr>\n<td>Neither of the above.</td>\n<td>3,204</td>\n<td>7%</td>\n<td>1,460</td>\n<td>9%</td>\n<td>1,306</td>\n<td>8%</td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"pro\">WordPress Professionals</h2>\n<h3><strong>Which of the following best describes your involvement with WordPress? (Mandatory, 2015) / Do you work for a company, or on your own? (Mandatory, 2016-17)</strong></h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Professional</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>26,699</td>\n<td></td>\n<td>8,838</td>\n<td></td>\n<td>9,101</td>\n<td></td>\n</tr>\n<tr>\n<td>My primary job is working for a company or organization that uses WordPress.</td>\n<td>9,505</td>\n<td>36%</td>\n<td>3,529</td>\n<td>40%</td>\n<td>3,660</td>\n<td>40%</td>\n</tr>\n<tr>\n<td>My primary job is as a self-employed designer or developer that uses WordPress.</td>\n<td>9,310</td>\n<td>35%</td>\n<td>3,188</td>\n<td>36%</td>\n<td>3,440</td>\n<td>38%</td>\n</tr>\n<tr>\n<td>I earn money from part-time or occasional freelance work involving WordPress.</td>\n<td>5,954</td>\n<td>22%</td>\n<td>1,633</td>\n<td>18%</td>\n<td>1,590</td>\n<td>17%</td>\n</tr>\n<tr>\n<td>Work that I do involving WordPress is just a hobby, I don’t make money from it.</td>\n<td>1,930</td>\n<td>7%</td>\n<td>491</td>\n<td>6%</td>\n<td>411</td>\n<td>5%</td>\n</tr>\n</tbody>\n</table>\n<h3>How does your company or organization work with WordPress?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>9,342</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Build/design and/or maintain websites or blogs for other people, companies, or organizations.</td>\n<td>7,772</td>\n<td>27%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Develop or customize themes.</td>\n<td>5,404</td>\n<td>19%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Build/design and/or maintain websites or blogs for my own use.</td>\n<td>4,733</td>\n<td>16%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Host websites for customers.</td>\n<td>4,397</td>\n<td>15%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Develop or distribute plugins.</td>\n<td>3,181</td>\n<td>11%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Provide educational resources to help others to use WordPress.</td>\n<td>1,349</td>\n<td>5%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Sponsor and/or attend WordCamps.</td>\n<td>1,127</td>\n<td>4%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Contribute bug reports and/or patches to WordPress core.</td>\n<td>914</td>\n<td>3%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>182</td>\n<td> 1%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td></td>\n<td></td>\n<td>3,457</td>\n<td></td>\n<td>3,598</td>\n<td></td>\n</tr>\n<tr>\n<td>We make websites for others.</td>\n<td></td>\n<td></td>\n<td>2,695</td>\n<td>24%</td>\n<td>2,722</td>\n<td>23%</td>\n</tr>\n<tr>\n<td>We make websites for ourselves.</td>\n<td></td>\n<td></td>\n<td>2,355</td>\n<td>21%</td>\n<td>2,470</td>\n<td>21%</td>\n</tr>\n<tr>\n<td>We develop or customize themes.</td>\n<td></td>\n<td></td>\n<td>1,866</td>\n<td>16%</td>\n<td>1,910</td>\n<td>16%</td>\n</tr>\n<tr>\n<td>We host websites for others.</td>\n<td></td>\n<td></td>\n<td>1,564</td>\n<td>14%</td>\n<td>1,595</td>\n<td>14%</td>\n</tr>\n<tr>\n<td>We develop or distribute plugins.</td>\n<td></td>\n<td></td>\n<td>1,283</td>\n<td>11%</td>\n<td>1,342</td>\n<td>11%</td>\n</tr>\n<tr>\n<td>We provide educational resources to help others to use WordPress.</td>\n<td></td>\n<td></td>\n<td>581</td>\n<td>5%</td>\n<td>631</td>\n<td>5%</td>\n</tr>\n<tr>\n<td>We sponsor and/or attend WordCamps.</td>\n<td></td>\n<td></td>\n<td>561</td>\n<td>5%</td>\n<td>579</td>\n<td>5%</td>\n</tr>\n<tr>\n<td>We contribute bug reports and/or patches to WordPress core.</td>\n<td></td>\n<td></td>\n<td>444</td>\n<td>4%</td>\n<td>468</td>\n<td>4%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td></td>\n<td></td>\n<td>98</td>\n<td>1%</td>\n<td>96</td>\n<td>1%</td>\n</tr>\n</tbody>\n</table>\n<p><strong>How would you describe the business of your typical client(s)? (2015) / How would you describe the business of your typical client/customer? (2016, 2017)</strong></p>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>9,154</td>\n<td></td>\n<td>3,317</td>\n<td></td>\n<td>3,498</td>\n<td></td>\n</tr>\n<tr>\n<td>Small business</td>\n<td>6,893</td>\n<td>32%</td>\n<td>2,398</td>\n<td>31%</td>\n<td>2,510</td>\n<td>31%</td>\n</tr>\n<tr>\n<td>Large business or Enterprise</td>\n<td>3,635</td>\n<td>17%</td>\n<td>1,361</td>\n<td>18%</td>\n<td>1,447</td>\n<td>18%</td>\n</tr>\n<tr>\n<td>Non-profit</td>\n<td>2,644</td>\n<td>12%</td>\n<td>934</td>\n<td>12%</td>\n<td>992</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>Individual</td>\n<td>2,600</td>\n<td>12%</td>\n<td>888</td>\n<td>12%</td>\n<td>1,022</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>Education</td>\n<td>2,344</td>\n<td>11%</td>\n<td>854</td>\n<td>11%</td>\n<td>966</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>Website development (sub-contracting)</td>\n<td>2,065</td>\n<td>10%</td>\n<td>637</td>\n<td>8%</td>\n<td>677</td>\n<td>8%</td>\n</tr>\n<tr>\n<td>Government</td>\n<td>1,410</td>\n<td>6%</td>\n<td>524</td>\n<td>7%</td>\n<td>552</td>\n<td>7%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>127</td>\n<td>1%</td>\n<td>66</td>\n<td>1%</td>\n<td>64</td>\n<td>1%</td>\n</tr>\n</tbody>\n</table>\n<p><strong>How does your company or organization use WordPress when developing websites? (2015) / When making websites, how does your company or organization use WordPress? (2016, 2017)</strong></p>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>9,078</td>\n<td></td>\n<td>3,369</td>\n<td></td>\n<td>3,552</td>\n<td></td>\n</tr>\n<tr>\n<td>Mostly as a content management system (CMS)</td>\n<td>6,361</td>\n<td>70%</td>\n<td>2,482</td>\n<td>74%</td>\n<td>2,640</td>\n<td>74%</td>\n</tr>\n<tr>\n<td>About half the time as a blogging platform and half the time as a CMS</td>\n<td>1,222</td>\n<td>13%</td>\n<td>370</td>\n<td>11%</td>\n<td>383</td>\n<td>11%</td>\n</tr>\n<tr>\n<td>Mostly as a blogging platform</td>\n<td>721</td>\n<td>8%</td>\n<td>137</td>\n<td>4%</td>\n<td>129</td>\n<td>4%</td>\n</tr>\n<tr>\n<td>Mostly as an application framework</td>\n<td>629</td>\n<td>7%</td>\n<td>303</td>\n<td>9%</td>\n<td>303</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>145</td>\n<td>2%</td>\n<td>78</td>\n<td>2%</td>\n<td>97</td>\n<td>3%</td>\n</tr>\n</tbody>\n</table>\n<h3>How much is your average WordPress site customized from the original WordPress installation?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>9,054</td>\n<td></td>\n<td>3,302</td>\n<td></td>\n<td>3,473</td>\n<td></td>\n</tr>\n<tr>\n<td>A lot of work has been done, the front end is unrecognizable, but the Dashboard still looks like the usual WordPress interface.</td>\n<td>5,651</td>\n<td>62%</td>\n<td>2,025</td>\n<td>61%</td>\n<td>2,105</td>\n<td>61%</td>\n</tr>\n<tr>\n<td>There’s a different theme and some plugins have been added.</td>\n<td>2,230</td>\n<td>25%</td>\n<td>799</td>\n<td>24%</td>\n<td>905</td>\n<td>26%</td>\n</tr>\n<tr>\n<td>Not at all, it’s still pretty much the same as the original download.</td>\n<td>756</td>\n<td>8%</td>\n<td>302</td>\n<td>9%</td>\n<td>298</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>You’d never know this was a WordPress installation, everything (including the admin) has been customized.</td>\n<td>417</td>\n<td>5%</td>\n<td>177</td>\n<td>5%</td>\n<td>165</td>\n<td>5%</td>\n</tr>\n</tbody>\n</table>\n<h3>Roughly how many currently active WordPress sites has your company or organization built?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>8,801</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>200 +</td>\n<td>1,074</td>\n<td>12%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>51 – 200</td>\n<td>1,721</td>\n<td>20%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>21 – 50</td>\n<td>1,718</td>\n<td>20%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>11 – 20</td>\n<td>1,284</td>\n<td>15%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>6 – 10</td>\n<td>1,109</td>\n<td>13%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2 – 5</td>\n<td>1,418</td>\n<td>16%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>1</td>\n<td>390</td>\n<td>4%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>0</td>\n<td>87</td>\n<td>1%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td></td>\n<td></td>\n<td>3,358</td>\n<td></td>\n<td>3,540</td>\n<td></td>\n</tr>\n<tr>\n<td>Thousands.</td>\n<td></td>\n<td></td>\n<td>291</td>\n<td>9%</td>\n<td>331</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Hundreds.</td>\n<td></td>\n<td></td>\n<td>770</td>\n<td>23%</td>\n<td>894</td>\n<td>25%</td>\n</tr>\n<tr>\n<td>Fewer than a hundred.</td>\n<td></td>\n<td></td>\n<td>1,144</td>\n<td>34%</td>\n<td>1,177</td>\n<td>33%</td>\n</tr>\n<tr>\n<td>Just a few, but they are really great.</td>\n<td></td>\n<td></td>\n<td>926</td>\n<td>28%</td>\n<td>896</td>\n<td>25%</td>\n</tr>\n<tr>\n<td>Prefer not to answer.</td>\n<td></td>\n<td></td>\n<td>228</td>\n<td>7%</td>\n<td>242</td>\n<td>7%</td>\n</tr>\n</tbody>\n</table>\n<h3>How many person-hours (of your company’s work) does the typical site take to complete?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>9,091</td>\n<td></td>\n<td>3,353</td>\n<td></td>\n<td>3,522</td>\n<td></td>\n</tr>\n<tr>\n<td>More than 200</td>\n<td>939</td>\n<td>10%</td>\n<td>309</td>\n<td>9%</td>\n<td>325</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>100 – 200</td>\n<td>1080</td>\n<td>12%</td>\n<td>329</td>\n<td>10%</td>\n<td>367</td>\n<td>10%</td>\n</tr>\n<tr>\n<td>60 – 100</td>\n<td>1541</td>\n<td>17%</td>\n<td>527</td>\n<td>16%</td>\n<td>513</td>\n<td>15%</td>\n</tr>\n<tr>\n<td>40 – 60</td>\n<td>1854</td>\n<td>20%</td>\n<td>583</td>\n<td>17%</td>\n<td>620</td>\n<td>18%</td>\n</tr>\n<tr>\n<td>20 – 40</td>\n<td>2066</td>\n<td>23%</td>\n<td>691</td>\n<td>21%</td>\n<td>685</td>\n<td>19%</td>\n</tr>\n<tr>\n<td>Fewer than 20</td>\n<td>1611</td>\n<td>18%</td>\n<td>479</td>\n<td>14%</td>\n<td>519</td>\n<td>15%</td>\n</tr>\n<tr>\n<td>Prefer not to answer (2016, 2017)</td>\n<td></td>\n<td></td>\n<td>436</td>\n<td>13%</td>\n<td>493</td>\n<td>14%</td>\n</tr>\n</tbody>\n</table>\n<h3>Roughly what percentage of your company or organization’s output is based around WordPress (as opposed to other platforms or software)?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Company</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>8,950</td>\n<td></td>\n<td>3,345</td>\n<td></td>\n<td>3,503</td>\n<td></td>\n</tr>\n<tr>\n<td>100 %</td>\n<td>1,089</td>\n<td>12%</td>\n<td>438</td>\n<td>13%</td>\n<td>480</td>\n<td>14%</td>\n</tr>\n<tr>\n<td>90 %</td>\n<td>1,043</td>\n<td>12%</td>\n<td>417</td>\n<td>12%</td>\n<td>459</td>\n<td>13%</td>\n</tr>\n<tr>\n<td>80 %</td>\n<td>955</td>\n<td>11%</td>\n<td>367</td>\n<td>11%</td>\n<td>424</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>70 %</td>\n<td>831</td>\n<td>9%</td>\n<td>305</td>\n<td>9%</td>\n<td>344</td>\n<td>10%</td>\n</tr>\n<tr>\n<td>60 %</td>\n<td>534</td>\n<td>6%</td>\n<td>246</td>\n<td>7%</td>\n<td>226</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>50 %</td>\n<td>973</td>\n<td>11%</td>\n<td>335</td>\n<td>10%</td>\n<td>338</td>\n<td>10%</td>\n</tr>\n<tr>\n<td>40 %</td>\n<td>613</td>\n<td>7%</td>\n<td>245</td>\n<td>7%</td>\n<td>202</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>30 %</td>\n<td>877</td>\n<td>10%</td>\n<td>335</td>\n<td>10%</td>\n<td>310</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>20 %</td>\n<td>806</td>\n<td>9%</td>\n<td>242</td>\n<td>7%</td>\n<td>280</td>\n<td>8%</td>\n</tr>\n<tr>\n<td>10 %</td>\n<td>1,039</td>\n<td>12%</td>\n<td>344</td>\n<td>10%</td>\n<td>348</td>\n<td>10%</td>\n</tr>\n<tr>\n<td>0 %</td>\n<td>190</td>\n<td>2%</td>\n<td>72</td>\n<td>2%</td>\n<td>92</td>\n<td>3%</td>\n</tr>\n</tbody>\n</table>\n<h3>In which of the following ways do you work with WordPress?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>17,009</td>\n<td></td>\n<td>5,221</td>\n<td></td>\n<td>5,425</td>\n<td></td>\n</tr>\n<tr>\n<td>Build/design and/or maintain websites or blogs for other people, companies, or organizations</td>\n<td>15,342</td>\n<td>34%</td>\n<td>4,795</td>\n<td>34%</td>\n<td>5,064</td>\n<td>34%</td>\n</tr>\n<tr>\n<td>Develop or customize themes</td>\n<td>10,549</td>\n<td>24%</td>\n<td>2,997</td>\n<td>21%</td>\n<td>3,021</td>\n<td>20%</td>\n</tr>\n<tr>\n<td>Host websites for customers</td>\n<td>8,142</td>\n<td>18%</td>\n<td>2,466</td>\n<td>17%</td>\n<td>2,728</td>\n<td>18%</td>\n</tr>\n<tr>\n<td>Develop or distribute plugins</td>\n<td>4,125</td>\n<td>9%</td>\n<td>1,395</td>\n<td>10%</td>\n<td>1,416</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Provide educational resources to help others to use WordPress</td>\n<td>3,276</td>\n<td>7%</td>\n<td>1,187</td>\n<td>8%</td>\n<td>1,308</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Sponsor and/or attend WordCamps</td>\n<td>1,559</td>\n<td>4%</td>\n<td>648</td>\n<td>5%</td>\n<td>724</td>\n<td>5%</td>\n</tr>\n<tr>\n<td>Contribute bug reports and/or patches to WordPress core</td>\n<td>1,107</td>\n<td>2%</td>\n<td>381</td>\n<td>3%</td>\n<td>393</td>\n<td>3%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>389</td>\n<td>1%</td>\n<td>243</td>\n<td>2%</td>\n<td>299</td>\n<td>2%</td>\n</tr>\n</tbody>\n</table>\n<h3>How would you describe the business of your typical client(s)?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>16,863</td>\n<td></td>\n<td>5,151</td>\n<td></td>\n<td>5,353</td>\n<td></td>\n</tr>\n<tr>\n<td>Small business</td>\n<td>14,185</td>\n<td>35%</td>\n<td>4,342</td>\n<td>35%</td>\n<td>4,622</td>\n<td>36%</td>\n</tr>\n<tr>\n<td>Individual</td>\n<td>8,513</td>\n<td>21%</td>\n<td>2,581</td>\n<td>21%</td>\n<td>2,583</td>\n<td>20%</td>\n</tr>\n<tr>\n<td>Non-profit</td>\n<td>6,585</td>\n<td>16%</td>\n<td>2,004</td>\n<td>16%</td>\n<td>2,113</td>\n<td>16%</td>\n</tr>\n<tr>\n<td>Website development (sub-contracting)</td>\n<td>4,301</td>\n<td>11%</td>\n<td>1,258</td>\n<td>10%</td>\n<td>1,216</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Education</td>\n<td>3,458</td>\n<td>8%</td>\n<td>1,049</td>\n<td>8%</td>\n<td>1,139</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Large business or Enterprise</td>\n<td>2,391</td>\n<td>6%</td>\n<td>805</td>\n<td>6%</td>\n<td>857</td>\n<td>7%</td>\n</tr>\n<tr>\n<td>Government</td>\n<td>1,150</td>\n<td>3%</td>\n<td>300</td>\n<td>2%</td>\n<td>329</td>\n<td>3%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>173</td>\n<td>0%</td>\n<td>101</td>\n<td>1%</td>\n<td>99</td>\n<td>1%</td>\n</tr>\n</tbody>\n</table>\n<h3>How do you use WordPress in your development?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>16,768</td>\n<td></td>\n<td>5,145</td>\n<td></td>\n<td>5,372</td>\n<td></td>\n</tr>\n<tr>\n<td>Mostly as a content management system (CMS)</td>\n<td>11,754</td>\n<td>70%</td>\n<td>3,641</td>\n<td>71%</td>\n<td>3,959</td>\n<td>74%</td>\n</tr>\n<tr>\n<td>About half the time as a blogging platform and half the time as a CMS</td>\n<td>2,825</td>\n<td>17%</td>\n<td>812</td>\n<td>16%</td>\n<td>721</td>\n<td>13%</td>\n</tr>\n<tr>\n<td>Mostly as an application framework</td>\n<td>1,012</td>\n<td>6%</td>\n<td>343</td>\n<td>7%</td>\n<td>344</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>Mostly as a blogging platform</td>\n<td>992</td>\n<td>6%</td>\n<td>246</td>\n<td>5%</td>\n<td>226</td>\n<td>4%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>185</td>\n<td>1%</td>\n<td>105</td>\n<td>2%</td>\n<td>122</td>\n<td>2%</td>\n</tr>\n</tbody>\n</table>\n<h3>How much is your average WordPress site customized from the original WordPress installation?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>16,699</td>\n<td></td>\n<td>5,131</td>\n<td></td>\n<td>5,317</td>\n<td></td>\n</tr>\n<tr>\n<td>A lot of work has been done, the front end is unrecognizable, but the Dashboard still looks like the usual WordPress interface.</td>\n<td>9,457</td>\n<td>57%</td>\n<td>2,837</td>\n<td>55%</td>\n<td>2,998</td>\n<td>56%</td>\n</tr>\n<tr>\n<td>There’s a different theme and some plugins have been added.</td>\n<td>5,526</td>\n<td>33%</td>\n<td>1,694</td>\n<td>33%</td>\n<td>1,781</td>\n<td>34%</td>\n</tr>\n<tr>\n<td>Not at all, it’s still pretty much the same as the original download.</td>\n<td>977</td>\n<td>6%</td>\n<td>341</td>\n<td>7%</td>\n<td>310</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>You’d never know this was a WordPress installation, everything (including the admin) has been customized.</td>\n<td>739</td>\n<td>4%</td>\n<td>261</td>\n<td>5%</td>\n<td>228</td>\n<td>4%</td>\n</tr>\n</tbody>\n</table>\n<h3>How many currently active WordPress sites have you built? (2015) / Roughly how many currently active WordPress sites have you built? (2016, 2017)</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>16,690</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>200 +</td>\n<td>514</td>\n<td>3%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>51 – 200</td>\n<td>1,728</td>\n<td>10%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>21 – 50</td>\n<td>3,000</td>\n<td>18%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>11 – 20</td>\n<td>3,146</td>\n<td>19%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>6 – 10</td>\n<td>3,405</td>\n<td>20%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>2 – 5</td>\n<td>3,838</td>\n<td>23%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>1</td>\n<td>698</td>\n<td>4%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>0</td>\n<td>361</td>\n<td>2%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td></td>\n<td></td>\n<td>5,165</td>\n<td></td>\n<td>5367</td>\n<td></td>\n</tr>\n<tr>\n<td>Thousands.</td>\n<td></td>\n<td></td>\n<td>110</td>\n<td>2%</td>\n<td>104</td>\n<td>2%</td>\n</tr>\n<tr>\n<td>Hundreds.</td>\n<td></td>\n<td></td>\n<td>603</td>\n<td>12%</td>\n<td>713</td>\n<td>13%</td>\n</tr>\n<tr>\n<td>Fewer than a hundred.</td>\n<td></td>\n<td></td>\n<td>2,264</td>\n<td>44%</td>\n<td>2,457</td>\n<td>46%</td>\n</tr>\n<tr>\n<td>Just a few, but they are really great.</td>\n<td></td>\n<td></td>\n<td>1,871</td>\n<td>36%</td>\n<td>1,813</td>\n<td>34%</td>\n</tr>\n<tr>\n<td>Prefer not to answer.</td>\n<td></td>\n<td></td>\n<td>319</td>\n<td>6%</td>\n<td>280</td>\n<td>5%</td>\n</tr>\n</tbody>\n</table>\n<h3>Roughly what percentage of your working time is spent working with WordPress?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>16,658</td>\n<td></td>\n<td>5,039</td>\n<td></td>\n<td>5,241</td>\n<td></td>\n</tr>\n<tr>\n<td>100 %</td>\n<td>949</td>\n<td>6%</td>\n<td>459</td>\n<td>9%</td>\n<td>461</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>90 %</td>\n<td>1,300</td>\n<td>8%</td>\n<td>527</td>\n<td>10%</td>\n<td>540</td>\n<td>10%</td>\n</tr>\n<tr>\n<td>80 %</td>\n<td>1,784</td>\n<td>11%</td>\n<td>637</td>\n<td>13%</td>\n<td>711</td>\n<td>14%</td>\n</tr>\n<tr>\n<td>70 %</td>\n<td>1,850</td>\n<td>11%</td>\n<td>608</td>\n<td>12%</td>\n<td>627</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>60 %</td>\n<td>1,313</td>\n<td>8%</td>\n<td>438</td>\n<td>9%</td>\n<td>465</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>50 %</td>\n<td>2,095</td>\n<td>13%</td>\n<td>612</td>\n<td>12%</td>\n<td>639</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>40 %</td>\n<td>1,438</td>\n<td>9%</td>\n<td>391</td>\n<td>8%</td>\n<td>384</td>\n<td>7%</td>\n</tr>\n<tr>\n<td>30 %</td>\n<td>2,076</td>\n<td>12%</td>\n<td>530</td>\n<td>11%</td>\n<td>511</td>\n<td>10%</td>\n</tr>\n<tr>\n<td>20 %</td>\n<td>1,743</td>\n<td>10%</td>\n<td>445</td>\n<td>9%</td>\n<td>429</td>\n<td>8%</td>\n</tr>\n<tr>\n<td>10 %</td>\n<td>1,819</td>\n<td>11%</td>\n<td>342</td>\n<td>7%</td>\n<td>419</td>\n<td>8%</td>\n</tr>\n<tr>\n<td>0 %</td>\n<td>291</td>\n<td>2%</td>\n<td>52</td>\n<td>1%</td>\n<td>55</td>\n<td>1%</td>\n</tr>\n</tbody>\n</table>\n<h3>How many hours of your work does the typical site take to complete? (2015) / How many hours of work does your typical WordPress project take to launch? (2016, 2017)</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Freelancer/Hobbyist</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>16,670</td>\n<td></td>\n<td>5,164</td>\n<td></td>\n<td>5,378</td>\n<td></td>\n</tr>\n<tr>\n<td>More than 200</td>\n<td>503</td>\n<td>3%</td>\n<td>222</td>\n<td>4%</td>\n<td>245</td>\n<td>5%</td>\n</tr>\n<tr>\n<td>100 – 200</td>\n<td>973</td>\n<td>6%</td>\n<td>386</td>\n<td>7%</td>\n<td>393</td>\n<td>7%</td>\n</tr>\n<tr>\n<td>60 – 100</td>\n<td>2,277</td>\n<td>14%</td>\n<td>788</td>\n<td>15%</td>\n<td>815</td>\n<td>15%</td>\n</tr>\n<tr>\n<td>40 – 60</td>\n<td>3,896</td>\n<td>23%</td>\n<td>1,153</td>\n<td>22%</td>\n<td>1,216</td>\n<td>23%</td>\n</tr>\n<tr>\n<td>20 – 40</td>\n<td>6,068</td>\n<td>36%</td>\n<td>1,487</td>\n<td>29%</td>\n<td>1,582</td>\n<td>29%</td>\n</tr>\n<tr>\n<td>Fewer than 20</td>\n<td>2,953</td>\n<td>18%</td>\n<td>712</td>\n<td>14%</td>\n<td>751</td>\n<td>14%</td>\n</tr>\n<tr>\n<td>Prefer not to answer</td>\n<td></td>\n<td></td>\n<td>418</td>\n<td>8%</td>\n<td>376</td>\n<td>7%</td>\n</tr>\n</tbody>\n</table>\n<h3>Which of the following have you done with WordPress?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" /> </colgroup>\n</table>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Professional (Company/Freelancer/Hobbyist)</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>20,687</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve written a theme from scratch.</td>\n<td>11,894</td>\n<td>25%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve written a plugin.</td>\n<td>9,719</td>\n<td>21%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve answered a question in the WordPress forum.</td>\n<td>8,805</td>\n<td>19%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve attended a WordPress meetup.</td>\n<td>4,062</td>\n<td>9%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve submitted a WordPress bug report.</td>\n<td>4,062</td>\n<td>9%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve attended a WordCamp.</td>\n<td>3,571</td>\n<td>8%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve contributed to WordPress documentation.</td>\n<td>1,778</td>\n<td>4%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>1,739</td>\n<td>4%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’ve contributed a WordPress core patch.</td>\n<td>1,055</td>\n<td>2%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<h3>What’s the best thing about WordPress?<a href=\"#text\">*</a></h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Professional</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>22,718</td>\n<td></td>\n<td>7,891</td>\n<td></td>\n<td>8,267</td>\n<td></td>\n</tr>\n<tr>\n<td>Easy/simple/user-friendly</td>\n<td>9,450</td>\n<td>42%</td>\n<td>3,454</td>\n<td>44%</td>\n<td>3,852</td>\n<td>47%</td>\n</tr>\n<tr>\n<td>Customizable/extensible/modular/plugins/themes</td>\n<td>8,601</td>\n<td>38%</td>\n<td>3,116</td>\n<td>39%</td>\n<td>3,555</td>\n<td>43%</td>\n</tr>\n<tr>\n<td>Community/support/documentation/help</td>\n<td>3,806</td>\n<td>17%</td>\n<td>1,211</td>\n<td>15%</td>\n<td>1,340</td>\n<td>16%</td>\n</tr>\n<tr>\n<td>Free/open/open source</td>\n<td>2,291</td>\n<td>10%</td>\n<td>802</td>\n<td>10%</td>\n<td>908</td>\n<td>11%</td>\n</tr>\n<tr>\n<td>Popular/ubiquitous</td>\n<td>249</td>\n<td>1%</td>\n<td>86</td>\n<td>1%</td>\n<td>187</td>\n<td>2%</td>\n</tr>\n</tbody>\n</table>\n<h3> What’s the most frustrating thing about WordPress?<a href=\"#text\">*</a></h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Professional</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>21,144</td>\n<td></td>\n<td>7,294</td>\n<td></td>\n<td>7,691</td>\n<td></td>\n</tr>\n<tr>\n<td>Plugins & themes (abandoned/conflicts/coding standards)</td>\n<td>6,122</td>\n<td>29%</td>\n<td>2,194</td>\n<td>30%</td>\n<td>2,187</td>\n<td>28%</td>\n</tr>\n<tr>\n<td>Security/vulnerabilities/hacks</td>\n<td>2,321</td>\n<td>11%</td>\n<td>712</td>\n<td>10%</td>\n<td>829</td>\n<td>11%</td>\n</tr>\n<tr>\n<td>Updates</td>\n<td>1,544</td>\n<td>7%</td>\n<td>422</td>\n<td>6%</td>\n<td>508</td>\n<td>7%</td>\n</tr>\n<tr>\n<td>Nothing/I don’t know/can’t think of anything</td>\n<td>1,276</td>\n<td>6%</td>\n<td>344</td>\n<td>5%</td>\n<td>476</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>Speed/performance/slow/heavy</td>\n<td>1,196</td>\n<td>6%</td>\n<td>644</td>\n<td>9%</td>\n<td>516</td>\n<td>7%</td>\n</tr>\n</tbody>\n</table>\n<h3>WordPress is as good as, or better than, its main competitors.</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress Professional</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses (this question was not asked in the 2015 survey)</td>\n<td></td>\n<td></td>\n<td>8,672</td>\n<td></td>\n<td>9,059</td>\n<td></td>\n</tr>\n<tr>\n<td>Agree</td>\n<td></td>\n<td></td>\n<td>7551</td>\n<td>87%</td>\n<td>7836</td>\n<td>87%</td>\n</tr>\n<tr>\n<td>Prefer not to answer</td>\n<td></td>\n<td></td>\n<td>754</td>\n<td>9%</td>\n<td>795</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Disagree</td>\n<td></td>\n<td></td>\n<td>370</td>\n<td>4%</td>\n<td>428</td>\n<td>5%</td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"user\">WordPress Users</h2>\n<h3>Which of the following describes how you use WordPress?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress User</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>15,169</td>\n<td></td>\n<td>5,043</td>\n<td></td>\n<td>5,521</td>\n<td></td>\n</tr>\n<tr>\n<td>My personal blog (or blogs) uses WordPress.</td>\n<td>9,395</td>\n<td>36%</td>\n<td>3,117</td>\n<td>36%</td>\n<td>3,424</td>\n<td>36%</td>\n</tr>\n<tr>\n<td>My company or organization’s website is built with WordPress software.</td>\n<td>7,480</td>\n<td>29%</td>\n<td>2,519</td>\n<td>29%</td>\n<td>2,841</td>\n<td>30%</td>\n</tr>\n<tr>\n<td>I have a hobby or side project that has a website built with WordPress.</td>\n<td>6,112</td>\n<td>23%</td>\n<td>1,973</td>\n<td>23%</td>\n<td>2,200</td>\n<td>23%</td>\n</tr>\n<tr>\n<td>I write (or otherwise work) for an online publication that uses WordPress.</td>\n<td>2,329</td>\n<td>9%</td>\n<td>806</td>\n<td>9%</td>\n<td>821</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>872</td>\n<td>3%</td>\n<td>234</td>\n<td>3%</td>\n<td>288</td>\n<td>3%</td>\n</tr>\n</tbody>\n</table>\n<h3>Who installed your WordPress website?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress User</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>15,055</td>\n<td></td>\n<td>5,020</td>\n<td></td>\n<td>5,523</td>\n<td></td>\n</tr>\n<tr>\n<td>I did.</td>\n<td>11,216</td>\n<td>66%</td>\n<td>3,659</td>\n<td>73%</td>\n<td>4,129</td>\n<td>75%</td>\n</tr>\n<tr>\n<td>My hosting provider</td>\n<td>2,236</td>\n<td>13%</td>\n<td>667</td>\n<td>13%</td>\n<td>767</td>\n<td>14%</td>\n</tr>\n<tr>\n<td>An external company</td>\n<td>909</td>\n<td>5%</td>\n<td>182</td>\n<td>4%</td>\n<td>178</td>\n<td>3%</td>\n</tr>\n<tr>\n<td>An internal web person/team or a colleague</td>\n<td>874</td>\n<td>5%</td>\n<td>178</td>\n<td>4%</td>\n<td>191</td>\n<td>3%</td>\n</tr>\n<tr>\n<td>A friend or family member</td>\n<td>787</td>\n<td>5%</td>\n<td>192</td>\n<td>4%</td>\n<td>172</td>\n<td>3%</td>\n</tr>\n<tr>\n<td>I don’t know</td>\n<td>502</td>\n<td>3%</td>\n<td>145</td>\n<td>3%</td>\n<td>87</td>\n<td>2%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>345</td>\n<td>2%</td>\n<td>n/a</td>\n<td>n/a</td>\n<td>n/a</td>\n<td>n/a</td>\n</tr>\n</tbody>\n</table>\n<h3>How much has the site been customized from the original WordPress installation?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress User</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>14,789</td>\n<td></td>\n<td>4,997</td>\n<td></td>\n<td>5,494</td>\n<td></td>\n</tr>\n<tr>\n<td>There’s a different theme and some plugins have been added.</td>\n<td>7,465</td>\n<td>50%</td>\n<td>2,337</td>\n<td>47%</td>\n<td>2,660</td>\n<td>48%</td>\n</tr>\n<tr>\n<td>A lot of work has been done, the site itself is unrecognizable from the original theme, but the Dashboard still looks like the usual WordPress interface.</td>\n<td>4,715</td>\n<td>32%</td>\n<td>1,707</td>\n<td>34%</td>\n<td>1,872</td>\n<td>34%</td>\n</tr>\n<tr>\n<td>Not at all, it’s still pretty much the same as it was when I started out.</td>\n<td>1,841</td>\n<td>12%</td>\n<td>635</td>\n<td>13%</td>\n<td>673</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>You’d never know this was a WordPress installation, everything has been customized.</td>\n<td>768</td>\n<td>5%</td>\n<td>321</td>\n<td>6%</td>\n<td>290</td>\n<td>5%</td>\n</tr>\n</tbody>\n</table>\n<h3>What’s the best thing about WordPress?<a href=\"#text\">*</a></h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress User</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>14,328</td>\n<td></td>\n<td>4,613</td>\n<td></td>\n<td>5,076</td>\n<td></td>\n</tr>\n<tr>\n<td>Easy/simple/user-friendly</td>\n<td>7,391</td>\n<td>52%</td>\n<td>2,276</td>\n<td>49%</td>\n<td>2,511</td>\n<td>49%</td>\n</tr>\n<tr>\n<td>Customizable/extensible/modular/plugins/themes</td>\n<td>4,219</td>\n<td>29%</td>\n<td>1,569</td>\n<td>34%</td>\n<td>1,632</td>\n<td>32%</td>\n</tr>\n<tr>\n<td>Free/open/open source</td>\n<td>1,586</td>\n<td>11%</td>\n<td>493</td>\n<td>11%</td>\n<td>538</td>\n<td>11%</td>\n</tr>\n<tr>\n<td>Community/support/documentation/help</td>\n<td>1,085</td>\n<td>8%</td>\n<td>388</td>\n<td>8%</td>\n<td>458</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Popular/ubiquitous</td>\n<td>223</td>\n<td>2%</td>\n<td>74</td>\n<td>2%</td>\n<td>48</td>\n<td>1%</td>\n</tr>\n</tbody>\n</table>\n<h3>What’s the most frustrating thing about WordPress?<a href=\"#text\">*</a></h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress User</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td>13,681</td>\n<td></td>\n<td>4,287</td>\n<td></td>\n<td>4,758</td>\n<td></td>\n</tr>\n<tr>\n<td>Plugins & themes (abandoned/conflicts/coding standards)</td>\n<td>2,531</td>\n<td>19%</td>\n<td>1,183</td>\n<td>28%</td>\n<td>1,300</td>\n<td>27%</td>\n</tr>\n<tr>\n<td>Customization/design/look/template</td>\n<td>1,273</td>\n<td>9%</td>\n<td>381</td>\n<td>9%</td>\n<td>408</td>\n<td>9%</td>\n</tr>\n<tr>\n<td>Code/coding/PHP</td>\n<td>931</td>\n<td>7%</td>\n<td>306</td>\n<td>7%</td>\n<td>277</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>Updates</td>\n<td>926</td>\n<td>7%</td>\n<td>209</td>\n<td>5%</td>\n<td>296</td>\n<td>6%</td>\n</tr>\n<tr>\n<td>Security/vulnerabilites/hacks</td>\n<td>785</td>\n<td>6%</td>\n<td>255</td>\n<td>6%</td>\n<td>292</td>\n<td>6%</td>\n</tr>\n</tbody>\n</table>\n<h3>WordPress is as good as, or better than, its main competitors.</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: WordPress User</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td></td>\n<td></td>\n<td>5,026</td>\n<td></td>\n<td>5,498</td>\n<td></td>\n</tr>\n<tr>\n<td>Agree</td>\n<td></td>\n<td></td>\n<td>4,038</td>\n<td>80%</td>\n<td>4,462</td>\n<td>81%</td>\n</tr>\n<tr>\n<td>Prefer not to answer</td>\n<td></td>\n<td></td>\n<td>737</td>\n<td>15%</td>\n<td>782</td>\n<td>14%</td>\n</tr>\n<tr>\n<td>Disagree</td>\n<td></td>\n<td></td>\n<td>254</td>\n<td>5%</td>\n<td>255</td>\n<td>5%</td>\n</tr>\n</tbody>\n</table>\n<h2 id=\"all\">All Respondents</h2>\n<h3>Can you (truthfully!) say “I make my living from WordPress”?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: All Respondents</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses (combination of all three groups from 2015; this question was not broken out by group in 2016-2017)</td>\n<td>42,236</td>\n<td></td>\n<td>14,906</td>\n<td></td>\n<td>15,616</td>\n<td></td>\n</tr>\n<tr>\n<td>Not really, but I do get some or all of my income as a result of working with WordPress.</td>\n<td>16,607</td>\n<td>39%</td>\n<td>5,408</td>\n<td>36%</td>\n<td>5,702</td>\n<td>37%</td>\n</tr>\n<tr>\n<td>Yes.</td>\n<td>9,635</td>\n<td>23%</td>\n<td>4,791</td>\n<td>32%</td>\n<td>5,033</td>\n<td>32%</td>\n</tr>\n<tr>\n<td>No.</td>\n<td>15,995</td>\n<td>38%</td>\n<td>4,713</td>\n<td>32%</td>\n<td>4,882</td>\n<td>31%</td>\n</tr>\n</tbody>\n</table>\n<h3>Which devices do you access WordPress on?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: All Respondents</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses (combination of all three groups from 2015; this question was not broken out by group in 2016-2017)</td>\n<td>42,433</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Web</td>\n<td>40,503</td>\n<td>95%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Android phone</td>\n<td>15,396</td>\n<td>36%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>iPhone</td>\n<td>12,353</td>\n<td>29%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>iPad</td>\n<td>11,748</td>\n<td>28%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Android tablet</td>\n<td>9,223</td>\n<td>22%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Desktop app, like MarsEdit</td>\n<td>6,018</td>\n<td>14%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td>1837</td>\n<td>4%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses (this question was not broken out by group in 2016-2017)</td>\n<td></td>\n<td></td>\n<td>14,840</td>\n<td></td>\n<td>15,597</td>\n<td></td>\n</tr>\n<tr>\n<td>Web browser on a desktop or laptop</td>\n<td></td>\n<td></td>\n<td>14,160</td>\n<td>54%</td>\n<td>15,052</td>\n<td>55%</td>\n</tr>\n<tr>\n<td>Web browser on a mobile device (tablet or phone)</td>\n<td></td>\n<td></td>\n<td>7,952</td>\n<td>30%</td>\n<td>8,248</td>\n<td>30%</td>\n</tr>\n<tr>\n<td>An app on a mobile device (table or phone)</td>\n<td></td>\n<td></td>\n<td>3,309</td>\n<td>13%</td>\n<td>3,311</td>\n<td>12%</td>\n</tr>\n<tr>\n<td>A desktop app like MarsEdit</td>\n<td></td>\n<td></td>\n<td>517</td>\n<td>2%</td>\n<td>498</td>\n<td>2%</td>\n</tr>\n<tr>\n<td>Other Option</td>\n<td></td>\n<td></td>\n<td>282</td>\n<td>1%</td>\n<td>240</td>\n<td>1%</td>\n</tr>\n</tbody>\n</table>\n<h3>WordPress now updates minor & security releases automatically for you. Check all that apply: (question not asked in 2016, 2017)</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"36\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: All Respondents</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses (combination of all three groups)</td>\n<td>39,726</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I love auto-updates.</td>\n<td>17,367</td>\n<td>44%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’d like to see auto-updates for plugins.</td>\n<td>12,796</td>\n<td>32%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Initially, I was nervous about auto updates.</td>\n<td>11,868</td>\n<td>30%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Auto updates still make me nervous.</td>\n<td>10,809</td>\n<td>27%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Auto updates don’t make me nervous now.</td>\n<td>10,708</td>\n<td>27%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’d like to see auto-updates for themes.</td>\n<td>10,449</td>\n<td>26%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I’d like to see auto updates for major versions of WordPress.</td>\n<td>10,225</td>\n<td>26%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>This is the first I’ve heard of auto-updates.</td>\n<td>8,660</td>\n<td>22%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>I hate auto-updates.</td>\n<td>3,293</td>\n<td>8%</td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n<h3>What is your gender?<a href=\"#text\">*</a></h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: All respondents (This question was not asked in the 2015 survey.)</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td></td>\n<td></td>\n<td>13,953</td>\n<td></td>\n<td>14,680</td>\n<td></td>\n</tr>\n<tr>\n<td>Male</td>\n<td></td>\n<td></td>\n<td>10,978</td>\n<td>78.68%</td>\n<td>11,570</td>\n<td>78.81%</td>\n</tr>\n<tr>\n<td>Female</td>\n<td></td>\n<td></td>\n<td>2,340</td>\n<td>16.77%</td>\n<td>2,511</td>\n<td>21.70%</td>\n</tr>\n<tr>\n<td>Prefer not to answer</td>\n<td></td>\n<td></td>\n<td>601</td>\n<td>4.31%</td>\n<td>562</td>\n<td>3.83%</td>\n</tr>\n<tr>\n<td>Transgender</td>\n<td></td>\n<td></td>\n<td>11</td>\n<td>0.08%</td>\n<td>8</td>\n<td>0.05%</td>\n</tr>\n<tr>\n<td>Nonbinary</td>\n<td></td>\n<td></td>\n<td>8</td>\n<td>0.06%</td>\n<td>17</td>\n<td>0.12%</td>\n</tr>\n<tr>\n<td>Genderqueer</td>\n<td></td>\n<td></td>\n<td>4</td>\n<td>0.03%</td>\n<td>3</td>\n<td>0.02%</td>\n</tr>\n<tr>\n<td>Androgynous</td>\n<td></td>\n<td></td>\n<td>6</td>\n<td>0.04%</td>\n<td>5</td>\n<td>0.03%</td>\n</tr>\n<tr>\n<td>Fluid</td>\n<td></td>\n<td></td>\n<td>3</td>\n<td>0.02%</td>\n<td>4</td>\n<td>0.03%</td>\n</tr>\n<tr>\n<td>Demimale</td>\n<td></td>\n<td></td>\n<td>2</td>\n<td>0.01%</td>\n<td>0</td>\n<td>0</td>\n</tr>\n</tbody>\n</table>\n<h3>Where are you located?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: All respondents (This question was not asked in the 2015 survey.)</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses</td>\n<td></td>\n<td></td>\n<td>14,562</td>\n<td></td>\n<td>15,343</td>\n<td></td>\n</tr>\n<tr>\n<td>United States</td>\n<td></td>\n<td></td>\n<td>3,770</td>\n<td>25.89%</td>\n<td>4,067</td>\n<td>26.51%</td>\n</tr>\n<tr>\n<td>India</td>\n<td></td>\n<td></td>\n<td>1,456</td>\n<td>10.00%</td>\n<td>1,424</td>\n<td>9.28%</td>\n</tr>\n<tr>\n<td>United Kingdom</td>\n<td></td>\n<td></td>\n<td>810</td>\n<td>5.56%</td>\n<td>900</td>\n<td>5.87%</td>\n</tr>\n<tr>\n<td>Germany</td>\n<td></td>\n<td></td>\n<td>555</td>\n<td>3.81%</td>\n<td>729</td>\n<td>4.75%</td>\n</tr>\n<tr>\n<td>Canada</td>\n<td></td>\n<td></td>\n<td>511</td>\n<td>3.51%</td>\n<td>599</td>\n<td>3.90%</td>\n</tr>\n<tr>\n<td>Australia</td>\n<td></td>\n<td></td>\n<td>389</td>\n<td>2.67%</td>\n<td>460</td>\n<td>3.00%</td>\n</tr>\n<tr>\n<td>Italy</td>\n<td></td>\n<td></td>\n<td>298</td>\n<td>2.05%</td>\n<td>356</td>\n<td>2.32%</td>\n</tr>\n<tr>\n<td>Netherlands</td>\n<td></td>\n<td></td>\n<td>343</td>\n<td>2.36%</td>\n<td>350</td>\n<td>2.28%</td>\n</tr>\n<tr>\n<td>France</td>\n<td></td>\n<td></td>\n<td>232</td>\n<td>1.59%</td>\n<td>283</td>\n<td>1.84%</td>\n</tr>\n<tr>\n<td>Bangladesh</td>\n<td></td>\n<td></td>\n<td>257</td>\n<td>1.76%</td>\n<td>263</td>\n<td>1.71%</td>\n</tr>\n<tr>\n<td>Spain</td>\n<td></td>\n<td></td>\n<td>271</td>\n<td>1.86%</td>\n<td>252</td>\n<td>1.64%</td>\n</tr>\n<tr>\n<td>Brazil</td>\n<td></td>\n<td></td>\n<td>239</td>\n<td>1.64%</td>\n<td>251</td>\n<td>1.64%</td>\n</tr>\n<tr>\n<td>Pakistan</td>\n<td></td>\n<td></td>\n<td>254</td>\n<td>1.74%</td>\n<td>240</td>\n<td>1.56%</td>\n</tr>\n<tr>\n<td>Indonesia</td>\n<td></td>\n<td></td>\n<td>230</td>\n<td>1.58%</td>\n<td>226</td>\n<td>1.47%</td>\n</tr>\n<tr>\n<td>Iran, Islamic Republic of</td>\n<td></td>\n<td></td>\n<td>190</td>\n<td>1.30%</td>\n<td>173</td>\n<td>1.13%</td>\n</tr>\n<tr>\n<td>Sweden</td>\n<td></td>\n<td></td>\n<td>144</td>\n<td>0.99%</td>\n<td>173</td>\n<td>1.13%</td>\n</tr>\n<tr>\n<td>Nigeria</td>\n<td></td>\n<td></td>\n<td>196</td>\n<td>1.35%</td>\n<td>172</td>\n<td>1.12%</td>\n</tr>\n<tr>\n<td>South Africa</td>\n<td></td>\n<td></td>\n<td>193</td>\n<td>1.33%</td>\n<td>172</td>\n<td>1.12%</td>\n</tr>\n<tr>\n<td>Russian Federation</td>\n<td></td>\n<td></td>\n<td>181</td>\n<td>1.24%</td>\n<td>151</td>\n<td>0.98%</td>\n</tr>\n<tr>\n<td>Poland</td>\n<td></td>\n<td></td>\n<td>129</td>\n<td>0.89%</td>\n<td>137</td>\n<td>0.89%</td>\n</tr>\n<tr>\n<td>Romania</td>\n<td></td>\n<td></td>\n<td>144</td>\n<td>0.99%</td>\n<td>132</td>\n<td>0.86%</td>\n</tr>\n<tr>\n<td>Switzerland</td>\n<td></td>\n<td></td>\n<td>122</td>\n<td>0.84%</td>\n<td>130</td>\n<td>0.85%</td>\n</tr>\n<tr>\n<td>Philippines</td>\n<td></td>\n<td></td>\n<td>92</td>\n<td>0.63%</td>\n<td>125</td>\n<td>0.81%</td>\n</tr>\n<tr>\n<td>China</td>\n<td></td>\n<td></td>\n<td>136</td>\n<td>0.93%</td>\n<td>123</td>\n<td>0.80%</td>\n</tr>\n<tr>\n<td>Austria</td>\n<td></td>\n<td></td>\n<td>89</td>\n<td>0.61%</td>\n<td>122</td>\n<td>0.80%</td>\n</tr>\n<tr>\n<td>Ukraine</td>\n<td></td>\n<td></td>\n<td>105</td>\n<td>0.72%</td>\n<td>118</td>\n<td>0.77%</td>\n</tr>\n<tr>\n<td>Denmark</td>\n<td></td>\n<td></td>\n<td>107</td>\n<td>0.73%</td>\n<td>114</td>\n<td>0.74%</td>\n</tr>\n<tr>\n<td>Greece</td>\n<td></td>\n<td></td>\n<td>120</td>\n<td>0.82%</td>\n<td>114</td>\n<td>0.74%</td>\n</tr>\n<tr>\n<td>Portugal</td>\n<td></td>\n<td></td>\n<td>94</td>\n<td>0.65%</td>\n<td>109</td>\n<td>0.71%</td>\n</tr>\n<tr>\n<td>Vietnam</td>\n<td></td>\n<td></td>\n<td>101</td>\n<td>0.69%</td>\n<td>108</td>\n<td>0.70%</td>\n</tr>\n<tr>\n<td>Mexico</td>\n<td></td>\n<td></td>\n<td>94</td>\n<td>0.65%</td>\n<td>105</td>\n<td>0.68%</td>\n</tr>\n<tr>\n<td>Nepal</td>\n<td></td>\n<td></td>\n<td>76</td>\n<td>0.52%</td>\n<td>97</td>\n<td>0.63%</td>\n</tr>\n<tr>\n<td>Ireland</td>\n<td></td>\n<td></td>\n<td>72</td>\n<td>0.49%</td>\n<td>94</td>\n<td>0.61%</td>\n</tr>\n<tr>\n<td>Israel</td>\n<td></td>\n<td></td>\n<td>78</td>\n<td>0.54%</td>\n<td>94</td>\n<td>0.61%</td>\n</tr>\n<tr>\n<td>New Zealand</td>\n<td></td>\n<td></td>\n<td>77</td>\n<td>0.53%</td>\n<td>91</td>\n<td>0.59%</td>\n</tr>\n<tr>\n<td>Finland</td>\n<td></td>\n<td></td>\n<td>63</td>\n<td>0.43%</td>\n<td>90</td>\n<td>0.59%</td>\n</tr>\n<tr>\n<td>Turkey</td>\n<td></td>\n<td></td>\n<td>91</td>\n<td>0.62%</td>\n<td>86</td>\n<td>0.56%</td>\n</tr>\n<tr>\n<td>Malaysia</td>\n<td></td>\n<td></td>\n<td>91</td>\n<td>0.62%</td>\n<td>81</td>\n<td>0.53%</td>\n</tr>\n<tr>\n<td>Belgium</td>\n<td></td>\n<td></td>\n<td>84</td>\n<td>0.58%</td>\n<td>79</td>\n<td>0.51%</td>\n</tr>\n<tr>\n<td>Norway</td>\n<td></td>\n<td></td>\n<td>66</td>\n<td>0.45%</td>\n<td>79</td>\n<td>0.51%</td>\n</tr>\n<tr>\n<td>Argentina</td>\n<td></td>\n<td></td>\n<td>65</td>\n<td>0.45%</td>\n<td>76</td>\n<td>0.50%</td>\n</tr>\n<tr>\n<td>Bulgaria</td>\n<td></td>\n<td></td>\n<td>74</td>\n<td>0.51%</td>\n<td>72</td>\n<td>0.47%</td>\n</tr>\n<tr>\n<td>Japan</td>\n<td></td>\n<td></td>\n<td>61</td>\n<td>0.42%</td>\n<td>68</td>\n<td>0.44%</td>\n</tr>\n<tr>\n<td>Thailand</td>\n<td></td>\n<td></td>\n<td>69</td>\n<td>0.47%</td>\n<td>67</td>\n<td>0.44%</td>\n</tr>\n<tr>\n<td>Czech Republic</td>\n<td></td>\n<td></td>\n<td>76</td>\n<td>0.52%</td>\n<td>66</td>\n<td>0.43%</td>\n</tr>\n<tr>\n<td>Serbia</td>\n<td></td>\n<td></td>\n<td>89</td>\n<td>0.61%</td>\n<td>63</td>\n<td>0.41%</td>\n</tr>\n<tr>\n<td>Kenya</td>\n<td></td>\n<td></td>\n<td>58</td>\n<td>0.40%</td>\n<td>62</td>\n<td>0.40%</td>\n</tr>\n<tr>\n<td>Colombia</td>\n<td></td>\n<td></td>\n<td>39</td>\n<td>0.27%</td>\n<td>59</td>\n<td>0.38%</td>\n</tr>\n<tr>\n<td>Egypt</td>\n<td></td>\n<td></td>\n<td>40</td>\n<td>0.27%</td>\n<td>52</td>\n<td>0.34%</td>\n</tr>\n</tbody>\n</table>\n<h3>What is your age?</h3>\n<table dir=\"ltr\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col width=\"554\" />\n<col width=\"47\" />\n<col width=\"36\" />\n<col width=\"47\" />\n<col width=\"51\" />\n<col width=\"47\" />\n<col width=\"51\" /></colgroup>\n<tbody>\n<tr>\n<td></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2015</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2016</strong></td>\n<td style=\"text-align: center\" colspan=\"2\" rowspan=\"1\"><strong>2017</strong></td>\n</tr>\n<tr>\n<td><em>Group: All Respondents</em></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Number of responses (This question was not asked in 2015.)</td>\n<td></td>\n<td></td>\n<td>14,944</td>\n<td></td>\n<td>15,636</td>\n<td></td>\n</tr>\n<tr>\n<td>60 and over</td>\n<td></td>\n<td></td>\n<td>1,139</td>\n<td>8%</td>\n<td>1,641</td>\n<td>11%</td>\n</tr>\n<tr>\n<td>50-59</td>\n<td></td>\n<td></td>\n<td>1,537</td>\n<td>10%</td>\n<td>1,996</td>\n<td>13%</td>\n</tr>\n<tr>\n<td>40-49</td>\n<td></td>\n<td></td>\n<td>2,205</td>\n<td>15%</td>\n<td>2,643</td>\n<td>17%</td>\n</tr>\n<tr>\n<td>30-39</td>\n<td></td>\n<td></td>\n<td>3,914</td>\n<td>26%</td>\n<td>3,972</td>\n<td>25%</td>\n</tr>\n<tr>\n<td>20-29</td>\n<td></td>\n<td></td>\n<td>5,013</td>\n<td>34%</td>\n<td>4,444</td>\n<td>28%</td>\n</tr>\n<tr>\n<td>Under 20</td>\n<td></td>\n<td></td>\n<td>1142</td>\n<td>8%</td>\n<td>941</td>\n<td>6%</td>\n</tr>\n</tbody>\n</table>\n<p>Thank you to everyone who made time to fill out the survey — we’re so happy you use WordPress, and we’re very grateful that you’re willing to share your experiences with us! Thanks also to everyone who spread the word about this survey, and to those of you who read all the way to the bottom of this post. <img src=\"https://s.w.org/images/core/emoji/2.4/72x72/1f609.png\" alt=\"?\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" /></p>\n<p><small><a id=\"text\"></a>*Text Field Questions: Each survey included some questions that could be answered only by filling out a text field. In the case of the questions “What is the best thing about WordPress?” and “What is the most frustrating thing about WordPress?” we listed the five most common responses, aggregated when applicable. In the case of the question “What is your gender?” in the 2016 and 2017 surveys, we aggregated responses as best we could. Responses meant to obscure respondents’ gender entirely are aggregated in “prefer not to answer.”</small></p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5310\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:7;a:6:{s:4:\"data\";s:33:\"\n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:37:\"The Month in WordPress: November 2017\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:72:\"https://wordpress.org/news/2017/12/the-month-in-wordpress-november-2017/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 01 Dec 2017 11:00:44 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:1:{i:0;a:5:{s:4:\"data\";s:18:\"Month in WordPress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5290\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:354:\"The WordPress project recently released WordPress 4.9, “Tipton” — a new major release named in honor of musician and band leader Billy Tipton. Read on to find out more about this and other interesting news from around the WordPress world in November. WordPress 4.9 “Tipton” On November 16, WordPress 4.9 was released with new features […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Hugh Lashbrooke\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:4197:\"<p>The WordPress project recently released WordPress 4.9, “Tipton” — a new major release named in honor of musician and band leader Billy Tipton. Read on to find out more about this and other interesting news from around the WordPress world in November.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>WordPress 4.9 “Tipton”</h2>\n\n<p>On November 16, <a href=\"https://wordpress.org/news/2017/11/tipton/\">WordPress 4.9 was released</a> with new features for publishers and developers alike. Release highlights include design locking, scheduling, and previews in the Customizer, an even more secure and usable code editing experience, a new gallery widget, and text widget improvements.</p>\n\n<p>The follow up security and maintenance, v4.9.1, <a href=\"https://wordpress.org/news/2017/11/wordpress-4-9-1-security-and-maintenance-release/\">has now been released</a> to tighten up the security of WordPress as a whole.</p>\n\n<p>To get involved in building WordPress Core, jump into the #core channel in the<a href=\"https://make.wordpress.org/chat/\"> Making WordPress Slack group</a>, and follow<a href=\"https://make.wordpress.org/core/\"> the Core team blog</a>.</p>\n\n<h2>Apply to Speak At WordCamp Europe 2018</h2>\n\n<p>The next edition of WordCamp Europe takes place in June, 2018. While the organizing team is still in the early stages of planning, <a href=\"https://2018.europe.wordcamp.org/2017/11/15/are-you-ready-to-speak-at-the-largest-wordpress-event-in-europe/\">they are accepting speaker applications</a>.</p>\n\n<p>WordCamp Europe is the largest WordCamp in the world and, along with WordCamp US, one of the flagship events of the WordCamp program — speaking at this event is a great way to give back to the global WordPress community by sharing your knowledge and expertise with thousands of WordPress enthusiasts.</p>\n\n<h2>Diversity Outreach Speaker Training Initiative</h2>\n\n<p>To help WordPress community organizers offer diverse speaker lineups, <a href=\"https://make.wordpress.org/community/2017/11/13/call-for-volunteers-diversity-outreach-speaker-training/\">a new community initiative has kicked off</a> to use existing <a href=\"https://make.wordpress.org/training/handbook/speaker-training/\">speaker training workshops</a> to demystify speaking requirements and help participants gain confidence in their ability to share their WordPress knowledge in a WordCamp session.</p>\n\n<p>The working group behind this initiative will be meeting regularly to discuss and plan how they can help local communities to train speakers for WordCamps and other events.</p>\n\n<p>To get involved in this initiative, you can join the meetings at 5pm UTC every other Wednesday in the #community-team channel of the<a href=\"https://make.wordpress.org/chat/\"> Making WordPress Slack group</a>.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>Further Reading:</h2>\n\n<ul>\n <li><a href=\"https://2017.us.wordcamp.org/\">WordCamp US 2017</a> is happening on December 1-3 in Nashville, with the annual State of the Word talk happening on Saturday afternoon — <a href=\"https://2017.us.wordcamp.org/live-stream/\">the live stream of the entire event is available to view for free</a>.</li>\n <li><a href=\"https://xwp.co/tide-a-path-to-better-code-across-the-wordpress-ecosystem/\">Tide</a>, a new service from XWP designed to help users make informed plugin choices, is due to launch at WordCamp US.</li>\n <li>Gutenberg development is continuing rapidly, with <a href=\"https://make.wordpress.org/core/2017/11/28/whats-new-in-gutenberg-28th-november/\">a packed new release</a> and a focus on <a href=\"https://make.wordpress.org/test/2017/11/22/testing-flow-in-gutenberg/\">usability testing</a>.</li>\n <li>After some discussion among the community, <a href=\"https://make.wordpress.org/community/2017/11/10/discussion-micro-regional-wordcamps/\">a new type of micro-regional WordCamp</a> is going to be introduced into the global WordCamp program.</li>\n</ul>\n\n<p><em></em></p>\n\n<p><em>If you have a story we should consider including in the next “Month in WordPress” post, please <a href=\"https://make.wordpress.org/community/month-in-wordpress-submissions/\">submit it here</a>.</em></p>\n\n<p><em></em></p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5290\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:8;a:6:{s:4:\"data\";s:36:\"\n \n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:48:\"WordPress 4.9.1 Security and Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:84:\"https://wordpress.org/news/2017/11/wordpress-4-9-1-security-and-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 29 Nov 2017 20:33:11 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:2:{i:0;a:5:{s:4:\"data\";s:8:\"Releases\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}i:1;a:5:{s:4:\"data\";s:8:\"Security\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5215\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:359:\"WordPress 4.9.1 is now available. This is a security and maintenance release for all versions since WordPress 3.7. We strongly encourage you to update your sites immediately. WordPress versions 4.9 and earlier are affected by four security issues which could potentially be exploited as part of a multi-vector attack. As part of the core team's […]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"John Blackbourn\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:4268:\"<p>WordPress 4.9.1 is now available. This is a <strong>security and maintenance release</strong> for all versions since WordPress 3.7. We strongly encourage you to update your sites immediately.</p>\n\n<p>WordPress versions 4.9 and earlier are affected by four security issues which could potentially be exploited as part of a multi-vector attack. As part of the core team's ongoing commitment to security hardening, the following fixes have been implemented in 4.9.1:</p>\n\n<ol>\n <li>Use a properly generated hash for the <code>newbloguser</code> key instead of a determinate substring.</li>\n <li>Add escaping to the language attributes used on <code>html</code> elements.</li>\n <li>Ensure the attributes of enclosures are correctly escaped in RSS and Atom feeds.</li>\n <li>Remove the ability to upload JavaScript files for users who do not have the <code>unfiltered_html</code> capability.</li>\n</ol>\n\n<p>Thank you to the reporters of these issues for practicing <a href=\"https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/\">responsible security disclosure</a>: <a href=\"https://twitter.com/0x62626262\">Rahul Pratap Singh</a> and John Blackbourn.</p>\n\n<p>Eleven other bugs were fixed in WordPress 4.9.1. Particularly of note were:</p>\n\n<ul>\n <li>Issues relating to the caching of theme template files.</li>\n <li>A MediaElement JavaScript error preventing users of certain languages from being able to upload media files.</li>\n <li>The inability to edit theme and plugin files on Windows based servers.</li>\n</ul>\n\n<p><a href=\"https://make.wordpress.org/core/2017/11/28/wordpress-4-9-1-scheduled-for-november-29th/\">This post has more information about all of the issues fixed in 4.9.1 if you'd like to learn more</a>.</p>\n\n<p><a href=\"https://wordpress.org/download/\">Download WordPress 4.9.1</a> or venture over to Dashboard → Updates and click "Update Now." Sites that support automatic background updates are already beginning to update automatically.</p>\n\n<p>Thank you to everyone who contributed to WordPress 4.9.1:</p>\n\n<p><a href=\"https://profiles.wordpress.org/schlessera/\">Alain Schlesser</a>, <a href=\"https://profiles.wordpress.org/afercia/\">Andrea Fercia</a>, <a href=\"https://profiles.wordpress.org/la-geek/\">Angelika Reisiger</a>, <a href=\"https://profiles.wordpress.org/blobfolio/\">Blobfolio</a>, <a href=\"https://profiles.wordpress.org/bobbingwide/\">bobbingwide</a>, <a href=\"https://profiles.wordpress.org/chetan200891/\">Chetan Prajapati</a>, <a href=\"https://profiles.wordpress.org/dd32/\">Dion Hulse</a>, <a href=\"https://profiles.wordpress.org/ocean90/\">Dominik Schilling (ocean90)</a>, <a href=\"https://profiles.wordpress.org/edo888/\">edo888</a>, <a href=\"https://profiles.wordpress.org/erich_k4wp/\">Erich Munz</a>, <a href=\"https://profiles.wordpress.org/flixos90/\">Felix Arntz</a>, <a href=\"https://profiles.wordpress.org/mista-flo/\">Florian TIAR</a>, <a href=\"https://profiles.wordpress.org/pento/\">Gary Pendergast</a>, <a href=\"https://profiles.wordpress.org/ibenic/\">Igor Benic</a>, <a href=\"https://profiles.wordpress.org/jfarthing84/\">Jeff Farthing</a>, <a href=\"https://profiles.wordpress.org/jbpaul17/\">Jeffrey Paul</a>, <a href=\"https://profiles.wordpress.org/jeremyescott/\">jeremyescott</a>, <a href=\"https://profiles.wordpress.org/joemcgill/\">Joe McGill</a>, <a href=\"https://profiles.wordpress.org/johnbillion/\">John Blackbourn</a>, <a href=\"https://profiles.wordpress.org/johnpgreen/\">johnpgreen</a>, <a href=\"https://profiles.wordpress.org/ryelle/\">Kelly Dwan</a>, <a href=\"https://profiles.wordpress.org/lenasterg/\">lenasterg</a>, <a href=\"https://profiles.wordpress.org/clorith/\">Marius L. J.</a>, <a href=\"https://profiles.wordpress.org/melchoyce/\">Mel Choyce</a>, <a href=\"https://profiles.wordpress.org/mariovalney/\">Mário Valney</a>, <a href=\"https://profiles.wordpress.org/natacado/\">natacado</a>, <a href=\"https://profiles.wordpress.org/odysseygate/\">odyssey</a>, <a href=\"https://profiles.wordpress.org/precies/\">precies</a>, <a href=\"https://profiles.wordpress.org/stodorovic/\">Saša</a>, <a href=\"https://profiles.wordpress.org/sergeybiryukov/\">Sergey Biryukov</a>, and <a href=\"https://profiles.wordpress.org/westonruter/\">Weston Ruter</a>.</p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"5215\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:9;a:6:{s:4:\"data\";s:33:\"\n \n \n \n \n \n\n \n \n \n \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:4:{s:0:\"\";a:6:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:26:\"WordPress 4.9 “Tipton”\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:42:\"https://wordpress.org/news/2017/11/tipton/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 16 Nov 2017 01:16:37 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"category\";a:1:{i:0;a:5:{s:4:\"data\";s:8:\"Releases\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=4968\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:11:\"isPermaLink\";s:5:\"false\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:227:\"Announcing version 4.9 of WordPress, named “Tipton” in honor of jazz pianist and band leader Billy Tipton. New features in 4.9 will smooth your design workflow and keep you safe from coding errors. Download or update today!\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:10:\"Mel Choyce\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:40:\"http://purl.org/rss/1.0/modules/content/\";a:1:{s:7:\"encoded\";a:1:{i:0;a:5:{s:4:\"data\";s:42346:\"<h2 style=\"text-align: center\">Major Customizer Improvements, Code Error Checking, and More! ?</h2>\n<figure class=\"wp-block-image\"><img src=\"https://i2.wp.com/wordpress.org/news/files/2018/02/header-update.png?w=632&ssl=1\" alt=\"\" data-recalc-dims=\"1\" /></figure>\n\n<p>Version 4.9 of WordPress, named “Tipton” in honor of jazz musician and band leader Billy Tipton, is available for download or update in your WordPress dashboard. New features in 4.9 will smooth your design workflow and keep you safe from coding errors.</p>\n\n<p>Featuring design drafts, scheduling, and locking, along with preview links, the Customizer workflow improves collaboration for content creators. What’s more, code syntax highlighting and error checking will make for a clean and smooth site building experience. Finally, if all that wasn’t pretty great, we’ve got an awesome new Gallery widget and improvements to theme browsing and switching.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2 style=\"text-align:center\">Customizer Workflow Improved </h2>\n\n<figure class=\"wp-block-image\"><img src=\"https://i0.wp.com/wordpress.org/news/files/2017/11/customizer-workflow-improved-small.png?w=632&ssl=1\" alt=\"\" data-recalc-dims=\"1\" /></figure>\n\n<h3>Draft and Schedule Site Design Customizations</h3>\n\n<p>Yes, you read that right. Just like you can draft and revise posts and schedule them to go live on the date and time you choose, you can now tinker with your site’s design and schedule those design changes to go live as you please.</p>\n\n<h3>Collaborate with Design Preview Links</h3>\n\n<p>Need to get some feedback on proposed site design changes? WordPress 4.9 gives you a preview link you can send to colleagues and customers so that you can collect and integrate feedback before you schedule the changes to go live. Can we say collaboration++?</p>\n\n<h3>Design Locking Guards Your Changes</h3>\n\n<p>Ever encounter a scenario where two designers walk into a project and designer A overrides designer B’s beautiful changes? WordPress 4.9’s design lock feature (similar to post locking) secures your draft design so that no one can make changes to it or erase all your hard work.</p>\n\n<h3>A Prompt to Protect Your Work</h3>\n\n<p>Were you lured away from your desk before you saved your new draft design? Fear not, when you return, WordPress 4.9 will politely ask whether or not you’d like to save your unsaved changes.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2 style=\"text-align:center\">Coding Enhancements</h2>\n\n<figure class=\"wp-block-image\"><img src=\"https://i2.wp.com/wordpress.org/news/files/2017/11/coding-enhancements-small.png?w=632&ssl=1\" alt=\"\" data-recalc-dims=\"1\" /></figure>\n\n<h3>Syntax Highlighting and Error Checking? Yes, Please!</h3>\n\n<p>You’ve got a display problem but can’t quite figure out exactly what went wrong in the CSS you lovingly wrote. With syntax highlighting and error checking for CSS editing and the Custom HTML widget introduced in WordPress 4.8.1, you’ll pinpoint coding errors quickly. Practically guaranteed to help you scan code more easily, and suss out & fix code errors quickly.</p>\n\n<h3>Sandbox for Safety</h3>\n\n<p>The dreaded white screen. You’ll avoid it when working on themes and plugin code because WordPress 4.9 will warn you about saving an error. You’ll sleep better at night.</p>\n\n<h3>Warning: Potential Danger Ahead!</h3>\n\n<p>When you edit themes and plugins directly, WordPress 4.9 will politely warn you that this is a dangerous practice and will recommend that you draft and test changes before updating your file. Take the safe route: You’ll thank you. Your team and customers will thank you.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2 style=\"text-align:center\">Even More Widget Updates </h2>\n\n<figure class=\"wp-block-image\"><img src=\"https://i1.wp.com/wordpress.org/news/files/2017/11/even-more-widget-updates-small.png?w=632&ssl=1\" alt=\"\" data-recalc-dims=\"1\" /></figure>\n\n<h3>The New Gallery Widget</h3>\n\n<p>An incremental improvement to the media changes hatched in WordPress 4.8, you can now add a gallery via this new widget. Yes!</p>\n\n<h3>Press a Button, Add Media</h3>\n\n<p>Want to add media to your text widget? Embed images, video, and audio directly into the widget along with your text, with our simple but useful Add Media button. Woo!</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2 style=\"text-align:center\">Site Building Improvements </h2>\n\n<figure class=\"wp-block-image\"><img src=\"https://i1.wp.com/wordpress.org/news/files/2017/11/site-building-improvements-small.png?w=632&ssl=1\" alt=\"\" data-recalc-dims=\"1\" /></figure>\n\n<h3>More Reliable Theme Switching</h3>\n\n<p>When you switch themes, widgets sometimes think they can just move location. Improvements in WordPress 4.9 offer more persistent menu and widget placement when you decide it’s time for a new theme. </p>\n\n<h3>Find and Preview the Perfect Theme</h3>\n\n<p>Looking for a new theme for your site? Now, from within the Customizer, you can search, browse, and preview over 2600 themes before deploying changes to your site. What’s more, you can speed your search with filters for subject, features, and layout.</p>\n\n<h3>Better Menu Instructions = Less Confusion</h3>\n\n<p>Were you confused by the steps to create a new menu? Perhaps no longer! We’ve ironed out the UX for a smoother menu creation process. Newly updated copy will guide you.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2 style=\"text-align:center\">Lend a Hand with Gutenberg ?</h2>\n\n<figure class=\"wp-block-image\"><img src=\"https://i2.wp.com/wordpress.org/news/files/2017/11/gutenberg-1.png?w=632&ssl=1\" alt=\"\" data-recalc-dims=\"1\" /></figure>\n\n<p>WordPress is working on a new way to create and control your content and we’d love to have your help. Interested in being an <a href=\"https://wordpress.org/plugins/gutenberg/\">early tester</a> or getting involved with the Gutenberg project? <a href=\"https://github.com/WordPress/gutenberg\">Contribute on GitHub</a>.</p>\n\n<p>(PS: this post was written in Gutenberg!)</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2 style=\"text-align:center\">Developer Happiness ?</h2>\n\n<h3><a href=\"https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/\">Customizer JS API Improvements</a></h3>\n\n<p>We’ve made numerous improvements to the Customizer JS API in WordPress 4.9, eliminating many pain points. (Hello, default parameters for constructs! Goodbye repeated ID for constructs!) There are also new base control templates, a date/time control, and section/panel/global notifications to name a few. <a href=\"https://make.wordpress.org/core/2017/11/01/improvements-to-the-customize-js-api-in-4-9/\">Check out the full list.</a></p>\n\n<h3><a href=\"https://make.wordpress.org/core/2017/10/22/code-editing-improvements-in-wordpress-4-9/\">CodeMirror available for use in your themes and plugins</a></h3>\n\n<p>We’ve introduced a new code editing library, CodeMirror, for use within core. CodeMirror allows for syntax highlighting, error checking, and validation when creating code writing or editing experiences within your plugins, like CSS or JavaScript include fields.</p>\n\n<h3><a href=\"https://make.wordpress.org/core/2017/10/30/mediaelement-upgrades-in-wordpress-4-9/\">MediaElement.js upgraded to 4.2.6</a></h3>\n\n<p>WordPress 4.9 includes an upgraded version of MediaElement.js, which removes dependencies on jQuery, improves accessibility, modernizes the UI, and fixes many bugs.</p>\n\n<h3><a href=\"https://make.wordpress.org/core/2017/10/15/improvements-for-roles-and-capabilities-in-4-9/\">Roles and Capabilities Improvements</a></h3>\n\n<p>New capabilities have been introduced that allow granular management of plugins and translation files. In addition, the site switching process in multisite has been fine-tuned to update the available roles and capabilities in a more reliable and coherent way.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>The Squad</h2>\n\n<p>This release was led by <a href=\"https://choycedesign.com/\">Mel Choyce</a> and <a href=\"https://weston.ruter.net/\">Weston Ruter</a>, with the help of the following fabulous folks. There are 443 contributors with props in this release, with 185 of them contributing for the first time. Pull up some Billy Tipton on your music service of choice, and check out some of their profiles:</p>\n\n<a href=\"https://profiles.wordpress.org/0x6f0\">0x6f0</a>, <a href=\"https://profiles.wordpress.org/aaroncampbell\">Aaron D. Campbell</a>, <a href=\"https://profiles.wordpress.org/jorbin\">Aaron Jorbin</a>, <a href=\"https://profiles.wordpress.org/aaronrutley\">Aaron Rutley</a>, <a href=\"https://profiles.wordpress.org/abdullahramzan\">abdullahramzan</a>, <a href=\"https://profiles.wordpress.org/ibachal\">Achal Jain</a>, <a href=\"https://profiles.wordpress.org/kawauso\">Adam Harley (Kawauso)</a>, <a href=\"https://profiles.wordpress.org/adamsilverstein\">Adam Silverstein</a>, <a href=\"https://profiles.wordpress.org/adamwills\">AdamWills</a>, <a href=\"https://profiles.wordpress.org/adhun\">Adhun Anand</a>, <a href=\"https://profiles.wordpress.org/aegis123\">aegis123</a>, <a href=\"https://profiles.wordpress.org/afzalmultani\">Afzal Multani</a>, <a href=\"https://profiles.wordpress.org/mrahmadawais\">Ahmad Awais</a>, <a href=\"https://profiles.wordpress.org/ajayghaghretiya1\">Ajay Ghaghretiya</a>, <a href=\"https://profiles.wordpress.org/ajoah\">ajoah</a>, <a href=\"https://profiles.wordpress.org/soniakash\">Akash Soni</a>, <a href=\"https://profiles.wordpress.org/akbarhusen\">akbarhusen</a>, <a href=\"https://profiles.wordpress.org/schlessera\">Alain Schlesser</a>, <a href=\"https://profiles.wordpress.org/xavortm\">Alex Dimitrov</a>, <a href=\"https://profiles.wordpress.org/alpipego\">Alex Goller</a>, <a href=\"https://profiles.wordpress.org/alexvorn2\">Alexandru Vornicescu</a>, <a href=\"https://profiles.wordpress.org/alibasheer\">Ali Basheer</a>, <a href=\"https://profiles.wordpress.org/alxndr\">alxndr</a>, <a href=\"https://profiles.wordpress.org/afercia\">Andrea Fercia</a>, <a href=\"https://profiles.wordpress.org/andreagobetti\">andreagobetti</a>, <a href=\"https://profiles.wordpress.org/euthelup\">Andrei Lupu</a>, <a href=\"https://profiles.wordpress.org/andreiglingeanu\">andreiglingeanu</a>, <a href=\"https://profiles.wordpress.org/aduth\">Andrew Duthie</a>, <a href=\"https://profiles.wordpress.org/nacin\">Andrew Nacin</a>, <a href=\"https://profiles.wordpress.org/norcross\">Andrew Norcross</a>, <a href=\"https://profiles.wordpress.org/azaozz\">Andrew Ozz</a>, <a href=\"https://profiles.wordpress.org/andrewtaylor-1\">Andrew Taylor</a>, <a href=\"https://profiles.wordpress.org/afragen\">Andy Fragen</a>, <a href=\"https://profiles.wordpress.org/andizer\">Andy Meerwaldt</a>, <a href=\"https://profiles.wordpress.org/kelderic\">Andy Mercer</a>, <a href=\"https://profiles.wordpress.org/la-geek\">Angelika Reisiger</a>, <a href=\"https://profiles.wordpress.org/anhskohbo\">anhskohbo</a>, <a href=\"https://profiles.wordpress.org/ankit-k-gupta\">Ankit K Gupta</a>, <a href=\"https://profiles.wordpress.org/ahortin\">Anthony Hortin</a>, <a href=\"https://profiles.wordpress.org/atimmer\">Anton Timmermans</a>, <a href=\"https://profiles.wordpress.org/antonrinas\">antonrinas</a>, <a href=\"https://profiles.wordpress.org/appchecker\">appchecker</a>, <a href=\"https://profiles.wordpress.org/arena94\">arena94</a>, <a href=\"https://profiles.wordpress.org/bsop\">Arnaud Coolsaet</a>, <a href=\"https://profiles.wordpress.org/arnaudban\">ArnaudBan</a>, <a href=\"https://profiles.wordpress.org/aryamaaru\">Arun</a>, <a href=\"https://profiles.wordpress.org/mrasharirfan\">Ashar Irfan</a>, <a href=\"https://profiles.wordpress.org/atachibana\">atachibana</a>, <a href=\"https://profiles.wordpress.org/atanasangelovdev\">Atanas Angelov</a>, <a href=\"https://profiles.wordpress.org/avinapatel\">Avina Patel</a>, <a href=\"https://profiles.wordpress.org/ayeshrajans\">Ayesh Karunaratne</a>, <a href=\"https://profiles.wordpress.org/barryceelen\">Barry Ceelen</a>, <a href=\"https://profiles.wordpress.org/bduclos\">bduclos</a>, <a href=\"https://profiles.wordpress.org/pixolin\">Bego Mario Garde</a>, <a href=\"https://profiles.wordpress.org/behzod\">Behzod Saidov</a>, <a href=\"https://profiles.wordpress.org/bcole808\">Ben Cole</a>, <a href=\"https://profiles.wordpress.org/empireoflight\">Ben Dunkle</a>, <a href=\"https://profiles.wordpress.org/benoitchantre\">Benoit Chantre</a>, <a href=\"https://profiles.wordpress.org/bnap00\">Bharat Parsiya</a>, <a href=\"https://profiles.wordpress.org/bhaveshkhadodara\">bhavesh khadodara</a>, <a href=\"https://profiles.wordpress.org/bplv\">Biplav</a>, <a href=\"https://profiles.wordpress.org/biranit\">Biranit</a>, <a href=\"https://profiles.wordpress.org/birgire\">Birgir Erlendsson (birgire)</a>, <a href=\"https://profiles.wordpress.org/biskobe\">biskobe</a>, <a href=\"https://profiles.wordpress.org/bjornw\">BjornW</a>, <a href=\"https://profiles.wordpress.org/blackbam\">Blackbam</a>, <a href=\"https://profiles.wordpress.org/blobfolio\">Blobfolio</a>, <a href=\"https://profiles.wordpress.org/bobbingwide\">bobbingwide</a>, <a href=\"https://profiles.wordpress.org/gitlost\">bonger</a>, <a href=\"https://profiles.wordpress.org/boonebgorges\">Boone B. Gorges</a>, <a href=\"https://profiles.wordpress.org/bor0\">Boro Sitnikovski</a>, <a href=\"https://profiles.wordpress.org/bradparbs\">Brad Parbs</a>, <a href=\"https://profiles.wordpress.org/bradyvercher\">Brady Vercher</a>, <a href=\"https://profiles.wordpress.org/kraftbj\">Brandon Kraft</a>, <a href=\"https://profiles.wordpress.org/bpayton\">Brandon Payton</a>, <a href=\"https://profiles.wordpress.org/brentjettgmailcom\">Brent Jett</a>, <a href=\"https://profiles.wordpress.org/brianlayman\">Brian Layman</a>, <a href=\"https://profiles.wordpress.org/monopine\">Brian Meyer</a>, <a href=\"https://profiles.wordpress.org/borgesbruno\">Bruno Borges</a>, <a href=\"https://profiles.wordpress.org/bseddon\">bseddon</a>, <a href=\"https://profiles.wordpress.org/bhargavbhandari90\">Bunty</a>, <a href=\"https://profiles.wordpress.org/icaleb\">Caleb Burks</a>, <a href=\"https://profiles.wordpress.org/carldanley\">Carl Danley</a>, <a href=\"https://profiles.wordpress.org/poena\">Carolina Nymark</a>, <a href=\"https://profiles.wordpress.org/sixhours\">Caroline Moore</a>, <a href=\"https://profiles.wordpress.org/carolinegeven\">carolinegeven</a>, <a href=\"https://profiles.wordpress.org/caercam\">Charlie Merland</a>, <a href=\"https://profiles.wordpress.org/chasewg\">chasewg</a>, <a href=\"https://profiles.wordpress.org/chetanchauhan\">Chetan Chauhan</a>, <a href=\"https://profiles.wordpress.org/chetan200891\">Chetan Prajapati</a>, <a href=\"https://profiles.wordpress.org/ketuchetan\">chetansatasiya</a>, <a href=\"https://profiles.wordpress.org/choongsavvii\">choong</a>, <a href=\"https://profiles.wordpress.org/chouby\">Chouby</a>, <a href=\"https://profiles.wordpress.org/chrishardie\">Chris Hardie</a>, <a href=\"https://profiles.wordpress.org/crunnells\">Chris Runnells</a>, <a href=\"https://profiles.wordpress.org/christian1012\">Christian Chung</a>, <a href=\"https://profiles.wordpress.org/presskopp\">Christian Herrmann</a>, <a href=\"https://profiles.wordpress.org/christophherr\">Christoph Herr</a>, <a href=\"https://profiles.wordpress.org/chsxf\">chsxf</a>, <a href=\"https://profiles.wordpress.org/chrisvendiadvertisingcom\">cjhaas</a>, <a href=\"https://profiles.wordpress.org/cliffseal\">Cliff Seal</a>, <a href=\"https://profiles.wordpress.org/code-monkey\">code-monkey</a>, <a href=\"https://profiles.wordpress.org/coleh\">coleh</a>, <a href=\"https://profiles.wordpress.org/collizo4sky\">Collins Agbonghama</a>, <a href=\"https://profiles.wordpress.org/corvidism\">corvidism</a>, <a href=\"https://profiles.wordpress.org/csloisel\">csloisel</a>, <a href=\"https://profiles.wordpress.org/daedalon\">Daedalon</a>, <a href=\"https://profiles.wordpress.org/danielbachhuber\">Daniel Bachhuber</a>, <a href=\"https://profiles.wordpress.org/danieltj\">Daniel James</a>, <a href=\"https://profiles.wordpress.org/mte90\">Daniele Scasciafratte</a>, <a href=\"https://profiles.wordpress.org/dany2217\">dany2217</a>, <a href=\"https://profiles.wordpress.org/darko-a7\">Darko A7</a>, <a href=\"https://profiles.wordpress.org/davepullig\">Dave Pullig</a>, <a href=\"https://profiles.wordpress.org/davefx\">DaveFX</a>, <a href=\"https://profiles.wordpress.org/davidakennedy\">David A. Kennedy</a>, <a href=\"https://profiles.wordpress.org/davilera\">David Aguilera</a>, <a href=\"https://profiles.wordpress.org/davidanderson\">David Anderson</a>, <a href=\"https://profiles.wordpress.org/davidbinda\">David Binovec</a>, <a href=\"https://profiles.wordpress.org/turtlepod\">David Chandra Purnama</a>, <a href=\"https://profiles.wordpress.org/desertsnowman\">David Cramer</a>, <a href=\"https://profiles.wordpress.org/dlh\">David Herrera</a>, <a href=\"https://profiles.wordpress.org/dshanske\">David Shanske</a>, <a href=\"https://profiles.wordpress.org/straussd\">David Strauss</a>, <a href=\"https://profiles.wordpress.org/jdtrower\">David Trower</a>, <a href=\"https://profiles.wordpress.org/folletto\">Davide \'Folletto\' Casali</a>, <a href=\"https://profiles.wordpress.org/daymobrew\">daymobrew</a>, <a href=\"https://profiles.wordpress.org/valendesigns\">Derek Herman</a>, <a href=\"https://profiles.wordpress.org/designsimply\">designsimply</a>, <a href=\"https://profiles.wordpress.org/diedeexterkate\">DiedeExterkate</a>, <a href=\"https://profiles.wordpress.org/dingo_bastard\">dingo-d</a>, <a href=\"https://profiles.wordpress.org/dd32\">Dion Hulse</a>, <a href=\"https://profiles.wordpress.org/dipeshkakadiya\">dipeshkakadiya</a>, <a href=\"https://profiles.wordpress.org/div33\">Divyesh Ladani</a>, <a href=\"https://profiles.wordpress.org/dency\">Dixita Dusara</a>, <a href=\"https://profiles.wordpress.org/dixitadusara\">dixitadusara</a>, <a href=\"https://profiles.wordpress.org/ocean90\">Dominik Schilling</a>, <a href=\"https://profiles.wordpress.org/dominikschwind-1\">Dominik Schwind</a>, <a href=\"https://profiles.wordpress.org/drewapicture\">Drew Jaynes</a>, <a href=\"https://profiles.wordpress.org/dsawardekar\">dsawardekar</a>, <a href=\"https://profiles.wordpress.org/kucrut\">Dzikri Aziz</a>, <a href=\"https://profiles.wordpress.org/eatonz\">Eaton</a>, <a href=\"https://profiles.wordpress.org/eclev91\">eclev91</a>, <a href=\"https://profiles.wordpress.org/eddhurst\">Edd Hurst</a>, <a href=\"https://profiles.wordpress.org/edo888\">edo888</a>, <a href=\"https://profiles.wordpress.org/egregor\">EGregor</a>, <a href=\"https://profiles.wordpress.org/iseulde\">Ella Iseulde Van Dorpe</a>, <a href=\"https://profiles.wordpress.org/elvishp2006\">elvishp2006</a>, <a href=\"https://profiles.wordpress.org/enricosorcinelli\">enrico.sorcinelli</a>, <a href=\"https://profiles.wordpress.org/ericlewis\">Eric Andrew Lewis</a>, <a href=\"https://profiles.wordpress.org/erich_k4wp\">Erich Munz</a>, <a href=\"https://profiles.wordpress.org/circlecube\">Evan Mullins</a>, <a href=\"https://profiles.wordpress.org/eventualo\">eventualo</a>, <a href=\"https://profiles.wordpress.org/fab1en\">Fabien Quatravaux</a>, <a href=\"https://profiles.wordpress.org/psiico\">FancyThought</a>, <a href=\"https://profiles.wordpress.org/felipeelia\">Felipe Elia</a>, <a href=\"https://profiles.wordpress.org/flixos90\">Felix Arntz</a>, <a href=\"https://profiles.wordpress.org/fergbrain\">fergbrain</a>, <a href=\"https://profiles.wordpress.org/mista-flo\">Florian TIAR</a>, <a href=\"https://profiles.wordpress.org/frank-klein\">Frank Klein</a>, <a href=\"https://profiles.wordpress.org/gmariani405\">Gabriel Mariani</a>, <a href=\"https://profiles.wordpress.org/voldemortensen\">Garth Mortensen</a>, <a href=\"https://profiles.wordpress.org/pento\">Gary Pendergast</a>, <a href=\"https://profiles.wordpress.org/soulseekah\">Gennady Kovshenin</a>, <a href=\"https://profiles.wordpress.org/georgestephanis\">George Stephanis</a>, <a href=\"https://profiles.wordpress.org/girishpanchal\">Girish Lohar</a>, <a href=\"https://profiles.wordpress.org/gkloveweb\">Govind Kumar</a>, <a href=\"https://profiles.wordpress.org/grahamarmfield\">Graham Armfield</a>, <a href=\"https://profiles.wordpress.org/gregross\">Greg Ross</a>, <a href=\"https://profiles.wordpress.org/gcorne\">Gregory Cornelius</a>, <a href=\"https://profiles.wordpress.org/grosbouff\">grosbouff</a>, <a href=\"https://profiles.wordpress.org/wido\">Guido Scialfa</a>, <a href=\"https://profiles.wordpress.org/ghosttoast\">Gustave F. Gerhardt</a>, <a href=\"https://profiles.wordpress.org/guzzilar\">guzzilar</a>, <a href=\"https://profiles.wordpress.org/hardeepasrani\">Hardeep Asrani</a>, <a href=\"https://profiles.wordpress.org/hardik-amipara\">Hardik Amipara</a>, <a href=\"https://profiles.wordpress.org/hazemnoor\">Hazem Noor</a>, <a href=\"https://profiles.wordpress.org/hazimayesh\">hazimayesh</a>, <a href=\"https://profiles.wordpress.org/helen\">Helen Hou-Sandí</a>, <a href=\"https://profiles.wordpress.org/henrywright-1\">Henry</a>, <a href=\"https://profiles.wordpress.org/henrywright\">Henry Wright</a>, <a href=\"https://profiles.wordpress.org/herregroen\">herregroen</a>, <a href=\"https://profiles.wordpress.org/hnle\">Hinaloe</a>, <a href=\"https://profiles.wordpress.org/howdy_mcgee\">Howdy_McGee</a>, <a href=\"https://profiles.wordpress.org/hlashbrooke\">Hugh Lashbrooke</a>, <a href=\"https://profiles.wordpress.org/hugobaeta\">Hugo Baeta</a>, <a href=\"https://profiles.wordpress.org/jcc9873\">Iacopo C</a>, <a href=\"https://profiles.wordpress.org/iandunn\">Ian Dunn</a>, <a href=\"https://profiles.wordpress.org/ibenic\">Igor Benic</a>, <a href=\"https://profiles.wordpress.org/imath\">imath</a>, <a href=\"https://profiles.wordpress.org/ionvv\">ionvv</a>, <a href=\"https://profiles.wordpress.org/ippei-sumida\">Ippei Sumida</a>, <a href=\"https://profiles.wordpress.org/ipstenu\">Ipstenu (Mika Epstein)</a>, <a href=\"https://profiles.wordpress.org/ireneyoast\">Irene Strikkers</a>, <a href=\"https://profiles.wordpress.org/ivankristianto\">Ivan Kristianto</a>, <a href=\"https://profiles.wordpress.org/ixmati\">ixmati</a>, <a href=\"https://profiles.wordpress.org/jdgrimes\">J.D. Grimes</a>, <a href=\"https://profiles.wordpress.org/jhoffmann\">j.hoffmann</a>, <a href=\"https://profiles.wordpress.org/jnylen0\">James Nylen</a>, <a href=\"https://profiles.wordpress.org/janak007\">janak Kaneriya</a>, <a href=\"https://profiles.wordpress.org/jankimoradiya\">Janki Moradiya</a>, <a href=\"https://profiles.wordpress.org/jaswrks\">Jason Caldwell</a>, <a href=\"https://profiles.wordpress.org/octalmage\">Jason Stallings</a>, <a href=\"https://profiles.wordpress.org/audrasjb\">Jb Audras</a>, <a href=\"https://profiles.wordpress.org/jfarthing84\">Jeff Farthing</a>, <a href=\"https://profiles.wordpress.org/jbpaul17\">Jeffrey Paul</a>, <a href=\"https://profiles.wordpress.org/jmdodd\">Jennifer M. Dodd</a>, <a href=\"https://profiles.wordpress.org/jeremyfelt\">Jeremy Felt</a>, <a href=\"https://profiles.wordpress.org/jpry\">Jeremy Pry</a>, <a href=\"https://profiles.wordpress.org/jeremyescott\">Jeremy Scott</a>, <a href=\"https://profiles.wordpress.org/jjcomack\">Jimmy Comack</a>, <a href=\"https://profiles.wordpress.org/jipmoors\">Jip Moors</a>, <a href=\"https://profiles.wordpress.org/johnjamesjacoby\">JJJ</a>, <a href=\"https://profiles.wordpress.org/jkhongusc\">jkhongusc</a>, <a href=\"https://profiles.wordpress.org/joedolson\">Joe Dolson</a>, <a href=\"https://profiles.wordpress.org/joehoyle\">Joe Hoyle</a>, <a href=\"https://profiles.wordpress.org/joemcgill\">Joe McGill</a>, <a href=\"https://profiles.wordpress.org/joen\">Joen Asmussen</a>, <a href=\"https://profiles.wordpress.org/johnbillion\">John Blackbourn</a>, <a href=\"https://profiles.wordpress.org/johneckman\">John Eckman</a>, <a href=\"https://profiles.wordpress.org/johnregan3\">John Regan</a>, <a href=\"https://profiles.wordpress.org/johnpgreen\">johnpgreen</a>, <a href=\"https://profiles.wordpress.org/johnroper100\">johnroper100</a>, <a href=\"https://profiles.wordpress.org/johnschulz\">johnschulz</a>, <a href=\"https://profiles.wordpress.org/jonathanbardo\">Jonathan Bardo</a>, <a href=\"https://profiles.wordpress.org/desrosj\">Jonathan Desrosiers</a>, <a href=\"https://profiles.wordpress.org/spacedmonkey\">Jonny Harris</a>, <a href=\"https://profiles.wordpress.org/joostdevalk\">Joost de Valk</a>, <a href=\"https://profiles.wordpress.org/chanthaboune\">Josepha</a>, <a href=\"https://profiles.wordpress.org/shelob9\">Josh Pollock</a>, <a href=\"https://profiles.wordpress.org/joshuawold\">Joshua Wold</a>, <a href=\"https://profiles.wordpress.org/joyously\">Joy</a>, <a href=\"https://profiles.wordpress.org/jrf\">jrf</a>, <a href=\"https://profiles.wordpress.org/jsepia\">jsepia</a>, <a href=\"https://profiles.wordpress.org/jsonfry\">jsonfry</a>, <a href=\"https://profiles.wordpress.org/juiiee8487\">Juhi Patel</a>, <a href=\"https://profiles.wordpress.org/juhise\">Juhi Saxena</a>, <a href=\"https://profiles.wordpress.org/jlambe\">Julien</a>, <a href=\"https://profiles.wordpress.org/kopepasah\">Justin Kopepasah</a>, <a href=\"https://profiles.wordpress.org/jtsternberg\">Justin Sternberg</a>, <a href=\"https://profiles.wordpress.org/kadamwhite\">K.Adam White</a>, <a href=\"https://profiles.wordpress.org/thekt12\">Karthik Thayyil</a>, <a href=\"https://profiles.wordpress.org/zoonini\">Kathryn Presner</a>, <a href=\"https://profiles.wordpress.org/keesiemeijer\">keesiemeijer</a>, <a href=\"https://profiles.wordpress.org/ryelle\">Kelly Dwan</a>, <a href=\"https://profiles.wordpress.org/wraithkenny\">Ken Newman</a>, <a href=\"https://profiles.wordpress.org/captainn\">Kevin Newman</a>, <a href=\"https://profiles.wordpress.org/kpdesign\">Kim Parsell</a>, <a href=\"https://profiles.wordpress.org/kiranpotphode\">Kiran Potphode</a>, <a href=\"https://profiles.wordpress.org/ixkaito\">Kite</a>, <a href=\"https://profiles.wordpress.org/kovshenin\">Konstantin Kovshenin</a>, <a href=\"https://profiles.wordpress.org/obenland\">Konstantin Obenland</a>, <a href=\"https://profiles.wordpress.org/kmgalanakis\">Konstantinos Galanakis</a>, <a href=\"https://profiles.wordpress.org/koopersmith\">koopersmith</a>, <a href=\"https://profiles.wordpress.org/kristastevens\">Krista Stevens</a>, <a href=\"https://profiles.wordpress.org/kekkakokkers\">Kristin Kokkersvold</a>, <a href=\"https://profiles.wordpress.org/lalitpendhare\">lalitpendhare</a>, <a href=\"https://profiles.wordpress.org/lancewillett\">Lance Willett</a>, <a href=\"https://profiles.wordpress.org/lemacarl\">lemacarl</a>, <a href=\"https://profiles.wordpress.org/lenasterg\">lenasterg</a>, <a href=\"https://profiles.wordpress.org/lessbloat\">lessbloat</a>, <a href=\"https://profiles.wordpress.org/lizkarkoski\">lizkarkoski</a>, <a href=\"https://profiles.wordpress.org/llemurya\">llemurya</a>, <a href=\"https://profiles.wordpress.org/lukecavanagh\">Luke Cavanagh</a>, <a href=\"https://profiles.wordpress.org/mariovalney\">Mário Valney</a>, <a href=\"https://profiles.wordpress.org/m1tk00\">m1tk00</a>, <a href=\"https://profiles.wordpress.org/maedahbatool\">Maedah Batool</a>, <a href=\"https://profiles.wordpress.org/mp518\">Mahesh Prajapati</a>, <a href=\"https://profiles.wordpress.org/mahvash-fatima\">Mahvash Fatima</a>, <a href=\"https://profiles.wordpress.org/travel_girl\">Maja Benke</a>, <a href=\"https://profiles.wordpress.org/mako09\">Mako</a>, <a href=\"https://profiles.wordpress.org/manolis09\">manolis09</a>, <a href=\"https://profiles.wordpress.org/manuelaugustin\">Manuel Augustin</a>, <a href=\"https://profiles.wordpress.org/mbootsman\">Marcel Bootsman</a>, <a href=\"https://profiles.wordpress.org/clorith\">Marius L. J.</a>, <a href=\"https://profiles.wordpress.org/mariusvetrici\">Marius Vetrici</a>, <a href=\"https://profiles.wordpress.org/markjaquith\">Mark Jaquith</a>, <a href=\"https://profiles.wordpress.org/mrwweb\">Mark Root-Wiley</a>, <a href=\"https://profiles.wordpress.org/markcallen\">markcallen</a>, <a href=\"https://profiles.wordpress.org/markoheijnen\">Marko Heijnen</a>, <a href=\"https://profiles.wordpress.org/matheusgimenez\">MatheusGimenez</a>, <a href=\"https://profiles.wordpress.org/matveb\">Matias Ventura</a>, <a href=\"https://profiles.wordpress.org/mgibbs189\">Matt Gibbs</a>, <a href=\"https://profiles.wordpress.org/matt\">Matt Mullenweg</a>, <a href=\"https://profiles.wordpress.org/matthiasthiel\">matthias.thiel</a>, <a href=\"https://profiles.wordpress.org/mattyrob\">mattyrob</a>, <a href=\"https://profiles.wordpress.org/maximeculea\">Maxime Culea</a>, <a href=\"https://profiles.wordpress.org/mdifelice\">mdifelice</a>, <a href=\"https://profiles.wordpress.org/megane9988\">megane9988</a>, <a href=\"https://profiles.wordpress.org/melchoyce\">Mel Choyce</a>, <a href=\"https://profiles.wordpress.org/menakas\">Menaka S.</a>, <a href=\"https://profiles.wordpress.org/michaelarestad\">Michael Arestad</a>, <a href=\"https://profiles.wordpress.org/mizejewski\">Michele Mizejewski</a>, <a href=\"https://profiles.wordpress.org/michelleweber\">Michelle Weber</a>, <a href=\"https://profiles.wordpress.org/stubgo\">Miina Sikk</a>, <a href=\"https://profiles.wordpress.org/mihai2u\">Mike Crantea</a>, <a href=\"https://profiles.wordpress.org/mikehansenme\">Mike Hansen</a>, <a href=\"https://profiles.wordpress.org/mikeschinkel\">Mike Schinkel</a>, <a href=\"https://profiles.wordpress.org/mikeschroder\">Mike Schroder</a>, <a href=\"https://profiles.wordpress.org/dimadin\">Milan Dinić</a>, <a href=\"https://profiles.wordpress.org/milana_cap\">Milana Cap</a>, <a href=\"https://profiles.wordpress.org/milindmore22\">Milind More</a>, <a href=\"https://profiles.wordpress.org/mirucon\">Mirucon</a>, <a href=\"https://profiles.wordpress.org/studionashvegas\">Mitch Canter</a>, <a href=\"https://profiles.wordpress.org/mitraval192\">Mithun Raval</a>, <a href=\"https://profiles.wordpress.org/mkomar\">mkomar</a>, <a href=\"https://profiles.wordpress.org/monikarao\">Monika Rao</a>, <a href=\"https://profiles.wordpress.org/morganestes\">Morgan Estes</a>, <a href=\"https://profiles.wordpress.org/mt8biz\">moto hachi ( mt8.biz )</a>, <a href=\"https://profiles.wordpress.org/msebel\">msebel</a>, <a href=\"https://profiles.wordpress.org/munyagu\">munyagu</a>, <a href=\"https://profiles.wordpress.org/mythemeshop\">MyThemeShop</a>, <a href=\"https://profiles.wordpress.org/ndoublehwp\">N\'DoubleH</a>, <a href=\"https://profiles.wordpress.org/nathanatmoz\">Nathan Johnson</a>, <a href=\"https://profiles.wordpress.org/ndavison\">ndavison</a>, <a href=\"https://profiles.wordpress.org/nenad\">nenad</a>, <a href=\"https://profiles.wordpress.org/nicbertino\">nic.bertino</a>, <a href=\"https://profiles.wordpress.org/ndiego\">Nick Diego</a>, <a href=\"https://profiles.wordpress.org/celloexpressions\">Nick Halsey</a>, <a href=\"https://profiles.wordpress.org/nickmomrik\">Nick Momrik</a>, <a href=\"https://profiles.wordpress.org/nikeo\">Nicolas GUILLAUME</a>, <a href=\"https://profiles.wordpress.org/nicollle\">nicollle</a>, <a href=\"https://profiles.wordpress.org/jainnidhi\">Nidhi Jain</a>, <a href=\"https://profiles.wordpress.org/nikschavan\">Nikhil Chavan</a>, <a href=\"https://profiles.wordpress.org/rabmalin\">Nilambar Sharma</a>, <a href=\"https://profiles.wordpress.org/nileshdudakiya94\">Nileshdudakiya94</a>, <a href=\"https://profiles.wordpress.org/nishitlangaliya\">Nishit Langaliya</a>, <a href=\"https://profiles.wordpress.org/justnorris\">Norris</a>, <a href=\"https://profiles.wordpress.org/obradovic\">obradovic</a>, <a href=\"https://profiles.wordpress.org/odysseygate\">odyssey</a>, <a href=\"https://profiles.wordpress.org/ov3rfly\">Ov3rfly</a>, <a href=\"https://profiles.wordpress.org/paaljoachim\">Paal Joachim Romdahl</a>, <a href=\"https://profiles.wordpress.org/palmiak\">palmiak</a>, <a href=\"https://profiles.wordpress.org/parthsanghvi\">Parth Sanghvi</a>, <a href=\"https://profiles.wordpress.org/swissspidy\">Pascal Birchler</a>, <a href=\"https://profiles.wordpress.org/obrienlabs\">Pat O\'Brien</a>, <a href=\"https://profiles.wordpress.org/pbearne\">Paul Bearne</a>, <a href=\"https://profiles.wordpress.org/pbiron\">Paul Biron</a>, <a href=\"https://profiles.wordpress.org/pauldechov\">Paul Dechov</a>, <a href=\"https://profiles.wordpress.org/natacado\">Paul Paradise</a>, <a href=\"https://profiles.wordpress.org/paulwilde\">Paul Wilde</a>, <a href=\"https://profiles.wordpress.org/pcarvalho\">pcarvalho</a>, <a href=\"https://profiles.wordpress.org/pedromendonca\">Pedro Mendonça</a>, <a href=\"https://profiles.wordpress.org/gungeekatx\">Pete Nelson</a>, <a href=\"https://profiles.wordpress.org/pessoft\">Peter \"Pessoft\" Kolínek</a>, <a href=\"https://profiles.wordpress.org/donutz\">Peter J. Herrel</a>, <a href=\"https://profiles.wordpress.org/petertoi\">Peter Toi</a>, <a href=\"https://profiles.wordpress.org/westi\">Peter Westwood</a>, <a href=\"https://profiles.wordpress.org/peterwilsoncc\">Peter Wilson</a>, <a href=\"https://profiles.wordpress.org/philipjohn\">Philip John</a>, <a href=\"https://profiles.wordpress.org/delawski\">Piotr Delawski</a>, <a href=\"https://profiles.wordpress.org/mordauk\">Pippin Williamson</a>, <a href=\"https://profiles.wordpress.org/plastikschnitzer\">Plastikschnitzer</a>, <a href=\"https://profiles.wordpress.org/powerzilly\">powerzilly</a>, <a href=\"https://profiles.wordpress.org/pratikgandhi\">Pratik Gandhi</a>, <a href=\"https://profiles.wordpress.org/precies\">precies</a>, <a href=\"https://profiles.wordpress.org/presslabs\">Presslabs</a>, <a href=\"https://profiles.wordpress.org/punit5658\">Punit Patel</a>, <a href=\"https://profiles.wordpress.org/purnendu\">Purnendu Dash</a>, <a href=\"https://profiles.wordpress.org/r-a-y\">r-a-y</a>, <a href=\"https://profiles.wordpress.org/rachelbaker\">Rachel Baker</a>, <a href=\"https://profiles.wordpress.org/rafa8626\">Rafael Miranda</a>, <a href=\"https://profiles.wordpress.org/rahmohn\">Rahmohn</a>, <a href=\"https://profiles.wordpress.org/ramiy\">Rami Yushuvaev</a>, <a href=\"https://profiles.wordpress.org/ramon-fincken\">ramon fincken</a>, <a href=\"https://profiles.wordpress.org/jontyravi\">Ravi Vaghela</a>, <a href=\"https://profiles.wordpress.org/rclations\">RC Lations</a>, <a href=\"https://profiles.wordpress.org/redrambles\">redrambles</a>, <a href=\"https://profiles.wordpress.org/arena\">RENAUT</a>, <a href=\"https://profiles.wordpress.org/greuben\">Reuben Gunday</a>, <a href=\"https://profiles.wordpress.org/rfair404\">rfair404</a>, <a href=\"https://profiles.wordpress.org/youknowriad\">Riad Benguella</a>, <a href=\"https://profiles.wordpress.org/rianrietveld\">Rian Rietveld</a>, <a href=\"https://profiles.wordpress.org/riddhiehta02\">Riddhi Mehta</a>, <a href=\"https://profiles.wordpress.org/rinkuyadav999\">Rinku Y</a>, <a href=\"https://profiles.wordpress.org/rishishah\">rishishah</a>, <a href=\"https://profiles.wordpress.org/rcutmore\">Rob Cutmore</a>, <a href=\"https://profiles.wordpress.org/rodrigosprimo\">Rodrigo Primo</a>, <a href=\"https://profiles.wordpress.org/ronakganatra\">Ronak Ganatra</a>, <a href=\"https://profiles.wordpress.org/rugved\">rugved</a>, <a href=\"https://profiles.wordpress.org/rushabh4486\">Rushabh Shah</a>, <a href=\"https://profiles.wordpress.org/ryan\">Ryan Boren</a>, <a href=\"https://profiles.wordpress.org/ryanduff\">Ryan Duff</a>, <a href=\"https://profiles.wordpress.org/stunnedbeast\">Ryan Holmes</a>, <a href=\"https://profiles.wordpress.org/rmarks\">Ryan Marks</a>, <a href=\"https://profiles.wordpress.org/rmccue\">Ryan McCue</a>, <a href=\"https://profiles.wordpress.org/ohryan\">Ryan Neudorf</a>, <a href=\"https://profiles.wordpress.org/othellobloke\">Ryan Paul</a>, <a href=\"https://profiles.wordpress.org/ryanplas\">Ryan Plas</a>, <a href=\"https://profiles.wordpress.org/welcher\">Ryan Welcher</a>, <a href=\"https://profiles.wordpress.org/ryanrolds\">ryanrolds</a>, <a href=\"https://profiles.wordpress.org/ryotsun\">ryotsun</a>, <a href=\"https://profiles.wordpress.org/stodorovic\">Saša</a>, <a href=\"https://profiles.wordpress.org/manchumahara\">Sabuj Kundu</a>, <a href=\"https://profiles.wordpress.org/sagarprajapati\">Sagar Prajapati</a>, <a href=\"https://profiles.wordpress.org/sagarladani\">sagarladani</a>, <a href=\"https://profiles.wordpress.org/sa3idho\">Said El Bakkali</a>, <a href=\"https://profiles.wordpress.org/sasiddiqui\">Sami Ahmed Siddiqui</a>, <a href=\"https://profiles.wordpress.org/samikeijonen\">Sami Keijonen</a>, <a href=\"https://profiles.wordpress.org/viralsampat\">Sampat Viral</a>, <a href=\"https://profiles.wordpress.org/samuelsidler\">Samuel Sidler</a>, <a href=\"https://profiles.wordpress.org/otto42\">Samuel Wood (Otto)</a>, <a href=\"https://profiles.wordpress.org/tinkerbelly\">sarah semark</a>, <a href=\"https://profiles.wordpress.org/sathyapulse\">sathyapulse</a>, <a href=\"https://profiles.wordpress.org/sayedwp\">Sayed Taqui</a>, <a href=\"https://profiles.wordpress.org/sboisvert\">sboisvert</a>, <a href=\"https://profiles.wordpress.org/scottdeluzio\">Scott DeLuzio</a>, <a href=\"https://profiles.wordpress.org/sc0ttkclark\">Scott Kingsley Clark</a>, <a href=\"https://profiles.wordpress.org/scottlee\">Scott Lee</a>, <a href=\"https://profiles.wordpress.org/coffee2code\">Scott Reilly</a>, <a href=\"https://profiles.wordpress.org/wonderboymusic\">Scott Taylor</a>, <a href=\"https://profiles.wordpress.org/scribu\">scribu</a>, <a href=\"https://profiles.wordpress.org/seanchayes\">Sean Hayes</a>, <a href=\"https://profiles.wordpress.org/sebastianpisula\">Sebastian Pisula</a>, <a href=\"https://profiles.wordpress.org/sebsz\">SeBsZ</a>, <a href=\"https://profiles.wordpress.org/sergeybiryukov\">Sergey Biryukov</a>, <a href=\"https://profiles.wordpress.org/sgr33n\">Sergio De Falco</a>, <a href=\"https://profiles.wordpress.org/shamim51\">Shamim Hasan</a>, <a href=\"https://profiles.wordpress.org/shooper\">Shawn Hooper</a>, <a href=\"https://profiles.wordpress.org/shital-patel\">Shital Marakana</a>, <a href=\"https://profiles.wordpress.org/shramee\">shramee</a>, <a href=\"https://profiles.wordpress.org/nomnom99\">Siddharth Thevaril</a>, <a href=\"https://profiles.wordpress.org/pross\">Simon Prosser</a>, <a href=\"https://profiles.wordpress.org/slaffik\">Slava Abakumov</a>, <a href=\"https://profiles.wordpress.org/someecards\">someecards</a>, <a href=\"https://profiles.wordpress.org/soean\">Soren Wrede</a>, <a href=\"https://profiles.wordpress.org/spencerfinnell\">spencerfinnell</a>, <a href=\"https://profiles.wordpress.org/spocke\">spocke</a>, <a href=\"https://profiles.wordpress.org/metodiew\">Stanko Metodiev</a>, <a href=\"https://profiles.wordpress.org/stephdau\">Stephane Daury (stephdau)</a>, <a href=\"https://profiles.wordpress.org/netweb\">Stephen Edgar</a>, <a href=\"https://profiles.wordpress.org/stephenharris\">Stephen Harris</a>, <a href=\"https://profiles.wordpress.org/stevegrunwell\">Steve Grunwell</a>, <a href=\"https://profiles.wordpress.org/stevepuddick\">Steve Puddick</a>, <a href=\"https://profiles.wordpress.org/stevenlinx\">stevenlinx</a>, <a href=\"https://profiles.wordpress.org/skostadinov\">Stoyan Kostadinov</a>, <a href=\"https://profiles.wordpress.org/dualcube_subrata\">Subrata Mal</a>, <a href=\"https://profiles.wordpress.org/subrataemfluence\">Subrata Sarkar</a>, <a href=\"https://profiles.wordpress.org/sudar\">Sudar Muthu</a>, <a href=\"https://profiles.wordpress.org/manikmist09\">Sultan Nasir Uddin</a>, <a href=\"https://profiles.wordpress.org/musus\">Susumu Seino</a>, <a href=\"https://profiles.wordpress.org/svrooij\">svrooij</a>, <a href=\"https://profiles.wordpress.org/takahashi_fumiki\">Takahashi Fumiki</a>, <a href=\"https://profiles.wordpress.org/miyauchi\">Takayuki Miyauchi</a>, <a href=\"https://profiles.wordpress.org/karmatosed\">Tammie Lister</a>, <a href=\"https://profiles.wordpress.org/buley\">Taylor</a>, <a href=\"https://profiles.wordpress.org/tejas5989\">tejas5989</a>, <a href=\"https://profiles.wordpress.org/terwdan\">terwdan</a>, <a href=\"https://profiles.wordpress.org/tharsheblows\">tharsheblows</a>, <a href=\"https://profiles.wordpress.org/thulshof\">Thijs Hulshof</a>, <a href=\"https://profiles.wordpress.org/thingsym\">thingsym</a>, <a href=\"https://profiles.wordpress.org/tfirdaus\">Thoriq Firdaus</a>, <a href=\"https://profiles.wordpress.org/tfrommen\">Thorsten Frommen</a>, <a href=\"https://profiles.wordpress.org/tigertech\">tigertech</a>, <a href=\"https://profiles.wordpress.org/timmydcrawford\">Timmy Crawford</a>, <a href=\"https://profiles.wordpress.org/timothyblynjacobs\">Timothy Jacobs</a>, <a href=\"https://profiles.wordpress.org/tmatsuur\">tmatsuur</a>, <a href=\"https://profiles.wordpress.org/tobi823\">tobi823</a>, <a href=\"https://profiles.wordpress.org/toddnestor\">Todd Nestor</a>, <a href=\"https://profiles.wordpress.org/tobifjellner\">Tor-Bjorn Fjellner</a>, <a href=\"https://profiles.wordpress.org/zodiac1978\">Torsten Landsiedel</a>, <a href=\"https://profiles.wordpress.org/toru\">Toru Miki</a>, <a href=\"https://profiles.wordpress.org/toscho\">toscho</a>, <a href=\"https://profiles.wordpress.org/transl8or\">transl8or</a>, <a href=\"https://profiles.wordpress.org/truongwp\">truongwp</a>, <a href=\"https://profiles.wordpress.org/tuanmh\">tuanmh</a>, <a href=\"https://profiles.wordpress.org/tv-productions\">TV productions</a>, <a href=\"https://profiles.wordpress.org/uicestone\">uicestone</a>, <a href=\"https://profiles.wordpress.org/grapplerulrich\">Ulrich</a>, <a href=\"https://profiles.wordpress.org/umangvaghela123\">Umang Vaghela</a>, <a href=\"https://profiles.wordpress.org/umeshnevase\">Umesh Nevase</a>, <a href=\"https://profiles.wordpress.org/upadalavipul\">upadalavipul</a>, <a href=\"https://profiles.wordpress.org/utkarshpatel\">Utkarsh</a>, <a href=\"https://profiles.wordpress.org/vhauri\">vhauri</a>, <a href=\"https://profiles.wordpress.org/williampatton\">williampatton</a>, <a href=\"https://profiles.wordpress.org/withinboredom\">withinboredom</a>, <a href=\"https://profiles.wordpress.org/wojtekszkutnik\">Wojtek Szkutnik</a>, <a href=\"https://profiles.wordpress.org/xkon\">Xenos (xkon) Konstantinos</a>, <a href=\"https://profiles.wordpress.org/yahil\">Yahil Madakiya</a>, <a href=\"https://profiles.wordpress.org/yonivh\">yonivh</a>, <a href=\"https://profiles.wordpress.org/yrpwayne\">yrpwayne</a>, <a href=\"https://profiles.wordpress.org/zachwtx\">zachwtx</a>, and <a href=\"https://profiles.wordpress.org/zanematthew\">Zane Matthew</a>.\n\n<p>Finally, thanks to all the community translators who worked on WordPress 4.9. Their efforts bring WordPress 4.9 fully translated to 43 languages at release time, with more on the way.</p>\n\n<p>Do you want to report on WordPress 4.9? <a href=\"https://s.w.org/images/core/4.9/wp-4-9_press-kit.zip\">We've compiled a press kit featuring information about the release features, and some media assets to help you along</a>.</p>\n\n<p>If you want to follow along or help out, check out <a href=\"https://make.wordpress.org/\">Make WordPress</a> and our <a href=\"https://make.wordpress.org/core/\">core development blog</a>.</p>\n\n<p>Thanks for choosing WordPress!</p>\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:7:\"post-id\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"4968\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}}}s:27:\"http://www.w3.org/2005/Atom\";a:1:{s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:0:\"\";s:7:\"attribs\";a:1:{s:0:\"\";a:3:{s:4:\"href\";s:32:\"https://wordpress.org/news/feed/\";s:3:\"rel\";s:4:\"self\";s:4:\"type\";s:19:\"application/rss+xml\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:44:\"http://purl.org/rss/1.0/modules/syndication/\";a:2:{s:12:\"updatePeriod\";a:1:{i:0;a:5:{s:4:\"data\";s:9:\"\n hourly \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:15:\"updateFrequency\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"\n 1 \";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:30:\"com-wordpress:feed-additions:1\";a:1:{s:4:\"site\";a:1:{i:0;a:5:{s:4:\"data\";s:8:\"14607090\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}}}}}}}}s:4:\"type\";i:128;s:7:\"headers\";O:42:\"Requests_Utility_CaseInsensitiveDictionary\":1:{s:7:\"\0*\0data\";a:9:{s:6:\"server\";s:5:\"nginx\";s:4:\"date\";s:29:\"Sat, 24 Feb 2018 14:26:39 GMT\";s:12:\"content-type\";s:34:\"application/rss+xml; charset=UTF-8\";s:25:\"strict-transport-security\";s:11:\"max-age=360\";s:6:\"x-olaf\";s:3:\"⛄\";s:13:\"last-modified\";s:29:\"Wed, 21 Feb 2018 22:53:31 GMT\";s:4:\"link\";s:63:\"<https://wordpress.org/news/wp-json/>; rel=\"https://api.w.org/\"\";s:15:\"x-frame-options\";s:10:\"SAMEORIGIN\";s:4:\"x-nc\";s:9:\"HIT ord 2\";}}s:5:\"build\";s:14:\"20130911040210\";}','no'),
(143,'_transient_timeout_feed_mod_ac0b00fe65abe10e0c5b588f3ed8c7ca','1519525600','no'),
(144,'_transient_feed_mod_ac0b00fe65abe10e0c5b588f3ed8c7ca','1519482400','no'),
(145,'_transient_timeout_feed_d117b5738fbd35bd8c0391cda1f2b5d9','1519525601','no'),
(146,'_transient_feed_d117b5738fbd35bd8c0391cda1f2b5d9','a:4:{s:5:\"child\";a:1:{s:0:\"\";a:1:{s:3:\"rss\";a:1:{i:0;a:6:{s:4:\"data\";s:3:\"\n\n\n\";s:7:\"attribs\";a:1:{s:0:\"\";a:1:{s:7:\"version\";s:3:\"2.0\";}}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:1:{s:0:\"\";a:1:{s:7:\"channel\";a:1:{i:0;a:6:{s:4:\"data\";s:61:\"\n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:1:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:16:\"WordPress Planet\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:28:\"http://planet.wordpress.org/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:8:\"language\";a:1:{i:0;a:5:{s:4:\"data\";s:2:\"en\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:47:\"WordPress Planet - http://planet.wordpress.org/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"item\";a:50:{i:0;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:77:\"WPTavern: WordCamp Orange County Plugin-A-Palooza First Place Prize is $3,000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78153\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:86:\"https://wptavern.com/wordcamp-orange-county-plugin-a-palooza-first-place-prize-is-3000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2009:\"<p><a href=\"https://2018.oc.wordcamp.org/\">WordCamp Orange County</a>, CA, 2018 will take place June 9-10. In addition to the regular WordCamp format of speakers sharing their knowledge, there is also a mini-event called Plugin-A-Palooza. This year marks the fourth contest where plugin authors will compete for one of three prizes.</p>\n<ul>\n<li>First Place – <strong>$3,000</strong> cash and 1 Sucuri Business (VIP) license</li>\n<li>Second Place – <strong>$1,500</strong> cash and 1 Sucuri Business (VIP) license</li>\n<li>Third Place – <strong>$500</strong> cash</li>\n</ul>\n<p>Teams will be judged live based on the following criteria:</p>\n<ul>\n<li>Originality</li>\n<li>User Experience/User Interface</li>\n<li>Code Quality</li>\n<li>Presentation of the plugin on WordPress.org.</li>\n</ul>\n<p>Teams can have up to three participants, are required to build their own plugin, and upload it to the WordPress plugin directory by May 18th. Teams will present their plugins to the judges and audience on June 10th.</p>\n<p>Previous winners and plugins include:</p>\n<ul>\n<li>2015 Devin Walker- <a href=\"https://wordpress.org/plugins/wp-rollback/\">WP Rollback</a></li>\n<li>2016 Robert Gillmer – <a href=\"https://wordpress.org/plugins/wp-documentor/\">WP Documentor</a></li>\n<li>2017 Natalie MacLees – <a href=\"https://wordpress.org/plugins/simple-event-listing/\">Simple Event Listing</a></li>\n</ul>\n<p>Bridget Willard, WordCamp Orange County organizer, says the event encourages innovation and personal development which are important parts of WordCamps. “The first plugin that won was WPRollback by WordImpress,” she said. “It’s widely used in the community now. We’d love to see other camps doing this.”</p>\n<p>If you’re interested in participating in Plugin-A-Palooza at WordCamp Orange County this year, you’ll need to fill out this <a href=\"https://goo.gl/forms/CpDCsXQRqNI0cil23\">entry form</a>. The deadline for submissions is March 5th.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 23 Feb 2018 22:46:56 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:1;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:32:\"Dev Blog: WordCamp Incubator 2.0\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5577\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wordpress.org/news/2018/02/wordcamp-incubator-2-0/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2449:\"<p><a href=\"https://central.wordcamp.org/\">WordCamps</a> are informal, community-organized events that are put together by a team of local WordPress users who have a passion for growing their communities. They are born out of active WordPress meetup groups that meet regularly and are able to host an annual WordCamp event. This has worked very well in many communities, with over 120 WordCamps being hosted around the world in 2017.<br /></p>\n\n<p>Sometimes though, passionate and enthusiastic community members can’t pull together enough people in their community to make a WordCamp happen. To address this, we introduced <a href=\"https://wordpress.org/news/2016/02/experiment-wordcamp-incubator/\">the WordCamp Incubator program</a> in 2016.<br /></p>\n\n<p>The goal of the incubator program is <strong>to help spread WordPress to underserved areas by providing more significant organizing support for their first WordCamp event.</strong> In 2016, members of <a href=\"https://make.wordpress.org/community/\">the global community team</a> worked with volunteers in three cities — Denpasar, Harare and Medellín — giving direct, hands-on assistance in making local WordCamps possible. All three of these WordCamp incubators <a href=\"https://make.wordpress.org/community/2017/06/30/wordcamp-incubator-report/\">were a great success</a>, so we're bringing the incubator program back for 2018.<br /></p>\n\n<p>Where should the next WordCamp incubators be? If you have always wanted a WordCamp in your city but haven’t been able to get a community started, this is a great opportunity. We will be taking applications for the next few weeks, then will get in touch with everyone who applied to discuss the possibilities. We will announce the chosen cities by the end of March.<br /></p>\n\n<p><strong>To apply, </strong><a href=\"https://wordcampcentral.polldaddy.com/s/wordcamp-incubator-program-2018-city-application\"><strong>fill in the application</strong></a><strong> by March 15, 2018.</strong> You don’t need to have any specific information handy, it’s just a form to let us know you’re interested. You can apply to nominate your city even if you don’t want to be the main organizer, but for this to work well we will need local liaisons and volunteers, so please only nominate cities where you live or work so that we have at least one local connection to begin.<br /></p>\n\n<p>We're looking forward to hearing from you!<br /></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 21 Feb 2018 22:53:20 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Hugh Lashbrooke\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:2;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:48:\"HeroPress: How To Build A Company With WordPress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:56:\"https://heropress.com/?post_type=heropress-essays&p=2465\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:120:\"https://heropress.com/essays/build-company-wordpress/#utm_source=rss&utm_medium=rss&utm_campaign=build-company-wordpress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:16946:\"<img width=\"960\" height=\"480\" src=\"https://heropress.com/wp-content/uploads/2018/02/022118-1024x512.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Pull Quote: If you keep showing up, you\'d be surprised what happens.\" />.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }\n<div class=\"embed-container\"></div>\n<p> </p>\n<h4>Full text of the above video</h4>\n<p>Hey, y’all! Thanks for inviting me to come share my story on HeroPress. I’m so excited to be able to talk a little bit to the HeroPress community.</p>\n<p>So, and I’m doing a video blog or vlog because this is what I do; I’m a YouTube person. I create YouTube videos every single Wednesday for what I call WordPress Wednesday to help you improve your online marketing inside of the WordPress world. So I’m used to doing videos, and I asked if I could do my HeroPress story in this format; and they said go for it, so I’m excited to talk to you at least in a face-to-face scenario.</p>\n<p>I’m going to share a little bit of my story and tell you how WordPress basically became my avenue for becoming a millionaire in just five short years.</p>\n<h3>The Beginning</h3>\n<p>So in 1998, I created my very first ever HTML website. My dad was actually doing websites at the time, and I needed a website for my band because that’s what I wanted to be is a rockstar; so I learned how to build a website, kind of, under his training and a little bit of self-taught stuff and had a lot of fun doing it that way in 1998.</p>\n<p>And then in 2005, I started hearing about WordPress; but in 2008, as I was freelancing around, a client asked me to build him a website. And they said, “hey, Kori, can you, can you build me a website, but we absolutely have to have it on WordPress?” I was like, sure, no problem; straight to Google, “how do you build a WordPress website”, you know. And over the weekend I pretty much taught myself how to build out a WordPress website, and I loved it.</p>\n<p>My mind was absolutely blown when I saw the drag and drop options inside of menus to create dropdowns, and a form builder; I was just blown away. So those of you who have struggled in the HTML CSS world, you know the magic or the majesty, if you will even, of WordPress and those environments and how easy it makes it. So when I saw that, I really just thought, oh my goodness, this is a full-circle moment for me.</p>\n<blockquote><p>I really want to use WordPress now from here on forward.</p></blockquote>\n<p>So I reached back out to my dad and said, “hey, dad, you know, this is a tool that our customers, all of our clients, have been asking us for”. They’ve been wanting access to their websites, and we’ve not been able to give it to them because, in the past, they had to download Dreamweaver, you know, Photoshop and an FTP program; and that was just too much nerd code for them. So we wanted to be able to give them something like this, and WordPress definitely was that solution.</p>\n<p>So he and I worked back and forth for a few years learning, really truly learning, WordPress; and then in 2012, we decided to launch together, my mom, my dad and I, decided to launch WebTegrity in San Antonio, Texas. And it was a very small concept initially; you know, we just me, literally, the three of us, and me and my folks. And then we hired on a subcontractor who is a great graphic designer here in town to try to help us with the creative side of things, and we started to grow our team.</p>\n<h3>Going Big Time</h3>\n<p>So how did we, in five years, build it up in such a way that we were able to sell it for a deal of a million dollars’ worth of shares, which ultimately is a $20 million value deal? How did we do that? I’m going to give you a little bit of insight on how we were able to accomplish that in such a short time.</p>\n<p>So the very first thing I want you to realize is we did this in a saturated industry in San Antonio, Texas. When I did a search for web developer or web design firms back in 2012, I had over 700 results of different either freelancers or agencies or ad agencies or some solution out there that was either in the general area, or in the nearby area, that provided that service. So how did we, in six years, end up becoming number six in the entire city? We ranked in the top 10; how did we do that?</p>\n<blockquote><p>One of the very first things we did, was we niched ourselves; and, thankfully, WordPress was that solution.</p></blockquote>\n<p>In 2012, there was not an agency directly in San Antonio that was trying to be the go-to place for WordPress; and we purposely started stepping up and saying we are WordPress only, WordPress only, WordPress only. So if you were looking for a different type of CMS solution, we were not the right fit for you. And very, very quickly, we also started teaching it in the city; so we would teach other agencies. We provided on-site training; we provided weekend workshops. All for a price tag, of course; but that was one of our revenue streams. And, again, it set us as the authority in the city for WordPress; so really important that you understand how to niche yourselves and not try to be all things to all people.</p>\n<blockquote><p>The second thing we tried to do was really build a culture.</p></blockquote>\n<p>And you can see, I don’t work around boring walls. Everything that I do has to have creative juices flowing around me, right. We just want to create a great culture, a great environment. So we had to hire the right people. So that’s my next tip to you is be very, very careful on who you allow into your culture of your business, who you hire on, and certainly who you bring on as a leader in your culture in your community. So one of the things that we did right away was realize that we can’t teach passion, so you gotta find people that have a passion to nerd out on stuff like this.</p>\n<p>And you have to find people who have great integrity to just do their best at all times, and you have to find people who love to be creative and love to solve problems for clients, right, who aren’t just salespeople, right? So if you can find those things, you can teach nerd code all day long; so be sure to just find people with the right hearts to join your community and then train them up the right way, be sure that you just grow and grow and grow your culture in a healthy way, right.</p>\n<blockquote><p>And another thing that we did, so this is another tip, was understand how to really build a revenue stream that was going to be sustainable.</p></blockquote>\n<p>All right, so wrap your heads around this one because this one’s key. Very early on in our model as we were selling WordPress websites, part of my pitch was, oh, it’s just five grand and no more after that. It’s a one-time fee and you’re done. That’s a horrible business strategy. We learned very early on, inside of WordPress world, that you have rain or shine, right; so there’s a lot of clients coming or there are no clients.</p>\n<p>You’re either slammed working from home even in the evening trying to catch up, or you’re out on the golf course wondering if you’re going to get a paycheck next week. It’s really rain or shine. So how do you create a sustainable model in your business, in your small agency, in your startup; how do you do that, so that when those slow seasons come, you can still pay your team members, you can still keep your lights on?</p>\n<p>Well, we were sitting at a WordCamp; and Jason Cohen from WP Engine was keynoting; and one of the things he said right away is, if you don’t understand how to create a reoccurring revenue stream in your small agency, you will turn your sign to closed in the next year or two. And he was so right; and it was such a light bulb moment for me that I went back straightaway from that weekend WordCamp up in Austin and I started writing out, okay, how can we create a reoccurring revenue stream? What would that look like inside of our industry?</p>\n<p>And, of course, it was support packages. We didn’t call them maintenance plans. We certainly didn’t use retainer, which can have a sense of a negative connotation, right, because of lawyers; sorry! But, still, we didn’t want to use those words because we’re already almost creating a, uh, I don’t think I want to sign up for that type of attitude.</p>\n<p>What we did is we called it support, and very easily, clients were signing up saying, oh, goodness, yes, I need that ongoing support. So use that phrasing, create a model structure where it’s required, at least for the first 12 months out of the gate as they launch that you are charging them something even as small as $99 a month. And don’t shortchange yourself on that; put together a great package that you give them that type of value.</p>\n<p>If you were to check out WebTegrity.com, you would see our support plans and what they consist of and the pricing. We’re very transparent with that. That’s the way our revenue stream almost doubled our sales in one year and allowed us to keep our lights on when June and July roll around and nobody cares about their websites because they’re on the beach.</p>\n<blockquote><p>All right, reputation was another huge part of it.</p></blockquote>\n<p>That’s one of the reasons why we named ourselves WebTegrity, but reputation, understanding that that every client that signs up, whether they’re a $5,000 website or a $50,000 website gets the same type of boutique-style, white glove, handholding relationship, right? Every single project that you launch, you want to produce the absolute, absolute best. You’re not shortchanging them; you’re not, you’re not wiring something that you hand off to the client and hope to God it doesn’t break. You really are trying to find the absolute best solution.</p>\n<p>One of the things that also kept us in high standing with our reputation, of course, was offering that training because what we don’t want to do is keep the veil covered where nobody can see what we’re doing, right. We really want to be transparent and train our clients the nerd lingo, train the clients what SEO is and what expectations should be. Having that type of open communication really just started to build together a relationship with our clients that they trusted us; and we met their expectation, right. So be sure to hold strongly to your core values for your reputation. Be sure that you’re asking people to give you great reviews because that’ll make a difference.</p>\n<blockquote><p>And the last thing I want to talk about is give back.</p></blockquote>\n<p>So at one of the WordCamp US’s that I went to, Matt himself said, listen, if you’re making a living with WordPress, you really need to try to figure out how to give back 5% of your time, just 5% of your time a week. How can you do that to give back to the community? Can you start a meet-up group, teach a meetup group; can you facilitate a meetup group where maybe you’re just the organizer and you never have to speak because you’re not a fan of speaking?</p>\n<p>Can you organize a WordCamp, volunteer at a WordCamp? Can you write a tutorial and tell people how to do things? Can you teach a workshop; can you make a video?</p>\n<p>And, again, I had a light bulb moment. Of course, I can make videos. So my giveback to the WordPress community is my YouTube channel; every single Wednesday, I’m creating a video and putting it out there for free to the WordPress world of how to improve your online marketing. That’s made a huge impact not only, thankfully, inside the WordPress community, but also in my own business model.</p>\n<p>I actually go into WordCamps around the US and people are like, hey, aren’t you that WordPress girl; don’t you do videos? It’s a really cool feeling to be able to give back to the community because I’ve made my living using WordPress.</p>\n<h3>Understanding</h3>\n<p>So ultimately how did I turn five years into a multi-million dollar buyout? Because we have just recently sold; how did we do that? Ultimately, it was understanding that you have to be able to grow something of value. So as soon as you start your business, you should also be thinking about your exit strategy, right, even in how you name your company.</p>\n<p>If I were to name this Ashton Agency, do you think that I could’ve just walked away and handed the keys to somebody else named Johnson; it wouldn’t have worked. Think even about your name; will it stand alone? Can that become a brand that you can hand off and sell as a holistic entity?</p>\n<p>You also want to think about that revenue stream, right, and watch those sales margins. Be sure that your margins are healthy. Don’t hire until it hurts, until it absolutely hurts. Be sure that you’re structuring your offerings in such a way that you’re actually recouping your value. What does that mean? Just understand business better; watch Shark Tank, read more tutorials like this, watch more videos.</p>\n<p>Get a hold of the WordPress community, the core leaders, the speakers that travel around to all the WordCamps. Start following them on Twitter and trying to understand what it is that they’re training and teaching. There’s a lot of resources out there for you to gain some ideas from, but ultimately it was me stepping out in the San Antonio community because it was a larger firm here in San Antonio who purchased us.</p>\n<p>So we just kept hammering on the fact that we were the go-to place here in San Antonio for WordPress. We kept training; we kept doing free opportunities, going out and speaking at different events; and people kept seeing us. We kept showing up, so you’d be surprised what happens. If you keep giving back and you keep showing up to places, you keep establishing yourself as the authority, you keep learning and training and growing your own skill set and growing your team, before you know it, it can happen for you.</p>\n<p>I hope this has been helpful. If you have questions about some of this though, if you’re trying to grow up your startup, or if you’re trying to learn how to improve your revenue margins, I’m always open to a quick twitter conversation or send me an email. I’d love to connect with you.</p>\n<p>Thanks again for the opportunity to share this on HeroPress.</p>\n<p>Bye, y’all; catch me over on YouTube. Bye!</p>\n<div class=\"rtsocial-container rtsocial-container-align-right rtsocial-horizontal\"><div class=\"rtsocial-twitter-horizontal\"><div class=\"rtsocial-twitter-horizontal-button\"><a title=\"Tweet: How To Build A Company With WordPress\" class=\"rtsocial-twitter-button\" href=\"https://twitter.com/share?text=How%20To%20Build%20A%20Company%20With%20WordPress&via=heropress&url=https%3A%2F%2Fheropress.com%2Fessays%2Fbuild-company-wordpress%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-fb-horizontal fb-light\"><div class=\"rtsocial-fb-horizontal-button\"><a title=\"Like: How To Build A Company With WordPress\" class=\"rtsocial-fb-button rtsocial-fb-like-light\" href=\"https://www.facebook.com/sharer.php?u=https%3A%2F%2Fheropress.com%2Fessays%2Fbuild-company-wordpress%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-linkedin-horizontal\"><div class=\"rtsocial-linkedin-horizontal-button\"><a class=\"rtsocial-linkedin-button\" href=\"https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fheropress.com%2Fessays%2Fbuild-company-wordpress%2F&title=How+To+Build+A+Company+With+WordPress\" rel=\"nofollow\" target=\"_blank\" title=\"Share: How To Build A Company With WordPress\"></a></div></div><div class=\"rtsocial-pinterest-horizontal\"><div class=\"rtsocial-pinterest-horizontal-button\"><a class=\"rtsocial-pinterest-button\" href=\"https://pinterest.com/pin/create/button/?url=https://heropress.com/essays/build-company-wordpress/&media=https://heropress.com/wp-content/uploads/2018/02/022118-150x150.jpg&description=How To Build A Company With WordPress\" rel=\"nofollow\" target=\"_blank\" title=\"Pin: How To Build A Company With WordPress\"></a></div></div><a rel=\"nofollow\" class=\"perma-link\" href=\"https://heropress.com/essays/build-company-wordpress/\" title=\"How To Build A Company With WordPress\"></a></div><p>The post <a rel=\"nofollow\" href=\"https://heropress.com/essays/build-company-wordpress/\">How To Build A Company With WordPress</a> appeared first on <a rel=\"nofollow\" href=\"https://heropress.com\">HeroPress</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 21 Feb 2018 14:00:46 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:11:\"Kori Ashton\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:3;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:26:\"Matt: Commuting Time Saved\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"https://ma.tt/?p=47970\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:43:\"https://ma.tt/2018/02/commuting-time-saved/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:344:\"<p>On <a href=\"https://automattic.com/\">Automattic's</a> internal <a href=\"https://buddypress.org/\">BuddyPress</a>-powered company directory, we allow people to fill out a field saying how far their previous daily commute was. 509 people have filled that out so far, and they are saving 12,324 kilometers of travel every work day. Wow!</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 19 Feb 2018 18:14:56 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"Matt\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:4;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"Akismet: Version 4.0.3 of the Akismet WordPress Plugin Is Now Available\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"http://blog.akismet.com/?p=1985\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:99:\"https://blog.akismet.com/2018/02/19/version-4-0-3-of-the-akismet-wordpress-plugin-is-now-available/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:867:\"<p>Version 4.0.3 of <a href=\"http://wordpress.org/plugins/akismet/\">the Akismet plugin for WordPress</a> is now available.</p>\n<p>4.0.3 contains a few helpful changes:</p>\n<ul>\n<li>Adds a new scheduled task to clear out old Akismet entries in the <code>wp_commentmeta</code> table that no longer have corresponding comments in <code>wp_comments</code>. This should help reduce Akismet’s database usage for some users.</li>\n<li>Adds a new <code>akismet_batch_delete_count</code> action so developers can optionally take action when Akismet comment data is cleaned up.</li>\n</ul>\n<p>To upgrade, visit the Updates page of your WordPress dashboard and follow the instructions. If you need to download the plugin zip file directly, links to all versions are available in <a href=\"http://wordpress.org/plugins/akismet/\">the WordPress plugins directory</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 19 Feb 2018 15:58:10 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:10:\"Josh Smith\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:5;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:68:\"Mark Jaquith: Handling old WordPress and PHP versions in your plugin\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"http://markjaquith.wordpress.com/?p=5544\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:100:\"https://markjaquith.wordpress.com/2018/02/19/handling-old-wordpress-and-php-versions-in-your-plugin/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3563:\"<p>New versions of WordPress are released about three times a year, and WordPress itself supports PHP versions all the way back to 5.2.4.</p>\n<p>What does this mean for you as a plugin developer?</p>\n<p>Honestly, many plugin developers spend too much time supporting old versions of WordPress and <strong>really</strong> old versions of PHP.</p>\n<p>It doesn’t have to be this way. You don’t need to support every version of WordPress, and you don’t have to support every version of PHP. Feel free to do this for seemingly selfish reasons. Supporting old versions is hard. You have to “unlearn” new WordPress and PHP features and use their older equivalents, or even have code branches that do version/feature checks. It increases your development and testing time. It increases your support burden.</p>\n<p>Economics might force your hand here… a bit. You can’t very well, even in 2018, require that everyone be running PHP 7.1 and the latest version of WordPress. But consider the following:</p>\n<p>97% of WordPress installs are running PHP 5.3 or higher. This gives you namespaces, late static binding, closures, Nowdoc, <strong>__DIR</strong><strong>__</strong>, and more.</p>\n<p>88% of WordPress installs are running PHP 5.4 or higher. This gives you short array syntax, traits, function-array dereferencing, guaranteed <strong><?=</strong> echo syntax availability, <strong>$this</strong> access in closures, and more.</p>\n<p>You get even more things with PHP 5.5 and 5.6 (64% of installs are running 5.6 or higher), but a lot of the syntactic goodness came in 5.3 and 5.4, with very few people running versions less than 5.4. So stop typing <strong>array()</strong>, stop writing named function handlers for simple <strong>array_map()</strong> uses, and start using namespaces to organize and simplify your code.</p>\n<p>Okay, so… how?</p>\n<p>I recommend that your main plugin file just be a simple bootstrapper, where you define your autoloader, do a few checks, and then call a method that initializes your plugin code. I also recommend that this main plugin file be PHP 5.2 compatible. This should be easy to do (just be careful not to use <strong>__DIR__</strong>).</p>\n<p>In this file, you should check the minimum PHP and WordPress versions that you are going to support. And if the minimums are not reached, have the plugin:</p>\n<ol>\n<li>Not initialize (you don’t want syntax errors).</li>\n<li>Display an admin notice saying which minimum version was not met.</li>\n<li>Deactivate itself (optional).</li>\n</ol>\n<p>Do not <strong>die()</strong> or <strong>wp_die()</strong>. That’s “rude”, and a bad user experience. Your goal here is for them to update WordPress or ask their host to move them off an ancient version of PHP, so be kind.</p>\n<p>Here is what I use:</p>\n<p><a href=\"https://gist.github.com/markjaquith/a08623974b37c2cf0207ee2b120b54da\">View code on GitHub</a></p>\n<p></p>\n<p><a href=\"https://twitter.com/markjaquith/status/965605448408813569\">Reach out on Twitter</a> and let me know what methods you use to manage PHP and WordPress versions in your plugin!</p>\n<hr />\n<p><b>Do you need <a href=\"https://coveredwebservices.com/\">WordPress services?</a></b></p>\n<p>Mark runs <a href=\"https://coveredwebservices.com/\">Covered Web Services</a> which specializes in custom WordPress solutions with focuses on security, speed optimization, plugin development and customization, and complex migrations.</p>\n<p>Please reach out to start a conversation!</p>\n[contact-form]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 19 Feb 2018 15:14:08 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:12:\"Mark Jaquith\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:6;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:85:\"Post Status: How WebDevStudios is serving different market segments — Draft podcast\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"https://poststatus.com/?p=43724\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:85:\"https://poststatus.com/webdevstudios-serving-different-market-segments-draft-podcast/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2637:\"<p>Welcome to the Post Status <a href=\"https://poststatus.com/category/draft\">Draft podcast</a>, which you can find <a href=\"https://itunes.apple.com/us/podcast/post-status-draft-wordpress/id976403008\">on iTunes</a>, <a href=\"https://play.google.com/music/m/Ih5egfxskgcec4qadr3f4zfpzzm?t=Post_Status__Draft_WordPress_Podcast\">Google Play</a>, <a href=\"http://www.stitcher.com/podcast/krogsgard/post-status-draft-wordpress-podcast\">Stitcher</a>, and <a href=\"http://simplecast.fm/podcasts/1061/rss\">via RSS</a> for your favorite podcatcher. Post Status Draft is hosted by Brian Krogsgard and co-host Brian Richards.</p>\n<p>In this episode, Lisa Sabin-Wilson shares about the entangled history of WebDevStudios and eWebscapes and how she and team are targeting every level of the market. WebDevStudios focuses heavily on the upper and enterprise market segments, providing a high degree of attention and support to those clients.</p>\n<p>Sometime in 2017 Lisa did the math on all the lower-end projects that they were referring away and realized that WDS had a prime opportunity to re-introduce her former web studio, eWebscapes, as a way to serve these smaller-scope projects. This rebirth, so to speak, has positioned them to better target local communities, provide staff with more variety of work, and bring simplified processes alongside those they use for larger projects.</p>\n<p></p>\n<h3></h3>\n<h3>Key take-aways</h3>\n<ul>\n<li>Lisa observed a market opportunity and did the math first</li>\n<li>Relaunching started with a solid content strategy</li>\n<li>Simplified processes for managing a project</li>\n<li>Utilized talent already on staff</li>\n<li>Lots of opportunity to target local communities</li>\n<li>Evaluating the success of this strategy after 6 months</li>\n</ul>\n<h3>Links</h3>\n<ul>\n<li><a href=\"https://webdevstudios.com/\">WebDevStudios</a></li>\n<li><a href=\"https://ewebscapes.com/\">eWebscapes</a></li>\n<li><a href=\"https://jenniferbourn.com/profitable-project-plan/\">Profitable Project Plan</a></li>\n<li><a href=\"https://twitter.com/@lisasabinwilson\">Lisa Sabin-Wilson on Twitter</a></li>\n</ul>\n<p><a href=\"https://webdevstudios.com/about/\"><em>Photo Credit</em></a></p>\n<h3>Sponsor: Prospress</h3>\n<p><a href=\"https://prospress.com/\">Prospress</a> makes the WooCommerce Subscriptions plugin, that enables you to turn your online business into a recurring revenue business. Whether you want to ship a box or setup digital subscriptions like I have on Post Status, Prospress has you covered. Check out <a href=\"https://prospress.com/\">Prospress.com</a> for more, and thanks to Prospress for being a Post Status partner.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 16 Feb 2018 22:38:42 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:14:\"Katie Richards\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:7;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:25:\"Matt: No Office Workstyle\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"https://ma.tt/?p=47949\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:42:\"https://ma.tt/2018/02/no-office-workstyle/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3938:\"<p>Reed Albergotti has a great article titled <a href=\"https://www.theinformation.com/articles/latest-amenity-for-startups-no-office\">Latest Amenity for Startups: No Office</a>. You can put in your email to read I believe but it's behind a paywall otherwise. <a href=\"https://www.theinformation.com/\">The Information</a> is a pretty excellent site that alongside (former Automattician) <a href=\"https://stratechery.com/\">Ben Thompson's Stratechery</a> I recommend subscribing to. Here are some quotes from the parts of the article that quote me or talk about <a href=\"https://automattic.com/\">Automattic</a>:</p>\n\n<blockquote class=\"wp-block-quote\">\n <p>So it’s no coincidence that one of the first companies to operate with a distributed workforce has roots in the open source movement. Automattic, the company behind open source software tools like WordPress, was founded in 2005 and has always allowed its employees to work from anywhere. The company’s 680 employees are based in 63 countries and speak 79 languages. Last year, it closed its San Francisco office, a converted warehouse — because so few employees were using it. It still has a few coworking spaces scattered around the globe.</p>\n <p>Matt Mullenweg, Automattic’s founder and CEO, said that when the company first started, its employees communicated via IRC, an early form of instant messaging. Now it uses a whole host of software that’s tailor-made for remote work, and as the technology evolves, Automattic adopts what they need.</p>\n <p>Mr. Mullenweg said Automattic only started having regular meetings, for instance, after it started using Zoom, a video conferencing tool that works even on slow internet connections.</p>\n <p>He’s become a proponent of office-less companies and shares what he’s learned with other founders who are attempting it. Mr. Mullenweg said he believes the distributed approach has led to employees who are even more loyal to the company and that his employees especially appreciate that they don’t need to spend a chunk of their day on a commute.</p>\n <p>“Our retention is off the charts,” he said.</p>\n</blockquote>\n\n<p>And:</p>\n\n<blockquote class=\"wp-block-quote\">\n <p>“Where it goes wrong is if they don’t have a strong network outside of work—they can become isolated and fall into bad habits,” Mr. Mullenweg said. He said he encourages employees to join groups, play sports and have friends outside of work. That kind of thing wouldn’t be a risk at big tech companies, where employees are encouraged to socialize and spend a lot of time with colleagues.</p>\n <p>But for those who ask him about the negatives, Mr. Mullenweg offers anecdotal proof of a workaround.</p>\n <p>For example, he said he has 14 employees in Seattle who wanted to beat the isolation by meeting up for work once a week. So they found a local bar that didn’t open until 5 p.m., pooled together the $250 per month co-working stipends that Automattic provides and convinced the bar’s owner to let them rent out the place every Friday.</p>\n</blockquote>\n\n<p>They didn't need to pool all their co-working allowance to get the bar, I recall it was pretty cheap! Finally:</p>\n\n<blockquote class=\"wp-block-quote\">\n <p>For Automattic, flying 700 employees to places like Whistler, British Columbia or Orlando, Florida, has turned into a seven-figure expense.</p>\n <p>“I used to joke that we save it on office space and blow it on travel. But the reality is that in-person is really important. That’s a worthwhile investment,” Mr. Mullenweg said.It might take a while, but some people are convinced that a distributed workforce is the way of the future.</p>\n <p>“Facebook is never going to work like this. Google is never going to work like this. But whatever replaces them will look more like a distributed company than a centralized one,” Mr. Mullenweg said.</p>\n</blockquote>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 16 Feb 2018 18:44:35 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"Matt\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:8;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"Matt: Kinsey Joins Automattic\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"https://ma.tt/?p=47931\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:46:\"https://ma.tt/2018/02/kinsey-joins-automattic/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:229:\"<p>Kinsey Wilson is joining Automattic to run WordPress.com. <a href=\"https://www.poynter.org/news/one-time-npr-and-nyt-digital-chief-new-adventure-wordpress\">Poynter covers the news and has a great interview with Kinsey.</a></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 15 Feb 2018 18:56:58 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"Matt\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:9;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:93:\"WPTavern: WPWeekly Episode 305 – 10up, JavaScript for WordPress Conference, and Jetpack 5.8\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wptavern.com?p=78136&preview=true&preview_id=78136\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:98:\"https://wptavern.com/wpweekly-episode-305-10up-javascript-for-wordpress-conference-and-jetpack-5-8\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1599:\"<p>In this episode, <a href=\"http://jjj.me\">John James Jacoby</a> and I discuss the news of the week. We also chat about the Winter Olympics, crypto mining in order to access content on the web, and the joys of taking care of a puppy. Last but not least, we talk about Elasticsearch in Jetpack 5.8 and whether or not improving WordPress’ native search functionality through a service is the way to go.</p>\n<h2>Stories Discussed:</h2>\n<p><a href=\"https://wptavern.com/jetpack-5-8-adds-lazy-loading-for-images-module\">Jetpack 5.8 Adds Lazy Loading for Images Module</a><br />\n<a href=\"https://wptavern.com/free-virtual-wordpress-for-javascript-conference-june-29th\">Free Virtual WordPress for JavaScript Conference June 29th</a><br />\n<a href=\"https://wptavern.com/10up-turns-seven\">10up Turns Seven</a><br />\n<a href=\"https://make.wordpress.org/plugins/2018/02/13/not-updated-in-warning/\">“Not Updated In …” Warning</a></p>\n<h2>WPWeekly Meta:</h2>\n<p><strong>Next Episode:</strong> Wednesday, February 21st 3:00 P.M. Eastern</p>\n<p>Subscribe to <a href=\"https://itunes.apple.com/us/podcast/wordpress-weekly/id694849738\">WordPress Weekly via Itunes</a></p>\n<p>Subscribe to <a href=\"https://www.wptavern.com/feed/podcast\">WordPress Weekly via RSS</a></p>\n<p>Subscribe to <a href=\"http://www.stitcher.com/podcast/wordpress-weekly-podcast?refid=stpr\">WordPress Weekly via Stitcher Radio</a></p>\n<p>Subscribe to <a href=\"https://play.google.com/music/listen?u=0#/ps/Ir3keivkvwwh24xy7qiymurwpbe\">WordPress Weekly via Google Play</a></p>\n<p><strong>Listen To Episode #305:</strong><br />\n</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 15 Feb 2018 02:14:29 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:10;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:26:\"WPTavern: 10up Turns Seven\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78132\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:37:\"https://wptavern.com/10up-turns-seven\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2986:\"<p><a href=\"https://10up.com/\">10up</a>, a web development agency founded by Jake Goldman in 2011, has turned seven years old. In a <a href=\"https://10up.com/blog/2018/10up-seven-year-anniversary/\">blog post celebrating the occasion</a>, Goldman reviews the previous year and highlights some notable events for the company.</p>\n<p>“We welcomed more than 30 new clients to our portfolio in another record sales year,” Goldman said. “We launched new websites along with web and mobile apps for major brands across verticals as diverse as finance, healthcare, academia, high-tech, big media, consumer packaged goods, food and beverage, and fitness… to name a few.”</p>\n<p>He also highlighted the company’s commitment to open source and giving back to WordPress. Throughout the past year, the company has released a number of WordPress plugins and developer tools including, <a href=\"https://10up.com/blog/2017/distributor-plugin/\">Distributor</a>, <a href=\"https://10up.com/blog/2017/wp-snapshots-share-wordpress-setup/\">WP Snapshots</a>, <a href=\"https://10up.com/blog/2017/wp-docker/\">WP Local Docker</a>, <a href=\"https://10up.com/blog/2018/improving-wordpress-transients/\">Async Transients</a>, and more.</p>\n<p>Goldman describes three trends he’s noticed in the past few years.</p>\n<ol>\n<li>Integrations with innovation happening in other projects and platforms has become increasingly important as the web matures. You see it in React.js and Vue.js emerging as popular front end standards, in the rise of Elasticsearch and NoSQL platforms, with two factor authentication and Google single sign on, with the rise of modern Asset Management Systems.</li>\n<li>For publishers, it’s increasingly becoming about distribution to multiple platforms, more so than<em> just</em> building a website. Google AMP, Facebook Articles, Apple News, Alexa, YouTube channels to name a few.</li>\n<li>If you need any more evidence of WordPress dominance, look no further than how highly in demand top-tier engineering talent is. It’s probably – literally – around a factor of 1.5x – 2x what great engineers were earning 3-4 years ago.</li>\n</ol>\n<p>With seven years of experience under his belt, Goldman offers the following advice for those who are in their first or second year of running an agency or in a leadership position.</p>\n<ol>\n<li> Don’t be quite so hard on yourself – when you run a business – when you’re a lease – there will always be highs and lows – don’t dwell on the lows.</li>\n<li>Put more emphasis on building systems, routines, and check-ins that offer a better pulse on the collective and individual fulfillment, engagement, and health of the team, rather than relying on transparent upwards communication.</li>\n</ol>\n<p>Congrats to 10up on seven years in business. To learn more about the company and employment opportunities, visit their <a href=\"https://10up.com/\">official site</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 14 Feb 2018 19:16:42 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:11;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:37:\"HeroPress: My WordPress Anniversaries\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:56:\"https://heropress.com/?post_type=heropress-essays&p=2452\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:126:\"https://heropress.com/essays/my-wordpress-anniversaries/#utm_source=rss&utm_medium=rss&utm_campaign=my-wordpress-anniversaries\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:13243:\"<img width=\"960\" height=\"480\" src=\"https://heropress.com/wp-content/uploads/2018/02/021418-1024x512.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Pull Quote: I feel that I am responsible to be on stage for all the women who haven’t found the courage yet to share their stories.\" /><p>I never remember dates. I know the birthday of more or less five people. I insist on saying that my son was born on May 11. Incorrect, I was born on May 11, he on May 17. But for some reason, my WordPress dates are permanently etched into my brain. I think it’s because meeting the global WordPress community and helping restart the Italian community are very meaningful moments in my adult life. Please join me in a walk down memory lane <img src=\"https://s.w.org/images/core/emoji/2.4/72x72/1f642.png\" alt=\"?\" class=\"wp-smiley\" /></p>\n<h3>May 15, 2015</h3>\n<p>I started building websites with WordPress in 2010: my first website was my own blog, whose only purpose was to publish photos of my son so all the grandparents could enjoy seeing him grow. I enjoyed tinkering around with it, and to my surprise someone wrote asking me to build something similar for them. And they wanted to pay me for it!</p>\n<p>For a few years I worked as an administrative manager during the day and as a web designer at night until I decided to make the jump and become a freelancer.</p>\n<p>I never thought about contributing to WordPress because I wasn’t a back end developer and I didn’t think the project needed people that were not code wizards. Heck, I didn’t even know how WordPress was made or how open source worked exactly!</p>\n<blockquote><p>And then I went to a Freelancers conference in Italy and on May 15 I gave my first talk ever.</p></blockquote>\n<p>Up until that moment I taught small classes, but I never talked in front of more than ten people. I was terrified: in the audience there were more than a hundred people. Some of my friends, but also a lot of seasoned professionals that I respected and admired, and here I was talking about how they should and shouldn’t build a website. I was so nervous, when I grabbed the mic I did such a wide gesture with my arms that the bracelet I was wearing flew through the air to the other side of the room.</p>\n<p>After my talk a guy came to compliment my talk, and I realised that he was one of those people that I respected and admired from afar: <a href=\"https://twitter.com/lucasartoni\">Luca Sartoni</a>, an Automattician whose blog I have been following for a while.</p>\n<p>For the three days of the event we kept chatting about websites, WordPress, entrepreneurship, open source until he convinced me to start a WordPress meetup in my hometown of Torino, Italy. He put me in contact with other people that he knew wanted to do something similar and in less than a month from that conversation we started a meetup. The group now has more than one thousand members, and in March we will celebrate thirty events.</p>\n<h3>November 7, 2015</h3>\n<p>Luca didn’t stop his proselytism in Torino <img src=\"https://s.w.org/images/core/emoji/2.4/72x72/1f642.png\" alt=\"?\" class=\"wp-smiley\" /> That same year, WordCamp Europe was held in Seville and at the Polyglots table a revolution was started. A small group of Italians, used to travelling abroad to attend WordCamps, met there and decided that it was time to organise the Italian community.</p>\n<p>The first step was to revive the blog on the Italian WordPress website: it was dormant for seven years and the first thing we did was publish the dates of meetups that were slowly but surely appearing in the whole country. At the beginning of 2015 there were two meetups in Italy, by August there were eight and their number kept growing.</p>\n<p>Now, if you have met Italians, you know we talk a lot. The two Francescos from Apulia, <a href=\"https://twitter.com/franzvitulli\">Franz Vitulli</a> and <a href=\"https://twitter.com/fra83\">Francesco Di Candia</a>, took the second initiative that was crucial to bringing us together: they opened a Slack workspace for the Italians, modeled after the UK workspace. For the whole summer we chatted every single day: about WordPress, about how to grow and manage the community that was forming in front of our eyes, how to communicate, how to contribute.</p>\n<p>And then chatting wasn’t enough, we wanted to meet in person. We wanted to put a face and a voice to the avatars. With the help of <a href=\"https://twitter.com/rosso\">Sara Rosso</a> and <a href=\"https://twitter.com/miss_jwo\">Jenny Wong</a> we carried out a bizarre plan, almost unheard of: a <a href=\"https://wordpress.tv/2017/12/10/francesca-marano-standalone-contributor-days-help-make-wordpress-with-your-community/\">stand alone WordPress Contributor Day</a>. We would meet in Milano for a day to get to know each other and to learn how to Contribute to WordPress.</p>\n<blockquote><p>I like to think that November 7 2015 is the day we became a community: we were not an abstract idea anymore, we were people, meeting in person to make WordPress in Italy.</p></blockquote>\n<p> </p>\n<h3>April 10, 2016</h3>\n<p>The next few months went by in a blur of activities: the meetup organisers in Torino applied to host the first WordCamp in Italy in three years and I lead the organising team, I applied to attend the Community Summit in Philadelphia and I got accepted, I attended the first WordCamp US, my first WordCamp, and volunteered at it. I met a lot of people that helped me become more active and more focused: as a new contributor it’s easy to get overwhelmed by the abundance of amazing projects and tasks you can be part of, but it’s important to keep your focus to be more effective.</p>\n<blockquote><p>After meeting people from all over the world and sharing our experiences I realised the story of the Italian community could be inspiring for other communities and it was worth telling it to a wider audience, so I got completely out of my comfort zone and submitted a talk to WordCamp London.</p></blockquote>\n<p>On April 10th 2016 I gave <a href=\"https://wordpress.tv/2016/05/30/francesca-marano-rebirth-italian-community/\">my first talk at a WordCamp</a> and my first talk in English. I think I didn’t sleep for days before and after the event. It was nerve wracking, but I did it without throwing any bracelet in the air this time.</p>\n<a href=\"https://heropress.com/wp-content/uploads/2018/02/WCEU2016.jpg\"><img class=\"wp-image-2457 size-large\" src=\"https://heropress.com/wp-content/uploads/2018/02/WCEU2016-1024x684.jpg\" alt=\"\" width=\"960\" height=\"641\" /></a>I gave the same talk at WordCamp Europe in 2016 and realised the story was relatable to many communities. Photographer unknown, sorry <img src=\"https://s.w.org/images/core/emoji/2.4/72x72/1f641.png\" alt=\"?\" class=\"wp-smiley\" />\n<h3>September 17, 2017</h3>\n<p>Over the following year I kept contributing to WordPress, mostly in the Community team. I participated in the Polyglots activities for a while but then I had to pick and focus my attention. The more I interacted with people from all over the world as a hobby, the more I wanted that to become my job. Although my business as a web designer in Italy was doing good, I felt I wanted to be able to reach more people and find a way to be more involved with the community.<br />\nSo I started looking for a job. I was hesitant at first: all the insecurities I had about myself came back to haunt me. The voice in my head was telling me: you are too old, you don’t have enough technical expertise, you have been contributing for a very short time, English is not your native language, you are a single mom from Italy for crying out loud, who would want to employ you?</p>\n<blockquote><p>Well, it turns out that if you actually look for a job instead of just telling yourself that you really would like a job, chances are you might get one.</p></blockquote>\n<p>Last September I started a new chapter in my career as the <a href=\"https://www.siteground.com/blog/francesca-marano/\">WordPress Community Manager</a> at SiteGround and I couldn’t be happier.</p>\n<p>The past 33 months have completely changed my life, personally and professionally: along the way I learned a number of lessons that I know will stay with me forever.</p>\n<h3>Step Up</h3>\n<p>If you want to achieve something, start today. Just start. Start a meetup, leave a comment to encourage someone else, volunteer to take notes of a meeting, participate in the discussion, bring your own ideas to the table. Be a fire starter, for yourself and for the people around you.</p>\n<h3>Step Back</h3>\n<p>None of the above is about you: the community is bigger than you, you are here to build a path for the future. Once you started something, don’t become too attached, let it go and let other people step up and shine. Mentor them, if they ask and if you can.</p>\n<h3>If you want to go faster go alone, if you want to go further go together</h3>\n<p>I am not a huge fan of motivational quotes, but this one is very dear to my heart and it’s one I have to remind myself quite often. I am a perfectionist and a quick learner: this is ok when you start your own business (and it’s ok only at the beginning, but this is a topic for another article!), but when you are part of a team, you are part of something bigger. It might move slower, but its impact is immensely more powerful than anything you’ll be able to achieve on your own.</p>\n<h3>Representation matters</h3>\n<p>I dislike speaking in public. When I say this people tend to laugh it off because I am good on stage. It doesn’t mean that I like it. I am much more at ease when I am behind the scenes, making things happen.</p>\n<p><img class=\"aligncenter wp-image-2454 size-full\" src=\"https://heropress.com/wp-content/uploads/2018/02/slack-imgs.jpg\" alt=\"Four women seated on a low wall at a WordPress meetup.\" width=\"600\" height=\"400\" /></p>\n<blockquote><p>But representation matters: I feel that I am responsible to be on stage for all the women who haven’t found the courage yet to share their stories.</p></blockquote>\n<p>I am responsible for the young ones, so they can see that it’s possible to create a life when you can be both a good, albeit a bit absent mom, and a kick ass professional. I am responsible for the older ones, so they can see that we are represented, that this industry accepts us and recognizes our contributions. I am responsible to show my eleven year old son that women can do whatever they set out to do.</p>\n<h3>Make it better, give it back</h3>\n<p>I wish I came up with this, because it’s an incredibly powerful sentence. <a href=\"https://heropress.com/essays/make-better-give-back/\">John did</a> and I am grateful every day that I get to share my life with him and his wisdom.</p>\n<p>Contributing to open source can be very frustrating: things go slow, sometimes things don’t go at all (there are numerous tickets in the WordPress bug tracker that are five or more years old), sometimes you might disagree with that will be decided, sometimes you might work alongside people that you dislike.</p>\n<p>When this happens, remind yourself that you are working on a brilliant piece of software that is helping the lives and the businesses of millions of people.</p>\n<div class=\"rtsocial-container rtsocial-container-align-right rtsocial-horizontal\"><div class=\"rtsocial-twitter-horizontal\"><div class=\"rtsocial-twitter-horizontal-button\"><a title=\"Tweet: My WordPress Anniversaries\" class=\"rtsocial-twitter-button\" href=\"https://twitter.com/share?text=My%20WordPress%20Anniversaries&via=heropress&url=https%3A%2F%2Fheropress.com%2Fessays%2Fmy-wordpress-anniversaries%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-fb-horizontal fb-light\"><div class=\"rtsocial-fb-horizontal-button\"><a title=\"Like: My WordPress Anniversaries\" class=\"rtsocial-fb-button rtsocial-fb-like-light\" href=\"https://www.facebook.com/sharer.php?u=https%3A%2F%2Fheropress.com%2Fessays%2Fmy-wordpress-anniversaries%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-linkedin-horizontal\"><div class=\"rtsocial-linkedin-horizontal-button\"><a class=\"rtsocial-linkedin-button\" href=\"https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fheropress.com%2Fessays%2Fmy-wordpress-anniversaries%2F&title=My+WordPress+Anniversaries\" rel=\"nofollow\" target=\"_blank\" title=\"Share: My WordPress Anniversaries\"></a></div></div><div class=\"rtsocial-pinterest-horizontal\"><div class=\"rtsocial-pinterest-horizontal-button\"><a class=\"rtsocial-pinterest-button\" href=\"https://pinterest.com/pin/create/button/?url=https://heropress.com/essays/my-wordpress-anniversaries/&media=https://heropress.com/wp-content/uploads/2018/02/021418-150x150.jpg&description=My WordPress Anniversaries\" rel=\"nofollow\" target=\"_blank\" title=\"Pin: My WordPress Anniversaries\"></a></div></div><a rel=\"nofollow\" class=\"perma-link\" href=\"https://heropress.com/essays/my-wordpress-anniversaries/\" title=\"My WordPress Anniversaries\"></a></div><p>The post <a rel=\"nofollow\" href=\"https://heropress.com/essays/my-wordpress-anniversaries/\">My WordPress Anniversaries</a> appeared first on <a rel=\"nofollow\" href=\"https://heropress.com\">HeroPress</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 14 Feb 2018 07:00:49 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:16:\"Francesca Marano\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:12;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:68:\"WPTavern: Free Virtual WordPress for JavaScript Conference June 29th\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78116\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:79:\"https://wptavern.com/free-virtual-wordpress-for-javascript-conference-june-29th\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1714:\"<p>Zac Gordon, who <a href=\"https://wptavern.com/zac-gordon-launches-gutenberg-development-course-includes-more-than-30-videos\">launched his Gutenberg development course</a> earlier this year, is organizing a virtual conference called <a href=\"https://javascriptforwp.com/conference/\">JavaScript for WordPress.</a> The conference will take place June 29th and is free to watch.</p>\n<p>“Making the event free and online was really important for me so we could have as few barriers to entry for folks wanting to learn,” Gordon said. “I have a feeling a lot of folks who can’t tune live will still appreciate having all the talks available on YouTube for free.”</p>\n<p>So far, 15 speakers have been confirmed with more to be announced soon. The speakers include WordPress core developers, theme and plugin developers, agency owners, and educators. Some of the talks will be from designers allowing user experience and usability to be part of the conversation.</p>\n<p>Gordon says he’s been wanting to an in-person event for a while but considering the challenges involved, a virtual conference was the next best thing.</p>\n<p>“I used to run in-person workshops in the Washington DC area, which I miss, and have wanted to do an event for a while,” he said. “But doing in-person events is so difficult, so the online format seemed like the best option to go with. I got some good advice from Human Made and WP Campus, who both have experience doing online events, so hopefully everything will go smooth.”</p>\n<p>To reserve a seat and receive updates, visit the <a href=\"https://javascriptforwp.com/conference/\">JavaScript for WordPress conference site</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 13 Feb 2018 01:30:06 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:13;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:51:\"Mark Jaquith: Updating plugins using Git and WP-CLI\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"http://markjaquith.wordpress.com/?p=5552\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:83:\"https://markjaquith.wordpress.com/2018/02/12/updating-plugins-using-git-and-wp-cli/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:4046:\"<p>Now that you know <a href=\"https://markjaquith.wordpress.com/2018/01/30/simple-wordpress-deploys-using-git/\">how I deploy WordPress sites</a> and <a href=\"https://markjaquith.wordpress.com/2018/02/05/tips-for-configuring-wordpress-environments/\">how I configure WordPress environments</a>, what about the maintenance of keeping a WordPress site’s plugins up-to-date?</p>\n<p>Since I’m using Git, I cannot use WordPress built-in plugin updater on the live site (and I wouldn’t want to — if a plugin update goes wrong, my live site could be in trouble!)</p>\n<p>The simple way to update all your plugins from a staging or local development site is to use WP-CLI:</p>\n<pre class=\"brush: bash; title: ; notranslate\">wp plugin update-all\ngit commit -am \'update all plugins\' wp-content/plugins</pre>\n<p>That works. I used to do that.</p>\n<p>I don’t do that anymore.</p>\n<p>Why? <strong>Granularity</strong>.</p>\n<p>One of the benefits of using version control like Git is that when things go wrong, you can pinpoint when they went wrong, and identify what code caused the issue.</p>\n<p>Git has a great tool called <strong>bisect</strong> that takes a known good state in the past and a current broken state, and then jumps around between revisions, efficiently, asking you to report whether that revision is <strong>good</strong> or <strong>bad</strong>. Then it tells you what revision broke your site.</p>\n<p>If you lump all your plugin updates into one commit, you won’t get that granularity. You’ll likely get the <strong>git bisect</strong> result of “great… one of EIGHTEEN PLUGINS I updated was the issue”. That doesn’t help.</p>\n<p>Here’s how you do it with granularity:</p>\n<pre class=\"brush: bash; title: ; notranslate\">for plugin in $(wp plugin list --update=available --field=name);\ndo\n echo \"wp plugin update $plugin\" &&\n echo \"git add -A wp-content/plugins/$plugin\" &&\n echo \"git commit -m \'update $plugin plugin\'\";\ndone;</pre>\n<p>This code loops through plugins with updates available, updates each one, and commits it with a message that references the plugin being updated. Great! Now <strong>git bisect</strong> will be able to tell you <strong>which</strong> plugin update broke your site.</p>\n<p>And what if you can only run WP-CLI commands from within a VM, and Git commands from your local machine? For instance, if you’re using my favorite tool, <a href=\"https://local.getflywheel.com/\">Local by Flywheel</a>, you have to SSH into the site’s container to issue WP-CLI commands, but from within that container, you might not have Git configured like it is on your host machine.</p>\n<p>So what you can do is break the process into two steps.</p>\n<p>On the VM, run this:</p>\n<pre class=\"brush: bash; title: ; notranslate\">wp plugin list --update=available --field=name > plugins.txt\nwp plugin update-all</pre>\n<p>That grabs a list of plugins with updates and writes them to a file <strong>plugins.txt</strong>, and then updates all the plugins.</p>\n<p>And then on your local machine, run this:</p>\n<pre class=\"brush: bash; title: ; notranslate\">while read plugin;\ndo\n echo \"git add -A wp-content/plugins/$plugin\" &&\n echo \"git commit -m \'update $plugin plugin\'\";\ndone; < plugins.txt</pre>\n<p>That slurps in that list of updated plugins and does a distinct <strong>git add</strong> and <strong>git commit</strong> for each.</p>\n<p>When that’s done, remove <b>plugins.txt</b>.</p>\n<p>All your plugins are quickly updated with WP-CLI, but you get nice granular Git commits and messages.</p>\n<hr />\n<p><b>Do you need <a href=\"https://coveredwebservices.com/\">WordPress services?</a></b></p>\n<p>Mark runs <a href=\"https://coveredwebservices.com/\">Covered Web Services</a> which specializes in custom WordPress solutions with focuses on security, speed optimization, plugin development and customization, and complex migrations.</p>\n<p>Please reach out to start a conversation!</p>\n[contact-form]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 12 Feb 2018 14:42:20 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:12:\"Mark Jaquith\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:14;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:79:\"Post Status: WordPress market opportunities: Upmarket edition — Draft podcast\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"https://poststatus.com/?p=42360\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:85:\"https://poststatus.com/wordpress-market-opportunities-upmarket-edition-draft-podcast/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2284:\"<p>Welcome to the Post Status <a href=\"https://poststatus.com/category/draft\">Draft podcast</a>, which you can find <a href=\"https://itunes.apple.com/us/podcast/post-status-draft-wordpress/id976403008\">on iTunes</a>, <a href=\"https://play.google.com/music/m/Ih5egfxskgcec4qadr3f4zfpzzm?t=Post_Status__Draft_WordPress_Podcast\">Google Play</a>, <a href=\"http://www.stitcher.com/podcast/krogsgard/post-status-draft-wordpress-podcast\">Stitcher</a>, and <a href=\"http://simplecast.fm/podcasts/1061/rss\">via RSS</a> for your favorite podcatcher. Post Status Draft is hosted by Brian Krogsgard and co-host Brian Richards.</p>\n<p>In this episode, Brian and Brian continue their discussion on WordPress market opportunities with a focus on the upper-market and enterprise clients. They take a look at discovery projects, pitching WordPress against competing platforms, and considerations to make before pitching on these high-budget projects. There are plenty of positives and negatives when working on long-term projects that may have a dramatic impact on your company in many ways.</p>\n<p>In addition to these market opportunities, the boys also discuss recent news including iThemes acquisition by Liquid Web, a welcome change to the WordPress.org plugin directory, and an unfortunate and far-reaching bug that shipped with the 4.9.3 release last week.</p>\n<p></p>\n<h3>Links</h3>\n<ul>\n<li><a href=\"https://poststatus.com/liquid-web-acquired-ithemes/\">Liquid Web acquires iThemes</a></li>\n<li><a href=\"https://generatewp.com/new-policy-changes-wordpress-plugin-directory/\">Plugin directory notice changes</a></li>\n<li><a href=\"https://make.wordpress.org/core/2018/02/06/wordpress-4-9-4-release-the-technical-details/\">4.9.4 technical details</a></li>\n<li><a href=\"https://wpsessions.com/sessions/infusing-websites-brand-voice/\">Infusing Websites with Brand Voice</a><a href=\"https://wpsessions.com/teams\">WPS Team Training</a></li>\n</ul>\n<h3>Sponsor: WooCommerce</h3>\n<p><a href=\"https://woocommerce.com/\">WooCommerce</a> makes the most customizable eCommerce software on the planet, and it’s the most popular too. You can build just about anything with WooCommerce. <a href=\"https://woocommerce.com/\">Try it today</a>, and thanks to the team at WooCommerce being a Post Status partner</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 09 Feb 2018 20:43:53 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:14:\"Katie Richards\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:15;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:57:\"WPTavern: Jetpack 5.8 Adds Lazy Loading for Images Module\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78112\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:68:\"https://wptavern.com/jetpack-5-8-adds-lazy-loading-for-images-module\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2079:\"<p>Jetpack 5.8 <a href=\"https://jetpack.com/2018/02/06/jetpack-5-8-release/\">is available</a> for download and includes a handful of new features for Professional, Premium, and Personal plan users. In <a href=\"https://wptavern.com/jetpack-5-4-introduces-beta-version-of-new-search-module-powered-by-elasticsearch-for-professional-plan-users\">October of last year</a>, Jetpack 5.4 began beta testing a new <a href=\"https://jetpack.com/support/search/\">search module</a> based on <a href=\"https://www.elastic.co/\">Elasticsearch</a>. Jetpack 5.8 concludes the beta and the new search service is available to Professional plan customers.</p>\n<p>The new search module replaces the native search functionality in WordPress and Jetpack developers claim sites with a large amount of content, images, or products will see significant speed improvements and more relevant results. Developers can fine-tune the user experience by using custom queries and template tags. Users can sort results by categories, tags, month/year, post type, or any taxonomy.</p>\n<p>In addition to the Content Delivery Network, users have another method to optimize their sites with a new module named Lazy Load Images. When activated, Jetpack will display a page’s textual content first. When a user scrolls down the page, Jetpack will request and download images so they appear when that section of the page comes into view. Sites with a large amount of images will benefit most from having this module activated.</p>\n<p>Premium plan customers can now perform security scans on their sites at any time, upload an unlimited amount of videos, and access SEO tools that were once restricted to Business plan customers.</p>\n<p>Other notable improvements include:</p>\n<ul>\n<li>Support for timezone and site language settings</li>\n<li>Improved display of notices</li>\n<li>The GettyImages shortcode now uses the new format required by GettyImages</li>\n</ul>\n<p>To view all of the additions in this release, check out the <a href=\"https://wordpress.org/plugins/jetpack/#developers\">Jetpack 5.8 changelog</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 09 Feb 2018 07:54:14 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:16;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Matt: The Laity\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"https://ma.tt/?p=47918\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:32:\"https://ma.tt/2018/02/the-laity/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:310:\"<blockquote class=\"wp-block-quote\">\n <p>In the last analysis, every profession is a conspiracy against the laity.</p><cite>The Sir Patrick Cullen character in George Bernard Shaw’s play <a href=\"https://en.m.wikipedia.org/wiki/The_Doctor%27s_Dilemma_(play)\">The Doctor’s Dilemma</a></cite></blockquote>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 08 Feb 2018 21:48:55 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"Matt\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:17;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:86:\"WPTavern: WPWeekly Episode 304 – DesktopServer, Life, and Health with Marc Benzakein\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wptavern.com?p=78105&preview=true&preview_id=78105\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:91:\"https://wptavern.com/wpweekly-episode-304-desktopserver-life-and-health-with-marc-benzakein\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1931:\"<p>In this episode, <a href=\"http://jjj.me\">John James Jacoby</a> and I are joined by <a href=\"https://twitter.com/MarcBenzak\">Marc Benzakein</a>, Operations Manager for ServerPress, LLC. We discussed recent updates to DesktopServer and received a progress report on 4.0. Marc also shared some of the struggles the team encountered throughout 2017.</p>\n<p>We learned what’s new with <a href=\"https://wpsitesync.com/\">WP SiteSync</a> and what customers can look forward too later this year. We also talked about <a href=\"https://wordpress.tv/2017/12/08/marc-benzakein-fat-happy-and-fifty/\">Marc’s journey</a> of becoming a healthier person both physically and mentally. He recalls the issues he had to overcome and shares advice on how others can improve their health.</p>\n<h2>Stories Discussed:</h2>\n<p><a href=\"https://wptavern.com/woocommerce-3-3-1-released-addresses-template-conflicts\">WooCommerce 3.3.1 Released, Addresses Template Conflicts</a><br />\n<a href=\"https://wptavern.com/wordpress-4-9-4-fixes-critical-auto-update-bug-in-4-9-3\">WordPress 4.9.4 Fixes Critical Auto Update Bug in 4.9.3</a><br />\n<a href=\"https://thehackernews.com/2018/02/wordpress-dos-exploit.html\">Unpatched DoS Flaw Could Help Anyone Take Down WordPress Websites</a></p>\n<h2>WPWeekly Meta:</h2>\n<p><strong>Next Episode:</strong> Wednesday, February 14th 3:00 P.M. Eastern</p>\n<p>Subscribe to <a href=\"https://itunes.apple.com/us/podcast/wordpress-weekly/id694849738\">WordPress Weekly via Itunes</a></p>\n<p>Subscribe to <a href=\"https://www.wptavern.com/feed/podcast\">WordPress Weekly via RSS</a></p>\n<p>Subscribe to <a href=\"http://www.stitcher.com/podcast/wordpress-weekly-podcast?refid=stpr\">WordPress Weekly via Stitcher Radio</a></p>\n<p>Subscribe to <a href=\"https://play.google.com/music/listen?u=0#/ps/Ir3keivkvwwh24xy7qiymurwpbe\">WordPress Weekly via Google Play</a></p>\n<p><strong>Listen To Episode #304:</strong><br />\n</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 08 Feb 2018 01:48:04 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:18;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:55:\"HeroPress: Becoming a Better Designer Through WordPress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:56:\"https://heropress.com/?post_type=heropress-essays&p=2441\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:142:\"https://heropress.com/essays/becoming-better-designer-wordpress/#utm_source=rss&utm_medium=rss&utm_campaign=becoming-better-designer-wordpress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:19189:\"<img width=\"960\" height=\"480\" src=\"https://heropress.com/wp-content/uploads/2018/02/020718-1024x512.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Pull Quote: The connections I\'ve made, the skills I\'ve honed, and the mentorship I\'ve received have all contributed to making me the designer I am today.\" /><h3>The early years</h3>\n<p>I’ve always been an art kid. One of my first school memories is of drawing a clown and my art teacher being so enamored with it, she hung it up on her door for the whole year.</p>\n<p>The first time in my educational life I didn’t take an art class was my first year of college. By the end of the year, my fingers were itching and I was ready to scream — I had to take art. It didn’t take long for me to declare a Studio Art minor, which eventually became an Arts and Technology minor my senior year.</p>\n<p>I’ve also always been an internet kid. We received our first internet-connected Windows desktop in 1997. I’ll never forget the sound of dial-up as I signed into AOL, day after day for years to come. When my older brother started working for an ISP, we were able to go beyond just using AOL to connect, and I started spending more time exploring websites (rather than just AOL’s apps and chat rooms). I wanted to be like my older brother and learn how to make sites. I taught myself basic HTML by using View Source on existing sites — even back then, I was benefiting from the open web!</p>\n<p>Angelfire was my earliest web canvas. A couple of my friends eventually got into making websites, but I was always a little disdainful of them for using Homestead’s GUI builder, while I was making my sites from scratch. I had a blast making image-rich personal and fan sites with tables and HTML styles. Landing a copy of Photoshop Elements in high school only intensified my enjoyment of web design. I kept that passion up through college, when I found my first design gig.</p>\n<p><a href=\"https://heropress.com/wp-content/uploads/2018/02/old_web_site.jpg\"><img class=\"size-large wp-image-2442 aligncenter\" src=\"https://heropress.com/wp-content/uploads/2018/02/old_web_site-1024x479.jpg\" alt=\"Old Website, best viewed on AOL\" width=\"960\" height=\"449\" /></a></p>\n<h3>Could this be a career?</h3>\n<p>My first year of college got off to a bit of a rough financial start. By the time my financial aid was finalized and I was finally able to pick a work study job, my options were pretty limited. A dance professor needed an assistant to help her with some photocopying and organization tasks, along with helping her build out a print and web portfolio.</p>\n<p>I was honestly a terrible assistant, but I did a pretty good job with the design work. I continued to refine my skills working in the computers labs in subsequent years, and in my Junior year of college (ten years ago!) I landed an internship at a local web design agency. That internship turned into a part-time job, which opened up doors to more local web design opportunities, and soon I was graduating college and pretty well situated into the start of my career.</p>\n<p><a href=\"https://heropress.com/wp-content/uploads/2018/02/early-site.jpg\"><img class=\"aligncenter size-large wp-image-2443\" src=\"https://heropress.com/wp-content/uploads/2018/02/early-site-1024x666.jpg\" alt=\"Skeumorphic website design that looks like a notepad with pen ink all over it.\" width=\"960\" height=\"624\" /></a></p>\n<p>It was at these agencies that I started learning how to build WordPress websites. I’d used WordPress a couple times in college and felt comfortable with it, but now I was focusing a lot more on building my skills as a designer and front-end developer. My girlfriend (who was working at the same web agency) and I managed to convince our boss to start letting us create totally custom websites, rather than customizing existing themes, and that opened up a whole new world of design opportunities.</p>\n<h3>My first WordCamp</h3>\n<p>It was around then that my girlfriend, who attended WordCamp NYC the previous year, noticed the conference organizers were <a href=\"https://2010.nyc.wordcamp.org/volunteer-designer-needed/\">looking for some volunteer designers</a> to help create some graphics. She passed along the information, and I got in touch.</p>\n<p>I collaborated with a few other designers to create the WordCamp branding, which was used across the website, t-shirt, signage, and stickers:</p>\n<p><a href=\"https://heropress.com/wp-content/uploads/2018/02/wcnyc.png\"><img class=\"aligncenter size-full wp-image-2444\" src=\"https://heropress.com/wp-content/uploads/2018/02/wcnyc.png\" alt=\"WCNYC Banner\" width=\"429\" height=\"286\" /></a></p>\n<p>It was amazing to see it everywhere at the WordCamp. It felt really special. Though I didn’t get “props” for this, I still consider it my first contribution to WordPress.</p>\n<p>WordCamp NYC was a ton of fun. I met interesting people, learned a lot about WordPress, and started to get a feel for the community. I left with a desire to get more involved. I browsed through WordPress.org, stumbling upon the “Make” section. I was stoked to see that there was a design group. I couldn’t write much code beyond CSS, but I could contribute my design skills. I joined a couple of the core channels on IRC, including the design channel (#wordpress-ui), and observed for while. I watched how the other designers in the project communicated, what they worked on, where they presented their work, etc. By observing before participating, I could learn the social queues and mores of the community. I didn’t want to embarass myself — I wanted to do things the established way based on community standards.</p>\n<p>What I found to be one of the most difficult parts of contributing was adapting to the technology used to build WordPress. I had to learn how to use command line and SVN. Getting set up in SVN and terminal was probably the biggest thing that stopped me from contributing code during my early years.</p>\n<p>But most of all, it came down to conquering fear. Fear that my design skills would be unwanted and unwelcome; fear that other contributors would look down on me or ignore me, or that they’d find me irritating; fear that I just wasn’t good enough to contribute. Some of this fear persists today, albeit greatly reduced.</p>\n<p>There’s a point at which I managed to conquer a little bit of that fear, stop observing, and really start to pitch in. Slowly, I started chiming in and volunteering for design tasks in IRC and the Make Design p2. I ended up doing a lot of small projects on the community side (rather than the core side) at first — some new landing pages and redesigns of sections on WordPress.org, graphics, and design for my own local meetups. I started feeling more and more confident with my contributions.</p>\n<h3>Core Props</h3>\n<p>By this point, I had done some wireframes and mockups for the core WordPress software — I’d even spoken at a WordCamp! — but I hadn’t actually gotten any code committed. Which meant, at this point in time, I didn’t have any “core props.” I was still really intimidated by Trac and SVN. I was a designer, and most design conversations happened in explicitly design space. But I really wanted to get some code committed into core, so I needed to find a CSS bug I felt qualified to fix.</p>\n<p>At WordCamp Philly in 2012, I finally got a chance. Sunday was devoted to contributing to WordPress. There were experienced core contributors present who could teach people how to make a patch, how to submit a ticket, and suggest tickets for people to work on.</p>\n<p>Aaron Jorbin, a core contributor and fellow speaker (and, now a friend), found a CSS issue I could work on: bringing the alternate “blue” color scheme into sync with the default “grey” scheme. He helped me get set up, helped me through saving my changes as a patch, and then helped me submit that patch to Trac. Andy Nacin, another core contributor (and future friend!) subsequently committed that patch, and I received my first core props.</p>\n<p><a href=\"https://heropress.com/wp-content/uploads/2018/02/first-props2.png\"><img class=\"aligncenter size-large wp-image-2445\" src=\"https://heropress.com/wp-content/uploads/2018/02/first-props2-1024x370.png\" alt=\"Screenshot of ticket giving Mel props\" width=\"960\" height=\"347\" /></a></p>\n<p>After creating my first patch, contributing became easier and easier. My confidence grew, and I spent more time participating in IRC, p2s, and Trac discussions. Then, in January of 2013, major design changes started coming to WordPress.</p>\n<h3>My WordPress apprenticeship</h3>\n<p>It started with icons.</p>\n<p>Ben Dunkle, WordPress’s official icon designer, proposed some shiny new icons for the WordPress dashboard. They were “flat” — one color, not a ton of details. The icons were awesome, but they didn’t really fit stylistically with the rest of the admin. The flat styles clashed with WordPress’ heavy use of gradients.</p>\n<p>So, I helped imagine what the admin could look like totally flat. We tried out a couple ideas, got them committed, and refined in code. The stark styles looked really fresh after years of gradients!</p>\n<p>Unfortunately, flattening the admin unearthed a whole lot of other issues. There wasn’t enough time to flesh out the new design before the next version of WordPress launched, so the flat styles got reverted and tabled for another time.</p>\n<p>Pretty soon after, I received an email via my site’s contact form:</p>\n<p><em><strong>Name</strong>: Matt</em><br />\n<em><strong> Comment</strong>: Add me on Skype when you get a chance.</em></p>\n<p>I think my heart stopped when I realized I had been emailed by the co-founder of WordPress, Matt Mullenweg. Matt invited me to come join a group that would take a broader look at redesigning the admin (codenamed “MP6”). It meant a lot for someone as important as Matt to recognize my skills. I spent a lot of my early years as a designer plagued with self-doubt, and suddenly I had someone pointing at me, going “I believe in you!”</p>\n<p>I leapt at the chance.</p>\n<p>Our group worked together on Skype. We quickly scoped the goal of MP6 to only update CSS and a little bit of JS. I helped Ben make some new vector icons, gave feedback and critiqued design proposals, and made some design proposals of my own. It was an intimate group where we all felt free to safely share and critique each other’s work. The mentorship I received from more experienced WordPress designers was invaluable to my growth. Working with these veterans of WordPress really helped me to grow into my fledgling wings.</p>\n<p><a href=\"https://make.wordpress.org/core/2013/10/23/mp6-3-8-proposal/\">WordPress 3.8 shipped with the updated admin interface</a>, and I knew it was time to take my design career to a new level.</p>\n<p><a href=\"https://heropress.com/wp-content/uploads/2018/02/4-8-credits-smaller.jpg\"><img class=\"aligncenter size-large wp-image-2446\" src=\"https://heropress.com/wp-content/uploads/2018/02/4-8-credits-smaller-1024x895.jpg\" alt=\"WordPress 4.8 Credits\" width=\"960\" height=\"839\" /></a></p>\n<h3>Leaving the nest</h3>\n<p>I’d had my eye on Automattic, the makers of WordPress.com, the Jetpack plugin, and many other products, for most of my time contributing to WordPress. A couple of the designers I worked with on MP6 were Automattic designers, and it was an absolute joy to collaborate with them. At this point I’d spent so much of my career as either a lone designer, or in a competitive environment, that having a supportive, collaborative group of people helping me improve my work was a revelation.</p>\n<p>I desperately wanted to work at Automattic.</p>\n<p>While MP6 was in the works, I participated in a three month long design apprenticeship at a local agency. I worked alongside experienced mentors and fellow apprentices to hone my interface and user experience design skills. It was challenging and thrilling and totally complemented the mentorship I was receiving from WordPress folks. Plus, working in a positive environment reinforced my desire to work somewhere similar.</p>\n<p>After the apprenticeship, I finally felt like I had the skills and confidence to apply. I spent a lot of time writing my cover letter, and redesigning my portfolio to use in-depth case studies on a small number of recent projects. I finally sent off my application and crossed my fingers.</p>\n<p>A couple weeks later, I received a reply back asking to schedule an interview. I was terrified, but luckily, Automattic conducts interviews via text, so I was able to hide my fear behind my keyboard and hopefully try to project confidence. (Aside: I also show all my emotions on my face, so online communication is the best.)</p>\n<p>It must have worked, because I was moved on to the next phase of the application, doing a self-contained trial project, which was a whole ton of fun. I was able to put my recently refined research, interviewing, and user testing skills to use. I loved being given a real challenge to tackle. My trial went well, so I was moved along to the final interview with Matt Mullenweg. We spent a couple hours chatting on Skype, and at the end of our conversation I was given an offer. Welcome to Automattic!</p>\n<p>After working so hard on my apprenticeship, and on MP6, joining Automattic felt incredibly validating. The work I put in, the mentorship I received, all of the collaboration, led to this moment. I felt like I had graduated from apprentice and was now embarking on my adventure as a design journeyman. And boy, has it been an adventure!</p>\n<h3><a href=\"https://heropress.com/wp-content/uploads/2018/02/automattic-2-smaller.jpg\"><img class=\"aligncenter size-large wp-image-2447\" src=\"https://heropress.com/wp-content/uploads/2018/02/automattic-2-smaller-1024x678.jpg\" alt=\"Automattic Group Photo\" width=\"960\" height=\"636\" /></a></h3>\n<h3>Design leadership</h3>\n<p>The past four and a half years at Automattic have been fantastic. I have the best coworkers anyone can ask for. I’ve worked with some incredibly talented and empathetic designers, whose guidance and feedback constantly encourage me to improve my skills.</p>\n<p>I’ve continued to contribute to WordPress, slowly gaining more responsibility in the project the longer I stuck around. That’s the secret to becoming an open source leader, I discovered — <strong>decisions are made by the people who show up</strong>.</p>\n<p>In 2016, I was asked to by the Release Design Lead for <a href=\"https://wordpress.org/news/2016/04/coleman/\">WordPress 4.5 “Coleman.”</a> I worked alongside the other release leads to make design-related decisions that impacted the release. This was the first release we experimented with having a Design Lead. I felt like design finally had a seat at the table.</p>\n<p>This continued to be the case last year, when Matt Mullenweg announced core focuses for the year: Editing, Customization, and the API. Both Editing and Customization had designers co-leading their focus. I was named the Customization co-lead. I’d been working on customization and site building on WordPress.com for over a year, so I had relevant experience.</p>\n<p>I worked with my developer co-lead, Weston Ruter, on low-hanging fruit, most of which we released in WordPress 4.8. The release was smaller, focused more on improvements than new features. We made a lot of updates to widgets, which had been long neglected.</p>\n<p>After that, we turned our sights to some more ambitious projects: drafting and scheduling changes in the Customizer, improvements to code editing in the WordPress admin, even more widget updates, and upgrades around the flow of changing themes and building menus for your site. We took a design-first approach to building out these new features, and I think it really shows in the work that we produced during the 4.9 release cycle, which Weston and I co-led.</p>\n<p><a href=\"https://wordpress.org/news/2017/11/tipton/\">WordPress 4.9 “Tipton”</a> launched in November. Since then, I’ve pivoted to work on <a href=\"https://wordpress.org/gutenberg/\">Gutenberg</a>, the new editing experience for WordPress which should be released in 5.0. Once the editing experience wraps up, we’re going to start looking at how we can extend Gutenberg to cover site building and customization. It’s a big, audacious goal that I hope to pursue with caution, humility, and a spirit of adventure.</p>\n<p>I owe WordPress a great deal. The connections I’ve made, the skills I’ve honed, and the mentorship I’ve received have all contributed to making me the designer I am today. I hope to give back for years to come!</p>\n<p><a href=\"https://heropress.com/wp-content/uploads/2018/02/community-summit-smaller.jpg\"><img class=\"aligncenter size-full wp-image-2448\" src=\"https://heropress.com/wp-content/uploads/2018/02/community-summit-smaller.jpg\" alt=\"Community Summit Group Photo\" width=\"960\" height=\"556\" /></a></p>\n<div class=\"rtsocial-container rtsocial-container-align-right rtsocial-horizontal\"><div class=\"rtsocial-twitter-horizontal\"><div class=\"rtsocial-twitter-horizontal-button\"><a title=\"Tweet: Becoming a Better Designer Through WordPress\" class=\"rtsocial-twitter-button\" href=\"https://twitter.com/share?text=Becoming%20a%20Better%20Designer%20Through%20WordPress&via=heropress&url=https%3A%2F%2Fheropress.com%2Fessays%2Fbecoming-better-designer-wordpress%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-fb-horizontal fb-light\"><div class=\"rtsocial-fb-horizontal-button\"><a title=\"Like: Becoming a Better Designer Through WordPress\" class=\"rtsocial-fb-button rtsocial-fb-like-light\" href=\"https://www.facebook.com/sharer.php?u=https%3A%2F%2Fheropress.com%2Fessays%2Fbecoming-better-designer-wordpress%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-linkedin-horizontal\"><div class=\"rtsocial-linkedin-horizontal-button\"><a class=\"rtsocial-linkedin-button\" href=\"https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fheropress.com%2Fessays%2Fbecoming-better-designer-wordpress%2F&title=Becoming+a+Better+Designer+Through+WordPress\" rel=\"nofollow\" target=\"_blank\" title=\"Share: Becoming a Better Designer Through WordPress\"></a></div></div><div class=\"rtsocial-pinterest-horizontal\"><div class=\"rtsocial-pinterest-horizontal-button\"><a class=\"rtsocial-pinterest-button\" href=\"https://pinterest.com/pin/create/button/?url=https://heropress.com/essays/becoming-better-designer-wordpress/&media=https://heropress.com/wp-content/uploads/2018/02/020718-150x150.jpg&description=Becoming a Better Designer Through WordPress\" rel=\"nofollow\" target=\"_blank\" title=\"Pin: Becoming a Better Designer Through WordPress\"></a></div></div><a rel=\"nofollow\" class=\"perma-link\" href=\"https://heropress.com/essays/becoming-better-designer-wordpress/\" title=\"Becoming a Better Designer Through WordPress\"></a></div><p>The post <a rel=\"nofollow\" href=\"https://heropress.com/essays/becoming-better-designer-wordpress/\">Becoming a Better Designer Through WordPress</a> appeared first on <a rel=\"nofollow\" href=\"https://heropress.com\">HeroPress</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 07 Feb 2018 12:00:30 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:10:\"Mel Choyce\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:19;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:66:\"WPTavern: WooCommerce 3.3.1 Released, Addresses Template Conflicts\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78089\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:76:\"https://wptavern.com/woocommerce-3-3-1-released-addresses-template-conflicts\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1330:\"<p>WooCommerce 3.3.1 <a href=\"https://woocommerce.wordpress.com/2018/02/06/woocommerce-3-3-1-fix-release-notes/\">is available</a> and fixes template conflicts discovered in a handful of WordPress themes that forced the team to <a href=\"https://wptavern.com/woocommerce-3-3-removed-from-plugin-directory-due-to-theme-conflicts\">revert WooCommerce 3.3</a>. The team reviewed handful of the most common themes running WooCommerce and tested them for compatibility with 3.3.1.</p>\n<p><a href=\"https://github.com/woocommerce/woocommerce/wiki/Template-File-Guidelines-for-Devs-and-Theme-Authors#hook-vs-override---when-to-use-what\">WooCommerce developers recommend</a> that theme authors use hooks instead of template overrides to ensure maximum compatibility.</p>\n<p>According to Mike Jolley, WooCommerce lead developer, this release highlighted issues with the template system’s extensibility and a disconnect between theme authors on external marketplaces. “We hope to find solutions to these problems in the near future,” Jolley said.</p>\n<p>WooCommerce 3.3.1 has at least <a href=\"https://github.com/woocommerce/woocommerce/compare/3.3.0...3.3.1\">90 commits</a>. Users are encouraged to create a full-backup of their sites and then browse to Dashboard > Updates to update WooCommerce from within WordPress.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 07 Feb 2018 09:46:24 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:20;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:65:\"WPTavern: WordPress 4.9.4 Fixes Critical Auto Update Bug in 4.9.3\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78087\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:76:\"https://wptavern.com/wordpress-4-9-4-fixes-critical-auto-update-bug-in-4-9-3\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1984:\"<p>Hours after <a href=\"https://wptavern.com/wordpress-4-9-3-released-fixes-34-bugs\">WordPress 4.9.3 was released</a>, the WordPress development team followed it up <a href=\"https://make.wordpress.org/core/2018/02/06/wordpress-4-9-4-release-the-technical-details/\">with 4.9.4</a> to fix a critical bug with the auto update process. The bug generates a fatal PHP error when WordPress attempts to update itself.</p>\n<p>This error requires WordPress site owners and administrators to manually update to WordPress 4.9.4 by visiting your Dashboard and clicking the Update Now button on the Updates page. Alternatively, you can update by uploading the files via SFTP or by using WP-CLI.</p>\n<p>Dion Hulse, WordPress lead developer, says managed hosts that apply updates automatically for their customers will be able to update sites as they normally do. This may explain why some users have reported that sites running 4.9.3 have automatically updated to 4.9.4 without issue.</p>\n<p>The bug stems from an attempt to <a href=\"https://core.trac.wordpress.org/ticket/43103\">reduce the number of API calls</a> made when the auto update cron job is run. Unfortunately, the code committed had unintended consequences. “It triggers a fatal error as not all of the dependencies of <code>find_core_auto_update()</code> are met,” Hulse said.</p>\n<p>A postmortem will be published once the team determines how to prevent this mistake from happening in the future. “We don’t like bugs in WordPress any more than you do, and we’ll be taking steps to both increase automated coverage of our updates and improve tools to aid in the detection of similar bugs before they become an issue in the future,” Hulse said.</p>\n<p>While WordPress 4.9.3 and 4.9.4 do not include any security fixes, it’s important to note that in order to receive automatic security updates in the future, sites using the 4.9 branch must be running at least 4.9.4. Older branches are unaffected.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 07 Feb 2018 09:19:38 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:21;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:45:\"Dev Blog: WordPress 4.9.4 Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5559\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"https://wordpress.org/news/2018/02/wordpress-4-9-4-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1814:\"<p>WordPress 4.9.4 is now available.</p>\n<p>This maintenance release fixes a severe bug in 4.9.3, which will cause sites that support automatic background updates to fail to update automatically, and will require action from you (or your host) for it to be updated to 4.9.4.</p>\n<p>Four years ago with <a href=\"https://wordpress.org/news/2013/10/basie/\">WordPress 3.7 “Basie”</a>, we added the ability for WordPress to self-update, keeping your website secure and bug-free, even when you weren’t available to do it yourself. For four years it’s helped keep millions of installs updated with very few issues over that time. Unfortunately <a href=\"https://wordpress.org/news/2018/02/wordpress-4-9-3-maintenance-release/\">yesterdays 4.9.3 release</a> contained a severe bug which was only discovered after release. The bug will cause WordPress to encounter an error when it attempts to update itself to WordPress 4.9.4, and will require an update to be performed through the WordPress dashboard or hosts update tools.</p>\n<p>WordPress managed hosting companies who install updates automatically for their customers can install the update as normal, and we’ll be working with other hosts to ensure that as many customers of theirs who can be automatically updated to WordPress 4.9.4 can be.</p>\n<p>For more technical details of the issue, we’ve <a href=\"https://make.wordpress.org/core/2018/02/06/wordpress-4-9-4-release-the-technical-details/\">posted on our Core Development blog</a>. For a full list of changes, consult the <a href=\"https://core.trac.wordpress.org/query?status=closed&milestone=4.9.4&group=component\">list of tickets</a>.</p>\n<p><a href=\"https://wordpress.org/download/\">Download WordPress 4.9.4</a> or visit Dashboard → Updates and click “Update Now.”</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 06 Feb 2018 16:17:55 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:10:\"Dion Hulse\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:22;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:49:\"WPTavern: WordPress 4.9.3 Released, Fixes 34 Bugs\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78081\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:59:\"https://wptavern.com/wordpress-4-9-3-released-fixes-34-bugs\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:681:\"<p>WordPress 4.9.3 <a href=\"https://wordpress.org/news/2018/02/wordpress-4-9-3-maintenance-release/\">is available</a> and fixes 34 bugs. Customizer changesets, the visual editor, widgets, and compatibility for PHP 7.2 highlight this release. You can view all of the changes via the <a href=\"https://core.trac.wordpress.org/log/branches/4.9?rev=42630&stop_rev=42521\">changelog</a> or <a href=\"https://core.trac.wordpress.org/query?status=closed&milestone=4.9.3&group=component\">trac tickets</a>. Most sites will update automatically. However, if you want to trigger the update ahead of time or manually update, visit your Dashboard, click the Updates link, and click Update Now.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 06 Feb 2018 08:35:20 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:23;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:66:\"WPTavern: Liquid Web Acquires iThemes in Multi-Million Dollar Deal\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77907\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:77:\"https://wptavern.com/liquid-web-acquires-ithemes-in-multi-million-dollar-deal\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:4149:\"<p>Liquid Web, a managed hosting service founded in 1997, <a href=\"https://www.liquidweb.com/blog/liquid-web-acquires-ithemes/\">has acquired</a> <a href=\"https://ithemes.com/\">iThemes</a>. iThemes recently <a href=\"https://ithemes.com/10-years-in-wordpress/\">celebrated its 10th year</a> in business. <a href=\"https://poststatus.com/liquid-web-acquired-ithemes/\">PostStatus reports</a> that it was an all cash deal and sources confirmed to the Tavern that it was a multi-million dollar acquisition.</p>\n<p>iThemes will continue to operate as an independent unit within Liquid Web. Cory Miller will remain as General Manager of iThemes and the company will keep its office and employees in Oklahoma City, OK.</p>\n<p>iThemes was founded in 2008 and is part of a group of WordPress focused companies that started <a href=\"https://medium.com/@jasonpatricksc/a-brief-history-of-a-wordpress-theme-business-3847e16fcba4\">around the same time</a>. The group includes WooThemes, Revolution Themes now known as StudioPress, Press75, WPZoom, and others.</p>\n<p>WooThemes was <a href=\"https://wptavern.com/automattic-acquires-woocommerce\">acquired by Automattic</a>. StudioPress has branched off into content marketing with CopyBlogger and hosting via StudioPress sites. Press75 was acquired by Westwerk in 2014 and WPZoom continues to operate independently.</p>\n<p>iThemes diversified its business a number of times over the years, adding plugins and services to its portfolio. Some of the most notable products include, FlexxTheme, BackupBuddy, Builder, iThemes Sync, and iThemes Security. In 2013, the company branched off into the e-commerce space <a href=\"https://wptavern.com/ithemes-launches-e-commerce-plugin-exchange\">with Exchange</a>. In 2017, <a href=\"https://ithemes.com/2017/07/13/ithemes-exchange-new-home-exchangewpcom/\">Exchange was acquired</a> by AJ Morris allowing the company to focus on iThemes Sales Accelerator, a new product that works exclusively with WooCommerce.</p>\n<p>Considering Liquid Web recently launched <a href=\"https://www.liquidweb.com/products/managed-woocommerce-hosting/\">its managed WooCommerce hosting</a>, iThemes Sales Accelerator should pair nicely with its services.</p>\n<p>This isn’t the first time a large webhosting company has acquired a WordPress business. In the last two years, GoDaddy has acquired three companies with a presence in the WordPress ecosystem.</p>\n<ul>\n<li><strong>April 2013</strong> EIG Acquires MOJO-Themes</li>\n<li><strong>September 2016</strong> GoDaddy Acquires ManageWP</li>\n<li><strong>December 2016</strong> GoDaddy Acquires WP Curve</li>\n<li><strong>March 2017</strong> GoDaddy Acquires Sucuri</li>\n</ul>\n<h2>After 10 Years, Cory Miller Lets Go</h2>\n<p>Miller founded iThemes 10 years ago and helped navigate it through the ups and downs that come with running a business. Although Miller no longer owns the company he founded, he’s excited about the next chapter and the opportunities it presents to him and his team.</p>\n<p>“One of the keys that has contributed greatly to our success over the last 10 years is being willing to adapt and to innovate and to try new things,” Miller said. “For instance, If we’d kept focusing solely on WordPress themes, which was our primary business for the early years, we wouldn’t be around today.</p>\n<p>“As we surveyed the landscape in WordPress, one thing was very obvious to us: hosting is the future. As a bootstrapped company from the beginning, with our DNA as a software company, and seeing where Liquid Web is going, it just made sense for us to join forces.</p>\n<p>“We view this is as another chapter in our story of our willingness to adapt and try new things so we can keep doing what we do best — Make People’s Lives Awesome. So we’re tremendously excited about our future with Liquid Web, and what we’re going to be able to do for the WordPress community together.”</p>\n<p>Miller says they’re in the middle of the transition process and are working towards tighter integration between iThemes’ products and Liquid Web’s managed hosting services.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 06 Feb 2018 00:33:58 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:24;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:45:\"Dev Blog: WordPress 4.9.3 Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5545\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"https://wordpress.org/news/2018/02/wordpress-4-9-3-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3408:\"<p>WordPress 4.9.3 is now available.</p>\n<p>This maintenance release fixes 34 bugs in 4.9, including fixes for Customizer changesets, widgets, visual editor, and PHP 7.2 compatibility. For a full list of changes, consult the <a href=\"https://core.trac.wordpress.org/query?status=closed&milestone=4.9.3&group=component\">list of tickets</a> and the <a href=\"https://core.trac.wordpress.org/log/branches/4.9?rev=42630&stop_rev=42521\">changelog</a>.</p>\n<p><a href=\"https://wordpress.org/download/\">Download WordPress 4.9.3</a> or visit Dashboard → Updates and click “Update Now.” Sites that support automatic background updates are already beginning to update automatically.</p>\n<p>Thank you to everyone who contributed to WordPress 4.9.3:</p>\n<p><a href=\"https://profiles.wordpress.org/jorbin/\">Aaron Jorbin</a>, <a href=\"https://profiles.wordpress.org/abdullahramzan/\">abdullahramzan</a>, <a href=\"https://profiles.wordpress.org/adamsilverstein/\">Adam Silverstein</a>, <a href=\"https://profiles.wordpress.org/afercia/\">Andrea Fercia</a>, <a href=\"https://profiles.wordpress.org/andreiglingeanu/\">andreiglingeanu</a>, <a href=\"https://profiles.wordpress.org/azaozz/\">Andrew Ozz</a>, <a href=\"https://profiles.wordpress.org/bpayton/\">Brandon Payton</a>, <a href=\"https://profiles.wordpress.org/chetan200891/\">Chetan Prajapati</a>, <a href=\"https://profiles.wordpress.org/coleh/\">coleh</a>, <a href=\"https://profiles.wordpress.org/darko-a7/\">Darko A7</a>, <a href=\"https://profiles.wordpress.org/desertsnowman/\">David Cramer</a>, <a href=\"https://profiles.wordpress.org/dlh/\">David Herrera</a>, <a href=\"https://profiles.wordpress.org/dd32/\">Dion Hulse</a>, <a href=\"https://profiles.wordpress.org/flixos90/\">Felix Arntz</a>, <a href=\"https://profiles.wordpress.org/frank-klein/\">Frank Klein</a>, <a href=\"https://profiles.wordpress.org/pento/\">Gary Pendergast</a>, <a href=\"https://profiles.wordpress.org/audrasjb/\">Jb Audras</a>, <a href=\"https://profiles.wordpress.org/jbpaul17/\">Jeffrey Paul</a>, <a href=\"https://profiles.wordpress.org/lizkarkoski/\">lizkarkoski</a>, <a href=\"https://profiles.wordpress.org/clorith/\">Marius L. J.</a>, <a href=\"https://profiles.wordpress.org/mattyrob/\">mattyrob</a>, <a href=\"https://profiles.wordpress.org/monikarao/\">Monika Rao</a>, <a href=\"https://profiles.wordpress.org/munyagu/\">munyagu</a>, <a href=\"https://profiles.wordpress.org/ndavison/\">ndavison</a>, <a href=\"https://profiles.wordpress.org/nickmomrik/\">Nick Momrik</a>, <a href=\"https://profiles.wordpress.org/peterwilsoncc/\">Peter Wilson</a>, <a href=\"https://profiles.wordpress.org/rachelbaker/\">Rachel Baker</a>, <a href=\"https://profiles.wordpress.org/rishishah/\">rishishah</a>, <a href=\"https://profiles.wordpress.org/othellobloke/\">Ryan Paul</a>, <a href=\"https://profiles.wordpress.org/sasiddiqui/\">Sami Ahmed Siddiqui</a>, <a href=\"https://profiles.wordpress.org/sayedwp/\">Sayed Taqui</a>, <a href=\"https://profiles.wordpress.org/seanchayes/\">Sean Hayes</a>, <a href=\"https://profiles.wordpress.org/sergeybiryukov/\">Sergey Biryukov</a>, <a href=\"https://profiles.wordpress.org/shooper/\">Shawn Hooper</a>, <a href=\"https://profiles.wordpress.org/netweb/\">Stephen Edgar</a>, <a href=\"https://profiles.wordpress.org/manikmist09/\">Sultan Nasir Uddin</a>, <a href=\"https://profiles.wordpress.org/tigertech/\">tigertech</a>, and <a href=\"https://profiles.wordpress.org/westonruter/\">Weston Ruter</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 05 Feb 2018 19:47:45 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Sergey Biryukov\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:25;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:57:\"Mark Jaquith: Tips for configuring WordPress environments\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"http://markjaquith.wordpress.com/?p=5476\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:89:\"https://markjaquith.wordpress.com/2018/02/05/tips-for-configuring-wordpress-environments/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:4626:\"<p>Many WordPress hosts will give your site a “staging” environment. You can also use tools like <a href=\"https://local.getflywheel.com/\">Local by Flywheel</a>, or <a href=\"https://www.mamp.info/\">MAMP Pro</a> to run a local “dev” version of your site. These are great ways of testing code changes, playing with new plugins, or making theme tweaks, without risking breaking your live “production” site.</p>\n<p>Here is my advice for working with different WordPress environments.</p>\n<h2>Handling Credentials</h2>\n<p>The live (“production”) version of your site should be opt-in. That is, your site’s Git repo should <strong>not</strong> store production credentials in <strong>wp-config.php</strong>. You don’t want something to happen like <a href=\"https://www.reddit.com/r/cscareerquestions/comments/6ez8ag/accidentally_destroyed_production_database_on/\">when this developer accidentally connected to the production database</a> and destroyed all the company data on his first day.</p>\n<p>Instead of keeping database credentials in <strong>wp-config.php</strong>, have <strong>wp-config.php</strong> look for a <strong>local-config.php</strong> file. Replace the section that defines the database credentials with something like this:</p>\n<pre class=\"brush: php; title: ; notranslate\">if ( file_exists( __DIR__ . \'/local-config.php\' ) ) {\n include( __DIR__ . \'/local-config.php\' );\n} else {\n die( \'local-config.php not found\' );\n}</pre>\n<p>Make sure you add <strong>local-config.php</strong> to your <strong>.gitignore</strong> so that no one commits their local version to the repo.</p>\n<p>On production, you’ll create a <strong>local-config.php</strong> with production credentials. On staging or development environments, you’ll create a <strong>local-config.php</strong> with the credentials for those environments.</p>\n<h2>Production is a Choice</h2>\n<p>Right after the section that calls out <strong>local-config.php</strong>, put something like this:</p>\n<pre class=\"brush: php; title: ; notranslate\">if ( ! defined( \'WP_ENVIRONMENT\' ) ) {\n define( \'WP_ENVIRONMENT\', \'development\' );\n}</pre>\n<p>The idea here is that there will always be a <strong>WP_ENVIRONMENT</strong> constant available to you that tells you what kind of environment your site is being run in. In production, you will put this in <strong>local-config.php</strong> along with the database credentials:</p>\n<pre class=\"brush: php; title: ; notranslate\">define( \'WP_ENVIRONMENT\', \'production\' );</pre>\n<p>Now, in your theme, or your custom plugins, or other code, you can do things like this:</p>\n<pre class=\"brush: php; title: ; notranslate\">if ( \'production\' === WP_ENVIRONMENT ) {\n add_filter( \'option_gravityformsaddon_gravityformsstripe_settings\', function( $stripe_settings ) {\n $stripe_settings[\'api_mode\'] = \'live\';\n return $stripe_settings;\n });\n} else {\n add_filter( \'option_gravityformsaddon_gravityformsstripe_settings\', function( $stripe_settings ) {\n $stripe_settings[\'api_mode\'] = \'test\';\n return $stripe_settings;\n });\n}</pre>\n<p>This bit of code is for the Easy Digital Downloads Stripe gateway plugin. It makes sure that on the production environment, the payment gateway is always in <strong>live</strong> mode, and the anywhere else, it is always in <strong>test</strong> mode. This protects against two very bad situations: connecting to live services from a test environment (which could result in customers being charged for test transactions) and connecting to test services from a live environment (which could prevent customers from purchasing products on your site).</p>\n<p>You can also use this pattern to do things like hide Google Analytics on your test sites, or make sure debug plugins are only active on development sites (more on that, in a future post!)</p>\n<p>Don’t rely on complicated procedures (“step 34: make sure you go into the Stripe settings and switch the site to test mode on your local test site”) — make these things explicit in code. Make it impossible to screw it up, and working on your sites will become faster and less stressful.</p>\n<hr />\n<p><b>Do you need <a href=\"https://coveredwebservices.com/\">WordPress services?</a></b></p>\n<p>Mark runs <a href=\"https://coveredwebservices.com/\">Covered Web Services</a> which specializes in custom WordPress solutions with focuses on security, speed optimization, plugin development and customization, and complex migrations.</p>\n<p>Please reach out to start a conversation!</p>\n[contact-form]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 05 Feb 2018 14:59:04 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:12:\"Mark Jaquith\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:26;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"Matt: National Magazine Award Nomination\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"https://ma.tt/?p=47900\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:57:\"https://ma.tt/2018/02/national-magazine-award-nomination/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:761:\"<p>Longreads <a href=\"http://www.magazine.org/asme/about-asme/pressroom/asme-press-releases/ellies-2018-finalists-announced\">was nominated today</a> for its first-ever <a href=\"https://en.wikipedia.org/wiki/National_Magazine_Awards\">National Magazine Award</a>, in the category of columns and commentary, alongside ESPN The Magazine, BuzzFeed News, Pitchfork, and New York magazine. Laurie Penny's Longreads columns <a href=\"https://longreads.com/tag/metoo-and-consent/\">explore important questions of consent and female desire</a> that have strongly resonated in our current moment. In addition to this nomination, Penny's columns have been translated and republished in Italian and German newspapers, and will be collected in a forthcoming book.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 02 Feb 2018 21:37:36 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"Matt\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:27;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:46:\"Dev Blog: The Month in WordPress: January 2018\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:34:\"https://wordpress.org/news/?p=5541\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:71:\"https://wordpress.org/news/2018/02/the-month-in-wordpress-january-2018/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3839:\"<p>Things got off to a gradual start in 2018 with momentum starting to pick up over the course of the month. There were some notable developments in January, including a new point release and work being done on other important areas of the WordPress project.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>WordPress 4.9.2 Security and Maintenance Release</h2>\n\n<p>On January 16, <a href=\"https://wordpress.org/news/2018/01/wordpress-4-9-2-security-and-maintenance-release/\">WordPress 4.9.2 was released</a> to fix an important security issue with the media player, as well as a number of other smaller bugs. This release goes a long way to smoothing out the 4.9 release cycle with the next point release, v4.9.3, <a href=\"https://make.wordpress.org/core/2018/01/31/wordpress-4-9-3-release-pushed-to-february-5th/\">due in early February</a>.</p>\n\n<p>To get involved in building WordPress Core, jump into the #core channel in the<a href=\"https://make.wordpress.org/chat/\"> Making WordPress Slack group</a>, and follow<a href=\"https://make.wordpress.org/core/\"> the Core team blog</a>.</p>\n\n<h2>Updated Plugin Directory Guidelines</h2>\n\n<p>At the end of 2017, <a href=\"https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/\">the guidelines for the Plugin Directory</a> received a significant update to make them clearer and expanded to address certain situations. This does not necessarily make these guidelines complete, but rather more user-friendly and practical; they govern how developers build plugins for the Plugin Directory, so they need to evolve with the global community that the Directory serves.</p>\n\n<p>If you would like to contribute to these guidelines, you can make a pull request to <a href=\"https://github.com/WordPress/wporg-plugin-guidelines\">the GitHub repository</a> or email <a href=\"mailto:plugins@wordpress.org\">plugins@wordpress.org</a>. You can also jump into the #pluginreview channel in the<a href=\"https://make.wordpress.org/chat/\"> Making WordPress Slack group</a>.</p>\n\n<hr class=\"wp-block-separator\" />\n\n<h2>Further Reading:</h2>\n\n<ul>\n <li>Near the end of last year a lot of work was put into improving the standards in the WordPress core codebase and now <a href=\"https://make.wordpress.org/core/2017/11/30/wordpress-php-now-mostly-conforms-to-wordpress-coding-standards/\">the entire platform is at nearly 100% compliance with the WordPress coding standards</a>.</li>\n <li>Gutenberg, the new editor coming to WordPress core in the next major release, <a href=\"https://make.wordpress.org/core/2018/01/25/whats-new-in-gutenberg-25th-january/\">was updated to v2.1 this month</a> with some great usability and technical improvements.</li>\n <li>The Global Community Team is <a href=\"https://make.wordpress.org/community/2018/01/16/2018-goals-for-the-global-community-team-suggestions-time/\">taking suggestions for the goals of the Community program in 2018</a>.</li>\n <li><a href=\"https://online.wpcampus.org/\">WPCampus Online</a>, a digital conference focused on WordPress in higher education, took place on January 30. The videos of the event sessions will be online soon.</li>\n <li>A WordPress community member <a href=\"https://wptavern.com/new-toolkit-simplifies-the-process-of-creating-gutenberg-blocks\">has released a toolkit</a> to help developers build blocks for Gutenberg.</li>\n <li>The community team that works to improve the WordPress hosting experience is relatively young, but <a href=\"https://make.wordpress.org/hosting/2018/01/25/hosting-meeting-notes-january-10-2018/\">they have been making some great progress recently</a>.</li>\n</ul>\n\n<p><em>If you have a story we should consider including in the next “Month in WordPress” post, please <a href=\"https://make.wordpress.org/community/month-in-wordpress-submissions/\">submit it here</a>.</em></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 02 Feb 2018 08:10:07 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Hugh Lashbrooke\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:28;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:54:\"WPTavern: WordPress 4.9.3 Rescheduled for February 5th\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=78058\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:65:\"https://wptavern.com/wordpress-4-9-3-rescheduled-for-february-5th\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1336:\"<p>WordPress 4.9.3 is a maintenance release and was originally scheduled to be available on January 30th. However, due to ongoing tickets and a short time frame to test the <a href=\"https://make.wordpress.org/core/2018/02/01/wordpress-4-9-3-rc/\">release candidate</a>, it has <a href=\"https://make.wordpress.org/core/2018/01/31/wordpress-4-9-3-release-pushed-to-february-5th/\">been pushed back</a> to February 5th.</p>\n<p><a href=\"https://make.wordpress.org/core/2018/02/01/wordpress-4-9-3-rc/\">WordPress 4.9.3 RC 1</a> is available for testing. This release <a href=\"https://make.wordpress.org/core/2018/01/24/jshint-removed-from-codemirror-in-4-9-3/\">removes JSHint from the code editors</a> due to conflicts with the GPL License. If your code relies on JSHint from Core, <a href=\"https://core.trac.wordpress.org/ticket/42850\">developers encourage</a> you to update it to use a copy of JSHint.</p>\n<p>Other changes in 4.9.3 include, avoiding page scrolling when navigating the media modal, a handful of improvements to the customizer, <a href=\"https://make.wordpress.org/core/2018/01/26/wordpress-4-9-3-beta/\">and more</a>. Please test WordPress 4.9.3 on a staging site and if you encounter any bugs, you can report them on the <a href=\"https://wordpress.org/support/forum/alphabeta/\">Alpha/Beta section</a> of the support forums.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 02 Feb 2018 08:09:02 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:29;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:78:\"WPTavern: WooCommerce 3.3 Removed From Plugin Directory Due to Theme Conflicts\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77962\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:89:\"https://wptavern.com/woocommerce-3-3-removed-from-plugin-directory-due-to-theme-conflicts\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3081:\"<p>Earlier this week, WooCommerce 3.3 <a href=\"https://wptavern.com/woocommerce-3-3-increases-theme-compatibility-auto-regenerates-thumbnails\">was released</a> and among the features was increased theme compatibility. However, soon after release, users of third-party themes <a href=\"https://wordpress.org/support/topic/wc-3-3-issues-with-categories-displaying-in-shop/\">reported issues</a> with categories displaying improperly.</p>\n<p>Despite it being a minor release that should be fully backwards compatible with previous releases up to 3.0, WooCommerce has removed 3.3 from the plugin directory and replaced it with 3.2.6.</p>\n<p>According <a href=\"https://woocommerce.wordpress.com/2018/02/01/woocommerce-3-3-1-status-update/\">to a post</a> on the project’s official blog, WooCommerce 3.3.1 will take the place of 3.3 and will include a fix for the category display issue.</p>\n<blockquote class=\"wp-block-quote\"><p>The issue affected themes with template overrides from 3.2.x which hadn’t been made compatible with 3.3. In general, <a href=\"https://github.com/woocommerce/woocommerce/wiki/Template-File-Guidelines-for-Devs-and-Theme-Authors#hook-vs-override---when-to-use-what\">we recommend that themes use hooks instead of template overrides.</a> Themes such as <a href=\"https://en-gb.wordpress.org/themes/storefront/\">Storefront</a> (which does not use template overrides) were compatible at launch.</p>\n<p><cite>WooCommerce Blog</cite></p></blockquote>\n<p>If you’ve already updated to WooCommerce 3.3 and your theme is compatible, you don’t need to make any changes. If your theme is not compatible, WooCommerce recommends checking with your theme’s author to see if a compatibility fix has been released.</p>\n<p>Users can also wait for the release of 3.3.1, update to the <a href=\"https://github.com/woocommerce/woocommerce/releases/tag/3.3.1-rc.1\">pre-release version</a> of 3.3.1, or use the <a href=\"https://wordpress.org/plugins/wp-rollback/\">WP-Rollback plugin</a> and revert back to 3.2.6. WooCommerce developers suggest only going the WP-Rollback route if you’re not comfortable installing pre-release software.</p>\n<p>Coen Jacobs, a former member of the WooCommerce development team, commented on Twitter that this was the first time he can remember that a release was reverted.</p>\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Fun fact: As far as I recall, there has never been a release of WooCommerce that has been withdrawn before. During my time on the development team we have pushed fix releases on the same day as a big releases, but never was it reverted like this.</p>\n<p>— Coen Jacobs (@CoenJacobs) <a href=\"https://twitter.com/CoenJacobs/status/958768816808497152?ref_src=twsrc%5Etfw\">January 31, 2018</a></p></blockquote>\n<p></p>\n<p>The development team has tested 3.3.1 with more than 40 different themes and believe it is stable. However, they are exercising caution and thoroughly testing the fixes with more themes. Users can expect to see 3.3.1 officially released the week of February 5th.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 02 Feb 2018 07:06:53 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:30;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:81:\"WPTavern: WPWeekly Episode 303 – Interview With Zac Gordon, Technology Educator\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wptavern.com?p=77901&preview=true&preview_id=77901\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:87:\"https://wptavern.com/wpweekly-episode-303-interview-with-zac-gordon-technology-educator\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1902:\"<p>In this episode, <a href=\"http://jjj.me\">John James Jacoby</a> and I are joined by <a href=\"http://zacgordon.com/\">Zac Gordon</a>. We discussed a wide range of topics including, balancing freelance work with educating, an overview of Gutenberg from an educator’s perspective, and potential brand issues if the Gutenberg name <a href=\"githubhttps://github.com/WordPress/gutenberg/issues/4681\">was deprecated</a>. We also talked about some of the difficulties involved with <a href=\"https://gutenberg.courses/\">creating a course</a> around a feature that’s not yet part of WordPress core.</p>\n<h2>Stories Discussed:</h2>\n<p><a href=\"https://ithemes.com/2018/01/31/ithemes-joining-the-liquid-web-family/\">iThemes Acquired by LiquidWeb</a><br />\n<a href=\"https://woocommerce.com/2018/01/whats-new-woocommerce-3-3/\">WooCommerce 3.3 Released</a><br />\n<a href=\"https://wptavern.com/updraftplus-acquires-easy-updates-manager-plugin\">Easy Updates Manager Acquired by UpdraftPlus</a></p>\n<h2>Picks of the Week:</h2>\n<p>John James Jacoby suggested <a href=\"https://www.beamauthentic.com/\">Beam Authentic</a>. Beam Authentic is a wearable, connected, smart button that can be programmed to display different images through an app.</p>\n<h2>WPWeekly Meta:</h2>\n<p><strong>Next Episode:</strong> Wednesday, February 7th 3:00 P.M. Eastern</p>\n<p>Subscribe to <a href=\"https://itunes.apple.com/us/podcast/wordpress-weekly/id694849738\">WordPress Weekly via Itunes</a></p>\n<p>Subscribe to <a href=\"https://www.wptavern.com/feed/podcast\">WordPress Weekly via RSS</a></p>\n<p>Subscribe to <a href=\"http://www.stitcher.com/podcast/wordpress-weekly-podcast?refid=stpr\">WordPress Weekly via Stitcher Radio</a></p>\n<p>Subscribe to <a href=\"https://play.google.com/music/listen?u=0#/ps/Ir3keivkvwwh24xy7qiymurwpbe\">WordPress Weekly via Google Play</a></p>\n<p><strong>Listen To Episode #303:</strong><br />\n</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 01 Feb 2018 02:12:47 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:31;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:100:\"WPTavern: Efrain Rivera, A Longtime Community Member, WordCamp Organizer, and Volunteer, Passes Away\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77893\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:107:\"https://wptavern.com/efrain-rivera-a-longtime-community-member-wordcamp-organizer-and-volunteer-passes-away\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2776:\"<p>Efrain Rivera, who helped organize and volunteer at numerous WordCamps in Florida has passed away at the age of 47. The news was shared on Facebook by his sister on January 28th.</p>\n<img />Efrain Rivera and his wife at WordCamp Miami. Photo courtesy of David Bisset\n<p>David Bisset, organizer of WordCamp Miami and a well-known figure in the Florida WordPress community, <a href=\"http://davidbisset.com/efrain-rivera/\">shared his thoughts</a> on Rivera’s passing.</p>\n<blockquote><p>Efrain wasn’t just a fellow organizer, but also a supporter of the local WordPress meetups. There was no ulterior motive in anything that he did. Never once did he ask for anything – he was just happy to be there and help out. He was 100% about giving back to the WordPress community, but even if the community didn’t exist he would find a way to help out folks.</p>\n<p>Efrain wasn’t just a supporter and volunteer. He was a good friend to have – someone you could speak frankly too.</p></blockquote>\n<p>Rivera is being remembered as a kind, compassionate, and happy person by members of the community.</p>\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">I’m so sorry, he was a pleasure volunteering with, <a href=\"https://twitter.com/EfrainWp?ref_src=twsrc%5Etfw\">@EfrainWp</a> was always happy to help and answer questions.</p>\n<p>— Rian M. Kinney, Esq. (@TheKinneyFirm) <a href=\"https://twitter.com/TheKinneyFirm/status/958855848784252928?ref_src=twsrc%5Etfw\">February 1, 2018</a></p></blockquote>\n<p></p>\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">I remember his kindness David. What a great person and sad loss.</p>\n<p>— Diane Kinney (@dkinney) <a href=\"https://twitter.com/dkinney/status/958858994843611138?ref_src=twsrc%5Etfw\">February 1, 2018</a></p></blockquote>\n<p></p>\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Efrain was one of happiest, smiliest, caring people I’d ever hung out with at any WordPress event. <img src=\"https://s.w.org/images/core/emoji/2.4/72x72/1f64f.png\" alt=\"?\" class=\"wp-smiley\" /> <a href=\"https://t.co/qW7ChUmjX0\">https://t.co/qW7ChUmjX0</a></p>\n<p>— J ³ (@JJJ) <a href=\"https://twitter.com/JJJ/status/958448885030182913?ref_src=twsrc%5Etfw\">January 30, 2018</a></p></blockquote>\n<p></p>\n<p><a href=\"https://memorials.serenitymemorialchapels.com/efrain-rivera/3417849/obituary.php\">Memorial services are scheduled</a> for Saturday, February 3, 2018 from 4:00 P.M.-9:00 P.M. EST at Serenity Funeral Home and Cremation, 1450 S State Road 7, North Lauderdale, Florida 33068. The service will take place during visitation at 7PM. If you have any memories of meeting or hanging out with Efrain at any of the WordPress events in Florida, please share them in the comments.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 01 Feb 2018 01:13:15 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:32;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:44:\"Post Status: Liquid Web has acquired iThemes\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"https://poststatus.com/?p=41738\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:51:\"https://poststatus.com/liquid-web-acquired-ithemes/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:5096:\"<p><a href=\"https://www.liquidweb.com/\">Liquid Web</a> has acquired <a href=\"https://ithemes.com/\">iThemes</a>, in an all cash deal that includes the entire iThemes team moving over to Liquid Web as an independent unit. Cory Miller — CEO of iThemes — will be the Business Manager of the new unit, with iThemes COO Matt Danner as the Director of Technology and Operations for iThemes. The entire team of twenty three people is staying on, and will continue to be headquartered in Oklahoma.</p>\n<p>This is not the first or last time we’ll see longstanding WordPress companies get rolled into large hosting providers. It’s a trend that is natural in any ecosystem as it matures, and iThemes was a clear and quality candidate for a host to target. Cory said the culture around Liquid Web, including their “heroic support,” but also the quality he sees in their management team, was a key motivator for them to go work with Liquid Web.</p>\n<p>As hosting companies evolve more and more to provide broader services for customers with managed WordPress offerings, there is less room for utility product creators to fill that gap.</p>\n<p>Backups are a fine example: customers may see less need for external backups if they have confidence that their hosting is managing backups properly. Security is another. These have been great products for iThemes, and still are — but their current markets are more for hosts without a managed experience, and that slice of the pie has been narrowing.</p>\n<p>iThemes has had a partnership with Liquid Web for about a year and a half now, which started by licensing iThemes Sync for Liquid Web’s WordPress hosting offering. They’ve slowly been integrating more features into the platform, and the acquisition will allow Liquid Web to further integrate iThemes’ offerings, and allow iThemes to improve some of their product offerings with the backing of Liquid’s Web’s hosting infrastructure.</p>\n<p>I spoke to Cory Miller about the move, which is occurring not long after iThemes’ ten year anniversary in business. He said he looks back every year and sees them as chapters in the iThemes story, and this feels just the same. He’s excited about what the backing from Liquid Web will allow them to do, and most importantly for him, the ability to keep supporting the team they have built over the years.</p>\n<p>Cory tells me he’s amazed that they’ve been able to build the company they have built, and neither he nor his business partners would have imagined it ten years ago. All equity holders had their shares purchased by Liquid Web, and Cory and the team will be Liquid Web employees.</p>\n<p>iThemes has iterated on the business many times over the years — as the name implies. Their theme business slowly dwindled in terms of the overall ratio of sales revenue it provided. BackupBuddy has long been a flagship, and they’ve found great success the past couple of years since they acquired and iterated on the iThemes Security product. He said that it took them experimenting a great deal — and like Exchange for eCommerce, and others — it didn’t always work out the way they hoped. But because they stayed agile and kept working at it, they’ve consistently been able to grow and diversify their product line.</p>\n<p>One practical component Liquid Web will be able to provide, as an example, is their data centers to power BackupBuddy and iThemes Stash storage and processing. iThemes has historically used Amazon, which Cory said really adds up and has started to eat into their own margins. Liquid Web will help them not only improve the offering but also to be able to perform those functions more affordably.</p>\n<p>For Liquid Web, this acquisition furthers their goal to integrate WordPress-specific functionality into their suite of WordPress hosting tools. They recently launched WooCommerce hosting on their platform, and the iThemes Sales Accelerator product can now be a core component of that offering. Additionally, the technology iThemes has built with BackupBuddy and Sync will further add to their platform.</p>\n<p>Beyond the technology and products, Liquid Web Vice President of Products and Innovation Chris Lema tells me it’s about the team:</p>\n<blockquote><p>This adds so much to what we’re doing with managed WordPress and managed WooCommerce, that it just made a lot of sense — both from a product perspective, and even more from a team perspective.</p></blockquote>\n<p>Having spent a lot of time with the management teams for each of these companies, I would agree that the culture fit is a really good one. And for Liquid Web, a company continuing to make its big push into the WordPress market, it is a solid strategic acquisition move that offers product dividends but more importantly adds a great and experienced WordPress team to their company.</p>\n<p><a href=\"https://ithemes.com/2018/01/31/ithemes-joining-the-liquid-web-family/\">Cory shares more</a> about the news on the iThemes blog.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 31 Jan 2018 17:12:29 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:15:\"Brian Krogsgard\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:33;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:60:\"HeroPress: The Journey: Curiosity, Challenge, Transformation\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:56:\"https://heropress.com/?post_type=heropress-essays&p=2431\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:158:\"https://heropress.com/essays/journey-curiosity-challenge-transformation/#utm_source=rss&utm_medium=rss&utm_campaign=journey-curiosity-challenge-transformation\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:9293:\"<img width=\"960\" height=\"480\" src=\"https://heropress.com/wp-content/uploads/2018/01/013118-2-1024x512.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Pull Quote: My place in the world has transformed.\" /><p>When I look back on the past five years I’ve been working with WordPress, I feel the real weight of the journey I’ve had to get where I am. Much of it has been filled with challenge of both of the difficult and welcome variety. I’m an optimist and problem-solver to the core, but I sometimes wonder how I got through these past years. One thing is for certain, my involvement with WordPress, the opportunities and community around it, has been a force for so much good, motivation, and satisfaction in my life.</p>\n<h2>The Beginning</h2>\n<p>When I was introduced to WordPress, I was going through one of the most trying times of my adult life. My dad had suddenly passed away just a few years before. We didn’t have the best relationship, but his quirkiness, interest in esoteric things, and passion for food certainly rubbed off on me.</p>\n<p>I was living with roommates, but moved back home to be with my mom. Not too long after, she developed debilitating osteoarthritis in both of her hips. From a physically healthy yet grieving 52-year-old woman to eventually becoming handicap and walker-bound, needless to say, impacted our lives greatly. I became her caretaker, and I also worked retail part-time for the flexible schedule.</p>\n<blockquote><p>I felt emotionally exhausted, uninspired and quite lost with what my next steps would be.</p></blockquote>\n<p>I grew up using the internet fervently as a youth and in my college years. I met new friends, learned new skills, and traveled to new places thanks the endless source of information it provided for my active mind. So when a friend, now my mentor, John Bolyard, approached me to help him in his web marketing and development consultancy using “WordPress” I just said “yes.” It was mysterious, being unknown to me, and intriguing, which is usually a green light in my book!</p>\n<p>I started doing administrative work on a website he helped develop for a national guild. Like many situations, he had finished their website and they would circle back to him for minor updates. I took on the minor updates, started tinkering on my own, and fell in love in the process.</p>\n<p>The accessibility with which one could make changes and produce content dynamically was just mind blowing to me. It was my gateway to web development and now I could make web content with the ability to work with code, if I so chose. It seemed an endless source of learning and knowledge- it was a great fit.</p>\n<h2>Levelling Up</h2>\n<p>That went well and he brought me on a larger project to help the artist, Dorothy Braudy, create her website archive. I was able to blend my affinity for the technical and handy visual memory to help an all around amazing person (she’s still one of closest people in my life) tell her story through her art. I was thrilled to have the challenge and the privilege to bring her vibrant and prolific work (hundreds of pieces) to the web.</p>\n<p>I also started assisting John with teaching WordPress classes at SCORE, a government organization that helps people develop and sustain small businesses.</p>\n<blockquote><p>We volunteered our time teaching business owners WordPress to help them build their own websites.</p></blockquote>\n<p>It was challenging yet rewarding to see them feel empowered that they could take a hands-on role in making their web presence.</p>\n<p>Nevertheless, I ended up with several clients and that’s how my freelancing career began :). I also started going to meetups. John brought me to my first one in the San Fernando Valley. I was like wait…this software is cool and people gather to talk about it? I can also learn stuff too?! Get outta town!</p>\n<p>Well, I started attending fairly frequently. Particularly, the meetup in the West Valley lead by Andrew Behla (then at the Topanga Canyon Library). I soaked up info from presentations given by Roy Sivan, Suzette Franck, and Lucy Beer (who is now my teammate). Just to name a few ;).</p>\n<p>After building a consistent client base, I also started working part-time as a project assistant at a boutique museum exhibit development firm. My first project was for the Huntington Library, Art Collections and Botanical Gardens supporting the development of an educational WordPress website for their Junípero Serra exhibition. What were the chances? My skills in WordPress proved helpful for the project and the firm’s website.</p>\n<h2>Pivoting</h2>\n<p>At this point, I had seen my mom through her first hip replacement and recovery, and she was moving on to her next one. I thought about where I saw myself and also where I could build a sustainable future given the circumstances. I thought WordPress, and so I did a trial as a Happiness Engineer at WordPress.com.</p>\n<p>While I didn’t get the position, I met some great people and learned exponentially more in that short time than I had on my own. More so, I learned about the users, WordPress’ strengths and weaknesses, and how to fill that gap in an accessible way. I was sad, but also motivated. I took on more client work and just did the thing.</p>\n<p>After three years, it was time to leave the exhibit development firm. It was fascinating, it provided me a design, development and project management vocabulary I had never encountered before. However, I needed a firmer career path and I still thought WordPress. My mom was recovered, I had also just recovered from some health issues, and I knew it was time for a change.</p>\n<p>While doing client work for several months, I also explored options on how I could “level up.” Maybe it was my time to dig into web development: should I learn on my own, go to a school?</p>\n<blockquote><p>In my gut, I knew I had to find work that supported my endeavors, so I started applying in the WordPress and tech ecosystem.</p></blockquote>\n<p>I networked, attended workshops, and met some awesome folks in the local tech and WordPress communities. I was also approached about joining the organizer team for WordCamp Los Angeles (WCLAX). I said “yes” (that magic word) and last year we had a great event.</p>\n<p>When we started planning, I had also heard from WP Media, (the company behind the WP Rocket and Imagify plugins), that I was hired for their Customer Support position. We’re a remote crew spread across 8 countries. However, I’ve been lucky enough to spend time with them at WordCamp Europe, WordCamp US, and our annual retreat last year.</p>\n<h2>Transformation</h2>\n<p>My place in the world has transformed. I’ve traveled to places once out of reach, work every day with some of the most brilliant and kind people in the WordPress space, and grow day by day with new challenges and opportunities. I’m happy, mom is healthy, and the journey continues…</p>\n<div class=\"rtsocial-container rtsocial-container-align-right rtsocial-horizontal\"><div class=\"rtsocial-twitter-horizontal\"><div class=\"rtsocial-twitter-horizontal-button\"><a title=\"Tweet: The Journey: Curiosity, Challenge, Transformation\" class=\"rtsocial-twitter-button\" href=\"https://twitter.com/share?text=The%20Journey%3A%20Curiosity%2C%20Challenge%2C%20Transformation&via=heropress&url=https%3A%2F%2Fheropress.com%2Fessays%2Fjourney-curiosity-challenge-transformation%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-fb-horizontal fb-light\"><div class=\"rtsocial-fb-horizontal-button\"><a title=\"Like: The Journey: Curiosity, Challenge, Transformation\" class=\"rtsocial-fb-button rtsocial-fb-like-light\" href=\"https://www.facebook.com/sharer.php?u=https%3A%2F%2Fheropress.com%2Fessays%2Fjourney-curiosity-challenge-transformation%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-linkedin-horizontal\"><div class=\"rtsocial-linkedin-horizontal-button\"><a class=\"rtsocial-linkedin-button\" href=\"https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fheropress.com%2Fessays%2Fjourney-curiosity-challenge-transformation%2F&title=The+Journey%3A+Curiosity%2C+Challenge%2C+Transformation\" rel=\"nofollow\" target=\"_blank\" title=\"Share: The Journey: Curiosity, Challenge, Transformation\"></a></div></div><div class=\"rtsocial-pinterest-horizontal\"><div class=\"rtsocial-pinterest-horizontal-button\"><a class=\"rtsocial-pinterest-button\" href=\"https://pinterest.com/pin/create/button/?url=https://heropress.com/essays/journey-curiosity-challenge-transformation/&media=https://heropress.com/wp-content/uploads/2018/01/013118-2-150x150.jpg&description=The Journey: Curiosity, Challenge, Transformation\" rel=\"nofollow\" target=\"_blank\" title=\"Pin: The Journey: Curiosity, Challenge, Transformation\"></a></div></div><a rel=\"nofollow\" class=\"perma-link\" href=\"https://heropress.com/essays/journey-curiosity-challenge-transformation/\" title=\"The Journey: Curiosity, Challenge, Transformation\"></a></div><p>The post <a rel=\"nofollow\" href=\"https://heropress.com/essays/journey-curiosity-challenge-transformation/\">The Journey: Curiosity, Challenge, Transformation</a> appeared first on <a rel=\"nofollow\" href=\"https://heropress.com\">HeroPress</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 31 Jan 2018 11:00:30 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Renee Johnson\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:34;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:84:\"WPTavern: WooCommerce 3.3 Increases Theme Compatibility, Auto Regenerates Thumbnails\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77795\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:94:\"https://wptavern.com/woocommerce-3-3-increases-theme-compatibility-auto-regenerates-thumbnails\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3108:\"<p>WooCommerce 3.3 <a href=\"https://woocommerce.com/2018/01/whats-new-woocommerce-3-3/\">is available</a> and is considered a minor release. Based on the project’s <a href=\"https://github.com/woocommerce/woocommerce/wiki/Roadmap-and-release-process\">new release process</a>, it should be fully backwards compatible with previous releases up to 3.0.</p>\n<p>The orders screen has been redesigned with large buttons that indicate an order’s status. You can also view an order’s details from the order screen without having to edit the order.</p>\n<img class=\"aligncenter\" src=\"https://i2.wp.com/wptavern.com/wp-content/uploads/2018/01/WC33OrdersScreen.png?w=627&ssl=1\" alt=\"\" width=\"627\" height=\"261\" />WooCommerce 3.3 Orders Screen\n<p>For products that are on backorder and have stock management enabled, WooCommerce 3.3 will automatically transition from ‘In stock’ to ‘On backorder’ or ‘Out of stock’ as the inventory decreases. Once inventory is added, the status will switch back to ‘In Stock’.</p>\n<img class=\"aligncenter\" src=\"https://i2.wp.com/wptavern.com/wp-content/uploads/2018/01/WC33OrderStatus.png?w=627&ssl=1\" alt=\"\" width=\"627\" height=\"328\" />WooCommerce 3.3 Order Status Screen\n<p>For full compatibility, users generally needed to use a WordPress theme that specifically supported WooCommerce. In 3.3, improvements have been made so that WooCommerce renders on themes that don’t fully support it, making it compatible with nearly every WordPress theme.</p>\n<p>Users can now set the number of columns and rows for shops with the ability to preview the results live via the Customizer. The columns will resize to fill the entire width of the area and is available on all themes.</p>\n<p>In earlier versions of WooCommerce, shop owners needed to use the <a href=\"https://wordpress.org/plugins/regenerate-thumbnails/\">Regenerate Thumbnails</a> after updating a product’s image as WordPress did not automatically resize the image and generate new thumbnails. WooCommerce 3.3 adds on-the-fly thumbnail regeneration and background thumbnail resizing.</p>\n<p>In addition, users can customize the aspect ratios of product images. The choices are classic square images, custom cropped images, or uncropped images</p>\n<img class=\"aligncenter\" src=\"https://i2.wp.com/wptavern.com/wp-content/uploads/2018/01/WC33ImageAspectRatio.png?w=627&ssl=1\" alt=\"\" width=\"627\" height=\"402\" />WooCommerce 3.3 Image Aspect Ratio Options\n<p>Shop owners can now view logs of product downloads with a couple of built-in filters including, by order, by product, by customer, and by file. You can also search for extensions now from the Extensions administration screen.</p>\n<p>WooCommerce 3.3 includes more features and changes than what’s listed here. For a detailed overview of what’s new in 3.3, <a href=\"https://github.com/woocommerce/woocommerce/blob/release/3.3/readme.txt\">check out the changelog</a>. If you think you’ve discovered a bug, please report it on the <a href=\"https://github.com/woothemes/woocommerce/issues\">project’s GitHub page</a>.</p>\n<p><!-- /wp:core/paragraph --></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 30 Jan 2018 22:53:45 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:35;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:48:\"Mark Jaquith: Simple WordPress deploys using Git\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"http://markjaquith.wordpress.com/?p=5422\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:80:\"https://markjaquith.wordpress.com/2018/01/30/simple-wordpress-deploys-using-git/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3328:\"<p>A few weeks back, Clifton Griffin asked me a question about deploying WordPress sites:</p>\n<div class=\"embed-twitter\">\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https://twitter.com/markjaquith?ref_src=twsrc%5Etfw\">@markjaquith</a> Hey Mark, quick question: Do you still use and recommend Capistrano?</p>\n<p>— Clifton Griffin (@clifgriffin) <a href=\"https://twitter.com/clifgriffin/status/948373150680707073?ref_src=twsrc%5Etfw\">January 3, 2018</a></p></blockquote>\n<p></div>\n<p>I <b>do not</b> use Capistrano for deployments anymore, for one simple reason: it was massive overkill for most of the sites I manage, and maintaining it was not worth the benefit.</p>\n<p>My current deployment system for WordPress sites is simple: I use Git.</p>\n<p>I’m already using Git for version control of the site’s code, so using Git for deployments is not that much more work. There are a few ways to do this, but the simplest way is to just make your site root a Git checkout of your site files.</p>\n<p>Then, if your server has read-access to your Git remote, you can run some Git commands to sync everything. Here are your options:</p>\n<ol>\n<li><strong>git pull</strong> — Simple, but might fail if someone naughty has made code modifications on the server.</li>\n<li><strong>git fetch && git reset –hard origin/master</strong> — The hard reset method will wipe any local modifications that someone has mistakenly made.</li>\n</ol>\n<p>But wait. Before you implement this, it is very important that you ensure that your server’s <strong>.git</strong> directory is not readable, as it might be able to leak sensitive information about your site’s code. How you do this will depend on what web server you’re running. In Nginx, I do the following:</p>\n<pre class=\"brush: plain; title: ; notranslate\">location ~ /\\.(ht[a-z]+|git|svn) {\ndeny all;\n}</pre>\n<p>In Apache, you could put the following in your <strong>.htaccess</strong> file:</p>\n<pre class=\"brush: plain; title: ; notranslate\">RedirectMatch 404 /\\.git</pre>\n<p>SSHing into your server every time is tedious, so let’s script that:</p>\n<pre class=\"brush: bash; title: ; notranslate\">#!/bin/bash\nssh example.com \'cd /srv/www/example.com && git pull\'</pre>\n<p>Save that to <strong>deploy.sh</strong> in your Git repo, run <strong>chmod +x deploy.sh</strong>, and commit it to the repo. Now when you’re ready to deploy the site, just type <strong>./deploy.sh</strong> and the public site will pull down the latest changes from your main Git remote.</p>\n<p>Bonus points if you make <strong>deploy.sh</strong> take an optional commit hash, so you can also use this tool to roll back to a previous hash, in case a commit goes wrong.</p>\n<p>This method has served me well, for years, and has required no maintenance.</p>\n<p>What methods are you using for WordPress code deploys?</p>\n<hr />\n<p><b>Do you need <a href=\"https://coveredwebservices.com/\">WordPress services?</a></b></p>\n<p>Mark runs <a href=\"https://coveredwebservices.com/\">Covered Web Services</a> which specializes in custom WordPress solutions with focuses on security, speed optimization, plugin development and customization, and complex migrations.</p>\n<p>Please reach out to start a conversation!</p>\n[contact-form]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 30 Jan 2018 15:31:09 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:12:\"Mark Jaquith\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:36;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"WPTavern: UpdraftPlus Acquires Easy Updates Manager Plugin\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77700\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:69:\"https://wptavern.com/updraftplus-acquires-easy-updates-manager-plugin\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2048:\"<p><a href=\"https://updraftplus.com/\">UpdraftPlus</a>, a popular WordPress backup plugin actively installed on more than 1 million sites has acquired the <a href=\"https://wordpress.org/plugins/stops-core-theme-and-plugin-updates/\">Easy Updates Manager</a> plugin for an undisclosed amount.</p>\n<p>Easy Updates Manager disables core, theme, and plugin updates in WordPress and provides granular control over them. It was created in 2015, is actively installed on more than 100K sites, and is maintained by <a href=\"https://profiles.wordpress.org/kidsguide/\">Matthew Sparrow</a>, <a href=\"https://profiles.wordpress.org/ronalfy/\">Ronald Huereca</a>, <a href=\"https://profiles.wordpress.org/roary86/\">Roary Tubbs</a>, and <a href=\"https://profiles.wordpress.org/bigwing/\">BigWing Interactive</a>.</p>\n<img />Easy Updates manager User Interface\n<p>Burnout was a contributing factor for selling the plugin. “Matthew Sparrow and I were both burnt out on the project, so the offer to sell was a no-brainer,” Huereca said. “It’s bittersweet letting our baby go, but it’s in good hands.”</p>\n<p>Without proper vetting, selling established plugins to individuals or companies can be harmful to sites and tarnish its reputation. Because UpdraftPlus is a well established company, Huereca didn’t have to do a lot of research.</p>\n<p>“We were looking for more backend plugins that we understand and it’s a great plugin, highly rated and growing,” A company representative said. “Updates and backups go hand-in-hand as people should really backup before updating.”</p>\n<p>UpdraftPlus will focus its marketing efforts towards <a href=\"https://updraftplus.com/updraftcentral/\">UpdraftCentral</a> later this year. UpdraftCentral provides the ability for users to update, backup, and manage their sites from one dashboard. Easy Updates Manager and UpdraftCentral are complimentary products.</p>\n<p>Users can expect to see more updates later this year and continued refinement of the user interface.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Tue, 30 Jan 2018 00:30:31 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:37;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:61:\"BuddyPress: BuddyPress 2.9.3 Security and Maintenance Release\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:32:\"https://buddypress.org/?p=270325\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:81:\"https://buddypress.org/2018/01/buddypress-2-9-3-security-and-maintenance-release/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1312:\"<p>BuddyPress 2.9.3 is now available. This is a security and maintenance release. We strongly encourage all BuddyPress sites to upgrade as soon as possible.</p>\n<p>The 2.9.3 release addresses two security issues:</p>\n<ul>\n<li>A dynamic template loading feature could be used in some cases for unauthorized file execution and directory traversal. Reported by <a href=\"https://pritect.net\">James Golovich</a>.</li>\n<li>Some permissions checks and path validations in the attachment deletion process were hardened. Reported by <a href=\"https://www.ripstech.com/\">RIPSTech</a> and <a href=\"https://profiles.wordpress.org/slaFFik/\">Slava Abakumov</a> of the BuddyPress security team.</li>\n</ul>\n<p>These vulnerabilities were reported privately to the BuddyPress team, in accordance with <a href=\"https://make.wordpress.org/core/handbook/testing/reporting-security-vulnerabilities/\">WordPress’s security policies</a>. Our thanks to all reporters for practicing coordinated disclosure.</p>\n<p>In addition, 2.9.3 includes a change that fixes the ability to install legacy bbPress 1.x forums. Please note that legacy forum support will be removed altogether in BuddyPress 3.0; see <a href=\"https://bpdevel.wordpress.com/2017/12/07/legacy-forums-support-will-be/\">the announcement blog post</a> for more details.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 26 Jan 2018 18:11:30 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:12:\"Boone Gorges\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:38;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:61:\"Post Status: WordPress Market Opportunities — Draft podcast\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"https://poststatus.com/?p=41485\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:68:\"https://poststatus.com/wordpress-market-opportunities-draft-podcast/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2459:\"<p>Welcome to the Post Status <a href=\"https://poststatus.com/category/draft\">Draft podcast</a>, which you can find <a href=\"https://itunes.apple.com/us/podcast/post-status-draft-wordpress/id976403008\">on iTunes</a>, <a href=\"https://play.google.com/music/m/Ih5egfxskgcec4qadr3f4zfpzzm?t=Post_Status__Draft_WordPress_Podcast\">Google Play</a>, <a href=\"http://www.stitcher.com/podcast/krogsgard/post-status-draft-wordpress-podcast\">Stitcher</a>, and <a href=\"http://simplecast.fm/podcasts/1061/rss\">via RSS</a> for your favorite podcatcher. Post Status Draft is hosted by Brian Krogsgard and co-host Brian Richards.</p>\n<p>In this episode, Brian and Brian discuss market segmentation across the WordPress ecosystem. The focus for this discussion focused entirely on the entry-level segment of site assemblers and their small-business clients as well as the mid-level market of contractors and agencies selling additional levels of service. The duo talked through a few different strategies employed in each segment, including service differentiation, regional focus, building a network of complementary contractors, systemizing processes, delivering quality customer support flow, and selling ongoing service.</p>\n<p>In addition to this look at market segmentation, the Brians shared a few useful resources for both Gutenberg and WP-CLI.</p>\n<p></p>\n<h3>Links</h3>\n<ul>\n<li>Mike McAlister’s <a href=\"http://gutenberg.news/\">Gutenberg News</a></li>\n<li>Ahmed Awais’s <a href=\"https://github.com/ahmadawais/create-guten-block\">create-gutenberg-block</a></li>\n<li>Delicious Brain’s <a href=\"https://deliciousbrains.com/wordpress-cli-packages-review/\">WP-CLI packages reviews</a></li>\n<li>WordPress Website: <a href=\"https://poststatus.com/wordpress-website-cost/\">How much should it cost?</a></li>\n<li><a href=\"https://wpsessions.com/sessions/selling-ongoing-service/\">Selling Ongoing Services with Sara Dunn</a></li>\n</ul>\n<h3>Sponsor: iThemes</h3>\n<p>This episode is sponsored by <a href=\"https://ithemes.com/?utm_source=post_status&utm_medium=banner&utm_campaign=ps_ads\">iThemes</a>. The team at iThemes offers WordPress plugins, themes and training to help take the guesswork out of building, maintaining and securing WordPress websites. For more information, check out their <a href=\"https://ithemes.com/?utm_source=post_status&utm_medium=banner&utm_campaign=ps_ads\">website</a> and thank you to iThemes for being a Post Status partner.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 26 Jan 2018 16:50:22 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:14:\"Katie Richards\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:39;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:72:\"WPTavern: WPWeekly Episode 302 – Brian Gardner, Founder of StudioPress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wptavern.com?p=77689&preview=true&preview_id=77689\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:78:\"https://wptavern.com/wpweekly-episode-302-brian-gardner-founder-of-studiopress\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1338:\"<p>In this episode, <a href=\"http://jjj.me\">John James Jacoby</a> and I are joined by <a href=\"https://briangardner.com/\">Brian Gardner</a>, founder of <a href=\"https://www.studiopress.com/\">StudioPress</a>. We talk about the past, present, and future of the company including various milestones such as the Genesis framework and merger with CopyBlogger Media in 2010. We also discuss the community surrounding StudioPress’ products and the role it plays in the company’s continued success.</p>\n<h2>Picks of the Week:</h2>\n<p><a href=\"https://wptavern.com/new-toolkit-simplifies-the-process-of-creating-gutenberg-blocks\">Ahmad Awais Create Guten Block toolkit</a>.</p>\n<h2>WPWeekly Meta:</h2>\n<p><strong>Next Episode:</strong> Wednesday, January 31st 3:00 P.M. Eastern</p>\n<p>Subscribe to <a href=\"https://itunes.apple.com/us/podcast/wordpress-weekly/id694849738\">WordPress Weekly via Itunes</a></p>\n<p>Subscribe to <a href=\"https://www.wptavern.com/feed/podcast\">WordPress Weekly via RSS</a></p>\n<p>Subscribe to <a href=\"http://www.stitcher.com/podcast/wordpress-weekly-podcast?refid=stpr\">WordPress Weekly via Stitcher Radio</a></p>\n<p>Subscribe to <a href=\"https://play.google.com/music/listen?u=0#/ps/Ir3keivkvwwh24xy7qiymurwpbe\">WordPress Weekly via Google Play</a></p>\n<p><strong>Listen To Episode #302:</strong> </p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 26 Jan 2018 04:15:18 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:40;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:38:\"WPTavern: WordPress Turns 15 Years Old\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77652\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:49:\"https://wptavern.com/wordpress-turns-15-years-old\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1120:\"<p><!-- wp:core/paragraph --><br />\nWordPress, the free open source project, <a href=\"https://ma.tt/2003/01/the-blogging-software-dilemma/\">turns 15 years</a> old today. Here is the comment that started it all.<br />\n<!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/image {\"id\":51095} --></p>\n<img src=\"https://i2.wp.com/wptavern.com/wp-content/uploads/2016/01/MikeLittleForkB2Comment.png?w=627&ssl=1\" alt=\"Mike Little's Comment\" />Mike Little's Comment\n<p><!-- /wp:core/image --></p>\n<p><!-- wp:core/paragraph --><br />\nIn addition to celebrating 15 years as a successful software project, it's also a good opportunity to reflect on the number of people across the world who are making a great living and <a href=\"http://heropress.com/\">turning dreams into reality</a> thanks to the project.<br />\n<!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --><br />\nThank you Matt Mullenweg and Mike Little for creating WordPress, its contributors for keeping the ball rolling all these years, and providing opportunities for so many people. Happy birthday WordPress!<br />\n<!-- /wp:core/paragraph --></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 26 Jan 2018 03:41:27 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:41;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:73:\"WPTavern: WordCamp Miami Celebrates Its 10th Consecutive Year March 16-18\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77595\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:84:\"https://wptavern.com/wordcamp-miami-celebrates-its-10th-consecutive-year-march-16-18\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3689:\"<p><!-- wp:core/paragraph --></p>\n<p><a href=\"https://2018.miami.wordcamp.org/\">WordCamp Miami</a> is celebrating its 10th anniversary on March 16-18th. This year's event is organized by twelve people and organizers expect more than 800 people to attend. Speakers will arrive from Italy, Germany, London, Brazil, and other international locations to share their knowledge.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>In addition to a <a href=\"https://2018.miami.wordcamp.org/kids/\">two-day Kids Camp</a> with a Kids Panel, WordCamp Miami will feature two new workshops. The first is developer focused and will prepare developers for <a href=\"https://2018.miami.wordcamp.org/2017/12/19/developer-workshop-announcement-future-of-wordpress/\">the future of WordPress</a>. The second is <a href=\"https://2018.miami.wordcamp.org/2017/12/21/ecommerce-workshop-coming-to-wcmia/\">focused on eCommerce</a>.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Attendees will receive their own site and be able to apply what they've learned to it. The sites will have pre-installed plugins and access to various tools mentioned by the workshop teachers.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>The 'Learn JavaScript Deeply' track is returning this year, featuring local and international JavaScript developers. This is the third time WordCamp Miami has had this track and according to David Bisset, one of the organizers, the focus will be on JavaScript basics, React, plus using JavaScript to create 'cool and unique' projects with or without WordPress.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Joshua Strebel, Syed Balkhi, and Christie Chirinos will highlight Saturday's business track. </p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>For the first time in recent years, WordCamp Miami will have a closing keynote on Saturday, March 17th by John James Jacoby. Jacoby was one of the founders of WordCamp Miami a decade ago, and his talk will cover both nostalgic moments and what the future of WordPress holds for users.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Finally, WordCamp Miami will be doing a 'game show hour' before the official after party. \"We wanted to do something fun and interactive for everyone – and we think we found a great way to segue people from the talks to unwinding at the after party,\" Bisset explained. </p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>\"We are even planning on having our sponsors form teams in a trivia contest battle. There will be provisions at the party for those who want to network or just relax in a quiet setting.\"</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Bisset praised volunteers and organizers for helping make 10 years of WordCamp Miami a reality.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>\"Each and every one of our organizers and speakers deserve a huge amount of thanks and praise for their hard work.\" He said. \"We couldn't have done ten years without the support of the WordPress community.\"</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Tickets are <a href=\"https://2018.miami.wordcamp.org/tickets/\">on sale</a> with a number of purchasing options. Workshops cost $15 each and general admission tickets are $40 each. General admission tickets provide access to Saturday and Sunday sessions, lunch, swag, and the after party. </p>\n<p><!-- /wp:core/paragraph --></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 25 Jan 2018 01:56:52 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:42;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:30:\"HeroPress: Believe In Yourself\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:56:\"https://heropress.com/?post_type=heropress-essays&p=2420\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:112:\"https://heropress.com/essays/believe-in-yourself/#utm_source=rss&utm_medium=rss&utm_campaign=believe-in-yourself\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:10510:\"<img width=\"960\" height=\"480\" src=\"https://heropress.com/wp-content/uploads/2018/01/012418-1024x512.jpg\" class=\"attachment-large size-large wp-post-image\" alt=\"Pull Quote: Working in WordPress has allowed my curiosity to run wild.\" /><p>You ever have a moment where you blink your eyes and you wonder how you’ve gotten to where you are today? I’m having one of those moments right now as I sit here to share my story with you. It’s bizarre to think of how far I’ve come because I truly thought that I was not good enough to be where I am today. Let’s get into it.</p>\n<h3>The Beginning</h3>\n<p>As a child, I was always around technology. My dad was a computer scientist and considered it a great idea to get each of his four children their own computer so they would stay away from his. So as the years went by with system administrative tasks being “one of the hard-knocks of life”, I went off to Drexel University in 2005 to pursue a degree in Computer Science. I remember when I walked into my first class and instantly saw how different I was. Everyone was white. Everyone was male. And I was not. In fact, I couldn’t even check off one of those boxes. I was opposite. I was female and I was black.</p>\n<p>The first year pursuing my degree actually went really well and finished off the year, completing my C++ final project to create a matching cards game using objects and classes. All was swell. I found that I was doing just as well as everyone else. And I found that was struggling in certain areas just like everyone else.</p>\n<h3>Leaning In</h3>\n<p>Next semester came and that’s when the more difficult course load began. There was one class in particular called “Data Algorithms & Theories” that was incredibly and frustratingly difficult. As someone who always wanted to do well and is inclined to beat herself up for not being “perfect”, it was an incredibly stressful time for me. But once again, I was not the only one who was struggling because the class was difficult for all of my classmates. But as the class progressed, I decided to step out of my comfort zone and ask for help. This was the first time I would actually utilize the teaching assistant (TA) that was often present during this class. So our scheduled meeting comes around and it doesn’t go as I’d hoped. It wasn’t at all a welcoming atmosphere.</p>\n<blockquote><p>The demeanor of the TA made it clear that he didn’t want to be there but my happy-go-lucky personality brushed it aside.</p></blockquote>\n<p>To make things worse, I wasn’t understanding the “simple” concepts that he was explaining and was subject to the TA’s dismissive glances of judgement and shame. I remember at one point, my mind shifted into trying to make him like me rather than realize that he was discriminating against me. Then he said to me “You know, maybe this just isn’t for you. I’ve explained this to you multiple times and you’re just not getting.” This was a very upsetting moment in my life because someone who was supposed to be helping me learn was telling me that you’re too stupid to learn. Needless to say, I left that session very upset and I ultimately ended up changing my major to something “easier” because apparently it “wasn’t for me”.</p>\n<h3>Accepting A Career</h3>\n<p>After I graduated in 2010 with my degree in Information Technology, I moved to DC to pursue an unfulfilling Systems Engineering career in government contracting. Don’t get me wrong. I learned a plethora of valuable skills that I will use for the rest of my life. But I wasn’t doing something that was enriching me. Not only that, I was often made to feel ostracized in the work culture because of the lack of diversity.</p>\n<blockquote><p>I’m not sure if anyone’s told you…but it’s extremely hard being a minority and working with people who don’t look like you and who can’t relate to you.</p></blockquote>\n<p>If someone said something racially insensitive or offensive (and there have been multiple instances), that was always a battle I had to fight on my own. And to be honest, sometimes I didn’t fight because I knew no one would give a damn and the person would get away with it with a slap on the wrist.</p>\n<h3>Remembering Joy</h3>\n<p>So in the mist of all of this, no matter how upset, beaten-up and angry I felt after a work day, I could always come back to my love for the metal music genre. I would spend so much time listening to new metal music after work that co-workers nicknamed me “the DJ”. Which isn’t completely untrue. In college, one of my extracurriculars was to host a weekly metal radio show on the college radio station. But I didn’t have that anymore so I essentially felt a bit lost.</p>\n<p>That’s when I decided to get it back! Not in the form of an actual radio show. But in the form of a metal music blog. Outside of having played around with making marque-filled pages on GeoCities and changing the backgrounds of my MySpace and Xanga profiles to be neon-colored or highly pixelated images, I didn’t have any experience making a website. So I GOOGLED it! And in that research I learned how hosting providers work and the best blogging platform for me to use for my blog. And that platform was WordPress. So in 2015, I launched my first website ever on WordPress: metalandcoffee.com. And this point I didn’t really know anything super WordPress-nerdy outside of being able to select a theme and add/organize content on the navigation bar. But I finally had my own voice live and anyone can see it!</p>\n<h3>Looking Deep</h3>\n<p>Now – the year was 2017 and words cannot describe how miserable I am in my current work position. I thought transferring to a position within the company that brought me back to Philadelphia would help my pain and suffering but it only numbed it for a couple months. I still didn’t like the environment, I didn’t like what I was doing, and although I was able to look at the occasional code snippet that would give me a spark of confidence when I understood what the code was doing, I wasn’t given an opportunity to be on the other side. This is what lit a fire under me to finally do everything in my power to move towards a developer career. I felt like that was where I was supposed to be. Sure, I was told that I wasn’t smart enough to be anywhere near code but why did it excite me to see it and recognize it? Why was I able to troubleshoot errors even though I wasn’t a developer? Why was I excelling at quality assuring software by being able to understand the code’s logic thus thinking of scenarios that were unaccounted for?</p>\n<h3>Breaking Through</h3>\n<p>So I signed up for a couple online courses focused on web development and eventually found myself having been accepted to <a href=\"http://www.interactivemechanics.com/fellowship\">a front-end developer fellowship program</a> that provided me with an amazing mentor and a final project to work towards. For my final project, I chose to learn how to create a custom WordPress theme for my Metal & Coffee website because the current one that I was using did not fully suite my needs.</p>\n<blockquote><p>And there you have it – throughout the next 9 months, the doubt and shame instilled in me since college kept coming up and I kept having to find ways to break through it whether it’d be a pep talk from my mentor, talking to developers who look like me (black women) or using meditation to help me through the anxiety.</p></blockquote>\n<p>And by the end of that, not only did I finish my final project (<a href=\"http://metalandcoffee.github.io\">http://metalandcoffee.github.io</a>) and come to really love WordPress theming, I got a job offer from Tracy Levesque and Mia Levesque to work at their WordPress web agency, <a href=\"https://www.yikesinc.com/\">Yikes Inc.</a></p>\n<h3>Finding My Place</h3>\n<p>Now, I’m a full-time WordPress developer and I couldn’t be more satisfied. Working at Yikes has sent my developer skills soaring over mountains and valleys. My curiosity is allowed to run wild and I’ve actually been diving into the plugin world, completely re-coding an internal plugin from the ground up and learning essential web programming practices in the process.</p>\n<p>My next goal in the WordPress community is to see more WordPress developers who look like me. And one step I’ve taken towards that goal is to co-teach a Intro to WordPress workshop at Codeland 2018 which I’m very excited (and nervous) for. And I’ll continue to be as visible and outspoken as possible to encourage diversity in this community.</p>\n<div class=\"rtsocial-container rtsocial-container-align-right rtsocial-horizontal\"><div class=\"rtsocial-twitter-horizontal\"><div class=\"rtsocial-twitter-horizontal-button\"><a title=\"Tweet: Believe In Yourself\" class=\"rtsocial-twitter-button\" href=\"https://twitter.com/share?text=Believe%20In%20Yourself&via=heropress&url=https%3A%2F%2Fheropress.com%2Fessays%2Fbelieve-in-yourself%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-fb-horizontal fb-light\"><div class=\"rtsocial-fb-horizontal-button\"><a title=\"Like: Believe In Yourself\" class=\"rtsocial-fb-button rtsocial-fb-like-light\" href=\"https://www.facebook.com/sharer.php?u=https%3A%2F%2Fheropress.com%2Fessays%2Fbelieve-in-yourself%2F\" rel=\"nofollow\" target=\"_blank\"></a></div></div><div class=\"rtsocial-linkedin-horizontal\"><div class=\"rtsocial-linkedin-horizontal-button\"><a class=\"rtsocial-linkedin-button\" href=\"https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fheropress.com%2Fessays%2Fbelieve-in-yourself%2F&title=Believe+In+Yourself\" rel=\"nofollow\" target=\"_blank\" title=\"Share: Believe In Yourself\"></a></div></div><div class=\"rtsocial-pinterest-horizontal\"><div class=\"rtsocial-pinterest-horizontal-button\"><a class=\"rtsocial-pinterest-button\" href=\"https://pinterest.com/pin/create/button/?url=https://heropress.com/essays/believe-in-yourself/&media=https://heropress.com/wp-content/uploads/2018/01/012418-150x150.jpg&description=Believe In Yourself\" rel=\"nofollow\" target=\"_blank\" title=\"Pin: Believe In Yourself\"></a></div></div><a rel=\"nofollow\" class=\"perma-link\" href=\"https://heropress.com/essays/believe-in-yourself/\" title=\"Believe In Yourself\"></a></div><p>The post <a rel=\"nofollow\" href=\"https://heropress.com/essays/believe-in-yourself/\">Believe In Yourself</a> appeared first on <a rel=\"nofollow\" href=\"https://heropress.com\">HeroPress</a>.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 24 Jan 2018 13:00:37 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Ebonie Butler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:43;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:73:\"WPTavern: New Toolkit Simplifies the Process of Creating Gutenberg Blocks\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77521\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:84:\"https://wptavern.com/new-toolkit-simplifies-the-process-of-creating-gutenberg-blocks\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:5470:\"<p><!-- wp:core/paragraph --></p>\n<p><a href=\"https://ahmadawais.com/\">Ahmad Awais</a>, who <a href=\"https://wptavern.com/gutenberg-boilerplate-demonstrates-how-to-build-custom-blocks\">created the Gutenberg Boilerplate</a> last year, has <a href=\"https://ahmadawais.com/create-guten-block-toolkit/\">released</a> a <a href=\"https://github.com/ahmadawais/create-guten-block\">Guten Block Toolkit</a>. The toolkit substantially simplifies the creation of Gutenberg Blocks by providing no configuration, one dependency, and no lock-in.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Awais created the toolkit after receiving feedback that configuring things like Webpack, React, ES 6/7/8/Next, ESLint, Babel and keeping up with their development was too difficult.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>\"Developers told me that they built Gutenberg blocks with ES5 because the amount of time required to configure, set up, and learn tools like Babel, Webpack, ESLint, Prettier, etc. wasn’t worth it,\" Awais said.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>\"So, yes! I went ahead and built a solution — a zero-config-js #0CJS WordPress developers’ toolkit called create-guten-block!\"</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Creating blocks using the toolkit is a three-step process. </p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Developers begin by installing Node version 8 or higher on a local server. The next step is to run the create-guten-block command and provide a name for the plugin that will be created. This command also creates the folder structure necessary to maintain the project. The last step is to run the NPM start command which runs the plugin in development mode.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Once these steps are completed, the WordPress plugin will be compatible with Gutenberg and have React.js, ES 6/7/8/Next, and Babel, which also has ESLint configurations for code editors to detect and use automatically. </p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>The Guten Block Toolkit comes with the following:</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/list --></p>\n<ul>\n<li>React, JSX, and ES6 syntax support. </li>\n<li>Webpack dev/production build process behind the scene. </li>\n<li>Language extras beyond ES6 like the object spread operator. </li>\n<li>Auto-prefixed CSS, so you don’t need -webkit or other prefixes. </li>\n<li>A build script to bundle JS, CSS, and images for production with source-maps. </li>\n<li>Hassle-free updates for the above tools with a single dependency cgb-scripts.</li>\n</ul>\n<p><!-- /wp:core/list --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>The project has received positive feedback, including from members of Gutenberg's development team.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/embed {\"url\":\"https://twitter.com/GaryPendergast/status/954559771910193152\"} --></p>\n\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Mad props to <a href=\"https://twitter.com/MrAhmadAwais?ref_src=twsrc%5Etfw\">@MrAhmadAwais</a> for making a super useful Gutenberg tool that I\'ve been really looking forward to! ?</p>\n<p>I\'m excited about the possibilities for this, and I love how it\'s embraced WordPress\' \"decisions, not options\" philosophy, doing all of the hard work for you. ?? <a href=\"https://t.co/hUAQVDL7S1\">https://t.co/hUAQVDL7S1</a></p>\n<p>— Gary (@GaryPendergast) <a href=\"https://twitter.com/GaryPendergast/status/954559771910193152?ref_src=twsrc%5Etfw\">January 20, 2018</a></p></blockquote>\n<p><br />\n\n<p><!-- /wp:core/embed --></p>\n<p><!-- wp:core/embed {\"url\":\"https://twitter.com/igorbenic/status/955539392273281025\"} --></p>\n\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Tried the <a href=\"https://t.co/WkvhwSVBh6\">https://t.co/WkvhwSVBh6</a> from <a href=\"https://twitter.com/MrAhmadAwais?ref_src=twsrc%5Etfw\">@MrAhmadAwais</a>, had a block within a minute. Now it\'s time to finish the <a href=\"https://twitter.com/hashtag/Gutenberg?src=hash&ref_src=twsrc%5Etfw\">#Gutenberg</a> course from <a href=\"https://twitter.com/zgordon?ref_src=twsrc%5Etfw\">@zgordon</a> to actually build something useful :D</p>\n<p>— Igor Benić (@igorbenic) <a href=\"https://twitter.com/igorbenic/status/955539392273281025?ref_src=twsrc%5Etfw\">January 22, 2018</a></p></blockquote>\n<p><br />\n\n<p><!-- /wp:core/embed --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>With a stable release now available to the public, Awais is working on <a href=\"https://github.com/ahmadawais/create-guten-block/issues/11\">2.0.0</a>. \"The next step is to get this toolkit tested and mature the entire app to release version 2.0.0 for that not only do I need your <a href=\"https://ahmadawais.com/contact/\">support</a>, I ask that you hop on board and contribute — that’s the only way forward,\" he said.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Create Guten Block Toolkit is <a href=\"https://github.com/ahmadawais/create-guten-block/blob/master/LICENSE\">MIT licensed</a> and available for free <a href=\"https://github.com/ahmadawais/create-guten-block\">on GitHub</a>. Contributions are welcomed! </p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p><!-- /wp:core/paragraph --></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 24 Jan 2018 03:30:09 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:44;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:97:\"WPTavern: Free Conference Dedicated to WordPress in Higher Ed Takes Place January 30th at 9AM CST\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77514\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:108:\"https://wptavern.com/free-conference-dedicated-to-wordpress-in-higher-ed-takes-place-january-30th-at-9am-cst\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:1380:\"<p>If you’re interested in learning how WordPress is used in Higher Ed, tune in to <a href=\"https://online.wpcampus.org/\">WPCampus Online</a>, January 30th at 9AM Central Standard Time. WPCampus Online is a virtual conference that people can watch for free, no traveling necessary. The event uses <a href=\"https://www.crowdcast.io/\">Crowdcast</a> allowing viewers to switch between rooms, interact with each other, and ask questions.</p>\n<p>Some of the topics that <a href=\"https://online.wpcampus.org/schedule/\">will be presented</a> include, <a href=\"https://online.wpcampus.org/schedule/wordpress-and-real-world-data-with-students/\">WordPress and Real-World Data with Students</a>, <a href=\"https://online.wpcampus.org/schedule/headless-brainless-wordpress/\">Headless and Brainless WordPress</a>, and <a href=\"https://online.wpcampus.org/schedule/using-wordpress-support-run-student-government-elections/\">Using WordPress to Support and Run Student Government Elections</a>. If in-person conferences are more your style, keep an eye out for information on WPCampus 2018 tentatively planned for this Summer.</p>\n<p>To learn more about WPCampus and the people behind it, <a href=\"https://wptavern.com/wpweekly-episode-301-wordpress-in-highered-accessibility-and-more-with-rachel-cherry\">listen to our interview</a> with Rachel Cherry on episode 301 of WordPress Weekly.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 22 Jan 2018 22:14:36 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:45;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:70:\"Mark Jaquith: How I fixed Yoast SEO sitemaps on a large WordPress site\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:40:\"http://markjaquith.wordpress.com/?p=5392\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:102:\"https://markjaquith.wordpress.com/2018/01/22/how-i-fixed-yoast-seo-sitemaps-on-a-large-wordpress-site/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:4852:\"<p>One of my Covered Web Services clients recently came to me with a problem: <a href=\"https://yoast.com/wordpress/plugins/seo/\">Yoast SEO</a> sitemaps were broken on their largest, highest-traffic WordPress site. Yoast SEO breaks your sitemap up into chunks. On this site, the individual chunks were loading, but the sitemap index (its “table of contents”) would not load, and was giving a timeout error. This prevented search engines from finding the individual sitemap chunks.</p>\n<p>Sitemaps are really helpful for providing information to search engines about the content on your site, so fixing this issue was a high priority to the client! They were frustrated, and confused, because this was working just fine on their other sites.</p>\n<p>Given that this site has over a decade of content, I figured that Yoast SEO’s dynamic generation of the sitemap was simply taking too long, and the server was giving up.</p>\n<p>So I increased the site’s various timeout settings to 120 seconds.</p>\n<p><strong>No good.</strong></p>\n<p>I increased the timeout settings to 300 seconds. Five whole minutes!</p>\n<p><strong>Still no good.</strong></p>\n<p>This illustrates one of the problems that WordPress sites can face when they accumulate a lot of content: <strong>dynamic processes start to take longer</strong>. A process that takes a reasonable 5 seconds with 5,000 posts might take 100 seconds with 500,000 posts. I could have eventually made the Yoast SEO sitemap index work if I increased the timeout high enough, but that wouldn’t have been a good solution.</p>\n<ol>\n<li>It would have meant increasing the timeout settings irresponsibly high, leaving the server potentially open to abuse.</li>\n<li>Even though it is search engines, not people, who are requesting the sitemap, it is unreasonable to expect them to wait over 5 minutes for it to load. They’re likely to give up. They might even penalize the site in their rankings for being slow.</li>\n</ol>\n<p>I needed the sitemap to be reliably generated without making the search engines wait.</p>\n<p><strong>When something intensive needs to happen reliably on a site, look to the command line.</strong></p>\n<h2>The Solution</h2>\n<p>Yoast SEO doesn’t have <a href=\"http://wp-cli.org/\">WP-CLI</a> (WordPress command line interface) commands, but that doesn’t matter — you can just use <a href=\"https://developer.wordpress.org/cli/commands/eval/\"><b>wp eval</b></a> to run arbitrary WordPress PHP code.</p>\n<p>After a little digging through the <a href=\"https://github.com/Yoast/wordpress-seo/blob/46802dbcf8e7d2ac0d6552f4de0923cd0eba2b07/inc/sitemaps/class-sitemaps.php#L345-L364\">Yoast SEO code</a>, I determined that this WP-CLI command would output the index sitemap:</p>\n<pre class=\"brush: bash; title: ; notranslate\">wp eval \'\n$sm = new WPSEO_Sitemaps;\n$sm->build_root_map();\n$sm->output();\n\'</pre>\n<p>That took a good while to run on the command line, but that doesn’t matter, because I just set a <a href=\"https://help.ubuntu.com/community/CronHowto\">cron job</a> to run it once a day and save its output to a static file.</p>\n<pre class=\"brush: plain; title: ; notranslate\">0 3 * * * cd /srv/www/example.com && /usr/local/bin/wp eval \'$sm = new WPSEO_Sitemaps;$sm->build_root_map();$sm->output();\' > /srv/www/example.com/wp-content/uploads/sitemap_index.xml</pre>\n<p>The final step that was needed was to modify a rewrite in the site’s Nginx config that would make the <b>/sitemap_index.xml</b> path point to the cron-created static file, instead of resolving to Yoast SEO’s dynamic generation URL.</p>\n<pre class=\"brush: plain; highlight: [4]; title: ; notranslate\">location ~ ([^/]*)sitemap(.*).x(m|s)l$ {\n rewrite ^/sitemap.xml$ /sitemap_index.xml permanent;\n rewrite ^/([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 last;\n rewrite ^/sitemap_index.xml$ /wp-content/uploads/sitemap_index.xml last;\n rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;\n}</pre>\n<p>Now the sitemap index loads instantly (because it’s a static file), and is kept up-to-date with a reliable background process. The client is happy that they didn’t have to switch SEO plugins or install a separate sitemap plugin. Everything just works, thanks to a little bit of command line magic.</p>\n<p>What other WordPress processes would benefit from this kind of approach?</p>\n<hr />\n<p><b>Do you need <a href=\"https://coveredwebservices.com/\">WordPress services?</a></b></p>\n<p>Mark runs <a href=\"https://coveredwebservices.com/\">Covered Web Services</a> which specializes in custom WordPress solutions with focuses on security, speed optimization, plugin development and customization, and complex migrations.</p>\n<p>Please reach out to start a conversation!</p>\n[contact-form]\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Mon, 22 Jan 2018 15:15:06 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:12:\"Mark Jaquith\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:46;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:66:\"Post Status: Hosted versus self-hosted eCommerce — Draft podcast\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"https://poststatus.com/?p=41084\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:73:\"https://poststatus.com/hosted-versus-self-hosted-ecommerce-draft-podcast/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2130:\"<p>Welcome to the Post Status <a href=\"https://poststatus.com/category/draft\">Draft podcast</a>, which you can find <a href=\"https://itunes.apple.com/us/podcast/post-status-draft-wordpress/id976403008\">on iTunes</a>, <a href=\"https://play.google.com/music/m/Ih5egfxskgcec4qadr3f4zfpzzm?t=Post_Status__Draft_WordPress_Podcast\">Google Play</a>, <a href=\"http://www.stitcher.com/podcast/krogsgard/post-status-draft-wordpress-podcast\">Stitcher</a>, and <a href=\"http://simplecast.fm/podcasts/1061/rss\">via RSS</a> for your favorite podcatcher. Post Status Draft is hosted by Brian Krogsgard and co-host Brian Richards.</p>\n<p>In this episode, Brian and Brian discuss self-hosted vs managed ecommerce and whether or not conferences have outlived their usefulness. Specifically, they look at WooCommerce vs other solutions and explore Shopify and Liquid Web’s Managed WooCommerce hosting as viable done-for-you strategies. On the conference front, they talk about the good and the bad of conferences and ponder how tech conferences of the future may need to change to attract more attendees.</p>\n<p></p>\n<h3>Links</h3>\n<ul>\n<li><a href=\"https://marco.org/2018/01/17/end-of-conference-era\">The End of the Conference Era</a></li>\n<li><a href=\"https://www.liquidweb.com/blog/liquid-web-announces-the-launch-of-managed-woocommerce-hosting/\">Liquid Web introduces Managed WooCommerce</a></li>\n<li><a href=\"https://github.com/liquidweb/woocommerce-order-tables\">Liquid Web’s WooCommerce Order Tables Plugin</a></li>\n<li><a href=\"https://metorik.com/\">Metorik</a></li>\n<li><a href=\"https://www.ecommercefuel.com/\">eCommerceFuel</a></li>\n</ul>\n<h3>Sponsor: Pippin’s Plugins</h3>\n<p>This episode is sponsored by Pippin’s Plugins. <a href=\"http://pippinsplugins.com/\">Pippin’s Plugins</a> creates a suite of plugins that work great alone, or together. Whether you need to restrict content, sell downloads, or start an affiliate program, they’ve got you covered. For more information, check out their <a href=\"http://pippinsplugins.com/\">website</a> and thank you to Pippin’s Plugins for being a Post Status partner.</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 19 Jan 2018 20:56:40 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:14:\"Katie Richards\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:47;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:16:\"Matt: R.I.P Dean\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:22:\"https://ma.tt/?p=47840\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:33:\"https://ma.tt/2018/01/r-i-p-dean/\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:3483:\"<p>Dean Allen, a web pioneer and good man, has passed away. I've been processing the news for a few days and still don't know where to begin. Dean was a writer, who wrote the software he wrote on. His websites were crafted, designed, and typeset so well you would have visited them even if they were filled with Lorem Ipsum, and paired with his writing you were drawn into an impossibly rich world. His blog was called Textism, and among many other things it introduced me to the art of typography.</p>\n\n<p>Later, he created Textpattern, without which WordPress wouldn't exist. Later, he created Textdrive with Jason Hoffman, without which WordPress wouldn't have found an early business model or had a home on the web. He brought a care and craft to everything he touched that inspires me to this day. As <a href=\"https://daringfireball.net/2018/01/dean_allen\">John Gruber said</a>, \"Dean strove for perfection and often achieved it.\" (Aside: Making typography better on the web led John Gruber to release Smarty Pants, Dean a tool called Textile, and myself something called Texturize all within a few months of each other; John continued his work and created Markdown, I put Texturize into WP, and Dean released Textile in Textpattern.)</p>\n\n<p>Years later, we became friends and shared many trips, walks, drinks, and meals together, often with Hanni and <a href=\"https://om.co/2018/01/18/dean-allen-rest-in-peace/\">Om</a>. (When we overlapped in Vancouver he immediately texted \"I'll show you some butt-kicking food and drink.\") His zest for life was matched with an encyclopedic knowledge of culture and voracious reading (and later podcast listening) habits. I learned so much in our time together, a web inspiration who turned for me into a real-life mensch. He was endlessly generous with his time and counsel in design, prose, and fashion. I learned the impossibly clever sentences he wrote, that you assumed were the product of a small writing crew or at least a few revisions, came annoyingly easily to him, an extension of how he actually thought and wrote and the culmination of a lifetime of telling stories and connecting to the human psyche.</p>\n\n<p>Dean, who (of course) was also a great photographer, didn't love having his own photo taken but would occasionally tolerate me when I pointed a camera at him <a href=\"https://om.co/2018/01/18/dean-allen-rest-in-peace/\">and Om has a number of the photos on his post</a>. There's one that haunts me: before getting BBQ we were at his friend's apartment in Vancouver, listening to Mingus and enjoying hand-crafted old fashioneds with <a href=\"https://ma.tt/files/2018/01/IMG_7147.jpg\">antique bitters</a>, and despite the rain we went on the roof to see the art that was visible from there. He obliged to a photo this time though and we took photos of each other individually in front of a sign that said \"EVERYTHING IS GOING TO BE ALRIGHT.\" It wasn't, but it's what I imagine Dean would say right now if he could.</p>\n\n<div class=\"wp-block-gallery alignnone columns-2 is-cropped\">\n <img src=\"https://i2.wp.com/ma.tt/files/2018/01/IMG_7151.jpg?w=604&ssl=1\" />\n <img src=\"https://i0.wp.com/ma.tt/files/2018/01/IMG_7158.jpg?w=604&ssl=1\" />\n</div>\n\n<img src=\"https://i1.wp.com/ma.tt/files/2018/01/104050690_ce98a95092_o.jpg?w=604&ssl=1\" />\n When we first met, in 2006, <a href=\"https://www.flickr.com/photos/textdriveinc/104050690/in/photostream/\">from Jason</a>.\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Fri, 19 Jan 2018 05:21:34 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:4:\"Matt\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:48;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:100:\"WPTavern: WPWeekly Episode 301 – WordPress in HigherEd, Accessibility, and More With Rachel Cherry\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:58:\"https://wptavern.com?p=77497&preview=true&preview_id=77497\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:105:\"https://wptavern.com/wpweekly-episode-301-wordpress-in-highered-accessibility-and-more-with-rachel-cherry\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2840:\"<p>In this episode, <a href=\"http://jjj.me\">John James Jacoby</a> and I are joined by <a href=\"https://bamadesigner.com/\">Rachel Cherry</a>, Senior Software Engineer for <a href=\"http://www.disneyinteractive.com/\">Disney Interactive</a> and Director of <a href=\"https://wpcampus.org/\">WPCampus</a>. Cherry describes how she got involved with WordPress, its use in higher education, the inspiration behind WPCampus, and her thoughts on accessibility both in WordPress and across the web. She also assigned everyone the following homework assignment.</p>\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Per my interview on <a href=\"https://twitter.com/hashtag/WordPress?src=hash&ref_src=twsrc%5Etfw\">#WordPress</a> Weekly, I’ve assigned everyone <a href=\"https://twitter.com/hashtag/accessibility?src=hash&ref_src=twsrc%5Etfw\">#accessibility</a> homework: open your website and navigate using ONLY THE KEYBOARD. Can you access all content and functionality? Can you open AND close popups? Let me know what you learned.</p>\n<p>— Rachel Cherry (@bamadesigner) <a href=\"https://twitter.com/bamadesigner/status/953742847831818240?ref_src=twsrc%5Etfw\">January 17, 2018</a></p></blockquote>\n<p></p>\n<p>If you want to learn how WordPress is being used in higher education, tune in to<a href=\"https://online.wpcampus.org/\"> WPCampus Online</a> Tuesday, January 30, 2018. Viewers will be able to watch sessions and interact with the speakers for free. Near the end of the show, Jacoby provides a review of the Nintendo Switch he received for Christmas.</p>\n<h2>Stories Discussed:</h2>\n<p><a href=\"https://make.wordpress.org/core/2018/01/12/whats-new-in-gutenberg-12th-january/\">Gutenberg 2.0 Released</a><br />\n<a href=\"https://wptavern.com/wordpress-4-9-2-patches-xss-vulnerability\">WordPress 4.9.2 Patches XSS Vulnerability</a><br />\n<a href=\"https://wptavern.com/zac-gordon-launches-gutenberg-development-course-includes-more-than-30-videos\">Zac Gordon Launches Gutenberg Development Course, Includes More Than 30 Videos</a></p>\n<h2>Picks of the Week:</h2>\n<p><a href=\"https://pippinsplugins.com/2017-in-review/\">Pippin Williamson’s 2017 Year in Review</a></p>\n<h2>WPWeekly Meta:</h2>\n<p><strong>Next Episode:</strong> Wednesday, January 24th 3:00 P.M. Eastern</p>\n<p>Subscribe to <a href=\"https://itunes.apple.com/us/podcast/wordpress-weekly/id694849738\">WordPress Weekly via Itunes</a></p>\n<p>Subscribe to <a href=\"https://www.wptavern.com/feed/podcast\">WordPress Weekly via RSS</a></p>\n<p>Subscribe to <a href=\"http://www.stitcher.com/podcast/wordpress-weekly-podcast?refid=stpr\">WordPress Weekly via Stitcher Radio</a></p>\n<p>Subscribe to <a href=\"https://play.google.com/music/listen?u=0#/ps/Ir3keivkvwwh24xy7qiymurwpbe\">WordPress Weekly via Google Play</a></p>\n<p><strong>Listen To Episode #301:</strong><br />\n</p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Thu, 18 Jan 2018 02:42:56 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}i:49;a:6:{s:4:\"data\";s:13:\"\n \n \n \n \n \n \n\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";s:5:\"child\";a:2:{s:0:\"\";a:5:{s:5:\"title\";a:1:{i:0;a:5:{s:4:\"data\";s:62:\"WPTavern: DesktopServer 3.8.4 Includes A Gift to the Community\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"guid\";a:1:{i:0;a:5:{s:4:\"data\";s:29:\"https://wptavern.com/?p=77259\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:4:\"link\";a:1:{i:0;a:5:{s:4:\"data\";s:73:\"https://wptavern.com/desktopserver-3-8-4-includes-a-gift-to-the-community\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:11:\"description\";a:1:{i:0;a:5:{s:4:\"data\";s:2802:\"<p><!-- wp:core/paragraph --></p>\n<p>DesktopServer <a href=\"https://serverpress.com/announcing-desktopserver-v3-8-4/\">has released</a> version 3.8.4 of its local development software. This version includes a lot of refactored code, setting the foundation for faster updates in the future along with design-time plugins.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>One of the major changes in 3.8.4 is the use of the .dev.cc top level domain.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/quote --></p>\n<blockquote class=\"wp-block-quote\">\n<p>Due to the latest changes with the .dev Top Level Domain and the fact that many browsers now force SSL on anything with the .dev extension, DesktopServer will now use .dev.cc as its TLD extension. This is a legitimate top level domain owned by ServerPress, LLC and will ONLY be used for local development purposes.</p>\n<p><cite><a href=\"https://serverpress.com/announcing-desktopserver-v3-8-4/\">Release Announcement Post</a></cite></p></blockquote>\n<p><!-- /wp:core/quote --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Marc Benzakein says the domain will work no matter which local development solution is being used and that it's a gift to the community. Other domains such as .test will continue to work as expected. </p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>Other improvements include speed optimizations for Windows installs, a Windows compatibility plugin to fix long filename problems when updating from third-party plugin repositories such as Easy Digital Downloads, and a WordPress 4.9.1 Blueprint.</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>If you use an Apple device with a Retina screen or Hi-DPI in Windows, you'll likely appreciate the user-interface changes that are vastly improved on high resolution screens. Josh Eby does!</p>\n<p><!-- /wp:core/paragraph --></p>\n<p><!-- wp:core/embed {\"url\":\"https://twitter.com/josheby/status/953089139439751168\"} --></p>\n\n<blockquote class=\"twitter-tweet\">\n<p lang=\"en\" dir=\"ltr\">Love the new scaling fix on <a href=\"https://twitter.com/DesktopServer?ref_src=twsrc%5Etfw\">@DesktopServer</a> 3.8.4! Looks great on my 4K display now. Can\'t wait for 3.9 to get released!</p>\n<p>— Josh Eby (@josheby) <a href=\"https://twitter.com/josheby/status/953089139439751168?ref_src=twsrc%5Etfw\">January 16, 2018</a></p></blockquote>\n<p><br />\n\n<p><!-- /wp:core/embed --></p>\n<p><!-- wp:core/paragraph --></p>\n<p>DesktopServer 3.8.4 also includes a number of enhancements for premium service customers. To view these and other notes related to the release, check out <a href=\"https://serverpress.com/announcing-desktopserver-v3-8-4/\">the announcement post</a>. </p>\n<p><!-- /wp:core/paragraph --></p>\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}s:7:\"pubDate\";a:1:{i:0;a:5:{s:4:\"data\";s:31:\"Wed, 17 Jan 2018 19:12:14 +0000\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}s:32:\"http://purl.org/dc/elements/1.1/\";a:1:{s:7:\"creator\";a:1:{i:0;a:5:{s:4:\"data\";s:13:\"Jeff Chandler\";s:7:\"attribs\";a:0:{}s:8:\"xml_base\";s:0:\"\";s:17:\"xml_base_explicit\";b:0;s:8:\"xml_lang\";s:0:\"\";}}}}}}}}}}}}}}}}s:4:\"type\";i:128;s:7:\"headers\";O:42:\"Requests_Utility_CaseInsensitiveDictionary\":1:{s:7:\"\0*\0data\";a:8:{s:6:\"server\";s:5:\"nginx\";s:4:\"date\";s:29:\"Sat, 24 Feb 2018 14:26:40 GMT\";s:12:\"content-type\";s:8:\"text/xml\";s:4:\"vary\";s:15:\"Accept-Encoding\";s:13:\"last-modified\";s:29:\"Sat, 24 Feb 2018 14:00:27 GMT\";s:15:\"x-frame-options\";s:10:\"SAMEORIGIN\";s:4:\"x-nc\";s:9:\"HIT ord 1\";s:16:\"content-encoding\";s:4:\"gzip\";}}s:5:\"build\";s:14:\"20130911040210\";}','no');
INSERT INTO `kt_wp_options` (`option_id`, `option_name`, `option_value`, `autoload`)
VALUES
(147,'_transient_timeout_feed_mod_d117b5738fbd35bd8c0391cda1f2b5d9','1519525601','no'),
(148,'_transient_feed_mod_d117b5738fbd35bd8c0391cda1f2b5d9','1519482401','no'),
(149,'_transient_timeout_dash_v2_6a99407fb8af46de90ed98bf9677a010','1519525601','no'),
(150,'_transient_dash_v2_6a99407fb8af46de90ed98bf9677a010','<div class=\"rss-widget\"><ul><li><a class=\'rsswidget\' href=\'https://wordpress.org/news/2018/02/wordcamp-incubator-2-0/\'>WordCamp Incubator 2.0</a></li></ul></div><div class=\"rss-widget\"><ul><li><a class=\'rsswidget\' href=\'https://wptavern.com/wordcamp-orange-county-plugin-a-palooza-first-place-prize-is-3000\'>WPTavern: WordCamp Orange County Plugin-A-Palooza First Place Prize is $3,000</a></li><li><a class=\'rsswidget\' href=\'https://wordpress.org/news/2018/02/wordcamp-incubator-2-0/\'>Dev Blog: WordCamp Incubator 2.0</a></li><li><a class=\'rsswidget\' href=\'https://heropress.com/essays/build-company-wordpress/#utm_source=rss&utm_medium=rss&utm_campaign=build-company-wordpress\'>HeroPress: How To Build A Company With WordPress</a></li></ul></div>','no'),
(151,'current_theme','WP Framework (Skeleton)','yes'),
(152,'theme_mods_wpframework','a:3:{i:0;b:0;s:18:\"nav_menu_locations\";a:0:{}s:18:\"custom_css_post_id\";i:-1;}','yes'),
(153,'theme_switched','','yes'),
(158,'_site_transient_timeout_theme_roots','1519559143','no'),
(159,'_site_transient_theme_roots','a:4:{s:13:\"twentyfifteen\";s:7:\"/themes\";s:15:\"twentyseventeen\";s:7:\"/themes\";s:13:\"twentysixteen\";s:7:\"/themes\";s:11:\"wpframework\";s:7:\"/themes\";}','no');
/*!40000 ALTER TABLE `kt_wp_options` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_postmeta
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_postmeta`;
CREATE TABLE `kt_wp_postmeta` (
`meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`post_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`meta_id`),
KEY `post_id` (`post_id`),
KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_postmeta` WRITE;
/*!40000 ALTER TABLE `kt_wp_postmeta` DISABLE KEYS */;
INSERT INTO `kt_wp_postmeta` (`meta_id`, `post_id`, `meta_key`, `meta_value`)
VALUES
(1,2,'_wp_page_template','default');
/*!40000 ALTER TABLE `kt_wp_postmeta` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_posts
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_posts`;
CREATE TABLE `kt_wp_posts` (
`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`post_author` bigint(20) unsigned NOT NULL DEFAULT '0',
`post_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_date_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`post_title` text COLLATE utf8mb4_unicode_ci NOT NULL,
`post_excerpt` text COLLATE utf8mb4_unicode_ci NOT NULL,
`post_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'publish',
`comment_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
`ping_status` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
`post_password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`post_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`to_ping` text COLLATE utf8mb4_unicode_ci NOT NULL,
`pinged` text COLLATE utf8mb4_unicode_ci NOT NULL,
`post_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_modified_gmt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`post_content_filtered` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`post_parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`guid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`menu_order` int(11) NOT NULL DEFAULT '0',
`post_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'post',
`post_mime_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`comment_count` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`),
KEY `post_name` (`post_name`(191)),
KEY `type_status_date` (`post_type`,`post_status`,`post_date`,`ID`),
KEY `post_parent` (`post_parent`),
KEY `post_author` (`post_author`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_posts` WRITE;
/*!40000 ALTER TABLE `kt_wp_posts` DISABLE KEYS */;
INSERT INTO `kt_wp_posts` (`ID`, `post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_excerpt`, `post_status`, `comment_status`, `ping_status`, `post_password`, `post_name`, `to_ping`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`)
VALUES
(1,1,'2018-02-22 15:07:05','2018-02-22 14:07:05','Vítejte ve WordPressu. Toto je váš první testovací příspěvek. Můžete ho upravit, nebo smazat a postupně pak začít s tvorbou vlastního webu.','Ahoj všichni!','','publish','open','open','','ahoj-vsichni','','','2018-02-22 15:07:05','2018-02-22 14:07:05','',0,'http://localhost/wordcamp-praha-2018/workshop/?p=1',0,'post','',1),
(2,1,'2018-02-22 15:07:05','2018-02-22 14:07:05','Právě si prohlížíte ukázkovou stránku, která byla vytvořena automaticky během instalace WordPressu. Stránky se liší od příspěvků zejména tím, že obsahují nějaký statický text a jsou zobrazovány na stále stejném místě webu (u většiny šablon jde o navigační menu). Lidé obvykle nejdříve vytvářejí základní informační stránky, kde se představují návštěvníkům webu a seznamují je se svými záměry. Může to být např. něco v následujícím stylu (osobní web):\n\n<blockquote>Vítejte! Jmenuju se Pavel a bydlím na venkově. Pracuju jako programátor a po nocích překládáme WordPress do češtiny. A tohle je můj web, kde se občas dozvíte nejen něco o programování, ale i o mé rodině a cestování. Rádi totiž jezdíme na výlety, a to bez ohledu na počasí, protože já zpívám v dešti rád...</blockquote>\n\n... a nebo něco podobného (firemní web):\n\n<blockquote>Firma XYZ byla založena v roce 1991 a již od počátku se zabývá výrobou kvalitního jablečného moštu. Soustředíme se na zpracování ovoce od drobných pěstitelů a naše výrobky neobsahují žádné další chemické přísady. Firma sídlí v Liberci a zaměstnává více než 200 kvalifikovaných lidí.</blockquote>\n\nPokud s WordPressem právě začínáte, měli byste se nejdříve přihlásit do <a href=\"http://localhost/wordcamp-praha-2018/workshop/wp-admin/\">administrace</a> a tuto stránku smazat (nebo upravit). A nic už vám také nebrání vytvářet další obsah webu v podobě nových stránek a příspěvků. Doufáme, že budete se správou webu v redakčním systému WordPress spokojeni!','Zkušební stránka','','publish','closed','open','','zkusebni-stranka','','','2018-02-22 15:07:05','2018-02-22 14:07:05','',0,'http://localhost/wordcamp-praha-2018/workshop/?page_id=2',0,'page','',0),
(3,1,'2018-02-24 15:26:38','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','open','open','','','','','2018-02-24 15:26:38','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?p=3',0,'post','',0),
(4,1,'2018-02-24 15:43:25','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-24 15:43:25','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=4',0,'kt_zzz_ads_key','',0),
(5,1,'2018-02-24 15:43:58','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-24 15:43:58','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=5',0,'kt_zzz_ads_key','',0),
(6,1,'2018-02-24 15:44:30','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-24 15:44:30','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=reference&p=6',0,'reference','',0),
(7,1,'2018-02-24 15:45:36','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-24 15:45:36','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=7',0,'kt_zzz_ads_key','',0),
(8,1,'2018-02-25 12:15:47','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-25 12:15:47','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=8',0,'kt_zzz_ads_key','',0),
(9,1,'2018-02-25 12:15:50','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-25 12:15:50','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=reference&p=9',0,'reference','',0),
(10,1,'2018-02-25 12:19:05','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-25 12:19:05','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=10',0,'kt_zzz_ads_key','',0),
(11,1,'2018-02-25 12:21:17','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-25 12:21:17','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=11',0,'kt_zzz_ads_key','',0),
(12,1,'2018-02-25 12:21:30','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-25 12:21:30','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=kt_zzz_ads_key&p=12',0,'kt_zzz_ads_key','',0),
(13,1,'2018-02-25 12:22:58','0000-00-00 00:00:00','','Automaticky vytvořený koncept','','auto-draft','closed','closed','','','','','2018-02-25 12:22:58','0000-00-00 00:00:00','',0,'http://localhost/wordcamp-praha-2018/workshop/?post_type=ads&p=13',0,'ads','',0);
/*!40000 ALTER TABLE `kt_wp_posts` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_term_relationships
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_term_relationships`;
CREATE TABLE `kt_wp_term_relationships` (
`object_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`term_taxonomy_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`term_order` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`object_id`,`term_taxonomy_id`),
KEY `term_taxonomy_id` (`term_taxonomy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_term_relationships` WRITE;
/*!40000 ALTER TABLE `kt_wp_term_relationships` DISABLE KEYS */;
INSERT INTO `kt_wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`)
VALUES
(1,1,0);
/*!40000 ALTER TABLE `kt_wp_term_relationships` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_term_taxonomy
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_term_taxonomy`;
CREATE TABLE `kt_wp_term_taxonomy` (
`term_taxonomy_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`taxonomy` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`parent` bigint(20) unsigned NOT NULL DEFAULT '0',
`count` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`term_taxonomy_id`),
UNIQUE KEY `term_id_taxonomy` (`term_id`,`taxonomy`),
KEY `taxonomy` (`taxonomy`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_term_taxonomy` WRITE;
/*!40000 ALTER TABLE `kt_wp_term_taxonomy` DISABLE KEYS */;
INSERT INTO `kt_wp_term_taxonomy` (`term_taxonomy_id`, `term_id`, `taxonomy`, `description`, `parent`, `count`)
VALUES
(1,1,'category','',0,1);
/*!40000 ALTER TABLE `kt_wp_term_taxonomy` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_termmeta
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_termmeta`;
CREATE TABLE `kt_wp_termmeta` (
`meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`term_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`meta_id`),
KEY `term_id` (`term_id`),
KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
# Dump of table kt_wp_terms
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_terms`;
CREATE TABLE `kt_wp_terms` (
`term_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`slug` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`term_group` bigint(10) NOT NULL DEFAULT '0',
PRIMARY KEY (`term_id`),
KEY `slug` (`slug`(191)),
KEY `name` (`name`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_terms` WRITE;
/*!40000 ALTER TABLE `kt_wp_terms` DISABLE KEYS */;
INSERT INTO `kt_wp_terms` (`term_id`, `name`, `slug`, `term_group`)
VALUES
(1,'Nezařazené','nezarazene',0);
/*!40000 ALTER TABLE `kt_wp_terms` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_usermeta
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_usermeta`;
CREATE TABLE `kt_wp_usermeta` (
`umeta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned NOT NULL DEFAULT '0',
`meta_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`meta_value` longtext COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`umeta_id`),
KEY `user_id` (`user_id`),
KEY `meta_key` (`meta_key`(191))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_usermeta` WRITE;
/*!40000 ALTER TABLE `kt_wp_usermeta` DISABLE KEYS */;
INSERT INTO `kt_wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`)
VALUES
(1,1,'nickname','admin'),
(2,1,'first_name',''),
(3,1,'last_name',''),
(4,1,'description',''),
(5,1,'rich_editing','true'),
(6,1,'syntax_highlighting','true'),
(7,1,'comment_shortcuts','false'),
(8,1,'admin_color','fresh'),
(9,1,'use_ssl','0'),
(10,1,'show_admin_bar_front','true'),
(11,1,'locale',''),
(12,1,'kt_wp_capabilities','a:1:{s:13:\"administrator\";b:1;}'),
(13,1,'kt_wp_user_level','10'),
(14,1,'dismissed_wp_pointers',''),
(15,1,'show_welcome_panel','0'),
(16,1,'session_tokens','a:1:{s:64:\"aa05cd5b1e4220060c63d89d2f81df7eac988ceea6d85c6f36720f538a4a638b\";a:4:{s:10:\"expiration\";i:1519655197;s:2:\"ip\";s:3:\"::1\";s:2:\"ua\";s:138:\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 OPR/51.0.2830.34\";s:5:\"login\";i:1519482397;}}'),
(17,1,'kt_wp_dashboard_quick_press_last_post_id','3'),
(18,1,'community-events-location','a:1:{s:2:\"ip\";s:2:\"::\";}');
/*!40000 ALTER TABLE `kt_wp_usermeta` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_wp_users
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_wp_users`;
CREATE TABLE `kt_wp_users` (
`ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_login` varchar(60) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_pass` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_nicename` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_email` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_url` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_registered` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`user_activation_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`user_status` int(11) NOT NULL DEFAULT '0',
`display_name` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
PRIMARY KEY (`ID`),
KEY `user_login_key` (`user_login`),
KEY `user_nicename` (`user_nicename`),
KEY `user_email` (`user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
LOCK TABLES `kt_wp_users` WRITE;
/*!40000 ALTER TABLE `kt_wp_users` DISABLE KEYS */;
INSERT INTO `kt_wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`)
VALUES
(1,'admin','$P$BNlm4Y5JDxgIZ1ziXgHzW5vrsJ853t/','admin','hlavac@brilo.cz','','2018-02-22 14:07:05','',0,'admin');
/*!40000 ALTER TABLE `kt_wp_users` ENABLE KEYS */;
UNLOCK TABLES;
# Dump of table kt_zzz_competitive_advantages
# ------------------------------------------------------------
DROP TABLE IF EXISTS `kt_zzz_competitive_advantages`;
CREATE TABLE `kt_zzz_competitive_advantages` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL,
`description` text,
`code` varchar(30) DEFAULT NULL,
`menu_order` int(10) NOT NULL DEFAULT '0',
`visibility` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
| 823.689655 | 254,828 | 0.675968 |
42880da737cca14e4eee9fec474035e8d18177cc | 1,420 | swift | Swift | CoronaContact/Model/Website.swift | austrianredcross/stopp-corona-ios | b75202258e92e6836c703f39544e6d8d0aa57be2 | [
"Apache-2.0"
] | 179 | 2020-04-24T12:28:22.000Z | 2022-02-09T19:24:30.000Z | CoronaContact/Model/Website.swift | austrianredcross/stopp-corona-ios | b75202258e92e6836c703f39544e6d8d0aa57be2 | [
"Apache-2.0"
] | 16 | 2020-04-24T17:41:44.000Z | 2022-02-21T10:39:51.000Z | CoronaContact/Model/Website.swift | austrianredcross/stopp-corona-ios | b75202258e92e6836c703f39544e6d8d0aa57be2 | [
"Apache-2.0"
] | 40 | 2020-04-24T12:57:19.000Z | 2022-02-09T19:24:35.000Z | //
// Website.swift
// CoronaContact
//
import UIKit
enum Website: String {
case imprint
case privacy
case termsOfUse = "terms-of-use"
case privacyAndTermsOfUse = "privacy-and-terms-of-use"
private var localisedFileName: String {
Language.current.rawValue + "." + rawValue
}
var url: URL {
Bundle.main.url(forResource: localisedFileName, withExtension: "html")!
}
var title: String {
switch self {
case .imprint:
return "start_menu_item_2_3_imprint".localized
case .privacyAndTermsOfUse:
return "start_menu_item_2_2_data_privacy".localized
case .privacy:
return "onboarding_data_privacy_headline".localized
case .termsOfUse:
return "onboarding_terms_of_use_headline".localized
}
}
}
enum ExternalWebsite: String {
case faq = "start_menu_item_1_2_faq_link_link_target"
case homepage = "start_menu_item_1_3_red_cross_link_link_target"
case symptomsSource = "self_testing_symptoms_source_link"
var url: URL? {
URL(string: rawValue.localized) ?? URL(string: "https://roteskreuz.at")
}
}
extension ExternalWebsite {
func openInSafariVC(from viewController: UIViewController? = nil) {
guard let url = url else {
return
}
UIApplication.shared.openURLinSafariVC(url, from: viewController)
}
}
| 25.818182 | 79 | 0.664085 |
f77ba8485c1cd0636fe442e4f0f3bc0e935be902 | 2,652 | h | C | ext/evt/epoll.h | DarkKowalski/evt | 69eb821e132898d99708a3aa8bbe63f2f82bd0c8 | [
"BSD-3-Clause"
] | null | null | null | ext/evt/epoll.h | DarkKowalski/evt | 69eb821e132898d99708a3aa8bbe63f2f82bd0c8 | [
"BSD-3-Clause"
] | null | null | null | ext/evt/epoll.h | DarkKowalski/evt | 69eb821e132898d99708a3aa8bbe63f2f82bd0c8 | [
"BSD-3-Clause"
] | null | null | null | #ifndef EPOLL_H
#define EPOLL_H
#include "evt.h"
#if HAVE_SYS_EPOLL_H
VALUE method_scheduler_epoll_init(VALUE self) {
rb_iv_set(self, "@epfd", INT2NUM(epoll_create(1))); // Size of epoll is ignored after Linux 2.6.8.
return Qnil;
}
VALUE method_scheduler_epoll_register(VALUE self, VALUE io, VALUE interest) {
struct epoll_event event;
ID id_fileno = rb_intern("fileno");
int epfd = NUM2INT(rb_iv_get(self, "@epfd"));
int fd = NUM2INT(rb_funcall(io, id_fileno, 0));
int ruby_interest = NUM2INT(interest);
int readable = NUM2INT(rb_const_get(rb_cIO, rb_intern("READABLE")));
int priority = NUM2INT(rb_const_get(rb_cIO, rb_intern("PRIORITY")));
int writable = NUM2INT(rb_const_get(rb_cIO, rb_intern("WRITABLE")));
if (ruby_interest & readable) {
event.events |= EPOLLIN;
}
if (ruby_interest & priority) {
event.events |= EPOLLPRI;
}
if (ruby_interest & writable) {
event.events |= EPOLLOUT;
}
event.events |= EPOLLRDHUP;
event.data.ptr = (void*) io;
epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &event);
return Qnil;
}
VALUE method_scheduler_epoll_wait(VALUE self) {
int n, epfd, i, event_flag, timeout;
VALUE next_timeout, obj_io, iovs, result;
ID id_next_timeout = rb_intern("next_timeout");
ID id_push = rb_intern("push");
epfd = NUM2INT(rb_iv_get(self, "@epfd"));
next_timeout = rb_funcall(self, id_next_timeout, 0);
iovs = rb_ary_new();
if (next_timeout == Qnil) {
timeout = -1;
} else {
timeout = NUM2INT(next_timeout);
}
struct epoll_event events[EPOLL_MAX_EVENTS];
n = epoll_wait(epfd, events, EPOLL_MAX_EVENTS, timeout);
if (n < 0) {
rb_raise(rb_eIOError, "unable to call epoll_wait");
}
for (i = 0; i < n; i++) {
event_flag = events[i].events;
obj_io = (VALUE) events[i].data.ptr;
VALUE e = rb_ary_new2(2);
rb_ary_store(e, 0, obj_io);
rb_ary_store(e, 1, INT2NUM(event_flag));
rb_funcall(iovs, id_push, 1, e);
}
result = rb_ary_new2(3);
rb_ary_store(result, 0, rb_ary_new());
rb_ary_store(result, 1, rb_ary_new());
rb_ary_store(result, 2, iovs);
return result;
}
VALUE method_scheduler_epoll_deregister(VALUE self, VALUE io) {
ID id_fileno = rb_intern("fileno");
int epfd = NUM2INT(rb_iv_get(self, "@epfd"));
int fd = NUM2INT(rb_funcall(io, id_fileno, 0));
epoll_ctl(epfd, EPOLL_CTL_DEL, fd, NULL); // Require Linux 2.6.9 for NULL event.
return Qnil;
}
VALUE method_scheduler_epoll_backend(VALUE klass) {
return rb_str_new_cstr("epoll");
}
#endif
#endif | 28.516129 | 102 | 0.653469 |
f438c991027f1eeb11f06726756a450590583523 | 1,565 | go | Go | validator/http_test.go | fujiwara/go-amzn-oidc | 25200bb47db62267da47dc7ea2fff171b63f8cbf | [
"MIT"
] | null | null | null | validator/http_test.go | fujiwara/go-amzn-oidc | 25200bb47db62267da47dc7ea2fff171b63f8cbf | [
"MIT"
] | 2 | 2021-08-12T01:18:27.000Z | 2022-02-03T02:43:18.000Z | validator/http_test.go | fujiwara/go-amzn-oidc | 25200bb47db62267da47dc7ea2fff171b63f8cbf | [
"MIT"
] | 1 | 2021-08-10T10:55:58.000Z | 2021-08-10T10:55:58.000Z | package validator_test
import (
"net/http"
"net/http/httptest"
"testing"
"time"
"github.com/fujiwara/go-amzn-oidc/validator"
"github.com/golang-jwt/jwt"
)
func TestHTTPHandlerFunc(t *testing.T) {
keySv := httptest.NewServer(http.HandlerFunc(keyHandlerFunc))
defer keySv.Close()
gen := func(token *jwt.Token) (string, error) {
return keySv.URL, nil
}
hf := validator.NewHTTPHandlerFuncWithKeyURLGenerator(gen, time.Second)
validatorSv := httptest.NewServer(http.HandlerFunc(hf))
defer validatorSv.Close()
for _, ts := range keyURLTests {
data, _ := ts.Token.SignedString(privateKey)
// OK
resp, err := requestHTTPHandlerFunc(validatorSv.URL, data)
if err != nil {
t.Error(err)
continue
}
email := resp.Header.Get("x-auth-request-email")
if email != "foo@example.com" {
t.Error("unexpected email", email)
}
// NG
corrupt := data[0 : len(data)-10] // invalid signature
resp, err = requestHTTPHandlerFunc(validatorSv.URL, corrupt)
if err != nil {
t.Error(err)
continue
}
if resp.StatusCode != http.StatusForbidden {
t.Errorf("must be forbidden got status %s", resp.Status)
}
if email := resp.Header.Get("x-auth-request-email"); email != "" {
t.Errorf("x-auth-request-email must be empty got %s", email)
}
}
}
func requestHTTPHandlerFunc(u, data string) (*http.Response, error) {
req, _ := http.NewRequest(http.MethodGet, u, nil)
req.Header.Add("X-Amzn-OIDC-Data", data)
resp, err := http.DefaultClient.Do(req)
if err != nil {
return nil, err
}
resp.Body.Close()
return resp, nil
}
| 24.84127 | 72 | 0.684345 |
cd5b7b98e2a105077de3f00a0ce81f9d1db0d953 | 949 | dart | Dart | Crypto-Coins-List/test/src/modules/coin/infra/adapters/json_to_coin_test.dart | schuberty/ToDo-App | c8d5c767166e9c9a2835d48e122edb90bbcffc7f | [
"MIT"
] | null | null | null | Crypto-Coins-List/test/src/modules/coin/infra/adapters/json_to_coin_test.dart | schuberty/ToDo-App | c8d5c767166e9c9a2835d48e122edb90bbcffc7f | [
"MIT"
] | null | null | null | Crypto-Coins-List/test/src/modules/coin/infra/adapters/json_to_coin_test.dart | schuberty/ToDo-App | c8d5c767166e9c9a2835d48e122edb90bbcffc7f | [
"MIT"
] | 1 | 2022-03-15T14:03:56.000Z | 2022-03-15T14:03:56.000Z | import 'package:crypto_list/src/modules/coin/infra/adapters/json_to_coin.dart';
import 'package:crypto_list/src/shared/entities/coin_entity.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
late CoinEntity coin;
setUp(() {
coin = JsonToCoin.fromMap({
'currency_name': 'Bitcoin',
'cotation': '194.706',
'symbol': 'BTC',
'image_url':
'https://panda-crypto-images.s3.amazonaws.com/512d12d5c9a9b30c6d53-Bitcoin.png',
'details': {
'about':
'O criador inicial do Bitcoin é conhecido por seu pseudônimo, Satoshi Nakamoto. Até o momento, em 2020, sua identidade verdadeira como pessoa — ou organização — permanece desconhecida.',
'fee': 3.345
}
});
});
test('must convert a map to Coin', () {
expect(coin, isA<CoinEntity>());
expect(coin.name, 'Bitcoin');
expect(coin.cotation, 194706);
expect(coin.details.fee, 3.345);
});
}
| 31.633333 | 198 | 0.652266 |
fb59466d20527bd16b0eff7c5f5ee81eb134387c | 22,655 | h | C | ngx_rtmp.h | MasterchiefCC/nginx-http-flv-module | ce202b494988cbed159685b76e48732bab248529 | [
"BSD-2-Clause"
] | null | null | null | ngx_rtmp.h | MasterchiefCC/nginx-http-flv-module | ce202b494988cbed159685b76e48732bab248529 | [
"BSD-2-Clause"
] | null | null | null | ngx_rtmp.h | MasterchiefCC/nginx-http-flv-module | ce202b494988cbed159685b76e48732bab248529 | [
"BSD-2-Clause"
] | null | null | null | #ifndef _NGX_RTMP_H_INCLUDED_
#define _NGX_RTMP_H_INCLUDED_
#include <nginx.h>
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#include <ngx_event_connect.h>
#include "ngx_rtmp_amf.h"
typedef struct ngx_rtmp_core_srv_conf_s ngx_rtmp_core_srv_conf_t;
typedef struct ngx_rtmp_session_s ngx_rtmp_session_t;
typedef struct ngx_rtmp_virtual_names_s ngx_rtmp_virtual_names_t;
#include "ngx_rtmp_script.h"
#include "ngx_rtmp_variables.h"
#if (NGX_WIN32)
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
#endif
typedef struct {
void **main_conf;
void **srv_conf;
void **app_conf;
} ngx_rtmp_conf_ctx_t;
typedef struct {
ngx_str_t addr_text;
/* the default server configuration for this address:port */
ngx_rtmp_core_srv_conf_t *default_server;
ngx_rtmp_virtual_names_t *virtual_names;
unsigned proxy_protocol : 1;
} ngx_rtmp_addr_conf_t;
typedef struct {
in_addr_t addr;
ngx_rtmp_addr_conf_t conf;
} ngx_rtmp_in_addr_t;
#if (NGX_HAVE_INET6)
typedef struct {
struct in6_addr addr6;
ngx_rtmp_addr_conf_t conf;
} ngx_rtmp_in6_addr_t;
#endif
typedef struct {
/* ngx_rtmp_in_addr_t or ngx_rtmp_in_addr6_t */
void *addrs;
ngx_uint_t naddrs;
} ngx_rtmp_port_t;
typedef struct {
int family;
in_port_t port;
ngx_array_t addrs; /* array of ngx_rtmp_conf_addr_t */
} ngx_rtmp_conf_port_t;
#if (nginx_version <= 1010003)
typedef union {
struct sockaddr sockaddr;
struct sockaddr_in sockaddr_in;
#if (NGX_HAVE_INET6)
struct sockaddr_in6 sockaddr_in6;
#endif
#if (NGX_HAVE_UNIX_DOMAIN)
struct sockaddr_un sockaddr_un;
#endif
} ngx_sockaddr_t;
#endif
typedef struct {
ngx_sockaddr_t sockaddr;
socklen_t socklen;
unsigned set : 1;
unsigned default_server : 1;
unsigned bind : 1;
unsigned wildcard : 1;
#if (NGX_HAVE_INET6)
unsigned ipv6only : 1;
#endif
unsigned deferred_accept : 1;
unsigned reuseport : 1;
unsigned so_keepalive : 2;
unsigned proxy_protocol : 1;
int backlog;
int rcvbuf;
int sndbuf;
#if (NGX_HAVE_SETFIB)
int setfib;
#endif
#if (NGX_HAVE_TCP_FASTOPEN)
int fastopen;
#endif
#if (NGX_HAVE_KEEPALIVE_TUNABLE)
int tcp_keepidle;
int tcp_keepintvl;
int tcp_keepcnt;
#endif
#if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER)
char *accept_filter;
#endif
u_char addr[NGX_SOCKADDR_STRLEN + 1];
} ngx_rtmp_listen_opt_t;
typedef struct {
#if (NGX_PCRE)
ngx_rtmp_regex_t *regex;
#endif
ngx_rtmp_core_srv_conf_t *server; /* virtual name server conf */
ngx_str_t name;
} ngx_rtmp_server_name_t;
typedef struct {
ngx_rtmp_listen_opt_t opt;
ngx_hash_t hash;
ngx_hash_wildcard_t *wc_head;
ngx_hash_wildcard_t *wc_tail;
#if (NGX_PCRE)
ngx_uint_t nregex;
ngx_rtmp_server_name_t *regex;
#endif
/* the default server configuration for this address:port */
ngx_rtmp_core_srv_conf_t *default_server;
ngx_array_t servers; /* array of ngx_rtmp_core_srv_conf_t */
} ngx_rtmp_conf_addr_t;
typedef struct {
ngx_rtmp_addr_conf_t *addr_conf;
ngx_rtmp_conf_ctx_t *conf_ctx;
ngx_buf_t **busy;
ngx_int_t nbusy;
ngx_buf_t **free;
ngx_int_t nfree;
unsigned proxy_protocol : 1;
} ngx_rtmp_connection_t;
#define NGX_RTMP_VERSION 3
#define NGX_LOG_DEBUG_RTMP NGX_LOG_DEBUG_CORE
#define NGX_RTMP_DEFAULT_CHUNK_SIZE 128
/* RTMP message types */
#define NGX_RTMP_MSG_CHUNK_SIZE 1
#define NGX_RTMP_MSG_ABORT 2
#define NGX_RTMP_MSG_ACK 3
#define NGX_RTMP_MSG_USER 4
#define NGX_RTMP_MSG_ACK_SIZE 5
#define NGX_RTMP_MSG_BANDWIDTH 6
#define NGX_RTMP_MSG_EDGE 7
#define NGX_RTMP_MSG_AUDIO 8
#define NGX_RTMP_MSG_VIDEO 9
#define NGX_RTMP_MSG_AMF3_META 15
#define NGX_RTMP_MSG_AMF3_SHARED 16
#define NGX_RTMP_MSG_AMF3_CMD 17
#define NGX_RTMP_MSG_AMF_META 18
#define NGX_RTMP_MSG_AMF_SHARED 19
#define NGX_RTMP_MSG_AMF_CMD 20
#define NGX_RTMP_MSG_AGGREGATE 22
#define NGX_RTMP_MSG_MAX 22
#define NGX_RTMP_MAX_CHUNK_SIZE 10485760
#define NGX_RTMP_CONNECT NGX_RTMP_MSG_MAX + 1
#define NGX_RTMP_DISCONNECT NGX_RTMP_MSG_MAX + 2
#define NGX_RTMP_HANDSHAKE_DONE NGX_RTMP_MSG_MAX + 3
#define NGX_HTTP_FLV_LIVE_REQUEST NGX_RTMP_MSG_MAX + 4
#define NGX_RTMP_MAX_EVENT NGX_RTMP_MSG_MAX + 5
/* RMTP control message types */
#define NGX_RTMP_USER_STREAM_BEGIN 0
#define NGX_RTMP_USER_STREAM_EOF 1
#define NGX_RTMP_USER_STREAM_DRY 2
#define NGX_RTMP_USER_SET_BUFLEN 3
#define NGX_RTMP_USER_RECORDED 4
#define NGX_RTMP_USER_PING_REQUEST 6
#define NGX_RTMP_USER_PING_RESPONSE 7
#define NGX_RTMP_USER_UNKNOWN 8
#define NGX_RTMP_USER_BUFFER_END 31
/* Chunk header:
* max 3 basic header
* + max 11 message header
* + max 4 extended header (timestamp) */
#define NGX_RTMP_MAX_CHUNK_HEADER 18
enum { NGX_RTMP_PROTOCOL_RTMP = 0, NGX_RTMP_PROTOCOL_HTTP };
#define NGX_RTMP_INTERNAL_SERVER_ERROR 500
#define NGX_RTMP_MD5_LEN 16
#define NGX_RTMP_MD5_STR_LEN 33
#define NGX_RTMP_MAX_HEX_TIME_LEN 17
typedef struct {
uint32_t csid; /* chunk stream id */
uint32_t timestamp; /* timestamp (delta) */
uint32_t mlen; /* message length */
uint8_t type; /* message type id */
uint32_t msid; /* message stream id */
} ngx_rtmp_header_t;
typedef struct {
ngx_rtmp_header_t hdr;
uint32_t dtime;
uint32_t len; /* current fragment length */
uint8_t ext;
ngx_chain_t *in;
} ngx_rtmp_stream_t;
/* disable zero-sized array warning by msvc */
#if (NGX_WIN32)
#pragma warning(push)
#pragma warning(disable : 4200)
#endif
struct ngx_rtmp_session_s {
uint32_t signature; /* "RTMP" */ /* <-- FIXME wtf */
ngx_int_t port;
ngx_buf_t *request_line;
ngx_str_t uri;
ngx_str_t unparsed_uri;
time_t start_sec;
ngx_msec_t start_msec;
ngx_event_t close;
void **ctx;
void **main_conf;
void **srv_conf;
void **app_conf;
void *data;
ngx_event_t push_evt;
ngx_str_t *addr_text;
ngx_flag_t connected;
#if (nginx_version >= 1007005)
ngx_queue_t posted_dry_events;
#else
ngx_event_t *posted_dry_events;
#endif
ngx_rtmp_variable_value_t *variables;
/* client buffer time in msec */
uint32_t buflen;
uint32_t ack_size;
/* connection parameters */
ngx_str_t app;
ngx_str_t stream;
ngx_str_t args;
ngx_str_t flashver;
ngx_str_t swf_url;
ngx_str_t tc_url;
uint32_t acodecs;
uint32_t vcodecs;
ngx_str_t page_url;
/* handshake data */
ngx_buf_t *hs_buf;
u_char *hs_digest;
unsigned hs_old : 1;
ngx_uint_t hs_stage;
/* connection timestamps */
ngx_msec_t epoch;
ngx_msec_t peer_epoch;
ngx_msec_t base_time;
uint32_t current_time;
/* ping */
ngx_event_t ping_evt;
unsigned ping_active : 1;
unsigned ping_reset : 1;
/* auto-pushed? */
unsigned auto_pushed : 1;
unsigned relay : 1;
unsigned static_relay : 1;
/* URI with "/." and on Win32 with "//" */
unsigned complex_uri : 1;
/* URI with "%" */
unsigned quoted_uri : 1;
/* URI with "+" */
unsigned plus_in_uri : 1;
/* URI with " " */
unsigned space_in_uri : 1;
u_char *uri_start;
u_char *uri_end;
u_char *args_start;
u_char *schema_start;
u_char *schema_end;
u_char *host_start;
u_char *host_end;
u_char *port_start;
u_char *port_end;
unsigned keepalive : 1;
unsigned lingering_close : 1;
unsigned valid_application : 1;
unsigned valid_unparsed_uri : 1;
#if (NGX_PCRE)
ngx_uint_t ncaptures;
int *captures;
u_char *captures_data;
#endif
size_t limit_rate;
size_t limit_rate_after;
ngx_rtmp_connection_t *rtmp_connection;
ngx_rtmp_session_t *publisher;
ngx_pool_t *in_streams_pool;
ngx_pool_t *in_streams_temp_pool;
ngx_pool_t *out_pool;
ngx_pool_t *out_temp_pool;
unsigned server_changed : 1;
unsigned wait_notify_connect : 1;
unsigned wait_notify_play : 1;
/* input stream 0 (reserved by RTMP spec)
* is used as free chain link */
ngx_rtmp_stream_t *in_streams;
uint32_t in_csid;
ngx_uint_t in_chunk_size;
ngx_pool_t *in_pool;
uint32_t in_bytes;
uint32_t in_last_ack;
ngx_pool_t *in_old_pool;
ngx_int_t in_chunk_size_changing;
ngx_connection_t *connection;
/* circular buffer of RTMP message pointers */
ngx_msec_t timeout;
uint32_t out_bytes;
size_t out_pos, out_last;
ngx_chain_t *out_chain;
u_char *out_bpos;
unsigned out_buffer : 1;
size_t out_queue;
size_t out_cork;
ngx_chain_t **out;
u_char stream_name[256];
};
#if (NGX_WIN32)
#pragma warning(pop)
#endif
/* handler result code:
* NGX_ERROR - error
* NGX_OK - success, may continue
* NGX_DONE - success, input parsed, reply sent; need no
* more calls on this event */
typedef ngx_int_t (*ngx_rtmp_handler_pt)(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h, ngx_chain_t *in);
typedef struct {
ngx_str_t name;
ngx_rtmp_handler_pt handler;
} ngx_rtmp_amf_handler_t;
typedef struct {
ngx_array_t servers; /* ngx_rtmp_core_srv_conf_t */
ngx_array_t events[NGX_RTMP_MAX_EVENT];
ngx_hash_t amf_hash;
ngx_array_t amf_arrays;
ngx_array_t amf;
ngx_hash_t variables_hash;
ngx_array_t variables; /* ngx_http_variable_t */
ngx_array_t prefix_variables; /* ngx_http_variable_t */
ngx_uint_t ncaptures;
ngx_uint_t server_names_hash_max_size;
ngx_uint_t server_names_hash_bucket_size;
ngx_uint_t variables_hash_max_size;
ngx_uint_t variables_hash_bucket_size;
ngx_hash_keys_arrays_t *variables_keys;
ngx_array_t *ports; /* ngx_rtmp_conf_port_t */
} ngx_rtmp_core_main_conf_t;
/* global main conf for stats */
extern ngx_rtmp_core_main_conf_t *ngx_rtmp_core_main_conf;
struct ngx_rtmp_core_srv_conf_s {
/* array of the ngx_rtmp_server_name_t, "server_name" directive */
ngx_array_t server_names;
ngx_array_t applications; /* ngx_rtmp_core_app_conf_t */
ngx_msec_t timeout;
ngx_msec_t ping;
ngx_msec_t ping_timeout;
ngx_flag_t so_keepalive;
ngx_int_t max_streams;
ngx_uint_t ack_window;
ngx_int_t chunk_size;
ngx_pool_t *pool;
ngx_chain_t *free;
ngx_chain_t *free_hs;
size_t max_message;
ngx_flag_t play_time_fix;
ngx_flag_t publish_time_fix;
ngx_flag_t busy;
size_t out_queue;
size_t out_cork;
ngx_msec_t buflen;
ngx_rtmp_conf_ctx_t *ctx;
ngx_str_t server_name;
size_t connection_pool_size;
ngx_flag_t merge_slashes;
ngx_flag_t listen_parsed;
unsigned listen : 1;
#if (NGX_PCRE)
unsigned captures : 1;
#endif
};
struct ngx_rtmp_virtual_names_s {
ngx_hash_combined_t names;
ngx_uint_t nregex;
ngx_rtmp_server_name_t *regex;
};
typedef struct {
ngx_array_t applications; /* ngx_rtmp_core_app_conf_t */
ngx_str_t name;
void **app_conf;
#if (NGX_PCRE)
ngx_rtmp_regex_t *regex;
#endif
unsigned noname : 1; /* "if () {}" block or limit_except */
unsigned named : 1;
size_t send_lowat;
size_t postpone_output;
size_t limit_rate;
size_t limit_rate_after;
size_t sendfile_max_chunk;
ngx_msec_t send_timeout;
ngx_msec_t keepalive_timeout;
ngx_msec_t lingering_time;
ngx_msec_t lingering_timeout;
ngx_msec_t resolver_timeout;
ngx_resolver_t *resolver;
ngx_flag_t tcp_nopush;
ngx_flag_t tcp_nodelay;
} ngx_rtmp_core_app_conf_t;
typedef struct {
ngx_str_t *client;
ngx_rtmp_session_t *session;
} ngx_rtmp_error_log_ctx_t;
typedef struct {
ngx_int_t (*preconfiguration)(ngx_conf_t *cf);
ngx_int_t (*postconfiguration)(ngx_conf_t *cf);
void *(*create_main_conf)(ngx_conf_t *cf);
char *(*init_main_conf)(ngx_conf_t *cf, void *conf);
void *(*create_srv_conf)(ngx_conf_t *cf);
char *(*merge_srv_conf)(ngx_conf_t *cf, void *prev, void *conf);
void *(*create_app_conf)(ngx_conf_t *cf);
char *(*merge_app_conf)(ngx_conf_t *cf, void *prev, void *conf);
} ngx_rtmp_module_t;
#define NGX_RTMP_MODULE 0x504D5452 /* "RTMP" */
#define NGX_RTMP_MAIN_CONF 0x02000000
#define NGX_RTMP_SRV_CONF 0x04000000
#define NGX_RTMP_APP_CONF 0x08000000
#define NGX_RTMP_REC_CONF 0x10000000
#define NGX_RTMP_UPS_CONF 0x20000000
#define NGX_RTMP_MAIN_CONF_OFFSET offsetof(ngx_rtmp_conf_ctx_t, main_conf)
#define NGX_RTMP_SRV_CONF_OFFSET offsetof(ngx_rtmp_conf_ctx_t, srv_conf)
#define NGX_RTMP_APP_CONF_OFFSET offsetof(ngx_rtmp_conf_ctx_t, app_conf)
#define ngx_rtmp_get_module_ctx(s, module) (s)->ctx[module.ctx_index]
#define ngx_rtmp_set_ctx(s, c, module) s->ctx[module.ctx_index] = c;
#define ngx_rtmp_delete_ctx(s, module) s->ctx[module.ctx_index] = NULL;
#define ngx_rtmp_get_module_main_conf(s, module) \
(s)->main_conf[module.ctx_index]
#define ngx_rtmp_get_module_srv_conf(s, module) (s)->srv_conf[module.ctx_index]
#define ngx_rtmp_get_module_app_conf(s, module) \
((s)->app_conf ? (s)->app_conf[module.ctx_index] : NULL)
#define ngx_rtmp_conf_get_module_main_conf(cf, module) \
((ngx_rtmp_conf_ctx_t *)cf->ctx)->main_conf[module.ctx_index]
#define ngx_rtmp_conf_get_module_srv_conf(cf, module) \
((ngx_rtmp_conf_ctx_t *)cf->ctx)->srv_conf[module.ctx_index]
#define ngx_rtmp_conf_get_module_app_conf(cf, module) \
((ngx_rtmp_conf_ctx_t *)cf->ctx)->app_conf[module.ctx_index]
#ifdef NGX_DEBUG
char *ngx_rtmp_message_type(uint8_t type);
char *ngx_rtmp_user_message_type(uint16_t evt);
#endif
void ngx_rtmp_init_connection(ngx_connection_t *c);
ngx_rtmp_session_t *ngx_rtmp_init_session(ngx_connection_t *c,
ngx_rtmp_addr_conf_t *addr_conf);
void ngx_rtmp_finalize_session(ngx_rtmp_session_t *s);
void ngx_rtmp_handshake(ngx_rtmp_session_t *s);
void ngx_rtmp_client_handshake(ngx_rtmp_session_t *s, unsigned async);
void ngx_rtmp_free_handshake_buffers(ngx_rtmp_session_t *s);
void ngx_rtmp_cycle(ngx_rtmp_session_t *s);
void ngx_rtmp_reset_ping(ngx_rtmp_session_t *s);
ngx_chain_t *ngx_rtmp_alloc_in_buf(ngx_rtmp_session_t *s);
ngx_int_t ngx_rtmp_finalize_set_chunk_size(ngx_rtmp_session_t *s);
ngx_int_t ngx_rtmp_fire_event(ngx_rtmp_session_t *s, ngx_uint_t evt,
ngx_rtmp_header_t *h, ngx_chain_t *in);
ngx_int_t ngx_rtmp_set_chunk_size(ngx_rtmp_session_t *s, ngx_uint_t size);
/* Bit reverse: we need big-endians in many places */
void *ngx_rtmp_rmemcpy(void *dst, const void *src, size_t n);
#define ngx_rtmp_rcpymem(dst, src, n) \
(((u_char *)ngx_rtmp_rmemcpy(dst, src, n)) + (n))
static ngx_inline uint16_t ngx_rtmp_r16(uint16_t n) {
return (n << 8) | (n >> 8);
}
static ngx_inline uint32_t ngx_rtmp_r32(uint32_t n) {
return (n << 24) | ((n << 8) & 0xff0000) | ((n >> 8) & 0xff00) | (n >> 24);
}
static ngx_inline uint64_t ngx_rtmp_r64(uint64_t n) {
return (uint64_t)ngx_rtmp_r32((uint32_t)n) << 32 |
ngx_rtmp_r32((uint32_t)(n >> 32));
}
/* Receiving messages */
ngx_int_t ngx_rtmp_receive_message(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
ngx_chain_t *in);
ngx_int_t ngx_rtmp_protocol_message_handler(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h,
ngx_chain_t *in);
ngx_int_t ngx_rtmp_user_message_handler(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h, ngx_chain_t *in);
ngx_int_t ngx_rtmp_aggregate_message_handler(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h,
ngx_chain_t *in);
ngx_int_t ngx_rtmp_amf_message_handler(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h, ngx_chain_t *in);
ngx_int_t ngx_rtmp_amf_shared_object_handler(ngx_rtmp_session_t *s,
ngx_rtmp_header_t *h,
ngx_chain_t *in);
/* Shared output buffers */
/* Store refcount in negative bytes of shared buffer */
#define NGX_RTMP_REFCOUNT_TYPE uint32_t
#define NGX_RTMP_REFCOUNT_BYTES sizeof(NGX_RTMP_REFCOUNT_TYPE)
#define ngx_rtmp_ref(b) *((NGX_RTMP_REFCOUNT_TYPE *)(b)-1)
#define ngx_rtmp_ref_set(b, v) ngx_rtmp_ref(b) = v
#define ngx_rtmp_ref_get(b) ++ngx_rtmp_ref(b)
#define ngx_rtmp_ref_put(b) --ngx_rtmp_ref(b)
ngx_chain_t *ngx_rtmp_alloc_shared_buf(ngx_rtmp_core_srv_conf_t *cscf);
void ngx_rtmp_free_shared_chain(ngx_rtmp_core_srv_conf_t *cscf,
ngx_chain_t *in);
ngx_chain_t *ngx_rtmp_append_shared_bufs(ngx_rtmp_core_srv_conf_t *cscf,
ngx_chain_t *head, ngx_chain_t *in);
#define ngx_rtmp_acquire_shared_chain(in) ngx_rtmp_ref_get(in);
/* Sending messages */
void ngx_rtmp_prepare_message(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
ngx_rtmp_header_t *lh, ngx_chain_t *out);
ngx_int_t ngx_rtmp_send_message(ngx_rtmp_session_t *s, ngx_chain_t *out,
ngx_uint_t priority);
/* Note on priorities:
* the bigger value the lower the priority.
* priority=0 is the highest */
#define NGX_RTMP_LIMIT_SOFT 0
#define NGX_RTMP_LIMIT_HARD 1
#define NGX_RTMP_LIMIT_DYNAMIC 2
/* Protocol control messages */
ngx_chain_t *ngx_rtmp_create_chunk_size(ngx_rtmp_session_t *s,
uint32_t chunk_size);
ngx_chain_t *ngx_rtmp_create_abort(ngx_rtmp_session_t *s, uint32_t csid);
ngx_chain_t *ngx_rtmp_create_ack(ngx_rtmp_session_t *s, uint32_t seq);
ngx_chain_t *ngx_rtmp_create_ack_size(ngx_rtmp_session_t *s, uint32_t ack_size);
ngx_chain_t *ngx_rtmp_create_bandwidth(ngx_rtmp_session_t *s, uint32_t ack_size,
uint8_t limit_type);
ngx_int_t ngx_rtmp_send_chunk_size(ngx_rtmp_session_t *s, uint32_t chunk_size);
ngx_int_t ngx_rtmp_send_abort(ngx_rtmp_session_t *s, uint32_t csid);
ngx_int_t ngx_rtmp_send_ack(ngx_rtmp_session_t *s, uint32_t seq);
ngx_int_t ngx_rtmp_send_ack_size(ngx_rtmp_session_t *s, uint32_t ack_size);
ngx_int_t ngx_rtmp_send_bandwidth(ngx_rtmp_session_t *s, uint32_t ack_size,
uint8_t limit_type);
/* User control messages */
ngx_chain_t *ngx_rtmp_create_stream_begin(ngx_rtmp_session_t *s, uint32_t msid);
ngx_chain_t *ngx_rtmp_create_stream_eof(ngx_rtmp_session_t *s, uint32_t msid);
ngx_chain_t *ngx_rtmp_create_stream_dry(ngx_rtmp_session_t *s, uint32_t msid);
ngx_chain_t *ngx_rtmp_create_set_buflen(ngx_rtmp_session_t *s, uint32_t msid,
uint32_t buflen_msec);
ngx_chain_t *ngx_rtmp_create_recorded(ngx_rtmp_session_t *s, uint32_t msid);
ngx_chain_t *ngx_rtmp_create_ping_request(ngx_rtmp_session_t *s,
uint32_t timestamp);
ngx_chain_t *ngx_rtmp_create_ping_response(ngx_rtmp_session_t *s,
uint32_t timestamp);
ngx_int_t ngx_rtmp_send_stream_begin(ngx_rtmp_session_t *s, uint32_t msid);
ngx_int_t ngx_rtmp_send_stream_eof(ngx_rtmp_session_t *s, uint32_t msid);
ngx_int_t ngx_rtmp_send_stream_dry(ngx_rtmp_session_t *s, uint32_t msid);
ngx_int_t ngx_rtmp_send_set_buflen(ngx_rtmp_session_t *s, uint32_t msid,
uint32_t buflen_msec);
ngx_int_t ngx_rtmp_send_recorded(ngx_rtmp_session_t *s, uint32_t msid);
ngx_int_t ngx_rtmp_send_ping_request(ngx_rtmp_session_t *s, uint32_t timestamp);
ngx_int_t ngx_rtmp_send_ping_response(ngx_rtmp_session_t *s,
uint32_t timestamp);
/* AMF sender/receiver */
ngx_int_t ngx_rtmp_append_amf(ngx_rtmp_session_t *s, ngx_chain_t **first,
ngx_chain_t **last, ngx_rtmp_amf_elt_t *elts,
size_t nelts);
ngx_int_t ngx_rtmp_receive_amf(ngx_rtmp_session_t *s, ngx_chain_t *in,
ngx_rtmp_amf_elt_t *elts, size_t nelts);
ngx_chain_t *ngx_rtmp_create_amf(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
ngx_rtmp_amf_elt_t *elts, size_t nelts);
ngx_int_t ngx_rtmp_send_amf(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
ngx_rtmp_amf_elt_t *elts, size_t nelts);
/* AMF status sender */
ngx_chain_t *ngx_rtmp_create_status(ngx_rtmp_session_t *s, char *code,
char *level, char *desc);
ngx_chain_t *ngx_rtmp_create_play_status(ngx_rtmp_session_t *s, char *code,
char *level, ngx_uint_t duration,
ngx_uint_t bytes);
ngx_chain_t *ngx_rtmp_create_sample_access(ngx_rtmp_session_t *s);
ngx_int_t ngx_rtmp_send_status(ngx_rtmp_session_t *s, char *code, char *level,
char *desc);
ngx_int_t ngx_rtmp_send_play_status(ngx_rtmp_session_t *s, char *code,
char *level, ngx_uint_t duration,
ngx_uint_t bytes);
ngx_int_t ngx_rtmp_send_sample_access(ngx_rtmp_session_t *s);
/* Frame types */
#define NGX_RTMP_VIDEO_KEY_FRAME 1
#define NGX_RTMP_VIDEO_INTER_FRAME 2
#define NGX_RTMP_VIDEO_DISPOSABLE_FRAME 3
static ngx_inline ngx_int_t ngx_rtmp_get_video_frame_type(ngx_chain_t *in) {
return (in->buf->pos[0] & 0xf0) >> 4;
}
static ngx_inline ngx_int_t ngx_rtmp_is_codec_header(ngx_chain_t *in) {
return in->buf->pos + 1 < in->buf->last && in->buf->pos[1] == 0;
}
extern ngx_uint_t ngx_rtmp_naccepted;
#if (nginx_version >= 1007011)
extern ngx_queue_t ngx_rtmp_init_queue;
#elif (nginx_version >= 1007005)
extern ngx_thread_volatile ngx_queue_t ngx_rtmp_init_queue;
#else
extern ngx_thread_volatile ngx_event_t *ngx_rtmp_init_queue;
#endif
extern ngx_uint_t ngx_rtmp_max_module;
extern ngx_module_t ngx_rtmp_core_module;
u_char *ngx_rtmp_log_error(ngx_log_t *log, u_char *buf, size_t len);
ngx_int_t ngx_rtmp_parse_request_line(ngx_rtmp_session_t *s, ngx_buf_t *b);
ngx_int_t ngx_rtmp_process_request_uri(ngx_rtmp_session_t *s);
ngx_int_t ngx_rtmp_parse_complex_uri(ngx_rtmp_session_t *s,
ngx_uint_t merge_slashes);
ngx_int_t ngx_rtmp_process_virtual_host(ngx_rtmp_session_t *s);
ngx_int_t ngx_rtmp_validate_host(ngx_str_t *host, ngx_pool_t *pool,
ngx_uint_t alloc);
ngx_int_t ngx_rtmp_set_virtual_server(ngx_rtmp_session_t *s, ngx_str_t *host);
ngx_int_t ngx_rtmp_process_request_line(ngx_rtmp_session_t *s,
const u_char *name, const u_char *args,
const u_char *cmd);
#if (nginx_version <= 1011001)
in_port_t ngx_inet_get_port(struct sockaddr *sa);
void ngx_inet_set_port(struct sockaddr *sa, in_port_t port);
#endif
ngx_int_t ngx_rtmp_send_fcpublish(ngx_rtmp_session_t *s, u_char *desc);
ngx_int_t ngx_rtmp_send_fcunpublish(ngx_rtmp_session_t *s, u_char *desc);
ngx_int_t ngx_rtmp_peer_connect_from_addrs(ngx_rtmp_session_t *s);
ngx_int_t ngx_rtmp_is_match_len(const char *src, ngx_uint_t src_len,
const char *dest, ngx_uint_t dest_len);
#endif /* _NGX_RTMP_H_INCLUDED_ */
| 29.614379 | 80 | 0.735555 |
0c5f682d3eb138f380d2257f5c453f19f2b56e1c | 1,105 | swift | Swift | Sources/LocheckLogic/Types/LprojFiles.swift | taher-mosbah/locheck | ad3331e79168b243faddd99d3aa75af53107309a | [
"MIT"
] | 63 | 2021-09-01T19:01:22.000Z | 2022-02-24T03:11:24.000Z | Sources/LocheckLogic/Types/LprojFiles.swift | taher-mosbah/locheck | ad3331e79168b243faddd99d3aa75af53107309a | [
"MIT"
] | 17 | 2021-09-01T17:18:35.000Z | 2022-02-22T16:37:21.000Z | Sources/LocheckLogic/Types/LprojFiles.swift | taher-mosbah/locheck | ad3331e79168b243faddd99d3aa75af53107309a | [
"MIT"
] | 4 | 2021-09-20T15:48:39.000Z | 2022-02-18T10:41:30.000Z | //
// LprojFiles.swift
//
//
// Created by Steve Landey on 8/18/21.
//
import Files
import Foundation
/**
Manifest of all files within an `.lproj` file
*/
public struct LprojFiles {
public let name: String
public let path: String
public let strings: [File]
public let stringsdict: [File]
public init(folder: Folder) {
name = folder.nameExcludingExtension
path = folder.path
var strings = [File]()
var stringsdict = [File]()
for file in folder.files {
switch file.extension {
case "strings": strings.append(file)
case "stringsdict": stringsdict.append(file)
default: break
}
}
self.strings = strings
self.stringsdict = stringsdict
}
public func validateInternally(problemReporter: ProblemReporter) {
stringsdict
.compactMap { StringsdictFile(path: $0.path, problemReporter: problemReporter) }
.flatMap(\.entries)
.forEach { _ = $0.getCanonicalArgumentList(problemReporter: problemReporter) }
}
}
| 24.555556 | 92 | 0.61267 |
51062cdc72288a31c6f2319a32450634e642ff74 | 278 | c | C | tests/final/test11_scope.c | nirmal-suthar/gcc_lite | 53b25acb8d4702a9f1b369c862e7e484be2385f9 | [
"MIT"
] | 2 | 2021-05-27T10:45:50.000Z | 2021-06-07T13:51:53.000Z | tests/final/test11_scope.c | nirmal-suthar/gcc_lite | 53b25acb8d4702a9f1b369c862e7e484be2385f9 | [
"MIT"
] | null | null | null | tests/final/test11_scope.c | nirmal-suthar/gcc_lite | 53b25acb8d4702a9f1b369c862e7e484be2385f9 | [
"MIT"
] | null | null | null | int a;
void f(){
a=10;
}
int g(int b,int c){
return a++;
}
int main()
{
int a=10;
int b;
int k;
int f1;
int q[10];
// int a;
b--;
k =(int) a;
f();
f1 = g(a,b);
q[1] = a;
a = k<2 ? 4: 6 ;
printf("k = %d\n",k);
printf("q[1] = %d\n",q[1]);
} | 9.928571 | 29 | 0.392086 |
58a0b4f173e7bdfb94f0246a1ff32a917c8b9779 | 1,919 | lua | Lua | Love2D/GameJamTitle/main.lua | sdleffler/TwoHourDemos | 886192a10b89d4eb7177b7f2d179644645371cb1 | [
"MIT"
] | null | null | null | Love2D/GameJamTitle/main.lua | sdleffler/TwoHourDemos | 886192a10b89d4eb7177b7f2d179644645371cb1 | [
"MIT"
] | 2 | 2015-09-18T21:51:23.000Z | 2015-09-19T01:05:17.000Z | Love2D/GameJamTitle/main.lua | sdleffler/TwoHourDemos | 886192a10b89d4eb7177b7f2d179644645371cb1 | [
"MIT"
] | null | null | null | local graphics = love.graphics
graphics.setDefaultFilter('nearest')
love.window.setMode(0, 0, {fullscreen = true})
local function wave(neutral, amp, omega, phase)
return function(t)
return neutral + amp * math.cos(omega * t + phase)
end
end
math.randomseed(os.time())
local stars = {}
for i = 1, 5000 do
table.insert(stars, {
x = math.random(-graphics.getWidth(), graphics.getWidth());
y = math.random(-graphics.getHeight(), graphics.getHeight());
z = math.random(0, 100);
})
end
local objects = {
{
img = graphics.newImage 'game.png';
scale = wave(2, 0.1, math.random() + 1, math.random() * 100);
angle = wave(0, 0.025, math.sqrt(2), math.random() * 100);
pos = {0, 0};
};
{
img = graphics.newImage 'jam.png';
scale = wave(2, 0.1, math.random() + 1, math.random() * 100);
angle = wave(0, 0.025, math.sqrt(2), math.random() * 100);
pos = {0, 0};
};
{
img = graphics.newImage 'club.png';
scale = wave(2, 0.1, math.random() + 1, math.random() * 100);
angle = wave(0, 0.025, math.sqrt(2), math.random() * 100);
pos = {0, 0};
};
}
local t = 0
function love.draw()
graphics.push()
graphics.translate(graphics.getWidth() / 2, graphics.getHeight() / 2)
graphics.setPointSize(4)
for _, star in ipairs(stars) do
local x = star.x / star.z
local y = star.y / star.z
graphics.setColor(255, 255, 255, math.min(255, 255 / star.z))
graphics.rectangle('fill', x, y, 5 / star.z, 5 / star.z)
end
graphics.setColor(255, 255, 255)
for _, obj in ipairs(objects) do
local img = obj.img
graphics.push()
graphics.translate(unpack(obj.pos))
graphics.rotate(obj.angle(t))
graphics.scale(obj.scale(t))
graphics.draw(img, -img:getWidth() / 2, -img:getHeight() / 2)
graphics.pop()
end
graphics.pop()
end
local speed = 1
function love.update(dt)
t = t + dt
for _, star in ipairs(stars) do
star.z = star.z - speed * dt
star.z = star.z % 100
end
end
| 22.576471 | 70 | 0.635227 |
0bcebc39ec4809c843e8038070f72c504d910e78 | 2,195 | js | JavaScript | prax/src/redux/chat/actions.js | MartinScriblerus/prax | b407970ef55f399696b7d01059fe9b0f5671d3ed | [
"MIT"
] | null | null | null | prax/src/redux/chat/actions.js | MartinScriblerus/prax | b407970ef55f399696b7d01059fe9b0f5671d3ed | [
"MIT"
] | 2 | 2020-05-23T08:22:56.000Z | 2022-01-27T16:13:59.000Z | prax/src/redux/chat/actions.js | MartinScriblerus/Prax | b407970ef55f399696b7d01059fe9b0f5671d3ed | [
"MIT"
] | null | null | null | import { ChatTypes } from './types'
import {
getUsers as getUsersAPI,
getChat as getChatAPI,
postMessage as postMessageAPI,
// markAsRead as markAsReadAPI
} from '../../services/api'
export const getUsersRequest = ()=>async dispatch=>{
dispatch({type: ChatTypes.GET_USERS_REQUEST})
try {
//const response = await axios.get(`${BASE_URL}/relation`)
const response = await getUsersAPI()
//onsole.log(response)
dispatch(getUsersSuccess(response))
}catch(err){
console.log(err.response)
}
}
export const getUsersSuccess = (user)=> async dispatch=>{
try {
// const response = await axios.get(`${BASE_URL}/relation`)
// users = await getUsersSuccess()
dispatch({
type: ChatTypes.GET_USERS_SUCCESS,
payload: user
})
} catch (err){
console.log("Get users success failed")
}
}
export const getChatRequest =(id)=> async dispatch=>{
dispatch({type: ChatTypes.GET_USERS_REQUEST})
try{
//const response = await axios.get(`${BASE_URL}/message/chat/${id}`)
const response = await getChatAPI(id)
console.log(response);
dispatch(getChatSuccess(response.data.chat))
console.log(response.data.chat)
}catch(err){
console.log(err.response)
}
}
export const getChatSuccess =(messages)=>async dispatch=>{
dispatch({
type: ChatTypes.GET_CHAT_SUCCESS,
payload: messages
})
}
export const postMessageRequest = (messages, idOrigin)=>async dispatch=>{
dispatch({type: ChatTypes.POST_MESSAGE_REQUEST})
try{
//await axios.post(`${BASE_URL}/message/`, dataMessage)
await postMessageAPI(messages)
dispatch(postMessageSuccess(messages, idOrigin))
// dispatch(Success(dataMessage, idOrigin))
}catch(err){
console.log(err.response)
}
}
export const postMessageSuccess = (idOrigin)=>async dispatch=>{
dispatch({type: ChatTypes.POST_MESSAGE_SUCCESS})
dispatch(getUsersRequest())
}
export const markAsReadSuccess =()=> async dispatch=>{
dispatch({type: ChatTypes.MARK_AS_READ_SUCCESS})
} | 24.388889 | 76 | 0.63918 |
405c33ca184f7b1a68e6c4af60fa88f8c034646c | 1,695 | py | Python | drip/api/broadcasts.py | willjohnson/drip-python | 13e2836b5acb7a822b0e1f9884e3249d37734cef | [
"MIT"
] | 5 | 2019-04-11T19:32:14.000Z | 2020-08-03T21:58:55.000Z | drip/api/broadcasts.py | willjohnson/drip-python | 13e2836b5acb7a822b0e1f9884e3249d37734cef | [
"MIT"
] | 7 | 2019-03-19T03:54:49.000Z | 2021-12-09T21:53:28.000Z | drip/api/broadcasts.py | willjohnson/drip-python | 13e2836b5acb7a822b0e1f9884e3249d37734cef | [
"MIT"
] | 1 | 2021-01-11T21:51:51.000Z | 2021-01-11T21:51:51.000Z | from typing import TYPE_CHECKING
from drip.utils import json_list, json_object
if TYPE_CHECKING:
from requests import Session
class Broadcasts:
session: 'Session'
@json_list('broadcasts')
def broadcasts(self, marshall=True, **params):
"""
broadcasts(page=0, per_page=100, status='all', sort='created_at', direction='asc', marshall=True)
List all broadcasts. Supports pagination and filtering.
Call Parameters:
page {int} -- Page to get, or 0 for all pages (default: {0})
per_page {int} -- Number of objects to get on each page (default: {100})
status {str} -- Filter by status: all, draft, scheduled, sent (default: {'all'})
sort {str} -- Attribute to sort by: created_at, send_at, name (default: {'created_at'})
direction {str} -- Directon to sort by: asc, desc (default: {'asc'})
Other Keyword Arguments:
marshall {bool} -- Unpack the Response object (default: {True})
Returns:
Response -- API Response, or the marshalled List of Broadcast objects
"""
return self.session.get('broadcasts', params=params)
@json_object('broadcasts')
def broadcast(self, broadcast_id, marshall=True):
"""
broadcast(broadcast_id, marshall=True)
List a broadcast.
Arguments:
broadcast_id {int} -- Broadcast ID
Other Keyword Arguments:
marshall {bool} -- Unpack the Response object (default: {True})
Returns:
Response -- API Response, or the marshalled Broadcast object
"""
return self.session.get(f'broadcasts/{broadcast_id}')
| 32.596154 | 105 | 0.623009 |
6c6d66cbfd161687b1e769a6acea6cff2b7c30d0 | 8,718 | go | Go | xml.go | mewbak/go-gccxml | b3644951435fafeaffe90d90891d6d09a4dd2cc4 | [
"BSD-2-Clause"
] | 2 | 2020-06-17T08:41:29.000Z | 2021-01-28T07:26:34.000Z | xml.go | mewbak/go-gccxml | b3644951435fafeaffe90d90891d6d09a4dd2cc4 | [
"BSD-2-Clause"
] | null | null | null | xml.go | mewbak/go-gccxml | b3644951435fafeaffe90d90891d6d09a4dd2cc4 | [
"BSD-2-Clause"
] | 1 | 2015-05-21T06:35:37.000Z | 2015-05-21T06:35:37.000Z | // Copyright 2014, Hǎiliàng Wáng. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package gccxml
type Argument struct {
Name__
Type__
Location__
File__
Line__
xmlDoc__
ptrKind PtrKind
parent *Function
serial int
}
type Arguments []*Argument
type ArrayType struct {
Id__
Min__
Max__
Type__
Size__
Align__
xmlDoc__
}
type ArrayTypes []*ArrayType
type Constructor struct {
Id__
Name__
Artificial__
Throw__
Context__
Access__
Mangled__
Demangled__
Location__
File__
Line__
Endline__
Inline__
xmlDoc__
}
type Constructors []*Constructor
type CvQualifiedType struct {
Id__
Type__
Restrict__
Const__
Volatile__
xmlDoc__
}
type CvQualifiedTypes []*CvQualifiedType
type Destructor struct {
Id__
Name__
Artificial__
Throw__
Context__
Access__
Mangled__
Demangled__
Location__
File__
Line__
Endline__
Inline__
xmlDoc__
}
type Destructors []*Destructor
type EnumValue struct {
Name__
Init__
xmlDoc__
parent *Enumeration
serial int
}
type EnumValues []*EnumValue
type Enumeration struct {
Id__
Name__
Context__
Location__
File__
Line__
Size__
Align__
Artificial__
xmlDoc__
EnumValues EnumValues `xml:"EnumValue"`
}
type Enumerations []*Enumeration
type Field struct {
Id__
Name__
Type__
Offset__
Context__
Access__
Location__
File__
Line__
Bits__
xmlDoc__
}
type Fields []*Field
type File struct {
Id__
Name__
xmlDoc__
}
type Files []*File
type Function struct {
Id__
Name__
Returns__
Throw__
Context__
Mangled__
Location__
File__
Line__
Extern__
Attributes__
Demangled__
Endline__
Inline__
Static__
Arguments Arguments `xml:"Argument"`
Ellipses Ellipses `xml:"Ellipsis"`
xmlDoc__
}
type Functions []*Function
type FunctionType struct {
Id__
Arguments Arguments `xml:"Argument"`
Returns__
xmlDoc__
}
type FunctionTypes []*FunctionType
type FundamentalType struct {
Id__
Name__
Size__
Align__
xmlDoc__
}
type FundamentalTypes []*FundamentalType
type XmlDoc struct {
CvsRevision__
Namespaces Namespaces `xml:"Namespace"`
Functions Functions `xml:"Function"`
Structs Structs `xml:"Struct"`
Typedefs Typedefs `xml:"Typedef"`
FundamentalTypes FundamentalTypes `xml:"FundamentalType"`
Enumerations Enumerations `xml:"Enumeration"`
Unions Unions `xml:"Union"`
Variables Variables `xml:"Variable"`
PointerTypes PointerTypes `xml:"PointerType"`
FunctionTypes FunctionTypes `xml:"FunctionType"`
ArrayTypes ArrayTypes `xml:"ArrayType"`
Unimplementeds Unimplementeds `xml:"Unimplemented"`
Fields Fields `xml:"Field"`
Destructors Destructors `xml:"Destructor"`
OperatorMethods OperatorMethods `xml:"OperatorMethod"`
Constructors Constructors `xml:"Constructor"`
CvQualifiedTypes CvQualifiedTypes `xml:"CvQualifiedType"`
ReferenceTypes ReferenceTypes `xml:"ReferenceType"`
Files Files `xml:"File"`
file string
}
type Namespace struct {
Id__
Name__
Members__
Mangled__
Demangled__
Context__
xmlDoc__
}
type Namespaces []*Namespace
type OperatorMethod struct {
Id__
Name__
Returns__
Artificial__
Throw__
Context__
Access__
Mangled__
Demangled__
Location__
File__
Line__
Endline__
Inline__
xmlDoc__
}
type OperatorMethods []*OperatorMethod
type PointerType struct {
Id__
Type__
Size__
Align__
xmlDoc__
}
type PointerTypes []*PointerType
type ReferenceType struct {
Id__
Type__
Size__
Align__
xmlDoc__
}
type ReferenceTypes []*ReferenceType
type Struct struct {
Id__
Name__
Context__
Mangled__
Demangled__
Location__
File__
Line__
Artificial__
Size__
Align__
Members__
Bases__
Incomplete__
Attributes__
Access__
xmlDoc__
}
type Structs []*Struct
type Typedef struct {
Id__
Name__
Type__
Context__
Location__
File__
Line__
xmlDoc__
}
type Typedefs []*Typedef
type Unimplemented struct {
Id__
TreeCode__
TreeCodeName__
Node__
xmlDoc__
}
type Unimplementeds []*Unimplemented
type Union struct {
Id__
Name__
Context__
Mangled__
Demangled__
Location__
File__
Line__
Size__
Align__
Members__
Bases__
Artificial__
Access__
xmlDoc__
}
type Unions []*Union
type Variable struct {
Id__
Name__
Type__
Context__
Location__
File__
Line__
Extern__
xmlDoc__
}
type Variables []*Variable
type Access__ struct {
Access_ string `xml:"access,attr"`
}
func (s Access__) Access() string {
return s.Access_
}
type Align__ struct {
Align_ int `xml:"align,attr"`
}
func (s Align__) Align() int {
return s.Align_
}
type Artificial__ struct {
Artificial_ string `xml:"artificial,attr"`
}
func (s Artificial__) Artificial() string {
return s.Artificial_
}
type Attributes__ struct {
Attributes_ string `xml:"attributes,attr"`
}
func (s Attributes__) Attributes() string {
return s.Attributes_
}
type Bases__ struct {
Bases_ string `xml:"bases,attr"`
}
func (s Bases__) Bases() string {
return s.Bases_
}
type Bits__ struct {
Bits_ string `xml:"bits,attr"`
}
func (s Bits__) Bits() string {
return s.Bits_
}
type Const__ struct {
Const_ string `xml:"const,attr"`
}
func (s Const__) Const() string {
return s.Const_
}
type Context__ struct {
Context_ string `xml:"context,attr"`
}
func (s Context__) Context() string {
return s.Context_
}
type CvsRevision__ struct {
CvsRevision_ string `xml:"cvs_revision,attr"`
}
func (s CvsRevision__) CvsRevision() string {
return s.CvsRevision_
}
type Demangled__ struct {
Demangled_ string `xml:"demangled,attr"`
}
func (s Demangled__) Demangled() string {
return s.Demangled_
}
type Endline__ struct {
Endline_ string `xml:"endline,attr"`
}
func (s Endline__) Endline() string {
return s.Endline_
}
type Extern__ struct {
Extern_ string `xml:"extern,attr"`
}
func (s Extern__) Extern() string {
return s.Extern_
}
type File__ struct {
File_ string `xml:"file,attr"`
}
func (s File__) File() string {
return s.File_
}
type Id__ struct {
Id_ string `xml:"id,attr"`
}
func (s Id__) Id() string {
return s.Id_
}
type Incomplete__ struct {
Incomplete_ string `xml:"incomplete,attr"`
}
func (s Incomplete__) Incomplete() string {
return s.Incomplete_
}
type Init__ struct {
Init_ int `xml:"init,attr"`
}
func (s Init__) Init() int {
return s.Init_
}
type Inline__ struct {
Inline_ string `xml:"inline,attr"`
}
func (s Inline__) Inline() string {
return s.Inline_
}
type Line__ struct {
Line_ string `xml:"line,attr"`
}
func (s Line__) Line() string {
return s.Line_
}
type Location__ struct {
Location_ string `xml:"location,attr"`
}
func (s Location__) Location() string {
return s.Location_
}
type Mangled__ struct {
Mangled_ string `xml:"mangled,attr"`
}
func (s Mangled__) Mangled() string {
return s.Mangled_
}
type Max__ struct {
Max_ string `xml:"max,attr"`
}
func (s Max__) Max() string {
return s.Max_
}
type Members__ struct {
Members_ string `xml:"members,attr"`
}
func (s Members__) Members() string {
return s.Members_
}
type Min__ struct {
Min_ string `xml:"min,attr"`
}
func (s Min__) Min() string {
return s.Min_
}
type Name__ struct {
Name_ string `xml:"name,attr"`
}
func (s Name__) CName() string {
return s.Name_
}
type Node__ struct {
Node_ string `xml:"node,attr"`
}
func (s Node__) Node() string {
return s.Node_
}
type Offset__ struct {
Offset_ string `xml:"offset,attr"`
}
func (s Offset__) Offset() string {
return s.Offset_
}
type Restrict__ struct {
Restrict_ string `xml:"restrict,attr"`
}
func (s Restrict__) Restrict() string {
return s.Restrict_
}
type Returns__ struct {
Returns_ string `xml:"returns,attr"`
}
func (s Returns__) Returns() string {
return s.Returns_
}
type Size__ struct {
Size_ int `xml:"size,attr"`
}
func (s Size__) Bits() int {
return s.Size_
}
func (s Size__) Size() int {
return s.Size_ / 8
}
type Static__ struct {
Static_ string `xml:"static,attr"`
}
func (s Static__) Static() string {
return s.Static_
}
type Throw__ struct {
Throw_ string `xml:"throw,attr"`
}
func (s Throw__) Throw() string {
return s.Throw_
}
type TreeCode__ struct {
TreeCode_ string `xml:"tree_code,attr"`
}
func (s TreeCode__) TreeCode() string {
return s.TreeCode_
}
type TreeCodeName__ struct {
TreeCodeName_ string `xml:"tree_code_name,attr"`
}
func (s TreeCodeName__) TreeCodeName() string {
return s.TreeCodeName_
}
type Type__ struct {
Type_ string `xml:"type,attr"`
}
func (s Type__) Type() string {
return s.Type_
}
type Volatile__ struct {
Volatile_ string `xml:"volatile,attr"`
}
func (s Volatile__) Volatile() string {
return s.Volatile_
}
| 14.676768 | 58 | 0.721496 |
dd911fc34f4cd150f43a6a53bd7a9c1579241da0 | 357 | go | Go | internal/schema/plugin_test.go | f110/protoc-gen-ddl | cfc818f883411321dea8913cd88c103748738151 | [
"MIT"
] | 1 | 2020-06-29T15:05:00.000Z | 2020-06-29T15:05:00.000Z | internal/schema/plugin_test.go | f110/protoc-ddl | cfc818f883411321dea8913cd88c103748738151 | [
"MIT"
] | null | null | null | internal/schema/plugin_test.go | f110/protoc-ddl | cfc818f883411321dea8913cd88c103748738151 | [
"MIT"
] | null | null | null | package schema
import (
"testing"
)
func TestRelations_Replace(t *testing.T) {
user := &Field{Name: "user", Virtual: true}
human := &Field{Name: "human", Virtual: true}
humanId := &Field{Name: "id", Type: "TYPE_INT32"}
rels := Relations(make(map[*Field][]*Field))
rels.Replace(user, human)
t.Log(rels)
rels.Replace(human, humanId)
t.Log(rels)
}
| 19.833333 | 50 | 0.669468 |
fd137b0840daff6ef87405a3fbcf73601c8e2d7f | 63 | sql | SQL | src/test/resources/sql/select/1ac85d80.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/select/1ac85d80.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/select/1ac85d80.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:strings.sql ln:556 expect:true
SELECT repeat('Pg', -4)
| 21 | 38 | 0.698413 |
86eaba90a2d00c0c98b9e68feb8cd86ea3392f66 | 781 | go | Go | pkg/testtime/testtime_test.go | Jesse0Michael/testhelpers | 445403cf63e7f498456815d31408876b2ffc784b | [
"MIT"
] | null | null | null | pkg/testtime/testtime_test.go | Jesse0Michael/testhelpers | 445403cf63e7f498456815d31408876b2ffc784b | [
"MIT"
] | null | null | null | pkg/testtime/testtime_test.go | Jesse0Michael/testhelpers | 445403cf63e7f498456815d31408876b2ffc784b | [
"MIT"
] | null | null | null | package testtime
import (
"fmt"
"testing"
"time"
)
func ExampleParse() {
t := &testing.T{}
fmt.Println(Parse(t, time.RFC3339, "1990-06-04T01:02:03Z"))
// Output:
// 1990-06-04 01:02:03 +0000 UTC
}
func ExampleParseInLocation() {
t := &testing.T{}
fmt.Println(ParseInLocation(t, time.RFC3339, "1990-06-04T01:02:03Z", time.UTC))
// Output:
// 1990-06-04 01:02:03 +0000 UTC
}
func TestParse_Failure(t *testing.T) {
tt := &testing.T{}
Parse(tt, time.RFC3339, "June 4 1990")
if !tt.Failed() {
t.Error("expected Parse() to fail to parse time")
}
}
func TestParseInLocation_Failure(t *testing.T) {
tt := &testing.T{}
ParseInLocation(tt, time.RFC3339, "June 4 1990", time.UTC)
if !tt.Failed() {
t.Error("expected ParseInLocation() to fail to parse time")
}
}
| 19.525 | 80 | 0.659411 |
3c6b5c8666a6b584696a844bba846f19e0c822fe | 582 | rs | Rust | src/model/doc/mod.rs | rustyhorde/ruarango | 58c68df151aa04d4ee7a42dccf31c7621c307b9b | [
"Apache-2.0",
"MIT"
] | null | null | null | src/model/doc/mod.rs | rustyhorde/ruarango | 58c68df151aa04d4ee7a42dccf31c7621c307b9b | [
"Apache-2.0",
"MIT"
] | null | null | null | src/model/doc/mod.rs | rustyhorde/ruarango | 58c68df151aa04d4ee7a42dccf31c7621c307b9b | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (c) 2021 ruarango developers
//
// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT
// license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. All files in the project carrying such notice may not be copied,
// modified, or distributed except according to those terms.
//! [`Input`](crate::doc::input)/[`Output`](crate::doc::output) for [`Document`](crate::Document) operations
pub mod input;
pub mod output;
pub(crate) const BASE_DOC_SUFFIX: &str = "_api/document";
| 38.8 | 108 | 0.726804 |
3d4e60049485d3dd2a1e93c888e8bd3c6f4e888b | 156 | kt | Kotlin | app/src/main/java/com/demo/assignment/core/DemoApp.kt | manishktx/demo-ind-wealth | e76816c8cc0ee0c61d44743d42cc649771b17fd6 | [
"MIT"
] | null | null | null | app/src/main/java/com/demo/assignment/core/DemoApp.kt | manishktx/demo-ind-wealth | e76816c8cc0ee0c61d44743d42cc649771b17fd6 | [
"MIT"
] | null | null | null | app/src/main/java/com/demo/assignment/core/DemoApp.kt | manishktx/demo-ind-wealth | e76816c8cc0ee0c61d44743d42cc649771b17fd6 | [
"MIT"
] | null | null | null | package com.demo.assignment.core
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
@HiltAndroidApp
class DemoApp: Application() {
} | 19.5 | 41 | 0.826923 |
16cf708c7955667116b1d5cc7d26f9f45e90c43c | 212 | ts | TypeScript | src/exercise/index.ts | im-cuttlefish/next-mathdoc | b4c28ea9d46165014dac51358222ec1e4df06bb3 | [
"MIT"
] | null | null | null | src/exercise/index.ts | im-cuttlefish/next-mathdoc | b4c28ea9d46165014dac51358222ec1e4df06bb3 | [
"MIT"
] | 1 | 2021-03-10T21:09:24.000Z | 2021-03-10T21:09:24.000Z | src/exercise/index.ts | im-cuttlefish/next-mathdoc | b4c28ea9d46165014dac51358222ec1e4df06bb3 | [
"MIT"
] | null | null | null | export { createQuestion } from "./createQuestion";
export { createAnswer } from "./createAnswer";
export type { QuestionArguments } from "./createQuestion";
export type { AnswerArguments } from "./createAnswer";
| 42.4 | 58 | 0.745283 |
698d06775d6d961dd70b00843e8817b6a34d833b | 737 | asm | Assembly | malban/Release/VRelease/Release.History/VRelease_2017_04_07/Song/patternA.asm | mikepea/vectrex-playground | 0de7d2d6db0914d915f4334402f747ab3bcdc7e6 | [
"0BSD"
] | 5 | 2018-01-14T10:03:50.000Z | 2020-01-17T13:53:49.000Z | malban/Release/VRelease/Release.History/VRelease_2017_04_07/Song/patternA.asm | mikepea/vectrex-playground | 0de7d2d6db0914d915f4334402f747ab3bcdc7e6 | [
"0BSD"
] | null | null | null | malban/Release/VRelease/Release.History/VRelease_2017_04_07/Song/patternA.asm | mikepea/vectrex-playground | 0de7d2d6db0914d915f4334402f747ab3bcdc7e6 | [
"0BSD"
] | null | null | null | ; this file is part of Release, written by Malban in 2017
;
HAS_VOICE0 = 1
HAS_TONE0 = 1
FIRST7 = $3E
dw $0044
patternAData:
db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34
db $ED, $FC, $70, $30, $7F, $DE, $4F, $1F, $4C, $7B
db $EF, $47, $1E, $77, $93, $C7, $FE, $F4, $76, $F2
db $7F, $7F, $51, $F7, $BC, $9F, $98, $C4, $BB, $56
db $9D, $74, $8E, $92, $49, $F3, $C3, $3D, $CF, $21
db $E6, $EE, $F1, $3C, $70, $30, $3D, $47, $9E, $E7
db $8F, $91, $E7, $BB, $BB, $E4, $79, $E6, $78, $EF
db $1E, $76, $9E, $3A, $47, $9E, $E7, $8F, $17, $77
db $A9, $E3, $81, $81, $FF, $BD, $1D, $BC, $9F, $DF
db $D4, $7D, $EF, $27, $E6, $31, $2E, $D5, $A7, $5D
db $23, $A4, $92, $7C, $F0, $CF, $73, $C8, $79, $BB
db $BC, $4F, $1C, $0C, $00 | 36.85 | 57 | 0.468114 |
c2b7fcb7f581d63d07eab4dfcdd0f58b144d1fad | 410 | go | Go | commands/root.go | christianang/cfnet | f491d3d414ecf445cefefbda57f41e2e7005c235 | [
"MIT"
] | null | null | null | commands/root.go | christianang/cfnet | f491d3d414ecf445cefefbda57f41e2e7005c235 | [
"MIT"
] | null | null | null | commands/root.go | christianang/cfnet | f491d3d414ecf445cefefbda57f41e2e7005c235 | [
"MIT"
] | null | null | null | package commands
import "github.com/spf13/cobra"
var RunCRoot string
var RootCmd = &cobra.Command{
Use: "cfnet",
Short: "A cli to interact with container-to-container components in CF.",
Long: `A cli to interact with container-to-container networking components in CloudFoundry.`,
}
func init() {
RootCmd.PersistentFlags().StringVar(&RunCRoot, "runc-root", "/var/run/runc", "runc root directory")
}
| 25.625 | 100 | 0.736585 |
ad2c9b2995e70388c0595ddb1c22acfa529e6219 | 6,599 | swift | Swift | sdk/core/AzureCore/Tests/RequestParametersTests.swift | knvsl/azure-sdk-for-ios | 6d445392592180ac0b1af66a936625ad66ec95ab | [
"MIT"
] | null | null | null | sdk/core/AzureCore/Tests/RequestParametersTests.swift | knvsl/azure-sdk-for-ios | 6d445392592180ac0b1af66a936625ad66ec95ab | [
"MIT"
] | null | null | null | sdk/core/AzureCore/Tests/RequestParametersTests.swift | knvsl/azure-sdk-for-ios | 6d445392592180ac0b1af66a936625ad66ec95ab | [
"MIT"
] | 1 | 2022-02-01T18:23:52.000Z | 2022-02-01T18:23:52.000Z | // --------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The MIT License (MIT)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the ""Software""), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
//
// --------------------------------------------------------------------------
@testable import AzureCore
import XCTest
// MARK: Test Object Defintions
enum AnimalEnum: String, RequestStringConvertible {
case cat
case dog
var requestString: String {
return rawValue
}
}
enum FlavorEnum: Int, RequestStringConvertible {
case chocolate
case vanilla
var requestString: String {
return String(rawValue)
}
}
enum ShapeEnum: RequestStringConvertible {
case custom(String)
case square
case circle
var requestString: String {
switch self {
case let .custom(val):
return val
case .square:
return "square"
case .circle:
return "circle"
}
}
}
public struct MyDate: AzureDate {
public static var dateFormat: AzureDateFormat = .custom("yyyy-MM-dd")
public static var formatter: DateFormatter {
return Self.dateFormat.formatter
}
public var value: Date
// MARK: RequestStringConvertible
public var requestString: String {
return Self.formatter.string(from: value)
}
// MARK: Initializers
public init() {
self.value = Date()
}
public init?(string: String?) {
guard let date = Self.formatter.date(from: string ?? "") else { return nil }
self.value = date
}
public init?(_ date: Date?) {
guard let unwrapped = date else { return nil }
self.value = unwrapped
}
// MARK: Codable
public init(from decoder: Decoder) throws {
let container = try decoder.singleValueContainer()
let dateString = try container.decode(String.self)
self.value = Self.formatter.date(from: dateString) ?? Date()
}
public func encode(to encoder: Encoder) throws {
var container = encoder.singleValueContainer()
try container.encode(requestString)
}
// MARK: Equatable
public static func == (lhs: MyDate, rhs: MyDate) -> Bool {
return lhs.value == rhs.value
}
// MARK: Comparable
public static func < (lhs: MyDate, rhs: MyDate) -> Bool {
return lhs.value < rhs.value
}
}
// MARK: Test Cases
class QueryParametersTests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDownWithError() throws {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
func test_QueryParameters_WithOptionals() throws {
let nilString: String? = nil
let query = RequestParameters(
(.query, "var1", "test", .encode),
(.query, "var2", nilString, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "test")
}
func test_QueryParameters_WithInt() throws {
let query = RequestParameters(
(.query, "var1", 5, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "5")
}
func test_QueryParameters_WithBool() throws {
let query = RequestParameters(
(.query, "var1", true, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "true")
}
func test_QueryParameters_WithDate() throws {
let date = MyDate(string: "2000-01-01")
let query = RequestParameters(
(.query, "var1", date, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "2000-01-01")
}
func test_QueryParameters_WithData() throws {
let data = "test".data(using: .utf8)
let query = RequestParameters(
(.query, "var1", data, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "test")
}
func test_QueryParameters_WithStringBackedEnum() throws {
let query = RequestParameters(
(.query, "var1", AnimalEnum.cat, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "cat")
}
func test_QueryParameters_WithExtensibleStringBackedEnum() throws {
let query = RequestParameters(
(.query, "var1", ShapeEnum.custom("parallelogram"), .encode),
(.query, "var2", ShapeEnum.circle, .encode)
)
XCTAssert(query.parameters.count == 2)
XCTAssert(query.parameters[0].value == "parallelogram")
XCTAssert(query.parameters[1].value == "circle")
}
func test_QueryParameters_WithIntBackedEnum() throws {
let query = RequestParameters(
(.query, "var1", FlavorEnum.chocolate, .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "0")
}
func test_QueryParameters_WithOptionalStringArray() throws {
let query = RequestParameters(
(.query, "var1", ["test", nil, "begin!*'();:@ &=+$,/?#[]end"], .encode)
)
XCTAssert(query.parameters.count == 1)
XCTAssert(query.parameters[0].value == "test,,begin!*'();:@ &=+$,/?#[]end")
}
}
| 30.981221 | 111 | 0.620397 |
f729a2a75d5ae5f6e100d886370120c114f00131 | 7,029 | c | C | tests/util/network/addr-ipv6-t.c | jhutz/rra-c-util | d32ac5ef4293989456a920503b0285f281cd1d3f | [
"MIT",
"Unlicense"
] | 21 | 2015-02-16T07:37:16.000Z | 2021-11-12T03:54:59.000Z | tests/util/network/addr-ipv6-t.c | jhutz/rra-c-util | d32ac5ef4293989456a920503b0285f281cd1d3f | [
"MIT",
"Unlicense"
] | 27 | 2015-06-02T15:02:21.000Z | 2021-12-10T17:36:06.000Z | tests/util/network/addr-ipv6-t.c | jhutz/rra-c-util | d32ac5ef4293989456a920503b0285f281cd1d3f | [
"MIT",
"Unlicense"
] | 16 | 2015-05-07T16:54:57.000Z | 2021-11-12T21:24:51.000Z | /*
* Test network address functions for IPv6.
*
* The canonical version of this file is maintained in the rra-c-util package,
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
*
* Written by Russ Allbery <eagle@eyrie.org>
* Copyright 2005, 2013, 2016-2018, 2020 Russ Allbery <eagle@eyrie.org>
* Copyright 2009-2013
* The Board of Trustees of the Leland Stanford Junior University
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*
* SPDX-License-Identifier: MIT
*/
#include <config.h>
#include <portable/socket.h>
#include <portable/system.h>
#include <ctype.h>
#include <tests/tap/basic.h>
#include <util/network.h>
/*
* Tests network_addr_compare. Takes the expected result, the two addresses,
* and the mask.
*/
static void
is_addr_compare(bool expected, const char *a, const char *b, const char *mask)
{
const char *smask = (mask == NULL) ? "(null)" : mask;
if (expected)
ok(network_addr_match(a, b, mask), "compare %s %s %s", a, b, smask);
else
ok(!network_addr_match(a, b, mask), "compare %s %s %s", a, b, smask);
}
int
main(void)
{
int status;
struct addrinfo *ai4, *ai6;
struct addrinfo hints;
char addr[INET6_ADDRSTRLEN];
char *p;
socket_type fd;
static const char *port = "119";
static const char *ipv6_addr = "FEDC:BA98:7654:3210:FEDC:BA98:7654:3210";
#if defined(SO_REUSEADDR) || defined(IPV6_V6ONLY) || defined(IP_FREEBIND)
int flag;
socklen_t flaglen;
#endif
#ifndef HAVE_INET6
skip_all("IPv6 not supported");
#endif
/* Set up the plan. */
plan(34);
/* Get IPv4 and IPv6 sockaddrs to use for subsequent tests. */
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_NUMERICHOST;
hints.ai_socktype = SOCK_STREAM;
status = getaddrinfo("127.0.0.1", port, &hints, &ai4);
if (status != 0)
bail("getaddrinfo on 127.0.0.1 failed: %s", gai_strerror(status));
status = getaddrinfo(ipv6_addr, port, &hints, &ai6);
if (status != 0)
bail("getaddr on %s failed: %s", ipv6_addr, gai_strerror(status));
/* Test network_sockaddr_sprint. */
ok(network_sockaddr_sprint(addr, sizeof(addr), ai6->ai_addr),
"sprint of IPv6 address");
for (p = addr; *p != '\0'; p++)
if (islower((unsigned char) *p))
*p = (char) toupper((unsigned char) *p);
is_string(ipv6_addr, addr, "...with right results");
/* Test network_sockaddr_port. */
is_int(119, network_sockaddr_port(ai6->ai_addr), "sockaddr_port IPv6");
/* Test network_sockaddr_equal. */
ok(network_sockaddr_equal(ai6->ai_addr, ai6->ai_addr),
"sockaddr_equal IPv6");
ok(!network_sockaddr_equal(ai4->ai_addr, ai6->ai_addr),
"...and not equal to IPv4");
ok(!network_sockaddr_equal(ai6->ai_addr, ai4->ai_addr),
"...other way around");
freeaddrinfo(ai6);
/* Test IPv4 mapped addresses. */
status = getaddrinfo("::ffff:7f00:1", NULL, &hints, &ai6);
if (status != 0)
bail("getaddr on ::ffff:7f00:1 failed: %s", gai_strerror(status));
ok(network_sockaddr_sprint(addr, sizeof(addr), ai6->ai_addr),
"sprint of IPv4-mapped address");
is_string("127.0.0.1", addr, "...with right IPv4 result");
ok(network_sockaddr_equal(ai4->ai_addr, ai6->ai_addr),
"sockaddr_equal of IPv4-mapped address");
ok(network_sockaddr_equal(ai6->ai_addr, ai4->ai_addr),
"...and other way around");
freeaddrinfo(ai4);
status = getaddrinfo("127.0.0.2", NULL, &hints, &ai4);
if (status != 0)
bail("getaddrinfo on 127.0.0.2 failed: %s", gai_strerror(status));
ok(!network_sockaddr_equal(ai4->ai_addr, ai6->ai_addr),
"...but not some other address");
ok(!network_sockaddr_equal(ai6->ai_addr, ai4->ai_addr),
"...and the other way around");
freeaddrinfo(ai6);
freeaddrinfo(ai4);
/* Tests for network_addr_compare. */
/* clang-format off */
is_addr_compare(1, ipv6_addr, ipv6_addr, NULL);
is_addr_compare(1, ipv6_addr, ipv6_addr, "128");
is_addr_compare(1, ipv6_addr, ipv6_addr, "60");
is_addr_compare(1, "::127", "0:0::127", "128");
is_addr_compare(1, "::127", "0:0::128", "120");
is_addr_compare(0, "::127", "0:0::128", "128");
is_addr_compare(0, "::7fff", "0:0::8000", "113");
is_addr_compare(1, "::7fff", "0:0::8000", "112");
is_addr_compare(0, "::3:ffff", "::2:ffff", "120");
is_addr_compare(0, "::3:ffff", "::2:ffff", "119");
is_addr_compare(0, "ffff::1", "7fff::1", "1");
is_addr_compare(1, "ffff::1", "7fff::1", "0");
is_addr_compare(0, "fffg::1", "fffg::1", NULL);
is_addr_compare(0, "ffff::1", "7fff::1", "-1");
is_addr_compare(0, "ffff::1", "ffff::1", "-1");
is_addr_compare(0, "ffff::1", "ffff::1", "129");
/* clang-format on */
/* Test setting various socket options. */
fd = socket(PF_INET6, SOCK_STREAM, IPPROTO_IP);
if (fd == INVALID_SOCKET)
sysbail("cannot create socket");
network_set_reuseaddr(fd);
#ifdef SO_REUSEADDR
flag = 0;
flaglen = sizeof(flag);
is_int(0, getsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &flag, &flaglen),
"Getting SO_REUSEADDR works");
ok(flag, "...and it is set");
#else
skip_block(2, "SO_REUSEADDR not supported");
#endif
network_set_v6only(fd);
#ifdef IPV6_V6ONLY
flag = 0;
flaglen = sizeof(flag);
is_int(0, getsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY, &flag, &flaglen),
"Getting IPV6_V6ONLY works");
ok(flag, "...and it is set");
#else
skip_block(2, "IPV6_V6ONLY not supported");
#endif
network_set_freebind(fd);
#ifdef IP_FREEBIND
flag = 0;
flaglen = sizeof(flag);
is_int(0, getsockopt(fd, IPPROTO_IP, IP_FREEBIND, &flag, &flaglen),
"Getting IP_FREEBIND works");
ok(flag, "...and it is set");
#else
skip_block(2, "IP_FREEBIND not supported");
#endif
close(fd);
return 0;
}
| 36.419689 | 78 | 0.646322 |
32e398a922ee4236ae1bc2ad2d1dbec9af087088 | 130 | dart | Dart | lib/quiz/view/viewing_quiz_template.dart | CodingLegend27/Mathe-App | a5176720ff14d286a072d556c36d552d6e2693b0 | [
"MIT"
] | null | null | null | lib/quiz/view/viewing_quiz_template.dart | CodingLegend27/Mathe-App | a5176720ff14d286a072d556c36d552d6e2693b0 | [
"MIT"
] | null | null | null | lib/quiz/view/viewing_quiz_template.dart | CodingLegend27/Mathe-App | a5176720ff14d286a072d556c36d552d6e2693b0 | [
"MIT"
] | null | null | null | import 'package:mathe_app/index.dart';
abstract class QuizViewingTemplate extends StatefulWidget {
bool validateInput();
}
| 16.25 | 59 | 0.776923 |
5bcaa80a07f12323e4f63270a39225182baf91cc | 18,265 | c | C | src/bitcoin-network.c | tlzs-dev/bitcoin-clib | ca883cf32fed4851ba586c1e87d4f541bbfcf6a9 | [
"MIT"
] | 2 | 2020-08-07T16:20:23.000Z | 2020-08-15T07:27:16.000Z | src/bitcoin-network.c | tlzs-dev/bitcoin-clib | ca883cf32fed4851ba586c1e87d4f541bbfcf6a9 | [
"MIT"
] | null | null | null | src/bitcoin-network.c | tlzs-dev/bitcoin-clib | ca883cf32fed4851ba586c1e87d4f541bbfcf6a9 | [
"MIT"
] | null | null | null | /*
* bitcoin-network.c
*
* Copyright 2020 Che Hongwei <htc.chehw@gmail.com>
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include <libgen.h>
#include <sys/socket.h>
#include <netdb.h>
#include <sys/epoll.h>
#include <poll.h>
#include "utils.h"
#include "satoshi-types.h"
#include "bitcoin-consensus.h"
#include "crypto.h"
#include "satoshi-script.h"
#include "auto_buffer.h"
#include <errno.h>
#include <signal.h>
#include "bitcoin-network.h"
volatile int s_quit = 0;
void bitcoin_node_terminate(void)
{
s_quit = 1;
}
/******************************************************************
* peer_info
******************************************************************/
struct peer_statistics_data
{
int64_t total_bytes_read;
int64_t total_bytes_written;
int64_t total_reading_times;
int64_t total_writing_times;
double average_reading_speed; // bytes per second
double average_writing_speed; // bytes per second
};
typedef struct peer_info_private
{
peer_info_t * peer;
pthread_mutex_t mutex;
int stage; // 0: read msg_hdr; 1: read payload; 2: parse msg
// client's lifetime control
int64_t access_time_ms; // last assess time (in milli-seconds)
int64_t expires_time_ms;
struct bitcoin_message_header in_hdr;
auto_buffer_t in_buf[1];
struct bitcoin_message_header out_hdr;
auto_buffer_t out_buf[1];
// statistics
struct peer_statistics_data stats;
}peer_info_private_t;
static inline int peer_info_lock(peer_info_private_t * priv)
{
return pthread_mutex_lock(&priv->mutex);
}
static inline int peer_info_unlock(peer_info_private_t * priv)
{
return pthread_mutex_unlock(&priv->mutex);
}
peer_info_private_t * peer_info_private_new(peer_info_t * peer)
{
int rc = 0;
peer_info_private_t * priv = calloc(1, sizeof(*priv));
assert(priv);
priv->peer = peer;
peer->priv = priv;
rc = pthread_mutex_init(&priv->mutex, NULL);
assert(0 == rc);
auto_buffer_init(priv->in_buf, 0);
auto_buffer_init(priv->out_buf, 0);
return priv;
}
void peer_info_private_free(peer_info_private_t * priv)
{
auto_buffer_cleanup(priv->in_buf);
auto_buffer_cleanup(priv->out_buf);
pthread_mutex_destroy(&priv->mutex);
free(priv);
return;
}
static int peer_send_msg(struct peer_info * peer, const struct bitcoin_message_header * msg_hdr, const void * payload);
static int peer_on_read(struct peer_info * peer, struct epoll_event * ev);
static int peer_on_write(struct peer_info * peer, struct epoll_event * ev);
static int peer_on_error(struct peer_info * peer, struct epoll_event * ev);
static int peer_on_parse_msg(struct peer_info * peer, const struct bitcoin_message_header * msg_hdr, const void * payload);
peer_info_t * peer_info_new(int fd, void * bnode, const struct addrinfo * addr)
{
peer_info_t * peer = calloc(1, sizeof(*peer));
assert(peer);
peer->fd = fd;
peer->bnode = bnode;
if(addr) memcpy(&peer->addr, addr->ai_addr, addr->ai_addrlen);
peer->addr_len = addr->ai_addrlen;
peer->send_msg = peer_send_msg;
peer->on_read = peer_on_read;
peer->on_write = peer_on_write;
peer->on_error = peer_on_error;
peer->on_parse_msg = peer_on_parse_msg;
return peer;
}
void peer_info_free(peer_info_t * peer)
{
if(NULL == peer) return;
debug_printf("peer=%p, fd=%d", peer, peer->fd);
if(peer->fd > 0) {
close(peer->fd);
peer->fd = -1;
}
peer_info_private_free(peer->priv);
free(peer);
return;
}
static int peer_send_msg(struct peer_info * peer, const struct bitcoin_message_header * msg_hdr, const void * payload)
{
assert(peer && peer->bnode && peer->priv);
assert(msg_hdr);
peer_info_private_t * priv = peer->priv;
peer_info_lock(priv);
auto_buffer_t * out_buf = priv->out_buf;
out_buf->push_data(out_buf, (unsigned char *)msg_hdr, sizeof(*msg_hdr));
if(msg_hdr->length > 0) {
assert(payload);
out_buf->push_data(out_buf, payload, msg_hdr->length);
}
bitcoin_node_t * bnode = peer->bnode;
bnode->set_writable(bnode, peer, TRUE);
peer_info_unlock(priv);
return 0;
}
static int peer_on_read(struct peer_info * peer, struct epoll_event * ev)
{
debug_printf("peer_fd = %d", peer->fd);
assert(ev->data.ptr == (void *)peer);
return 0;
}
static int peer_on_write(struct peer_info * peer, struct epoll_event * ev)
{
debug_printf("peer_fd = %d", peer->fd);
assert(ev->data.ptr == (void *)peer);
assert(peer && peer->bnode && peer->priv);
peer_info_private_t * priv = peer->priv;
bitcoin_node_t * bnode = peer->bnode;
peer_info_lock(priv);
auto_buffer_t * out_buf = priv->out_buf;
ssize_t cb = -1;
int fd = peer->fd;
assert(fd > 0);
cb = out_buf->write(out_buf, fd, 0);
if(cb < 0) {
bnode->set_writable(bnode, peer, FALSE);
peer_info_unlock(priv);
return -1;
}
if(out_buf->length == 0) bnode->set_writable(bnode, peer, FALSE);
peer_info_unlock(priv);
return 0;
}
static int peer_on_error(struct peer_info * peer, struct epoll_event * ev)
{
debug_printf("peer_fd = %d", peer->fd);
assert(ev->data.ptr == (void *)peer);
return 0;
}
static int peer_on_parse_msg(struct peer_info * peer, const struct bitcoin_message_header * msg_hdr, const void * payload)
{
// default handler
return 0;
}
/******************************************************************
* bitcoin network
*
* Thread safety for epoll/libaio:
* https://lkml.org/lkml/2006/2/28/367
******************************************************************/
static void * peers_thread(void * user_data);
#define BITCOIN_NODE_PEERS_ALLOC_SIZE (4096)
static int bitcoin_node_add_peer(bitcoin_node_t * bnode, peer_info_t * peer);
static int bitcoin_node_remove_peer(bitcoin_node_t * bnode, peer_info_t * peer);
static int bitcoin_node_on_accept(struct bitcoin_node * bnode, struct epoll_event * ev);
static int bitcoin_node_on_error(struct bitcoin_node * bnode, struct epoll_event * ev);
static int bitcoin_node_set_writable(struct bitcoin_node * bnode, struct peer_info * peer, int f_enabled);
bitcoin_node_t * bitcoin_node_new(size_t max_size, void * user_data)
{
int listening_efd = epoll_create1(0);
int peers_efd = epoll_create1(0);
if(listening_efd == -1 || peers_efd == -1) {
perror("bitcoin_node_new::epoll_create1() failed");
return NULL;
}
bitcoin_node_t * bnode = calloc(1, sizeof(*bnode));
assert(bnode);
bnode->user_data = user_data;
if(max_size == 0) max_size = BITCOIN_NODE_PEERS_ALLOC_SIZE;
peer_info_t ** peers = calloc(max_size, sizeof(*peers));
assert(peers);
bnode->peers = peers;
bnode->max_size = max_size;
bnode->listening_efd = listening_efd;
bnode->peers_efd = peers_efd;
bnode->on_accept = bitcoin_node_on_accept;
bnode->on_error = bitcoin_node_on_error;
bnode->add_peer = bitcoin_node_add_peer;
bnode->remove_peer = bitcoin_node_remove_peer;
bnode->set_writable = bitcoin_node_set_writable;
int rc = pthread_mutex_init(&bnode->mutex, NULL);
assert(0 == rc);
return bnode;
}
void bitcoin_node_free(bitcoin_node_t * bnode)
{
bnode->quit = 1;
if(bnode->async_mode && bnode->th) {
void * exit_code = NULL;
int rc = pthread_join(bnode->th, &exit_code);
assert(0 == rc);
(void)(exit_code);
bnode->th = (pthread_t)0;
}
if(bnode->peers_th) {
void * exit_code = NULL;
int rc = pthread_join(bnode->peers_th, &exit_code);
assert(0 == rc);
(void)(exit_code);
bnode->peers_th = (pthread_t)0;
}
if(bnode->peers) {
for(ssize_t i = 0; i < bnode->peers_count; ++i) {
peer_info_free(bnode->peers[i]);
}
free(bnode->peers);
bnode->peers = NULL;
}
for(int i = 0; i < bnode->fds_count; ++i) {
if(bnode->server_fds[i] > 0) {
close(bnode->server_fds[i]);
bnode->server_fds[i] = -1;
}
}
if(bnode->listening_efd > 0) {
close(bnode->listening_efd);
bnode->listening_efd = -1;
}
if(bnode->peers_efd > 0) {
close(bnode->peers_efd);
bnode->listening_efd = -1;
}
free(bnode);
return;
}
static void * bitcoin_node_listen_all(void * user_data);
int bitcoin_node_run(bitcoin_node_t * bnode, const char * serv_name, const char * port, int async_mode)
{
int rc = 0;
int server_fd = -1;
int efd = bnode->listening_efd;
assert(efd >= 0);
// start peers_thread
rc = pthread_create(&bnode->peers_th, NULL, peers_thread, bnode);
assert(0 == rc);
struct addrinfo hints, * serv_info = NULL, *p;
memset(&hints, 0, sizeof(hints));
hints.ai_family = PF_INET;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
if(NULL == port) port = "8333";
rc = getaddrinfo(serv_name, port, &hints, &serv_info);
if(rc) {
fprintf(stderr, "bitcoin_node_run::getaddrinfo() failed: %s\n",
gai_strerror(rc));
return -1;
}
int count = 0;
for(p = serv_info; p; p = p->ai_next) {
server_fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol);
if(server_fd <= 0) continue;
char * hbuf = bnode->hosts[count];
char * sbuf = bnode->servs[count];
rc = getnameinfo(p->ai_addr, p->ai_addrlen,
hbuf, NI_MAXHOST,
sbuf, NI_MAXSERV,
NI_NUMERICHOST | NI_NUMERICSERV);
assert(0 == rc);
fprintf(stderr, "listening on: %s:%s\n", hbuf, sbuf);
rc = setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, &(int){1}, sizeof(int));
if(rc) {
perror( "bitcoin_node_run::setsockopt(SO_REUSEADDR) failed");
close(server_fd);
server_fd = -1;
continue;
}
rc = bind(server_fd, p->ai_addr, p->ai_addrlen);
if(rc) {
perror( "bitcoin_node_run::bind() failed");
close(server_fd);
server_fd = -1;
continue;
}
rc = listen(server_fd, 16);
assert(0 == rc);
rc = make_nonblock(server_fd);
assert(0 == rc);
bnode->server_fds[count] = server_fd;
memcpy(&bnode->addrs[count], p, sizeof(*p));
++count;
if(count >= BITCOIN_NODE_MAX_LISTENING_FDS) break;
}
// freeaddrinfo(serv_info);
if(count == 0) return -1;
struct epoll_event ev[1];
memset(ev, 0, sizeof(ev));
ev->events = EPOLLIN | EPOLLRDHUP | EPOLLERR | EPOLLHUP;
for(int i = 0; i < count; ++i)
{
ev->data.fd = bnode->server_fds[i];
rc = epoll_ctl(efd, EPOLL_CTL_ADD, ev->data.fd, ev);
assert(0 == rc);
}
bnode->async_mode = async_mode;
if(async_mode) {
rc = pthread_create(&bnode->th, NULL, bitcoin_node_listen_all, bnode);
return rc;
}
void * exit_code = bitcoin_node_listen_all(bnode);
return (int)(long)exit_code;
}
static int bitcoin_node_on_accept(struct bitcoin_node * bnode, struct epoll_event * ev)
{
debug_printf("on_accept(): server_fd = %d", ev->data.fd);
int server_fd = ev->data.fd;
assert(server_fd > 0);
struct addrinfo addr;
memset(&addr, 0, sizeof(addr));
addr.ai_addr = calloc(1, sizeof(struct sockaddr_storage));
assert(addr.ai_addr);
addr.ai_addrlen = sizeof(struct sockaddr_storage);
int fd = accept(server_fd, addr.ai_addr, &addr.ai_addrlen);
if(fd < 0) {
perror("bitcoin_node_on_accept::accept() failed");
free(addr.ai_addr);
return -1;
}
make_nonblock(fd);
peer_info_t * peer = peer_info_new(fd, bnode, &addr);
assert(peer);
bitcoin_node_add_peer(bnode, peer);
free(addr.ai_addr);
return 0;
}
static int bitcoin_node_on_error(struct bitcoin_node * bnode, struct epoll_event * ev)
{
debug_printf("fd=%d", ev->data.fd);
return 0;
}
static int bitcoin_node_set_writable(struct bitcoin_node * bnode, struct peer_info * peer, int f_enabled)
{
struct epoll_event ev[1];
memset(ev, 0, sizeof(ev));
ev->events = EPOLLIN | EPOLLET;
ev->data.ptr = peer;
if(f_enabled) ev->events |= EPOLLOUT;
int rc = epoll_ctl(bnode->peers_efd, EPOLL_CTL_MOD, peer->fd, ev);
assert(0 == rc);
return 0;
}
#define MAX_EVENTS (64)
static void * bitcoin_node_listen_all(void * user_data)
{
bitcoin_node_t * bnode = user_data;
assert(bnode);
assert(bnode->on_accept && bnode->on_error);
int rc = 0;
int async_mode = bnode->async_mode;
struct epoll_event events[MAX_EVENTS];
memset(events, 0, sizeof(events));
sigset_t sigs;
sigemptyset(&sigs);
sigaddset(&sigs, SIGINT);
sigaddset(&sigs, SIGPIPE);
sigaddset(&sigs, SIGUSR1);
sigaddset(&sigs, SIGCHLD);
sigaddset(&sigs, SIGCONT);
sigaddset(&sigs, SIGSTOP);
int timeout = 1000;
int efd = bnode->listening_efd;
assert(efd >= 0);
while(!bnode->quit) {
if(s_quit) {
bnode->quit = 1;
break;
}
rc = 0;
int n = epoll_pwait(efd, events, MAX_EVENTS, timeout, &sigs);
if(bnode->quit) break;
if(n == 0) continue; // timeout
if(n < 0) {
rc = errno;
perror("epoll_pwait");
break;
}
rc = 0;
for(int i = 0; i < n; ++i) {
if(events[i].events & EPOLLIN) { // new connection
bnode->on_accept(bnode, &events[i]);
continue;
}else { // error
bnode->on_error(bnode, &events[i]);
rc = -1;
break;
}
}
if(rc) break;
}
if(async_mode) {
debug_printf("thread %p exited with code %d\n", (void *)pthread_self(), rc);
pthread_exit((void *)(long)rc);
}else
{
debug_printf("%s() exited with code %d\n", __FUNCTION__, rc);
}
return (void *)(long)rc;
}
static int bitcoin_node_add_peer(bitcoin_node_t * bnode, peer_info_t * peer)
{
debug_printf("peer = %p, fd = %d\n", peer, peer->fd);
if(bnode->peers_count >= bnode->max_size) {
ssize_t new_size = bnode->max_size + BITCOIN_NODE_PEERS_ALLOC_SIZE;
peer_info_t ** peers = realloc(bnode->peers, new_size * sizeof(*peers));
assert(peers);
memset(peers, 0, (new_size - bnode->max_size) * sizeof(*peers));
bnode->peers = peers;
}
bnode->peers[bnode->peers_count++] = peer;
struct epoll_event ev[1];
memset(ev, 0, sizeof(ev));
ev->events = EPOLLIN | EPOLLET;
ev->data.ptr = peer;
int rc = epoll_ctl(bnode->peers_efd, EPOLL_CTL_ADD, peer->fd, ev);
assert(0 == rc);
return rc;
}
static int bitcoin_node_remove_peer(bitcoin_node_t * bnode, peer_info_t * peer)
{
debug_printf("peer = %p, fd = %d\n", peer, peer->fd);
for(int i = 0; i < bnode->peers_count; ++i) {
if(bnode->peers[i] == peer) {
if(peer->fd > 0) {
struct epoll_event ev[1];
memset(ev, 0, sizeof(ev));
int rc = epoll_ctl(bnode->peers_efd, EPOLL_CTL_DEL, peer->fd, ev);
assert(0 == rc);
}
peer_info_free(peer);
bnode->peers[i] = bnode->peers[--bnode->peers_count];
bnode->peers[bnode->peers_count] = NULL;
}
}
return 0;
}
static void * peers_thread(void * user_data)
{
int rc = 0;
bitcoin_node_t * bnode = user_data;
assert(bnode);
struct epoll_event events[MAX_EVENTS];
memset(events, 0, sizeof(events));
sigset_t sigs;
sigemptyset(&sigs);
sigaddset(&sigs, SIGINT);
sigaddset(&sigs, SIGPIPE);
sigaddset(&sigs, SIGUSR1);
sigaddset(&sigs, SIGCHLD);
sigaddset(&sigs, SIGCONT);
sigaddset(&sigs, SIGSTOP);
int timeout = 1000;
int efd = bnode->peers_efd;
assert(efd > 0);
while(!bnode->quit) {
if(s_quit) {
bnode->quit = 1;
break;
}
rc = 0;
int n = epoll_pwait(efd, events, MAX_EVENTS, timeout, &sigs);
if(bnode->quit) break;
if(n == 0) continue; // timeout
if(n < 0) {
rc = errno;
perror("epoll_pwait");
break;
}
for(int i = 0; i < n; ++i) {
peer_info_t * peer = events[i].data.ptr;
assert(peer);
if( (events[i].events & EPOLLIN) || (events[i].events & EPOLLOUT) ) {
assert(peer->on_read && peer->on_write);
if(events[i].events & EPOLLIN) peer->on_read(peer, &events[i]);
else peer->on_write(peer, &events[i]);
} else { // error
assert(peer->on_error);
peer->on_error(peer, &events[i]);
bitcoin_node_remove_peer(bnode, peer);
}
}
if(rc) break;
}
debug_printf("thread %p exited with code %d\n", (void *)pthread_self(), rc);
pthread_exit((void *)(long)rc);
}
#undef MAX_EVENTS
#if defined(_TEST_BITCOIN_NETWORK) && defined(_STAND_ALONE)
void on_signal(int sig)
{
switch(sig)
{
case SIGINT:
case SIGUSR1:
bitcoin_node_terminate();
close(0); // close stdin
break;
default:
abort();
}
return;
}
static int test_new_client()
{
struct addrinfo hints, *serv_info = NULL, *p;
memset(&hints, 0, sizeof(hints));
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = 0;
int rc = getaddrinfo("127.0.0.1", "8333", &hints, &serv_info);
if(rc) {
fprintf(stderr, "%s() failed: %s\n", __FUNCTION__,
gai_strerror(rc));
exit(1);
}
int fd = -1;
for(p = serv_info; p; p = p->ai_next) {
fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol);
if(fd < 0) {
continue;
}
rc = connect(fd, p->ai_addr, p->ai_addrlen);
if(rc) {
perror("connect()");
close(fd);
fd = -1;
continue;
}
make_nonblock(fd);
break;
}
assert(fd > 0);
///< @todo :...
close(fd);
return 0;
}
int main(int argc, char **argv)
{
signal(SIGINT, on_signal);
signal(SIGUSR1, on_signal);
bitcoin_node_t * bnode = bitcoin_node_new(1024, NULL);
assert(bnode);
bitcoin_node_run(bnode, NULL, NULL, 1);
char buf[4096] = "";
char * line = NULL;
while((line = fgets(buf, sizeof(buf) - 1, stdin))) {
int cb = strlen(line);
while(cb > 0 && line[cb - 1] == '\n') line[--cb] = '\0';
if(cb == 0) continue;
if(strcasecmp(line, "n") == 0) {
test_new_client();
}else if(line[0] == 'q' || line[0] == 'Q') {
bnode->quit = 1;
break;
}
}
bitcoin_node_free(bnode);
return 0;
}
#endif
| 23.938401 | 123 | 0.668984 |
d2d6bf2e574d0334f51f9e4beb9159b9eb604146 | 2,014 | php | PHP | resources/views/cart.blade.php | salmanshah8992/Shopingcart | 58c3009b05bc55ff6b0541c1ef6987af870c4a3f | [
"MIT"
] | null | null | null | resources/views/cart.blade.php | salmanshah8992/Shopingcart | 58c3009b05bc55ff6b0541c1ef6987af870c4a3f | [
"MIT"
] | null | null | null | resources/views/cart.blade.php | salmanshah8992/Shopingcart | 58c3009b05bc55ff6b0541c1ef6987af870c4a3f | [
"MIT"
] | null | null | null | @extends('layout.app')
@yield('title','Cart')
@section('content')
<br>
<div class="container">
<h1 class="text-center">Cart Page</h1>
<div class="row">
<div class="table table-hover">
<table>
<thead>
<tr>
<th width="50%">Product</th>
<th width="10%">Price</th>
<th width="8%">Quantity</th>
<th width="22%">Sub total</th>
<th width="10%">Sub total</th>
</tr>
</thead>
<tbody>
@php
$total=0;
@endphp
@if (session('cart'))
@foreach ( session('cart') as $id=>$product )
@php
$sub_total=$product['price']*$product['quantity'];
$total+=$sub_total;
@endphp
<tr>
<td><img src="{{ $product['image'] }}"
alt="{{ $product['name'] }}"
class="img-fluid">
<span>{{ $product['name'] }}</span>
</td>
<td>৳{{ $product['price'] }}</td>
<td>{{ $product['quantity'] }}</td>
<td>৳{{ $sub_total }}</td>
<td>
<a href="{{ route('remove',[$id]) }}" class="btn btn-danger btn-sm">X</a></td>
</tr>
@endforeach
@endif
</tbody>
<tfoot>
<tr>
<td><a href="{{ route('products') }}" class="btn btn-warning">Continue Shopping</a>
</td>
<td colspan="2"></td>
<td><strong> Total ৳{{ $total }}</strong>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
@endsection | 28.366197 | 103 | 0.334161 |
397ae267648b4ca63b5c66c124c34a08dc96eba9 | 24,745 | html | HTML | java-code/multiverse/org/multiverse/api/class-use/TxnFactoryBuilder.html | AlmaRahat/CS-210-Concurrency | 834d549e3195f6093e220a2b761dc713ba3f342b | [
"MIT"
] | 42 | 2021-01-27T10:35:39.000Z | 2022-03-19T13:00:14.000Z | java-code/multiverse/org/multiverse/api/class-use/TxnFactoryBuilder.html | AlmaRahat/CS-210-Concurrency | 834d549e3195f6093e220a2b761dc713ba3f342b | [
"MIT"
] | null | null | null | java-code/multiverse/org/multiverse/api/class-use/TxnFactoryBuilder.html | AlmaRahat/CS-210-Concurrency | 834d549e3195f6093e220a2b761dc713ba3f342b | [
"MIT"
] | 30 | 2021-01-31T21:43:30.000Z | 2022-03-31T13:39:21.000Z | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Sat Apr 07 12:47:27 EEST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface org.multiverse.api.TxnFactoryBuilder (The Multiverse Code (so API and implementation) 0.7.0 API)
</TITLE>
<META NAME="date" CONTENT="2012-04-07">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Interface org.multiverse.api.TxnFactoryBuilder (The Multiverse Code (so API and implementation) 0.7.0 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/multiverse/api//class-useTxnFactoryBuilder.html" target="_top"><B>FRAMES</B></A>
<A HREF="TxnFactoryBuilder.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H2>
<B>Uses of Interface<br>org.multiverse.api.TxnFactoryBuilder</B></H2>
</CENTER>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Packages that use <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.multiverse.api"><B>org.multiverse.api</B></A></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#org.multiverse.stms.gamma.transactions"><B>org.multiverse.stms.gamma.transactions</B></A></TD>
<TD> </TD>
</TR>
</TABLE>
<P>
<A NAME="org.multiverse.api"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A> in <A HREF="../../../../org/multiverse/api/package-summary.html">org.multiverse.api</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/multiverse/api/package-summary.html">org.multiverse.api</A> that return <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#addPermanentListener(org.multiverse.api.lifecycle.TxnListener)">addPermanentListener</A></B>(<A HREF="../../../../org/multiverse/api/lifecycle/TxnListener.html" title="interface in org.multiverse.api.lifecycle">TxnListener</A> listener)</CODE>
<BR>
Adds a permanent <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> <A HREF="../../../../org/multiverse/api/lifecycle/TxnListener.html" title="interface in org.multiverse.api.lifecycle"><CODE>TxnListener</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactory.</B><B><A HREF="../../../../org/multiverse/api/TxnFactory.html#getTxnFactoryBuilder()">getTxnFactoryBuilder</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>Stm.</B><B><A HREF="../../../../org/multiverse/api/Stm.html#newTxnFactoryBuilder()">newTxnFactoryBuilder</A></B>()</CODE>
<BR>
Gets the <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api"><CODE>TxnFactoryBuilder</CODE></A> that needs to be used to execute a <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> created by this Stm.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setBackoffPolicy(org.multiverse.api.BackoffPolicy)">setBackoffPolicy</A></B>(<A HREF="../../../../org/multiverse/api/BackoffPolicy.html" title="interface in org.multiverse.api">BackoffPolicy</A> backoffPolicy)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> <A HREF="../../../../org/multiverse/api/BackoffPolicy.html" title="interface in org.multiverse.api"><CODE>BackoffPolicy</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setBlockingAllowed(boolean)">setBlockingAllowed</A></B>(boolean blockingAllowed)</CODE>
<BR>
Sets if the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> is allowed to do an explicit retry (needed for a blocking operation).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setControlFlowErrorsReused(boolean)">setControlFlowErrorsReused</A></B>(boolean reused)</CODE>
<BR>
Sets if the <A HREF="../../../../org/multiverse/api/exceptions/ControlFlowError.html" title="class in org.multiverse.api.exceptions"><CODE>ControlFlowError</CODE></A> is reused.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setDirtyCheckEnabled(boolean)">setDirtyCheckEnabled</A></B>(boolean dirtyCheckEnabled)</CODE>
<BR>
Sets if the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> dirty check is enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setFamilyName(java.lang.String)">setFamilyName</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> familyName)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> familyname.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setInterruptible(boolean)">setInterruptible</A></B>(boolean interruptible)</CODE>
<BR>
Sets if the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> can be interrupted while doing blocking operations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setIsolationLevel(org.multiverse.api.IsolationLevel)">setIsolationLevel</A></B>(<A HREF="../../../../org/multiverse/api/IsolationLevel.html" title="enum in org.multiverse.api">IsolationLevel</A> isolationLevel)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/IsolationLevel.html" title="enum in org.multiverse.api"><CODE>IsolationLevel</CODE></A> on the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setMaxRetries(int)">setMaxRetries</A></B>(int maxRetries)</CODE>
<BR>
Sets the the maximum count a <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> can be retried.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setPropagationLevel(org.multiverse.api.PropagationLevel)">setPropagationLevel</A></B>(<A HREF="../../../../org/multiverse/api/PropagationLevel.html" title="enum in org.multiverse.api">PropagationLevel</A> propagationLevel)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/PropagationLevel.html" title="enum in org.multiverse.api"><CODE>PropagationLevel</CODE></A> used.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setReadLockMode(org.multiverse.api.LockMode)">setReadLockMode</A></B>(<A HREF="../../../../org/multiverse/api/LockMode.html" title="enum in org.multiverse.api">LockMode</A> lockMode)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> <A HREF="../../../../org/multiverse/api/LockMode.html" title="enum in org.multiverse.api"><CODE>LockMode</CODE></A> for all reads.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setReadonly(boolean)">setReadonly</A></B>(boolean readonly)</CODE>
<BR>
Sets the readonly property on a <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setReadTrackingEnabled(boolean)">setReadTrackingEnabled</A></B>(boolean enabled)</CODE>
<BR>
Sets if the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> should automatically track all reads that have been done.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setSpeculative(boolean)">setSpeculative</A></B>(boolean speculative)</CODE>
<BR>
With the speculative configuration enabled, the <A HREF="../../../../org/multiverse/api/Stm.html" title="interface in org.multiverse.api"><CODE>Stm</CODE></A> is allowed to determine optimal settings for
a <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setSpinCount(int)">setSpinCount</A></B>(int spinCount)</CODE>
<BR>
Sets the maximum number of spins that are allowed when a <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> can't be read/written/locked
because it is locked by another transaction.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setTimeoutNs(long)">setTimeoutNs</A></B>(long timeoutNs)</CODE>
<BR>
Sets the timeout (the maximum time a <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> is allowed to block.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setTraceLevel(org.multiverse.api.TraceLevel)">setTraceLevel</A></B>(<A HREF="../../../../org/multiverse/api/TraceLevel.html" title="enum in org.multiverse.api">TraceLevel</A> traceLevel)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> <A HREF="../../../../org/multiverse/api/TraceLevel.html" title="enum in org.multiverse.api"><CODE>TraceLevel</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A></CODE></FONT></TD>
<TD><CODE><B>TxnFactoryBuilder.</B><B><A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html#setWriteLockMode(org.multiverse.api.LockMode)">setWriteLockMode</A></B>(<A HREF="../../../../org/multiverse/api/LockMode.html" title="enum in org.multiverse.api">LockMode</A> lockMode)</CODE>
<BR>
Sets the <A HREF="../../../../org/multiverse/api/Txn.html" title="interface in org.multiverse.api"><CODE>Txn</CODE></A> <A HREF="../../../../org/multiverse/api/LockMode.html" title="enum in org.multiverse.api"><CODE>LockMode</CODE></A> for all writes.</TD>
</TR>
</TABLE>
<P>
<A NAME="org.multiverse.stms.gamma.transactions"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A> in <A HREF="../../../../org/multiverse/stms/gamma/transactions/package-summary.html">org.multiverse.stms.gamma.transactions</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Subinterfaces of <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api">TxnFactoryBuilder</A> in <A HREF="../../../../org/multiverse/stms/gamma/transactions/package-summary.html">org.multiverse.stms.gamma.transactions</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> interface</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/multiverse/stms/gamma/transactions/GammaTxnFactoryBuilder.html" title="interface in org.multiverse.stms.gamma.transactions">GammaTxnFactoryBuilder</A></B></CODE>
<BR>
A <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api"><CODE>TxnFactoryBuilder</CODE></A> tailored for the <A HREF="../../../../org/multiverse/stms/gamma/GammaStm.html" title="class in org.multiverse.stms.gamma"><CODE>GammaStm</CODE></A>.</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../org/multiverse/api/TxnFactoryBuilder.html" title="interface in org.multiverse.api"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/multiverse/api//class-useTxnFactoryBuilder.html" target="_top"><B>FRAMES</B></A>
<A HREF="TxnFactoryBuilder.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2012. All Rights Reserved.
</BODY>
</HTML>
| 67.794521 | 379 | 0.674197 |
f81e41b850097c1272c6d81f6f0d02e4bcca7458 | 66 | lua | Lua | Game/Resize/resizeSmall.lua | hunterman25/Cuauhtli | 442f9016080e8fd025095e4212b75b46a3af25bc | [
"Apache-2.0"
] | 1 | 2020-12-01T20:03:29.000Z | 2020-12-01T20:03:29.000Z | Game/Resize/resizeSmall.lua | hunterman25/Cuauhtli | 442f9016080e8fd025095e4212b75b46a3af25bc | [
"Apache-2.0"
] | 3 | 2020-12-07T21:33:14.000Z | 2020-12-25T07:14:09.000Z | Game/Resize/resizeSmall.lua | hunterman25/Cuauhtli | 442f9016080e8fd025095e4212b75b46a3af25bc | [
"Apache-2.0"
] | null | null | null | love.window.setMode(600,600)
ratio=1
x=x*(600/winY)
y=y*(600/winY) | 16.5 | 28 | 0.712121 |
64630f5c5a471e3d50f4ef362cd017265b4a3b5f | 388 | asm | Assembly | programs/oeis/293/A293604.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/293/A293604.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/293/A293604.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A293604: E.g.f.: exp(x * (1 - x)).
; 1,1,-1,-5,1,41,31,-461,-895,6481,22591,-107029,-604031,1964665,17669471,-37341149,-567425279,627491489,19919950975,-2669742629,-759627879679,-652838174519,31251532771999,59976412450835,-1377594095061119,-4256461892701199
mov $1,1
lpb $0,1
sub $0,1
mul $3,2
add $1,$3
sub $3,$1
add $3,1
mov $2,$3
mul $2,$0
sub $2,$0
mov $3,$2
lpe
| 24.25 | 222 | 0.659794 |
7faf8608234c3935cd91a156c3e8670102bfd5df | 1,629 | swift | Swift | QuanLyPhongTro/DangKyVC.swift | VoDangVinh2000/QLyPhongTro_IOS | 566d161ac6f8aedb8df7e716d8eb3d46f7c6c68f | [
"Apache-2.0"
] | null | null | null | QuanLyPhongTro/DangKyVC.swift | VoDangVinh2000/QLyPhongTro_IOS | 566d161ac6f8aedb8df7e716d8eb3d46f7c6c68f | [
"Apache-2.0"
] | null | null | null | QuanLyPhongTro/DangKyVC.swift | VoDangVinh2000/QLyPhongTro_IOS | 566d161ac6f8aedb8df7e716d8eb3d46f7c6c68f | [
"Apache-2.0"
] | null | null | null | //
// DangKyVC.swift
// QuanLyPhongTro
//
// Created by Võ Đăng Vĩnh on 20/04/2021.
// Copyright © 2021 Võ Đăng Vĩnh. All rights reserved.
//
import UIKit
class DangKyVC: UIViewController {
//dk
@IBOutlet weak var tfTenNguoiDung: UITextField!
@IBOutlet weak var tfTenDangNhap: UITextField!
@IBOutlet weak var tfMatKhau: UITextField!
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .white
self.navigationController?.navigationBar.topItem?.title = ""
self.navigationController?.navigationBar.tintColor = .white
}
//Button dang ky
@IBAction func dangKyBTClicked() {
if tfTenNguoiDung.text!.isEmpty || tfTenDangNhap.text!.isEmpty || tfMatKhau.text!.isEmpty {
Util.alert1Action(title: "Lỗi", message: "Vui lòng nhập đầy đủ thông tin!", view: self, isDismiss: false, isPopViewController: false)
} else {
let taikhoan = TaiKhoanModel()
taikhoan.tennguoidung = tfTenNguoiDung.text
taikhoan.tendangnhap = tfTenDangNhap.text
taikhoan.matkhau = tfMatKhau.text
//Thêm dữ liệu vào database
let isInserted = DatabaseModel.getInstance().dangKyTaiKhoan(taikhoan)
if isInserted {
Util.alert1Action(title: "Thành công", message: "Tạo tài khoản thành công.", view: self, isDismiss: false, isPopViewController: true)
} else {
Util.alert1Action(title: "Lỗi", message: "Thất bại. Vui lòng thử lại!", view: self, isDismiss: false, isPopViewController: false)
}
}
}
}
| 37.883721 | 149 | 0.645181 |
2a0562132c31bee231e46d48fbe0833174e5b168 | 2,661 | swift | Swift | Sources/Extensions/AVCaptureSession+BaseRecorder.swift | Hoord/SCNRecorder | d67853081ae5532313d0124ccead90235f07fc8e | [
"MIT"
] | 124 | 2019-03-24T19:06:40.000Z | 2022-02-22T08:37:27.000Z | Sources/Extensions/AVCaptureSession+BaseRecorder.swift | Hoord/SCNRecorder | d67853081ae5532313d0124ccead90235f07fc8e | [
"MIT"
] | 31 | 2019-05-06T04:32:39.000Z | 2022-01-14T07:58:19.000Z | Sources/Extensions/AVCaptureSession+BaseRecorder.swift | Hoord/SCNRecorder | d67853081ae5532313d0124ccead90235f07fc8e | [
"MIT"
] | 28 | 2019-05-09T15:56:43.000Z | 2022-01-12T13:28:25.000Z | //
// AVCaptureSession+BaseRecorder.swift
// SCNRecorder
//
// Created by Vladislav Grigoryev on 11/03/2019.
// Copyright © 2020 GORA Studio. https://gora.studio
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
import Foundation
import AVFoundation
public extension AVCaptureSession {
enum MakeError: Swift.Error {
case defaultDeviceNotFound(type: AVMediaType)
case canNotAddInput(input: AVCaptureInput)
case canNotAddRecorder(recorder: BaseRecorder)
}
static func makeAudioForRecorder(
_ recorder: BaseRecorder
) throws -> AVCaptureSession {
let captureSession = AVCaptureSession()
let mediaType = AVMediaType.audio
guard let captureDevice = AVCaptureDevice.default(for: mediaType) else {
throw MakeError.defaultDeviceNotFound(type: mediaType)
}
let captureInput = try AVCaptureDeviceInput(device: captureDevice)
guard captureSession.canAddInput(captureInput) else {
throw MakeError.canNotAddInput(input: captureInput)
}
captureSession.addInput(captureInput)
guard captureSession.canAddRecorder(recorder) else {
throw MakeError.canNotAddRecorder(recorder: recorder)
}
captureSession.addRecorder(recorder)
return captureSession
}
func canAddRecorder(_ recorder: BaseRecorder) -> Bool {
return canAddOutput(recorder.audioInput.captureOutput)
}
func addRecorder(_ recorder: BaseRecorder) {
addOutput(recorder.audioInput.captureOutput)
}
func removeRecorder(_ recorder: BaseRecorder) {
guard recorder.hasAudioInput else { return }
removeOutput(recorder.audioInput.captureOutput)
}
}
| 33.683544 | 81 | 0.753476 |
653f3d126c9950c17fb6dd172757205541017a4a | 164 | py | Python | solutions/python3/1009.py | sm2774us/amazon_interview_prep_2021 | f580080e4a6b712b0b295bb429bf676eb15668de | [
"MIT"
] | 42 | 2020-08-02T07:03:49.000Z | 2022-03-26T07:50:15.000Z | solutions/python3/1009.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | null | null | null | solutions/python3/1009.py | ajayv13/leetcode | de02576a9503be6054816b7444ccadcc0c31c59d | [
"MIT"
] | 40 | 2020-02-08T02:50:24.000Z | 2022-03-26T15:38:10.000Z | class Solution:
def bitwiseComplement(self, N: int, M = 0, m = 0) -> int:
return N ^ M if M and M >= N else self.bitwiseComplement(N, M + 2 ** m, m + 1) | 54.666667 | 86 | 0.579268 |
402279ff6a098025d045378bc43e3efaa41b2ce7 | 8,528 | py | Python | rrs/admin.py | ardier/layerindex-web | 3622e02603366c53c4b1c9a697a43f78986d127e | [
"MIT"
] | null | null | null | rrs/admin.py | ardier/layerindex-web | 3622e02603366c53c4b1c9a697a43f78986d127e | [
"MIT"
] | null | null | null | rrs/admin.py | ardier/layerindex-web | 3622e02603366c53c4b1c9a697a43f78986d127e | [
"MIT"
] | 1 | 2021-10-06T20:18:07.000Z | 2021-10-06T20:18:07.000Z | # rrs-web - admin interface definitions
#
# Copyright (C) 2014 Intel Corporation
#
# Licensed under the MIT license, see COPYING.MIT for details
#
# SPDX-License-Identifier: MIT
from django.utils.functional import curry
from django.contrib import admin
from django.contrib.admin import DateFieldListFilter
from django import forms
from django.forms.models import BaseInlineFormSet
from django.core.exceptions import ValidationError
from rrs.models import Release, Milestone, Maintainer, RecipeMaintainerHistory, \
RecipeMaintainer, RecipeDistro, RecipeUpgrade, RecipeUpstream, \
RecipeUpstreamHistory, MaintenancePlan, MaintenancePlanLayerBranch, \
RecipeMaintenanceLink, RecipeSymbol, RecipeUpgradeGroupRule, \
RecipeUpgradeGroup
class MaintenancePlanLayerBranchFormSet(BaseInlineFormSet):
def __init__(self, *args, **kwargs):
from layerindex.models import PythonEnvironment
initialfields = {}
py2env = PythonEnvironment.get_default_python2_environment()
if py2env:
initialfields['python2_environment'] = py2env.id
py3env = PythonEnvironment.get_default_python3_environment()
if py3env:
initialfields['python3_environment'] = py3env.id
if initialfields:
kwargs['initial'] = [initialfields]
super(MaintenancePlanLayerBranchFormSet, self).__init__(*args, **kwargs)
@property
def empty_form(self):
from layerindex.models import PythonEnvironment
form = super(MaintenancePlanLayerBranchFormSet, self).empty_form
py2env = PythonEnvironment.get_default_python2_environment()
if py2env:
form.fields['python2_environment'].initial = py2env
py3env = PythonEnvironment.get_default_python3_environment()
if py3env:
form.fields['python3_environment'].initial = py3env
return form
def clean(self):
super(MaintenancePlanLayerBranchFormSet, self).clean()
total_checked = 0
for form in self.forms:
if not form.is_valid():
return
if form.cleaned_data and not form.cleaned_data.get('DELETE'):
layerbranch = form.cleaned_data['layerbranch']
if not layerbranch:
raise ValidationError('You must select a layerbranch')
# Only allow one plan per layer
# NOTE: This restriction is in place because we don't have enough safeguards in the
# processing code to avoid processing a layer multiple times if it's part of
# more than one plan, and there may be other challenges. For now, just keep it simple.
mplayerbranches = layerbranch.maintenanceplanlayerbranch_set.all()
if form.instance.pk is not None:
mplayerbranches = mplayerbranches.exclude(id=form.instance.id)
if mplayerbranches.exists():
raise ValidationError('A layer branch can only be part of one maintenance plan - layer branch %s is already part of maintenance plan %s' % (layerbranch, mplayerbranches.first().plan.name))
total_checked += 1
class MaintenancePlanLayerBranchInline(admin.StackedInline):
model = MaintenancePlanLayerBranch
formset = MaintenancePlanLayerBranchFormSet
readonly_fields = ['upgrade_date', 'upgrade_rev']
min_num = 1
extra = 0
class MaintenancePlanAdminForm(forms.ModelForm):
model = MaintenancePlan
def clean_email_to(self):
val = self.cleaned_data['email_to']
if self.cleaned_data['email_enabled']:
if not val:
raise ValidationError('To email address must be specified if emails are enabled')
return val
def clean_email_from(self):
val = self.cleaned_data['email_from']
if self.cleaned_data['email_enabled']:
if not val:
raise ValidationError('From email address must be specified if emails are enabled')
return val
def clean_email_subject(self):
val = self.cleaned_data['email_subject']
if self.cleaned_data['email_enabled']:
if not val:
raise ValidationError('Email subject must be specified if emails are enabled')
return val
class MaintenancePlanAdmin(admin.ModelAdmin):
model = MaintenancePlan
form = MaintenancePlanAdminForm
inlines = [
MaintenancePlanLayerBranchInline,
]
def save_model(self, request, obj, form, change):
# For new maintenance plans, copy releases from the first plan
if obj.pk is None:
copyfrom_mp = MaintenancePlan.objects.all().first()
else:
copyfrom_mp = None
super().save_model(request, obj, form, change)
if copyfrom_mp:
for release in copyfrom_mp.release_set.all():
release.pk = None
release.plan = obj
release.save()
milestone = Milestone(release=release)
milestone.name='Default'
milestone.start_date = release.start_date
milestone.end_date = release.end_date
milestone.save()
class MilestoneFormSet(BaseInlineFormSet):
def clean(self):
super(MilestoneFormSet, self).clean()
total = 0
for form in self.forms:
if not form.is_valid():
return
if form.cleaned_data and not form.cleaned_data.get('DELETE'):
total += 1
if not total:
raise ValidationError('Releases must have at least one milestone')
class MilestoneInline(admin.StackedInline):
model = Milestone
formset = MilestoneFormSet
class ReleaseAdmin(admin.ModelAdmin):
search_fields = ['name']
list_filter = ['plan']
model = Release
inlines = [
MilestoneInline,
]
class MilestoneAdmin(admin.ModelAdmin):
search_fields = ['name']
list_filter = ['release__plan', 'release__name']
model = Milestone
class MaintainerAdmin(admin.ModelAdmin):
search_fields = ['name']
model = Maintainer
class RecipeMaintainerHistoryAdmin(admin.ModelAdmin):
search_fields = ['title', 'author__name', 'sha1']
list_filter = ['layerbranch__layer', 'author__name', ('date', DateFieldListFilter)]
model = RecipeMaintainerHistory
class RecipeMaintainerAdmin(admin.ModelAdmin):
search_fields = ['recipesymbol__pn']
list_filter = ['recipesymbol__layerbranch__layer__name', 'history', 'maintainer__name']
model = RecipeMaintainer
class RecipeDistroAdmin(admin.ModelAdmin):
search_fields = ['recipe__pn']
list_filter = ['recipe__layerbranch__layer__name', 'distro']
model = RecipeDistro
class RecipeUpgradeAdmin(admin.ModelAdmin):
search_fields = ['recipesymbol__pn']
list_filter = ['recipesymbol__layerbranch__layer__name',
'upgrade_type', ('commit_date', DateFieldListFilter),
'maintainer__name']
model = RecipeUpgrade
class RecipeUpstreamHistoryAdmin(admin.ModelAdmin):
list_filter = [
'layerbranch__layer',
('start_date', DateFieldListFilter),
('end_date', DateFieldListFilter)
]
model = RecipeUpstreamHistory
class RecipeUpstreamAdmin(admin.ModelAdmin):
search_fields = ['recipesymbol__pn']
list_filter = ['recipesymbol__layerbranch__layer__name', 'status',
'type', ('date', DateFieldListFilter), 'history']
model = RecipeUpstream
class RecipeMaintenanceLinkAdmin(admin.ModelAdmin):
model = RecipeMaintenanceLink
class RecipeSymbolAdmin(admin.ModelAdmin):
model = RecipeSymbol
search_fields = ['pn']
list_filter = ['layerbranch']
admin.site.register(MaintenancePlan, MaintenancePlanAdmin)
admin.site.register(Release, ReleaseAdmin)
admin.site.register(Milestone, MilestoneAdmin)
admin.site.register(Maintainer, MaintainerAdmin)
admin.site.register(RecipeMaintainerHistory, RecipeMaintainerHistoryAdmin)
admin.site.register(RecipeMaintainer, RecipeMaintainerAdmin)
admin.site.register(RecipeDistro, RecipeDistroAdmin)
admin.site.register(RecipeUpgrade, RecipeUpgradeAdmin)
admin.site.register(RecipeUpstreamHistory, RecipeUpstreamHistoryAdmin)
admin.site.register(RecipeUpstream, RecipeUpstreamAdmin)
admin.site.register(RecipeMaintenanceLink, RecipeMaintenanceLinkAdmin)
admin.site.register(RecipeSymbol, RecipeSymbolAdmin)
admin.site.register(RecipeUpgradeGroupRule)
admin.site.register(RecipeUpgradeGroup)
| 39.119266 | 208 | 0.692542 |
1cc81971bbb858de82dc54fc81689e01560fcb7f | 61 | sql | SQL | db/migrations/000001_init_schema.down.sql | ashwins93/gocrm | 3cb9970b63499316bae93147acabbf21197f13da | [
"MIT"
] | null | null | null | db/migrations/000001_init_schema.down.sql | ashwins93/gocrm | 3cb9970b63499316bae93147acabbf21197f13da | [
"MIT"
] | null | null | null | db/migrations/000001_init_schema.down.sql | ashwins93/gocrm | 3cb9970b63499316bae93147acabbf21197f13da | [
"MIT"
] | null | null | null | DROP TABLE IF EXISTS contacts;
DROP TABLE IF EXISTS accounts; | 30.5 | 30 | 0.819672 |
e937e4f0e4d61e9546553c6cc8a831610b0bd6a4 | 343 | go | Go | mapper/mapper.go | Jinof/my-go-playground | 7cf5dac07378a2ca7e68f10df6e462d6e856f01a | [
"MIT"
] | null | null | null | mapper/mapper.go | Jinof/my-go-playground | 7cf5dac07378a2ca7e68f10df6e462d6e856f01a | [
"MIT"
] | null | null | null | mapper/mapper.go | Jinof/my-go-playground | 7cf5dac07378a2ca7e68f10df6e462d6e856f01a | [
"MIT"
] | null | null | null | package mapper
import "errors"
type Mapper map[int]map[int]int
func (m *Mapper) Add(n1, n2, n3 int) error {
if m.Check(n1, n2) {
return errors.New("value exists")
}
(*m)[n1] = map[int]int{n2: n3}
return nil
}
func (m *Mapper) Check(n1, n2 int) bool {
_, ok := (*m)[n1]
if !ok {
return false
}
_, ok = (*m)[n1][n2]
return ok
}
| 14.913043 | 44 | 0.597668 |
fa75a39d9b7117c51934d9c6c1f54a5272b39847 | 415 | kt | Kotlin | app/src/main/kotlin/ebisus/monkagiga/kamicompapp/core/modules/BlowfishModule.kt | EbisusBaka/kamicompapp | 2e0840771f3109f2a351b5c031e016c5bfada567 | [
"Apache-2.0"
] | null | null | null | app/src/main/kotlin/ebisus/monkagiga/kamicompapp/core/modules/BlowfishModule.kt | EbisusBaka/kamicompapp | 2e0840771f3109f2a351b5c031e016c5bfada567 | [
"Apache-2.0"
] | null | null | null | app/src/main/kotlin/ebisus/monkagiga/kamicompapp/core/modules/BlowfishModule.kt | EbisusBaka/kamicompapp | 2e0840771f3109f2a351b5c031e016c5bfada567 | [
"Apache-2.0"
] | null | null | null | package ebisus.monkagiga.kamicompapp.core.modules
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import ebisus.monkagiga.kamicompapp.core.domain.Blowfish
@Module
@InstallIn(SingletonComponent::class)
class BlowfishModule {
private val key = "WD24kYA7UaiHMpNq6BQ"
@Provides
fun providesBlowfish(): Blowfish = Blowfish(key)
}
| 23.055556 | 56 | 0.809639 |
f01f136d0d4a9137fd6a7ceea105c26d2d1478ac | 1,098 | py | Python | tests/controllers/controller_with_throttling.py | DmitryKhursevich/winter | 9f3bf462f963059bab1f1bbb309ca57f8a43b46f | [
"MIT"
] | 1 | 2020-10-26T09:48:05.000Z | 2020-10-26T09:48:05.000Z | tests/controllers/controller_with_throttling.py | mikhaillazko/winter | cd4f11aaf28d500aabb59cec369817bfdb5c2fc1 | [
"MIT"
] | null | null | null | tests/controllers/controller_with_throttling.py | mikhaillazko/winter | cd4f11aaf28d500aabb59cec369817bfdb5c2fc1 | [
"MIT"
] | null | null | null | from http import HTTPStatus
import winter.web
from winter.web import ExceptionHandler
from winter.web.exceptions import ThrottleException
class CustomThrottleExceptionHandler(ExceptionHandler):
@winter.response_status(HTTPStatus.TOO_MANY_REQUESTS)
def handle(self, exception: ThrottleException) -> str:
return 'custom throttle exception'
@winter.route_get('with-throttling/')
@winter.web.no_authentication
class ControllerWithThrottling:
@winter.route_get()
@winter.web.throttling('5/s')
def simple_method(self) -> int:
return 1
@winter.route_post()
def simple_post_method(self) -> int:
return 1
@winter.route_get('same/')
@winter.web.throttling('5/s')
def same_simple_method(self) -> int:
return 1
@winter.route_get('without-throttling/')
def method_without_throttling(self):
pass
@winter.route_get('custom-handler/')
@winter.web.throttling('5/s')
@winter.throws(ThrottleException, CustomThrottleExceptionHandler)
def simple_method_with_custom_handler(self) -> int:
return 1
| 26.780488 | 69 | 0.721311 |
cb124d842c07ca2b2088a50f32998930c9d1b882 | 563 | kt | Kotlin | inappupdatesmanager/src/main/java/github/informramiz/inappupdatesmanager/common/GsonExtension.kt | informramiz/InAppUpdatesManager | 3c802f1066c891ba6391e70271d76e1ff8fdabc8 | [
"Apache-2.0"
] | null | null | null | inappupdatesmanager/src/main/java/github/informramiz/inappupdatesmanager/common/GsonExtension.kt | informramiz/InAppUpdatesManager | 3c802f1066c891ba6391e70271d76e1ff8fdabc8 | [
"Apache-2.0"
] | null | null | null | inappupdatesmanager/src/main/java/github/informramiz/inappupdatesmanager/common/GsonExtension.kt | informramiz/InAppUpdatesManager | 3c802f1066c891ba6391e70271d76e1ff8fdabc8 | [
"Apache-2.0"
] | null | null | null | package github.informramiz.inappupdatesmanager.common
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
/**
* Created by Ramiz Raja on 2019-08-04.
*/
internal inline fun <reified T> Gson.fromJson(string: String): T {
//Java does not allow generic types retrieval at runtime
//and because Gson using reflection so we need type information at runtime
//so we make a subclass of TypeToken using which we can retrieve type info at runtime
val type = object : TypeToken<T>() {}.type
return Gson().fromJson<T>(string, type)
} | 35.1875 | 89 | 0.738899 |
4d86d2e59394b26aad684e5a32eb24e7f4865e04 | 52,860 | html | HTML | Manpages/htmlman/htmlman3/fts.3.html | kezzyie/buildAPKsApps | e3df7ad4ddb908c6c2214bde5441f75258de00d4 | [
"MIT"
] | 36 | 2019-08-08T14:18:41.000Z | 2022-02-15T17:34:16.000Z | Manpages/htmlman/htmlman3/fts.3.html | kezzyie/buildAPKsApps | e3df7ad4ddb908c6c2214bde5441f75258de00d4 | [
"MIT"
] | 1 | 2018-09-18T04:27:56.000Z | 2018-09-30T13:51:32.000Z | Manpages/htmlman/htmlman3/fts.3.html | kezzyie/buildAPKsApps | e3df7ad4ddb908c6c2214bde5441f75258de00d4 | [
"MIT"
] | 6 | 2017-12-14T19:37:51.000Z | 2019-07-18T01:13:16.000Z | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>fts(3) — Linux manual pages</title>
<link rel="stylesheet" href="../stylesheet/manpages.css" type="text/css" />
<link rel="home" href="../index.html" title="fts(3) — Linux manual pages" />
<script type="text/javascript" src="../stylesheet/manpages.js" xml:space="preserve">
</script>
<link rel="icon" href="../stylesheet/icon.gif" type="image/gif" />
</head>
<body onload="javascript:init()">
<div class="refentry" title="fts(3) — Linux manual pages">
<a id="fts.3" name="fts.3" shape="rect"> </a>
<div class="titlepage"> </div>
<div class="refnamediv">
<h2>Name</h2>
<p>fts, fts_open, fts_read, fts_children, fts_set, fts_close
— traverse a file hierarchy</p>
</div>
<div class="refsynopsisdiv" title="Synopsis">
<h2>Synopsis</h2>
<div class="informalexample">
<pre class="programlisting" xml:space="preserve">
#include <sys/types.h>
#include <sys/stat.h>
#include <fts.h>
</pre>
</div>
<div class="funcsynopsis">
<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table">
<tr>
<td rowspan="1" colspan="1"><code class="funcdef">FTS *<b class="fsfunc">fts_open</b>(</code></td>
<td rowspan="1" colspan="1">char * const *<var class="pdparam">path_argv</var>,</td>
</tr>
<tr>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">int <var class="pdparam">options</var>,</td>
</tr>
<tr>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">int <var class="pdparam">(*compar)</var><code>(</code>const FTSENT **,
const FTSENT **<code>)</code><code>)</code>;</td>
</tr>
</table>
<div class="funcprototype-spacer">
</div>
</div>
<div class="funcsynopsis">
<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table">
<tr>
<td rowspan="1" colspan="1"><code class="funcdef">FTSENT *<b class="fsfunc">fts_read</b>(</code></td>
<td rowspan="1" colspan="1">FTS *<var class="pdparam">ftsp</var><code>)</code>;</td>
</tr>
</table>
<div class="funcprototype-spacer">
</div>
</div>
<div class="funcsynopsis">
<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table">
<tr>
<td rowspan="1" colspan="1"><code class="funcdef">FTSENT *<b class="fsfunc">fts_children</b>(</code></td>
<td rowspan="1" colspan="1">FTS *<var class="pdparam">ftsp</var>,</td>
</tr>
<tr>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">int <var class="pdparam">options</var><code>)</code>;</td>
</tr>
</table>
<div class="funcprototype-spacer">
</div>
</div>
<div class="funcsynopsis">
<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table">
<tr>
<td rowspan="1" colspan="1"><code class="funcdef">int <b class="fsfunc">fts_set</b>(</code></td>
<td rowspan="1" colspan="1">FTS *<var class="pdparam">ftsp</var>,</td>
</tr>
<tr>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">FTSENT *<var class="pdparam">f</var>,</td>
</tr>
<tr>
<td rowspan="1" colspan="1"> </td>
<td rowspan="1" colspan="1">int <var class="pdparam">options</var><code>)</code>;</td>
</tr>
</table>
<div class="funcprototype-spacer">
</div>
</div>
<div class="funcsynopsis">
<table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table">
<tr>
<td rowspan="1" colspan="1"><code class="funcdef">int <b class="fsfunc">fts_close</b>(</code></td>
<td rowspan="1" colspan="1">FTS *<var class="pdparam">ftsp</var><code>)</code>;</td>
</tr>
</table>
<div class="funcprototype-spacer">
</div>
</div>
</div>
<div class="refsect1" title="DESCRIPTION">
<a id="fts-3_sect1" name="fts-3_sect1" shape="rect"> </a>
<h2>DESCRIPTION</h2>
<p>The fts functions are provided for traversing file
hierarchies. A simple overview is that the <code class="function">fts_open</code>() function returns a "handle" on a
file hierarchy, which is then supplied to the other fts
functions. The function <code class="function">fts_read</code>() returns a pointer to a structure
describing one of the files in the file hierarchy. The
function <code class="function">fts_children</code>() returns
a pointer to a linked list of structures, each of which
describes one of the files contained in a directory in the
hierarchy. In general, directories are visited two
distinguishable times; in preorder (before any of their
descendants are visited) and in postorder (after all of their
descendants have been visited). Files are visited once. It is
possible to walk the hierarchy "logically" (ignoring symbolic
links) or physically (visiting symbolic links), order the
walk of the hierarchy or prune and/or revisit portions of the
hierarchy.</p>
<p>Two structures are defined (and typedef'd) in the include
file <code class="literal"><</code><code class="filename">fts.h</code><code class="literal">></code> The
first is <code class="constant">FTS</code>, the structure
that represents the file hierarchy itself. The second is
<code class="constant">FTSENT</code>, the structure that
represents a file in the file hierarchy. Normally, an
<code class="constant">FTSENT</code> structure is returned
for every file in the file hierarchy. In this manual page,
"file" and "FTSENT structure" are generally interchangeable.
The <code class="constant">FTSENT</code> structure contains
at least the following fields, which are described in greater
detail below:</p>
<div class="blockquote">
<blockquote class="blockquote">
<div class="structdef">
<table style="border-collapse: collapse;">
<colgroup span="1">
<col span="1" />
<col span="1" />
<col span="1" />
<col span="1" />
<col span="1" />
</colgroup>
<tbody>
<tr>
<td class="structdefhdr" style="" align="left" rowspan="1" colspan="1">
typedef</td>
<td class="structdefhdr" style="" colspan="4" align="left" rowspan="1">struct <span class="structname">_ftsent</span> {</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">unsigned short</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_info</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* flags for FTSENT structure */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">char</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_accpath</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* access path */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">char</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_path</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* root path */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">short</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_pathlen</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* strlen(fts_path) */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">char</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_name</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* filename */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">short</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_namelen</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* strlen(fts_name) */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">short</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_level</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* depth (\-1 to N) */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">int</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_errno</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* file errno */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">long</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_number</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* local numeric value */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">void</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_pointer</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* local address value */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">struct ftsent</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_parent</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* parent directory */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">struct ftsent</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_link</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* next file structure */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">struct ftsent</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_cycle</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* cycle structure */
</div>
</td>
</tr>
<tr>
<td style="" rowspan="1" colspan="1"> </td>
<td style="" align="left" rowspan="1" colspan="1"><span class="type">struct stat</span></td>
<td class="norightpad" style="" align="right" rowspan="1" colspan="1">
*</td>
<td style="" align="left" rowspan="1" colspan="1"><em class="structfield"><code>fts_statp</code></em>;</td>
<td style="" align="left" rowspan="1" colspan="1">
<div class="literallayout">
/* stat(2) information */
</div>
</td>
</tr>
<tr>
<td class="structdefftr" style="" colspan="5" align="left" rowspan="1">} FTSENT;</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
</div>
<p>These fields are defined as follows:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><em class="parameter"><code>fts_info</code></em></span></dt>
<dd>
<p>One of the following flags describing the returned
<code class="constant">FTSENT</code> structure and the
file it represents. With the exception of directories
without errors (<code class="constant">FTS_D</code>),
all of these entries are terminal, that is, they will
not be revisited, nor will any of their descendants be
visited.</p>
<div class="blockquote">
<blockquote class="blockquote">
<div class="variablelist">
<dl>
<dt><span class="term"><code class="constant">FTS_D</code></span></dt>
<dd>
<p>A directory being visited in preorder.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_DC</code></span></dt>
<dd>
<p>A directory that causes a cycle in the
tree. (The <em class="parameter"><code>fts_cycle</code></em> field
of the <code class="constant">FTSENT</code>
structure will be filled in as well.)</p>
</dd>
<dt><span class="term"><code class="constant">FTS_DEFAULT</code></span></dt>
<dd>
<p>Any <code class="constant">FTSENT</code>
structure that represents a file type not
explicitly described by one of the other
<em class="parameter"><code>fts_info</code></em>
values.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_DNR</code></span></dt>
<dd>
<p>A directory which cannot be read. This is
an error return, and the <em class="parameter"><code>fts_errno</code></em> field
will be set to indicate what caused the
error.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_DOT</code></span></dt>
<dd>
<p>A file named "." or ".." which was not
specified as a filename to <code class="function">fts_open</code>() (see
<code class="constant">FTS_SEEDOT</code>).</p>
</dd>
<dt><span class="term"><code class="constant">FTS_DP</code></span></dt>
<dd>
<p>A directory being visited in postorder.
The contents of the <code class="constant">FTSENT</code> structure will be
unchanged from when it was returned in
preorder, that is, with the <em class="parameter"><code>fts_info</code></em> field
set to <code class="constant">FTS_D</code>.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_ERR</code></span></dt>
<dd>
<p>This is an error return, and the
<em class="parameter"><code>fts_errno</code></em>
field will be set to indicate what caused the
error.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_F</code></span></dt>
<dd>
<p>A regular file.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_NS</code></span></dt>
<dd>
<p>A file for which no <a class="link" href="../htmlman2/stat.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">stat</span>(2)</span></a>
information was available. The contents of
the <em class="parameter"><code>fts_statp</code></em> field
are undefined. This is an error return, and
the <em class="parameter"><code>fts_errno</code></em> field
will be set to indicate what caused the
error.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_NSOK</code></span></dt>
<dd>
<p>A file for which no <a class="link" href="../htmlman2/stat.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">stat</span>(2)</span></a>
information was requested. The contents of
the <em class="parameter"><code>fts_statp</code></em> field
are undefined.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_SL</code></span></dt>
<dd>
<p>A symbolic link.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_SLNONE</code></span></dt>
<dd>
<p>A symbolic link with a nonexistent target.
The contents of the <em class="parameter"><code>fts_statp</code></em> field
reference the file characteristic information
for the symbolic link itself.</p>
</dd>
</dl>
</div>
</blockquote>
</div>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_accpath</code></em></span></dt>
<dd>
<p>A path for accessing the file from the current
directory.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_path</code></em></span></dt>
<dd>
<p>The path for the file relative to the root of the
traversal. This path contains the path specified to
<code class="function">fts_open</code>() as a
prefix.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_pathlen</code></em></span></dt>
<dd>
<p>The length of the string referenced by <em class="parameter"><code>fts_path</code></em>.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_name</code></em></span></dt>
<dd>
<p>The name of the file.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_namelen</code></em></span></dt>
<dd>
<p>The length of the string referenced by <em class="parameter"><code>fts_name</code></em>.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_level</code></em></span></dt>
<dd>
<p>The depth of the traversal, numbered from −1
to N, where this file was found. The <code class="constant">FTSENT</code> structure representing the
parent of the starting point (or root) of the traversal
is numbered −1, and the <code class="constant">FTSENT</code> structure for the root itself
is numbered 0.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_errno</code></em></span></dt>
<dd>
<p>Upon return of a <code class="constant">FTSENT</code> structure from the
<code class="function">fts_children</code>() or
<code class="function">fts_read</code>() functions,
with its <em class="parameter"><code>fts_info</code></em> field set to
<code class="constant">FTS_DNR</code>, <code class="constant">FTS_ERR</code> or <code class="constant">FTS_NS</code>, the <em class="parameter"><code>fts_errno</code></em> field contains
the value of the external variable <code class="varname">errno</code> specifying the cause of the
error. Otherwise, the contents of the <em class="parameter"><code>fts_errno</code></em> field are
undefined.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_number</code></em></span></dt>
<dd>
<p>This field is provided for the use of the
application program and is not modified by the fts
functions. It is initialized to 0.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_pointer</code></em></span></dt>
<dd>
<p>This field is provided for the use of the
application program and is not modified by the fts
functions. It is initialized to NULL.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_parent</code></em></span></dt>
<dd>
<p>A pointer to the <code class="constant">FTSENT</code> structure referencing the file
in the hierarchy immediately above the current file,
that is, the directory of which this file is a member.
A parent structure for the initial entry point is
provided as well, however, only the <em class="parameter"><code>fts_level</code></em>, <em class="parameter"><code>fts_number</code></em> and <em class="parameter"><code>fts_pointer</code></em> fields are
guaranteed to be initialized.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_link</code></em></span></dt>
<dd>
<p>Upon return from the <code class="function">fts_children</code>() function, the
<em class="parameter"><code>fts_link</code></em> field
points to the next structure in the NULL-terminated
linked list of directory members. Otherwise, the
contents of the <em class="parameter"><code>fts_link</code></em> field are
undefined.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_cycle</code></em></span></dt>
<dd>
<p>If a directory causes a cycle in the hierarchy (see
<code class="constant">FTS_DC</code>), either because
of a hard link between two directories, or a symbolic
link pointing to a directory, the <em class="parameter"><code>fts_cycle</code></em> field of the
structure will point to the <code class="constant">FTSENT</code> structure in the hierarchy
that references the same file as the current
<code class="constant">FTSENT</code> structure.
Otherwise, the contents of the <em class="parameter"><code>fts_cycle</code></em> field are
undefined.</p>
</dd>
<dt><span class="term"><em class="parameter"><code>fts_statp</code></em></span></dt>
<dd>
<p>A pointer to <a class="link" href="../htmlman2/stat.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">stat</span>(2)</span></a> information
for the file.</p>
</dd>
</dl>
</div>
<p>A single buffer is used for all of the paths of all of the
files in the file hierarchy. Therefore, the <em class="parameter"><code>fts_path</code></em> and <em class="parameter"><code>fts_accpath</code></em> fields are
guaranteed to be null-terminated <span class="emphasis"><em>only</em></span> for the file most recently
returned by <code class="function">fts_read</code>(). To use
these fields to reference any files represented by other
<code class="constant">FTSENT</code> structures will require
that the path buffer be modified using the information
contained in that <code class="constant">FTSENT</code>
structure's <em class="parameter"><code>fts_pathlen</code></em> field. Any such
modifications should be undone before further calls to
<code class="function">fts_read</code>() are attempted. The
<em class="parameter"><code>fts_name</code></em> field is
always null-terminated.</p>
<div class="refsect2" title="fts_open()">
<a id="fts-3_sect2" name="fts-3_sect2" shape="rect"> </a>
<h3>fts_open()</h3>
<p>The <code class="function">fts_open</code>() function
takes a pointer to an array of character pointers naming
one or more paths which make up a logical file hierarchy to
be traversed. The array must be terminated by a NULL
pointer.</p>
<p>There are a number of options, at least one of which
(either <code class="constant">FTS_LOGICAL</code> or
<code class="constant">FTS_PHYSICAL</code>) must be
specified. The options are selected by <span class="emphasis"><em>or</em></span>ing the following values:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><code class="constant">FTS_COMFOLLOW</code></span></dt>
<dd>
<p>This option causes any symbolic link specified as
a root path to be followed immediately whether or not
<code class="constant">FTS_LOGICAL</code> is also
specified.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_LOGICAL</code></span></dt>
<dd>
<p>This option causes the fts routines to return
<code class="constant">FTSENT</code> structures for
the targets of symbolic links instead of the symbolic
links themselves. If this option is set, the only
symbolic links for which <code class="constant">FTSENT</code> structures are returned to
the application are those referencing nonexistent
files. Either <code class="constant">FTS_LOGICAL</code> or <code class="constant">FTS_PHYSICAL</code> <span class="emphasis"><em>must</em></span> be provided to the
<code class="function">fts_open</code>()
function.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_NOCHDIR</code></span></dt>
<dd>
<p>As a performance optimization, the fts functions
change directories as they walk the file hierarchy.
This has the side-effect that an application cannot
rely on being in any particular directory during the
traversal. The <code class="constant">FTS_NOCHDIR</code> option turns off this
optimization, and the fts functions will not change
the current directory. Note that applications should
not themselves change their current directory and try
to access files unless <code class="constant">FTS_NOCHDIR</code> is specified and
absolute pathnames were provided as arguments to
<code class="function">fts_open</code>().</p>
</dd>
<dt><span class="term"><code class="constant">FTS_NOSTAT</code></span></dt>
<dd>
<p>By default, returned <code class="constant">FTSENT</code> structures reference file
characteristic information (the <code class="function">statp</code> field) for each file visited.
This option relaxes that requirement as a performance
optimization, allowing the fts functions to set the
<em class="parameter"><code>fts_info</code></em>
field to <code class="constant">FTS_NSOK</code> and
leave the contents of the <code class="function">statp</code> field undefined.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_PHYSICAL</code></span></dt>
<dd>
<p>This option causes the fts routines to return
<code class="constant">FTSENT</code> structures for
symbolic links themselves instead of the target files
they point to. If this option is set, <code class="constant">FTSENT</code> structures for all symbolic
links in the hierarchy are returned to the
application. Either <code class="constant">FTS_LOGICAL</code> or <code class="constant">FTS_PHYSICAL</code> <span class="emphasis"><em>must</em></span> be provided to the
<code class="function">fts_open</code>()
function.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_SEEDOT</code></span></dt>
<dd>
<p>By default, unless they are specified as path
arguments to <code class="function">fts_open</code>(), any files named "." or
".." encountered in the file hierarchy are ignored.
This option causes the fts routines to return
<code class="constant">FTSENT</code> structures for
them.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_XDEV</code></span></dt>
<dd>
<p>This option prevents fts from descending into
directories that have a different device number than
the file from which the descent began.</p>
</dd>
</dl>
</div>
<p>The argument <code class="function">compar</code>()
specifies a user-defined function which may be used to
order the traversal of the hierarchy. It takes two pointers
to pointers to <code class="constant">FTSENT</code>
structures as arguments and should return a negative value,
zero, or a positive value to indicate if the file
referenced by its first argument comes before, in any order
with respect to, or after, the file referenced by its
second argument. The <em class="parameter"><code>fts_accpath</code></em>, <em class="parameter"><code>fts_path</code></em> and <em class="parameter"><code>fts_pathlen</code></em> fields of the
<code class="constant">FTSENT</code> structures may
<code class="function">never</code> be used in this
comparison. If the <em class="parameter"><code>fts_info</code></em> field is set to
<code class="constant">FTS_NS</code> or <code class="constant">FTS_NSOK</code>, the <em class="parameter"><code>fts_statp</code></em> field may not
either. If the <code class="function">compar</code>()
argument is NULL, the directory traversal order is in the
order listed in <em class="parameter"><code>path_argv</code></em> for the root paths,
and in the order listed in the directory for everything
else.</p>
</div>
<div class="refsect2" title="fts_read()">
<a id="fts-3_sect3" name="fts-3_sect3" shape="rect"> </a>
<h3>fts_read()</h3>
<p>The <code class="function">fts_read</code>() function
returns a pointer to an <code class="constant">FTSENT</code> structure describing a file in the
hierarchy. Directories (that are readable and do not cause
cycles) are visited at least twice, once in preorder and
once in postorder. All other files are visited at least
once. (Hard links between directories that do not cause
cycles or symbolic links to symbolic links may cause files
to be visited more than once, or directories more than
twice.)</p>
<p>If all the members of the hierarchy have been returned,
<code class="function">fts_read</code>() returns NULL and
sets the external variable <code class="varname">errno</code> to 0. If an error unrelated to a
file in the hierarchy occurs, <code class="function">fts_read</code>() returns NULL and sets
<code class="varname">errno</code> appropriately. If an
error related to a returned file occurs, a pointer to an
<code class="constant">FTSENT</code> structure is returned,
and <code class="varname">errno</code> may or may not have
been set (see <em class="parameter"><code>fts_info</code></em>).</p>
<p>The <code class="constant">FTSENT</code> structures
returned by <code class="function">fts_read</code>() may be
overwritten after a call to <code class="function">fts_close</code>() on the same file hierarchy
stream, or, after a call to <code class="function">fts_read</code>() on the same file hierarchy
stream unless they represent a file of type directory, in
which case they will not be overwritten until after a call
to <code class="function">fts_read</code>() after the
<code class="constant">FTSENT</code> structure has been
returned by the function <code class="function">fts_read</code>() in postorder.</p>
</div>
<div class="refsect2" title="fts_children()">
<a id="fts-3_sect4" name="fts-3_sect4" shape="rect"> </a>
<h3>fts_children()</h3>
<p>The <code class="function">fts_children</code>()
function returns a pointer to an <code class="constant">FTSENT</code> structure describing the first
entry in a NULL-terminated linked list of the files in the
directory represented by the <code class="constant">FTSENT</code> structure most recently returned
by <code class="function">fts_read</code>(). The list is
linked through the <em class="parameter"><code>fts_link</code></em> field of the
<code class="constant">FTSENT</code> structure, and is
ordered by the user-specified comparison function, if any.
Repeated calls to <code class="function">fts_children</code>() will recreate this linked
list.</p>
<p>As a special case, if <code class="function">fts_read</code>() has not yet been called for a
hierarchy, <code class="function">fts_children</code>()
will return a pointer to the files in the logical directory
specified to <code class="function">fts_open</code>(), that
is, the arguments specified to <code class="function">fts_open</code>(). Otherwise, if the
<code class="constant">FTSENT</code> structure most
recently returned by <code class="function">fts_read</code>() is not a directory being
visited in preorder, or the directory does not contain any
files, <code class="function">fts_children</code>() returns
NULL and sets <code class="varname">errno</code> to zero.
If an error occurs, <code class="function">fts_children</code>() returns NULL and sets
<code class="varname">errno</code> appropriately.</p>
<p>The <code class="constant">FTSENT</code> structures
returned by <code class="function">fts_children</code>()
may be overwritten after a call to <code class="function">fts_children</code>(), <code class="function">fts_close</code>() or <code class="function">fts_read</code>() on the same file hierarchy
stream.</p>
<p><code class="function">Option</code> may be set to the
following value:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><code class="constant">FTS_NAMEONLY</code></span></dt>
<dd>
<p>Only the names of the files are needed. The
contents of all the fields in the returned linked
list of structures are undefined with the exception
of the <em class="parameter"><code>fts_name</code></em> and <em class="parameter"><code>fts_namelen</code></em> fields.</p>
</dd>
</dl>
</div>
</div>
<div class="refsect2" title="fts_set()">
<a id="fts-3_sect5" name="fts-3_sect5" shape="rect"> </a>
<h3>fts_set()</h3>
<p>The function <code class="function">fts_set</code>()
allows the user application to determine further processing
for the file <em class="parameter"><code>f</code></em> of
the stream <em class="parameter"><code>ftsp</code></em>.
The <code class="function">fts_set</code>() function
returns 0 on success, and −1 if an error occurs.
<code class="function">Option</code> must be set to one of
the following values:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><code class="constant">FTS_AGAIN</code></span></dt>
<dd>
<p>Re-visit the file; any file type may be revisited.
The next call to <code class="function">fts_read</code>() will return the
referenced file. The <code class="function">fts_stat</code> and <em class="parameter"><code>fts_info</code></em> fields of the
structure will be reinitialized at that time, but no
other fields will have been changed. This option is
meaningful only for the most recently returned file
from <code class="function">fts_read</code>(). Normal
use is for postorder directory visits, where it
causes the directory to be revisited (in both
preorder and postorder) as well as all of its
descendants.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_FOLLOW</code></span></dt>
<dd>
<p>The referenced file must be a symbolic link. If
the referenced file is the one most recently returned
by <code class="function">fts_read</code>(), the next
call to <code class="function">fts_read</code>()
returns the file with the <em class="parameter"><code>fts_info</code></em> and <em class="parameter"><code>fts_statp</code></em> fields
reinitialized to reflect the target of the symbolic
link instead of the symbolic link itself. If the file
is one of those most recently returned by
<code class="function">fts_children</code>(), the
<em class="parameter"><code>fts_info</code></em> and
<em class="parameter"><code>fts_statp</code></em>
fields of the structure, when returned by
<code class="function">fts_read</code>(), will
reflect the target of the symbolic link instead of
the symbolic link itself. In either case, if the
target of the symbolic link does not exist the fields
of the returned structure will be unchanged and the
<em class="parameter"><code>fts_info</code></em>
field will be set to <code class="constant">FTS_SLNONE</code>.</p>
<p>If the target of the link is a directory, the
preorder return, followed by the return of all of its
descendants, followed by a postorder return, is
done.</p>
</dd>
<dt><span class="term"><code class="constant">FTS_SKIP</code></span></dt>
<dd>
<p>No descendants of this file are visited. The file
may be one of those most recently returned by either
<code class="function">fts_children</code>() or
<code class="function">fts_read</code>().</p>
</dd>
</dl>
</div>
</div>
<div class="refsect2" title="fts_close()">
<a id="fts-3_sect6" name="fts-3_sect6" shape="rect"> </a>
<h3>fts_close()</h3>
<p>The <code class="function">fts_close</code>() function
closes a file hierarchy stream <em class="parameter"><code>ftsp</code></em> and restores the current
directory to the directory from which <code class="function">fts_open</code>() was called to open <em class="parameter"><code>ftsp</code></em>. The <code class="function">fts_close</code>() function returns 0 on
success, and −1 if an error occurs.</p>
</div>
</div>
<div class="refsect1" title="ERRORS">
<a id="fts-3_sect7" name="fts-3_sect7" shape="rect"> </a>
<h2>ERRORS</h2>
<p>The function <code class="function">fts_open</code>() may
fail and set <code class="varname">errno</code> for any of
the errors specified for <a class="link" href="../htmlman2/open.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">open</span>(2)</span></a> and <a class="link" href="../htmlman3/malloc.3.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">malloc</span>(3)</span></a>.</p>
<p>The function <code class="function">fts_close</code>() may
fail and set <code class="varname">errno</code> for any of
the errors specified for <a class="link" href="../htmlman2/chdir.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">chdir</span>(2)</span></a> and <a class="link" href="../htmlman2/close.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">close</span>(2)</span></a>.</p>
<p>The functions <code class="function">fts_read</code>() and
<code class="function">fts_children</code>() may fail and set
<code class="varname">errno</code> for any of the errors
specified for <a class="link" href="../htmlman2/chdir.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">chdir</span>(2)</span></a>, <a class="link" href="../htmlman3/malloc.3.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">malloc</span>(3)</span></a>, <a class="link" href="../htmlman3/opendir.3.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">opendir</span>(3)</span></a>, <a class="link" href="../htmlman3/readdir.3.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">readdir</span>(3)</span></a> and <a class="link" href="../htmlman2/stat.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">stat</span>(2)</span></a>.</p>
<p>In addition, <code class="function">fts_children</code>(),
<code class="function">fts_open</code>() and <code class="function">fts_set</code>() may fail and set <code class="varname">errno</code> as follows:</p>
<div class="variablelist">
<dl>
<dt><span class="term"><span class="errorname">EINVAL</span></span></dt>
<dd>
<p>The options were invalid.</p>
</dd>
</dl>
</div>
</div>
<div class="refsect1" title="VERSIONS">
<a id="fts-3_sect8" name="fts-3_sect8" shape="rect"> </a>
<h2>VERSIONS</h2>
<p>These functions are available in Linux since glibc2.</p>
</div>
<div class="refsect1" title="CONFORMING TO">
<a id="fts-3_sect9" name="fts-3_sect9" shape="rect"> </a>
<h2>CONFORMING TO</h2>
<p>4.4BSD.</p>
</div>
<div class="refsect1" title="SEE ALSO">
<a id="fts-3_sect10" name="fts-3_sect10" shape="rect"> </a>
<h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">find</span>(1)</span>, <a class="link" href="../htmlman2/chdir.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">chdir</span>(2)</span></a>, <a class="link" href="../htmlman2/stat.2.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">stat</span>(2)</span></a>, <a class="link" href="../htmlman3/ftw.3.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">ftw</span>(3)</span></a>, <a class="link" href="../htmlman3/qsort.3.html" target="_top" shape="rect"><span class="citerefentry"><span class="refentrytitle">qsort</span>(3)</span></a></p>
</div>
<div class="colophon" title="COLOPHON">
<a id="fts-3_sect11" name="fts-3_sect11" shape="rect"> </a>
<h2>COLOPHON</h2>
<p>This page is part of release 3.24 of the Linux <em class="replaceable"><code>man-pages</code></em> project. A
description of the project, and information about reporting
bugs, can be found at
http://www.kernel.org/doc/man-pages/.</p>
<div class="license">
<table style="border-collapse: collapse;">
<colgroup span="1">
<col span="1" />
</colgroup>
<tbody>
<tr>
<td style="" rowspan="1" colspan="1">
<div class="literallayout">
<br />
$NetBSD: fts.3,v 1.13.2.1 1997/11/14 02:09:32 mrg Exp $<br />
<br />
Copyright (c) 1989, 1991, 1993, 1994<br />
The Regents of the University of California. All rights reserved.<br />
<br />
Redistribution and use in source and binary forms, with or without<br />
modification, are permitted provided that the following conditions<br />
are met:<br />
1. Redistributions of source code must retain the above copyright<br />
notice, this list of conditions and the following disclaimer.<br />
2. Redistributions in binary form must reproduce the above copyright<br />
notice, this list of conditions and the following disclaimer in the<br />
documentation and/or other materials provided with the distribution.<br />
3. All advertising materials mentioning features or use of this software<br />
must display the following acknowledgement:<br />
This product includes software developed by the University of<br />
California, Berkeley and its contributors.<br />
4. Neither the name of the University nor the names of its contributors<br />
may be used to endorse or promote products derived from this software<br />
without specific prior written permission.<br />
<br />
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND<br />
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE<br />
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE<br />
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE<br />
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL<br />
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS<br />
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)<br />
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT<br />
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY<br />
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF<br />
SUCH DAMAGE.<br />
<br />
<script type="text/javascript">document.write('@');</script><noscript>(@)</noscript>(#)fts.3
8.5 (Berkeley) 4/16/94<br />
<br />
2007-12-08, mtk, Converted from mdoc to man macros<br />
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
| 45.608283 | 824 | 0.551589 |
56aff2218ffc6caddd3ae226f907c5698d593389 | 732 | go | Go | xutil/env.go | evercyan/brick | 468322f70e3cfdbc28b86d9dc9d48f9fde53c985 | [
"MIT"
] | null | null | null | xutil/env.go | evercyan/brick | 468322f70e3cfdbc28b86d9dc9d48f9fde53c985 | [
"MIT"
] | null | null | null | xutil/env.go | evercyan/brick | 468322f70e3cfdbc28b86d9dc9d48f9fde53c985 | [
"MIT"
] | null | null | null | package xutil
import (
"os"
"runtime"
"strings"
)
// GetEnv ...
func GetEnv(name string, defaultValues ...string) string {
value := os.Getenv(name)
if value == "" && len(defaultValues) > 0 {
value = defaultValues[0]
}
return value
}
// GetEnvMap ...
func GetEnvMap() map[string]string {
envList := os.Environ()
envMap := make(map[string]string, len(envList))
for _, str := range envList {
nodes := strings.SplitN(str, "=", 2)
if len(nodes) >= 2 {
envMap[nodes[0]] = nodes[1]
}
}
return envMap
}
// IsWin ...
func IsWin() bool {
return runtime.GOOS == "windows"
}
// IsMac ...
func IsMac() bool {
return runtime.GOOS == "darwin"
}
// IsLinux ...
func IsLinux() bool {
return runtime.GOOS == "linux"
}
| 16.266667 | 58 | 0.618852 |
c21794f2c99039fb4db96343379b1e44c61db518 | 114 | go | Go | api/transactions/transactions.go | MarkusKuhn/spend_track_go | bb66c4d5d223e9e8b1254e963749dc83e30f9a3f | [
"MIT"
] | null | null | null | api/transactions/transactions.go | MarkusKuhn/spend_track_go | bb66c4d5d223e9e8b1254e963749dc83e30f9a3f | [
"MIT"
] | null | null | null | api/transactions/transactions.go | MarkusKuhn/spend_track_go | bb66c4d5d223e9e8b1254e963749dc83e30f9a3f | [
"MIT"
] | null | null | null | package transactions
func GetTransactions() int8 {
var transactionAmount int8 = 10
return transactionAmount
}
| 14.25 | 32 | 0.798246 |
4468641e0018797833d89d44ea7cae845643178c | 1,993 | swift | Swift | douyin/DYHotVideo/QHAwemeDemo/Modules/Acount/UserCenter/Views/CustomTableView.swift | wjj765110087/CategoryScrollView | 0596ac90738829bf826bd17e2990b3159f98d38c | [
"MIT"
] | null | null | null | douyin/DYHotVideo/QHAwemeDemo/Modules/Acount/UserCenter/Views/CustomTableView.swift | wjj765110087/CategoryScrollView | 0596ac90738829bf826bd17e2990b3159f98d38c | [
"MIT"
] | null | null | null | douyin/DYHotVideo/QHAwemeDemo/Modules/Acount/UserCenter/Views/CustomTableView.swift | wjj765110087/CategoryScrollView | 0596ac90738829bf826bd17e2990b3159f98d38c | [
"MIT"
] | 1 | 2020-06-12T08:35:10.000Z | 2020-06-12T08:35:10.000Z | //
// CustomTableView.swift
// RootTabBarController
//
// Created by mac on 2019/9/28.
// Copyright © 2019年 mac. All rights reserved.
//
import UIKit
class CustomTableView: UITableView {
}
extension CustomTableView: UIGestureRecognizerDelegate {
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
if gestureRecognizer.isKind(of: UIPanGestureRecognizer.self) && otherGestureRecognizer.isKind(of: UIPanGestureRecognizer.self) {
if otherGestureRecognizer.view != nil {
if otherGestureRecognizer.view!.isKind(of: CustomcollectionView.self) || otherGestureRecognizer.view!.isKind(of: CommunityTableView.self) {
return true
}
}
}
return false
}
}
class CustomcollectionView: UICollectionView {
}
extension CustomcollectionView: UIGestureRecognizerDelegate {
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
if otherGestureRecognizer.view != nil {
if otherGestureRecognizer.view!.isKind(of: CustomTableView.self) {
return true
}
}
return false
}
}
class CommunityTableView: UITableView {
}
extension CommunityTableView: UIGestureRecognizerDelegate {
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
if gestureRecognizer.isKind(of: UIPanGestureRecognizer.self) && otherGestureRecognizer.isKind(of: UIPanGestureRecognizer.self) {
if otherGestureRecognizer.view != nil {
if otherGestureRecognizer.view!.isKind(of: CustomTableView.self) {
return true
}
}
}
return false
}
}
| 32.672131 | 157 | 0.692925 |
5b51b0c36b84ee56a562dac3221d6c612bbebe15 | 947 | h | C | cub/env/concurrent/auto_lock.h | yuanliya/Adlik | 602074b44064002fc0bb054e17a989a5bcf22e92 | [
"Apache-2.0"
] | 548 | 2019-09-27T07:37:47.000Z | 2022-03-31T05:12:38.000Z | cub/env/concurrent/auto_lock.h | yuanliya/Adlik | 602074b44064002fc0bb054e17a989a5bcf22e92 | [
"Apache-2.0"
] | 533 | 2019-09-27T06:30:41.000Z | 2022-03-29T07:34:08.000Z | cub/env/concurrent/auto_lock.h | yuanliya/Adlik | 602074b44064002fc0bb054e17a989a5bcf22e92 | [
"Apache-2.0"
] | 54 | 2019-10-10T02:19:31.000Z | 2021-12-28T03:37:45.000Z | // Copyright 2019 ZTE corporation. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
#ifndef H91A7D2E3_7EDF_4994_811B_5168E331A336
#define H91A7D2E3_7EDF_4994_811B_5168E331A336
#include <mutex>
#include "cub/env/concurrent/mutex.h"
namespace cub {
struct AutoLock {
explicit AutoLock(Mutex& mu) : mu(&mu) {
mu.lock();
}
AutoLock(Mutex& mu, std::try_to_lock_t) : mu(&mu) {
if (!mu.tryLock()) {
this->mu = nullptr;
}
}
AutoLock(AutoLock&& lock) noexcept : mu(lock.mu) {
lock.mu = nullptr;
}
AutoLock& operator=(AutoLock&& lock) {
std::swap(this->mu, lock.mu);
}
~AutoLock() {
if (mu != nullptr) {
mu->unlock();
}
}
operator bool() const {
return mu != nullptr;
}
void* native() const {
return mu->native();
}
AutoLock(const AutoLock&) = delete;
AutoLock& operator=(const AutoLock&) = delete;
private:
Mutex* mu;
};
} // namespace cub
#endif
| 16.910714 | 55 | 0.6283 |
e80b771379feb1f4ccce88ec3bb4f7fe85479262 | 680 | asm | Assembly | mem/dos/16bit/DosUnlockSeg.asm | prokushev/FamilyAPI | c07ecaba70392fe16b0b88e21e773470fa42012a | [
"BSD-3-Clause"
] | 1 | 2021-11-25T14:01:48.000Z | 2021-11-25T14:01:48.000Z | mem/dos/16bit/DosUnlockSeg.asm | prokushev/FamilyAPI | c07ecaba70392fe16b0b88e21e773470fa42012a | [
"BSD-3-Clause"
] | null | null | null | mem/dos/16bit/DosUnlockSeg.asm | prokushev/FamilyAPI | c07ecaba70392fe16b0b88e21e773470fa42012a | [
"BSD-3-Clause"
] | 2 | 2021-11-05T06:48:43.000Z | 2021-12-06T08:07:38.000Z | ;/*!
; @file
;
; @ingroup fapi
;
; @brief DosUnlockSeg DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushev (yuri.prokushev@gmail.com)
;
; Documentation: http://osfree.org/doku/en:docs:fapi:dosunlockseg
;
;*/
.8086
INCLUDE GLOBALVARS.INC
EXTERN DOS16PUNLOCKSEG: PROC
EXTERN DOS16RUNLOCKSEG: PROC
_TEXT SEGMENT BYTE PUBLIC 'CODE' USE16
DOSUNLOCKSEG PROC
CMP DPMI, 0FFFFH
JZ DOS16PUNLOCKSEG
JMP DOS16RUNLOCKSEG
DOSUNLOCKSEG ENDP
_TEXT ENDS
END
| 17.435897 | 69 | 0.717647 |