Skip to content

Instantly share code, notes, and snippets.

View trexx's full-sized avatar

Turan Asikoglu trexx

  • Århus, Denmark
  • 15:55 (UTC +02:00)
View GitHub Profile
@tobbez
tobbez / github_white_favicon.user.js
Last active September 16, 2023 19:11
[UserScript] GitHub: White favicon
// ==UserScript==
// @name GitHub: White favicon
// @version 1.10.0
// @author tobbez
// @match https://support.github.com/*
// @match https://github.blog/*
// @match https://opensource.guide/*
// @match https://www.githubstatus.com/*
// @match https://services.github.com/*
// @match https://desktop.github.com/*
@Andor
Andor / default
Last active April 20, 2022 14:08
vaultbot.sls
{% for key, value in options.iteritems() %}
{{ key|upper }}="{{ value }}"
{% endfor %}
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active April 16, 2024 13:54 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@woodrow
woodrow / onc_converter.py
Created April 27, 2016 23:54
Convert OpenVPN config files to ChromeOS ONC files
import argparse
import json
import re
import sys
import uuid
class OpenVPNNetworkConfiguration(object):
KNOWN_CONFIG_KEYS = {
'name': {'key': 'Name'},
@ysasaki
ysasaki / cloudwatch-php-fpm-status.sh
Last active August 24, 2023 11:30
php-fpm status to AWS CloudWatch
#!/bin/bash
AWS_DEFAULT_REGION="ap-northeast-1"
AWS_ACCESS_KEY_ID="YOUR ACCESS KEY HERE"
AWS_SECRET_ACCESS_KEY="YOUR SECRET ACCESS KEY HERE"
INSTANCE_ID_URL="http://169.254.169.254/latest/meta-data/instance-id"
INSTANCE_ID=$(curl -s ${INSTANCE_ID_URL})
SERVER_STATUS_URL="http://localhost/php-fpm-status"