Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name="$inputline" | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url="$inputline" |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
1. Download https://github.com/dz0ny/leapcast/archive/master.zip | |
2. Extract zip to C:\leapcast | |
3.1 Download Python 2.7: | |
x86: http://www.python.org/ftp/python/2.7.5/python-2.7.5.msi | |
x64: http://www.python.org/ftp/python/2.7.5/python-2.7.5.amd64.msi | |
3.2 Install Python to C:\Python27 | |
NOTE: If you have a newer version, install 2.7.5 and edit the environment variable and change for example "C:\Python33" to "C:\Python27". | |
4.1 Download Setuptools here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools |
# /usr/share/X11/xorg.conf.d/99-libinput.conf | |
Section "InputClass" | |
Identifier "libinput touchpad catchall" | |
Driver "libinput" | |
MatchIsTouchpad "on" | |
MatchDevicePath "/dev/input/event*" | |
Option "Tapping" "True" | |
Option "DisableWhileTyping" "True" | |
Option "NaturalScrolling" "True" | |
Option "AccelProfile" "adaptive" |
Possible values for ext-name: | |
bcmath | |
bz2 | |
calendar | |
ctype | |
curl | |
dba | |
dom | |
enchant |
#!/bin/sh | |
# SPDX-FileCopyrightText: 2017-2024 SanderTheDragon <sanderthedragon@zoho.com> | |
# | |
# SPDX-License-Identifier: MIT | |
arch=$(dpkg --print-architecture) | |
echo "Detected architecture: $arch" | |
case "$arch" in |
FROM nginx:alpine AS builder | |
# nginx:alpine contains NGINX_VERSION environment variable, like so: | |
# ENV NGINX_VERSION 1.15.0 | |
# Our NCHAN version | |
ENV NCHAN_VERSION 1.1.15 | |
# Download sources | |
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \ |
package main | |
import ( | |
"patternsample/mq" | |
"fmt" | |
"time" | |
) | |
func main() { |
Inspired By: grafana/loki#333
version: "3"
networks:
loki:
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/