Skip to content

Instantly share code, notes, and snippets.

@hedgejanuary
hedgejanuary / GoogleCal_to_MSTeams.js
Last active February 26, 2020 12:36
Google Calendar から今後7日間の予定を取得し、MS Teamsのスケジュール用チャンネルに投稿する。
//スケジュールアシスタントが今後7日間の予定を投稿してくれる
function GoogleCalToMSTeams() {
var list = '';
var calEvents = '';
var calendarInUse = [
// 使用するカレンダーのアドレスとそのラベリング
['[email protected]', '\n##■XXX\'s schedule\n'],
['[email protected]', '\n##■Out of office (staff)\n'],
['[email protected]', '\n##■XXX events\n'],
['[email protected]', '\n##■XXX Office events\n'],
@emraher
emraher / 1-macOS-10.13-high-sierra-setup.md
Created May 14, 2018 07:40 — forked from kevinelliott/1-macOS-10.13-high-sierra-setup.md
macOS 10.13 High Sierra Mostly-Automated Setup

macOS 10.13 High Sierra Mostly-Automated Setup

An easy to refer to document for regularly setting up macOS 10.13 High Siera, in flavor of my previous macOS/OSX setup gists:

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

@knoopx
knoopx / README.md
Last active September 13, 2025 19:41
Creality Ender 3 Stock Factory Vref

Creality3D v1.1.2 stock vref values

A4988 Drivers
Vref set to ~90% of stepper rated current
Rs = 0.1ohm

X = 0,58v (0,725A)
Y = 0,58v (0,725A)
Z = 0,58v (0,725A)
@niravmadariya
niravmadariya / sendmail.php
Last active December 24, 2019 16:28
Send mails using PHPMailer
<?php
// Import PHPMailer classes into the global namespace
// These must be at the top of your script, not inside a function
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
//Load Composer's autoloader
require 'PHPMailer/autoload.php';
$mail = new PHPMailer(true); // Passing `true` enables exceptions
@spangenberg
spangenberg / README.md
Created July 18, 2018 09:50
Black PragmataPro Slack

Install

Append the code at the end of this file /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js

@Firsh
Firsh / lwp-cloudflare-dyndns.sh
Last active April 23, 2025 15:56
Cloudflare as Dynamic DNS
#!/bin/bash
# Cloudflare as Dynamic DNS
# From: https://letswp.io/cloudflare-as-dynamic-dns-raspberry-pi/
# Based on: https://gist.github.com/benkulbertis/fff10759c2391b6618dd/
# Original non-RPi article: https://phillymesh.net/2016/02/23/setting-up-dynamic-dns-for-your-registered-domain-through-cloudflare/
# Update these with real values
auth_email="[email protected]"
auth_key="global_api_key_goes_here"
zone_name="example.com"
@alovak
alovak / fixlinks
Last active January 19, 2022 16:52
notion.so export to html
@bricewge
bricewge / Caddyfile
Created February 23, 2019 10:41
Deploying hugo blog with caddy
localhost:8080 {
root ./my-site
internal .repo
git {
repo https://github.com/kaushalmodi/hugo-bare-min-theme.git
path .repo
clone_args --depth 1 --recurse-submodules
pull_args --recurse-submodules
interval 3600
then hugo --source ./exampleSite --destination ../..
@kevinelliott
kevinelliott / 1-macOS-10.15-catalina-setup.md
Last active August 25, 2025 11:36
macOS 10.15 Catalina Mostly-Automated Setup

To support my open-source work, consider adding me on Patreon.

macOS 10.15 Catalina Mostly-Automated Setup

An easy to refer to document for regularly setting up macOS 10.15 Catalina.

Controversy

The topic of recipe-based frequent fresh reinstalls of macOS is a controversial issue. Some people are against reinstalling macOS, citing that they have never had an issue with Apple provided upgrade installs.

@Dragon-Knight
Dragon-Knight / MegaFon.hosts
Last active August 30, 2021 14:41
MegaFon bad hosts for hosts file and Mikrotik
# MegaFon bad hosts for hosts file.
# by Dragon_Knight 2019
# https://t.me/DragonKnight
# https://habr.com/ru/post/454078/
127.0.0.1 adult69.top
127.0.0.1 video-box24.ru
127.0.0.1 muz.megafonpro.ru
127.0.0.1 seexxx.ru
127.0.0.1 funxxx.ru