This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Youtrack Monospace | |
@version 1.0.0 | |
@namespace https://github.com/zackad | |
@description Use monospace font on youtrack | |
@author zackad | |
@homepageURL https://gist.github.com/zackad/6f75e176493d7b3c9504467511bb905d | |
@supportURL https://gist.github.com/zackad/6f75e176493d7b3c9504467511bb905d | |
@updateURL https://gist.github.com/zackad/6f75e176493d7b3c9504467511bb905d/raw/youtrack-monospace.user.css | |
@license CC-BY-SA-4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Traffic Count Reader</title> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script> | |
<script type="module"> | |
import { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# | |
time can be any string acceptable by http://www.php.net/strtotime, the | |
template will output that time's month. | |
If you don't want to pass in a date you can set time like this: | |
{% set time = "now"|date("U") %} | |
{% set time = "December 2012"|date("U") %} | |
How ever you want to output items onto the calendar is a different issue, | |
but I'd assume pushing everything into an array numerically indexed by that day: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
myPhp = php81.buildEnv { | |
extensions = { all, ... }: with all; [ | |
curl | |
dom | |
fileinfo | |
filter | |
iconv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Usage: ffmpeg-concat your-output-prefix output-directory | |
# | |
# Note: make sure that output directory is exists and writeable | |
# | |
# TODO: add output directory option | |
# TODO: add filename prefix | |
prefix=$1 | |
output_directory=$2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name localhost; | |
root /usr/share/nginx/html; | |
location ~ /.+ { | |
try_files $uri $uri.html $uri =404; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/inputrc - global inputrc for libreadline | |
# See readline(3readline) and `info rluserman' for more information. | |
# Be 8 bit clean. | |
set input-meta on | |
set output-meta on | |
# To allow the use of 8bit-characters like the german umlauts, uncomment | |
# the line below. However this makes the meta key not work as a meta key, | |
# which is annoying to those which don't need to type in 8-bit characters. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="primitive palette" style="overflow-y: scroll; height: 654px;"> | |
<span style="background-color: rgb(0, 0, 0); width: 119px;"></span> | |
<span style="background-color: rgb(28, 28, 28); width: 119px;"></span> | |
<span style="background-color: rgb(150, 0, 80); width: 119px;"></span> | |
<span style="background-color: rgb(249, 38, 114); width: 119px;"></span> | |
<span style="background-color: rgb(0, 136, 119); width: 119px;"></span> | |
<span style="background-color: rgb(166, 226, 46); width: 119px;"></span> | |
<span style="background-color: rgb(253, 151, 31); width: 119px;"></span> | |
<span style="background-color: rgb(230, 219, 116); width: 119px;"></span> | |
<span style="background-color: rgb(119, 17, 221); width: 119px;"></span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: page | |
title: Archives | |
permalink: /archives/ | |
--- | |
<ul class="archive-list"> | |
{% assign year = "" %} | |
{% assign month = "" %} | |
{% for post in site.posts %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example of using python to call external command | |
# In this case a php command to run php script | |
from subprocess import call | |
# First argument is command, second & third argument is parameters | |
call(["php", "./index.php", "Hello Dunia"]) |
NewerOlder