Skip to content

Instantly share code, notes, and snippets.

View KarlBaumann's full-sized avatar

Karlis Baumanis KarlBaumann

View GitHub Profile
{
"data": {
"type": "events",
"id": "300",
"attributes": {
"title": "Gryphon is, look at all know whether it was as much as serpents do, you know.' Alice had not attended to this last word two or three of her or of anything to put down yet, before the trial's begun.' 'They're putting down their names,' the Gryphon in an.",
"slug": "gryphon-is-look-at-all-know-whether-it-was-as-much-as-serpents-do-you-know-alice-had-not-attended-to-this-last-word-two-or-three-of-her-or-of-anything-to-put-down-yet-before-the-trials-begun-theyre-putting-down-their-names-the-gryphon-in-an",
"description": "<html><head><title>Ut maxime incidunt voluptatem et non debitis velit aut maiores est.</title></head><body><form action=\"example.com\" method=\"POST\"><label for=\"username\">laboriosam</label><input type=\"text\" id=\"username\"><label for=\"password\">blanditiis</label><input type=\"password\" id=\"password\"></form><div id=\"20490\"><div id=\"94461\"></div><div
table.tablesorter({
//debug: true,
theme: 'blue',
initialized: function () {
// don't remove busy icon on sortEnd
table.off('sortEnd' + table[0].config.namespace)
setTimeout(function () {
$(window).resize()
}, 500)
},
<div id="my-tab-content" class="tab-content">
<div class="tab-pane active" id="tab1">
<div class="row">
<div class="ts-analytics col-lg-12">
<button type="button" data-toggle="modal" data-target="#confirm-delete" class="run-script btn btn-danger">Run File name recognition script</button>
<button type="button" class="reset btn btn-default">Reset Search</button>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-info">
<input type="checkbox" class=toggle-assigned autocomplete="off"><span>Hide Old and Already Assigned</span>
</label>
<?php
/**
* Created by PhpStorm.
* User: baumanisk
* Date: 12/08/2016
* Time: 14:16
*
* @version 1.1.0
*
* @var int $colCount
/**
* Backend configuration for MediaAccessManagement tool.
* @version 0.0.3
*/
var apiUrl = ajaxurl + '?action=MediaAccessManager&process=loadMatrix&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}';
jQuery(function ($) {
<table id="media-access" class="bootstrap-popup focus-highlight">
<thead>
<tr class="tablesorter-ignoreRow">
<td class="pager" colspan="<?=$colCount?>">
<img src="<?=$url?>/first.png" class="first"/>
<img src="<?=$url?>/prev.png" class="prev"/>
<span class="pagedisplay"></span>
<!-- this can be any element, including an input -->
<img src="<?=$url?>/next.png" class="next"/>
<img src="<?=$url?>/last.png" class="last"/>
var apiUrl = ajaxurl + '?action=MediaAccessManager&process=loadMatrix&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}';
jQuery(function ($) {
var UserTracking = {
commonSetup: function () {
$('#confirm-delete').on('click', '.btn-ok', function (e) {
var $modalDiv = $(e.delegateTarget);
/**
* Backend configuration for MediaAccessManagement tool.
* @version 0.0.1
*
* todo click on the row and read selected values
*/
var apiUrl = ajaxurl + '?action=MediaAccessManager&process=loadMatrix&page={page+1}&size={size}&{sortList:sort}&{filterList:filter}';
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
server {
listen 80;
server_name kalpones.lv www.kalpones.lv;
root /srv/http/kalpones.lv;
....
<------>client_max_body_size 10M;
........
#charset koi8-r;