Skip to content

Instantly share code, notes, and snippets.

View lukaszklis's full-sized avatar
🏄
👨‍💻

Łukasz Kliś lukaszklis

🏄
👨‍💻
View GitHub Profile
@lukaszklis
lukaszklis / cloudSettings
Last active February 7, 2017 12:00
Visual Studio Code Sync Settings GIST
{"lastUpload":"2017-02-07T12:00:15.506Z","extensionVersion":"v2.4.3"}

Keybase proof

I hereby claim:

  • I am lukaszklis on github.
  • I am lukaszklis (https://keybase.io/lukaszklis) on keybase.
  • I have a public key whose fingerprint is 8491 D884 5062 1C68 05FD 7616 8231 9647 A188 0AC7

To claim this, I am signing this object:

@lukaszklis
lukaszklis / board_messages.php
Created December 20, 2011 23:17
Quick fix for Board Messages Plugin for MyBB 1.6.5
Plugin has been moved into a GitHub repository: https://github.com/lukaszklis/BoardMessages
@lukaszklis
lukaszklis / gist:1247306
Last active July 29, 2022 11:25
WordPress: check if a current page has children, if so display them, if not display all pages on the same level as current page
<?php
// Your functions.php content
function has_children() {
global $post;
$pages = get_pages('child_of=' . $post->ID);
return count($pages);