Skip to content

Instantly share code, notes, and snippets.

View karloskar's full-sized avatar

KO karloskar

  • The Talent Company AB
  • Göteborg
View GitHub Profile
Start-Date: 2018-02-09 16:26:21
Commandline: apt-get upgrade
Requested-By: ponty (1002)
Upgrade: python3-google-compute-engine:amd64 (20171129+dfsg1-0ubuntu1~16.04.0, 20180129+dfsg1-0ubuntu1~16.04.0), php7.0-cgi:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), php7.0-cli:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), php7.0-dev:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), php7.0-fpm:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), php7.0-gd:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), libparted2:amd64 (3.2-15, 3.2-15ubuntu0.1), php7.0-opcache:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), php7.0-common:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), libpq5:amd64 (9.5.10-0ubuntu0.16.04, 9.5.11-0ubuntu0.16.04), libapparmor1:amd64 (2.10.95-0ubuntu2.7, 2.10.95-0ubuntu2.8), libapparmor-perl:amd64 (2.10.95-0ubuntu2.7, 2.10.95-0ubuntu2.8), php7.0-json:amd64 (7.0.22-0ubuntu0.16.04.1, 7.0.25-0ubuntu0.16.04.1), php7.0-mbstring:amd64 (7.0.22-0u

Keybase proof

I hereby claim:

  • I am karloskar on github.
  • I am kom (https://keybase.io/kom) on keybase.
  • I have a public key ASBjQxUfqB8k__o5mTdDHHBQG7pBq-7drsja5q_VN7pfjwo

To claim this, I am signing this object:

@karloskar
karloskar / index.php
Last active December 23, 2017 11:15
Exempel på visning av annonser baserat på en viss tagg.
<?php
$jobs = get_posts(array(
'post_type' => 'pnty_job',
'numberposts' => -1,
'tax_query' => array(array(
'taxonomy' => 'pnty_job_tag',
'field' => 'slug',
'terms' => 'exempeltagg'
))
));
@karloskar
karloskar / single-pnty_job.php
Last active November 30, 2015 09:16
Exempel på singlevisning av annons tillsammans med Ponty Connector
<?php get_header(); ?>
<?php if (have_posts()): while(have_posts()): the_post();?>
<div class="pnty-job">
<h1><?php the_title();?></h1>
<?php the_content();?>
</div>
<?php endwhile; endif;?>
<?php get_footer(); ?>