Skip to content

Instantly share code, notes, and snippets.

View bernd-wechner's full-sized avatar

Bernd Wechner bernd-wechner

  • Hobart, Tasmania, Australia
View GitHub Profile
@hi-ko
hi-ko / README.md
Last active September 30, 2023 01:28
joplin server install

this gist is no longer maintained

Please use https://github.com/hi-ko/joplin-server-ubuntu-install instead

Install joplin server on Ubuntu (20.04)

  1. as root run joplin-requirements.sh to install the joplin requirements but please take this script with causion since it is not well tested in existing environments. You could also create the requirements by yourself by
    1. create user joplin with home /home/joplin
    2. install nodejs 16
  2. install packages vim git build-essential python curl dirmngr apt-transport-https lsb-release ca-certificates
@dpapathanasiou
dpapathanasiou / dst.py
Created August 16, 2014 15:42
How to tell if Daylight Savings Time is in effect using Python
from datetime import datetime
import pytz
def is_dst ():
"""Determine whether or not Daylight Savings Time (DST)
is currently in effect"""
x = datetime(datetime.now().year, 1, 1, 0, 0, 0, tzinfo=pytz.timezone('US/Eastern')) # Jan 1 of this year
y = datetime.now(pytz.timezone('US/Eastern'))
@rxaviers
rxaviers / gist:7360908
Last active May 4, 2024 22:00
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: