All New

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login

All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
michael's Avatar

michael / omg.lol Weblog import scripts

0 likes
0 forks
2 files
Last active 1 hour ago
See https://blog.thms.uk/2023/03/blogging-with-webloglol-and-github-actions
1 shell_exec('git config core.quotepath off');
2 echo 'git diff --name-only '.$argv[1].' ' . $argv[2];
3 $diff = shell_exec('git diff --name-only '.$argv[1].' ' . $argv[2]);
4 if($diff == '') {
5 echo "\n*** No changes detected. Are you running the latest version of the action? See https://github.com/neatnik/weblog.lol for details.";
6 exit;
7 }
8
9 $diff = explode("\n", $diff);
michael's Avatar

michael / Pihole block page

0 likes
0 forks
1 files
Last active 1 hour ago
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <title>Access Blocked - Pi-hole</title>
7 <style>
8 * {
9 margin: 0;
10 padding: 0;
Newer Older

Powered by Opengist ⋅ Load: 27ms⋅

English
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 简体中文 繁體中文