Skip to content

Instantly share code, notes, and snippets.

View CodexLink's full-sized avatar
🏢
Busy on personal + on-site work.

Janrey Licas CodexLink

🏢
Busy on personal + on-site work.
View GitHub Profile
@acollierr17
acollierr17 / yt2d.md
Last active February 7, 2023 00:09 — forked from ChrisACarpenter/yt2d.md
YouTube to Discord via IFTTT (Updated 2020)

Navigate to: Twitter via IFTTT, Twitter via Zapier, Reddit or GitHub.

YouTube to Discord via IFTTT and webhook

You just posted a video. You want everyone on your server to know this, eh?

Step 1 - Register on IFTTT

  1. Go to the IFTTT website and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send YouTube videos.
@drandreaskrueger
drandreaskrueger / deployContract_example_web3.py
Last active October 21, 2021 08:28
the default web3.py example how to deploy contracts does not work on Quorum (Geth v1.7.2 fork)
# taken from
# http://web3py.readthedocs.io/en/stable/contracts.html#contract-deployment-example
#
# then repaired:
# see issue 808 https://github.com/ethereum/web3.py/issues/808
# and slightly extended
#
# purpose:
# see issue 898 https://github.com/ethereum/web3.py/issues/898
@AndrewPix
AndrewPix / serializers.py
Last active December 30, 2024 02:13
Integrate django-rest-knox with django-rest-auth
from rest_framework import serializers
from rest_auth.serializers import UserDetailsSerializer
class KnoxSerializer(serializers.Serializer):
"""
Serializer for Knox authentication.
"""
token = serializers.CharField()
@MalloyDelacroix
MalloyDelacroix / PyQt5WindowChangeExample.py
Last active July 4, 2023 09:05
A PyQt5 example of how to switch between multiple windows.
import sys
from PyQt5 import QtCore, QtWidgets
class MainWindow(QtWidgets.QWidget):
switch_window = QtCore.pyqtSignal(str)
def __init__(self):
QtWidgets.QWidget.__init__(self)
@brizandrew
brizandrew / server.py
Last active December 19, 2023 10:16
Simple Flask Webhook Example
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from flask import Flask, request
from urllib import unquote_plus
import json
import re
app = Flask(__name__)
@tterb
tterb / markdown-github-buttons.md
Last active April 11, 2025 09:36
Add github buttons to your README.md

Watch on GitHub Star on GitHub Tweet

@pelson
pelson / example.ipynb
Last active February 21, 2024 16:05
Example of authenticating a GitHub app using jwt in Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 19, 2025 21:03
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@nicolasdao
nicolasdao / open_source_licenses.md
Last active April 19, 2025 04:59
What you need to know to choose an open source license.
# Copyright Louis Dionne 2013-2017
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
language: c++
sudo: false
# Do not build branches of the form "pr/*". By prefixing pull requests coming
# from branches inside the repository with pr/, this avoids building both the
# branch push _and_ the pull request.