Skip to content

Instantly share code, notes, and snippets.

View Alex-of-House-Derp's full-sized avatar

Alex of House Derp Alex-of-House-Derp

View GitHub Profile
@choco-bot
choco-bot / FilesSnapshot.xml
Created March 14, 2025 15:16
mongoclient v1.5.0 - Passed - Package Tests Results
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\mongoclient\content_resources_200_percent.pak" checksum="7C321056F805AABD5A503821FA1994CD" />
<file path="C:\ProgramData\chocolatey\lib\mongoclient\content_shell.pak" checksum="0E3FE447362F4D59D1A24628F6C1C98B" />
<file path="C:\ProgramData\chocolatey\lib\mongoclient\d3dcompiler_47.dll" checksum="B0AE3AA9DD1EBD60BDF51CB94834CD04" />
<file path="C:\ProgramData\chocolatey\lib\mongoclient\icudtl.dat" checksum="970FE088600931D0507605759C6B3679" />
<file path="C:\ProgramData\chocolatey\lib\mongoclient\libEGL.dll" checksum="14906C56E813F59BB3266B6F21ECA7ED" />
<file path="C:\ProgramData\chocolatey\lib\mongoclient\libGLESv2.dll" checksum="1B208256E91C0F0B9BB3FA0A099D67ED" />
<file path="C:\ProgramData\chocolatey\lib\mongoclient\LICENSE" checksum="532767E203E2B0DCC6130BC5DC9827AD
@choco-bot
choco-bot / Install.txt
Created January 1, 2025 06:50
log2console v1.6.0.220190214 - Failed - Package Tests Results
==> default: Running provisioner: shell...
default: Running: C:/TMP/vagrant-shell20250101-4760-t2yccj.ps1
default:
@thomaswieland
thomaswieland / gist:3cac92843896040b11c4635f7bf61cfb
Created February 17, 2018 13:56
Python: IMAP IDLE with imaplib2
import imaplib2, time
from threading import *
# This is the threading object that does all the waiting on
# the event
class Idler(object):
def __init__(self, conn):
self.thread = Thread(target=self.idle)
self.M = conn
self.event = Event()
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active April 17, 2025 11:00
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@chubin
chubin / Enable-wttr.in-for-PowerShell
Created February 22, 2016 22:19
How to enable wttr.in in a PowerShell console
# To enable ANSI sequences in a PowerShell console run the following commands.
# After that you can use wttr.in in you PowerShell just lake that:
# (curl http://wttr.in/ -UserAgent "curl" ).Content
#
# More on it:
# http://stknohg.hatenablog.jp/entry/2016/02/22/195644 (jp)
#
Add-Type -MemberDefinition @"
[DllImport("kernel32.dll", SetLastError=true)]
@abbottc
abbottc / pyvenvex.py
Last active November 1, 2024 09:29 — forked from vsajip/pyvenvex.py
#
# Copyright (C) 2013 Vinay Sajip. New BSD License.
#
import os
import os.path
from subprocess import Popen, PIPE
import sys
from threading import Thread
from urllib.parse import urlparse
from urllib.request import urlretrieve
@vsajip
vsajip / pyvenvex.py
Last active April 6, 2025 02:53
A script which demonstrates how to extend Python 3.3's EnvBuilder, by installing setuptools and pip in created venvs. This functionality is not provided as an integral part of Python 3.3 because, while setuptools and pip are very popular, they are third-party packages.The script needs Python 3.3 or later; invoke it using"python pyvenvex.py -h"fo…
#
# Copyright (C) 2013-2020 Vinay Sajip. New BSD License.
#
import os
import os.path
from subprocess import Popen, PIPE
import sys
from threading import Thread
from urllib.parse import urlparse
from urllib.request import urlretrieve