Skip to content

Instantly share code, notes, and snippets.

Ray Besiga raybesiga

Block or report user

Report or block raybesiga

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@raybesiga
raybesiga / unload-keyboard
Last active Aug 29, 2015 — forked from JohnMurray/unload-keyboard
Disable Mac OS X Keyboard (built-in only)
View unload-keyboard
#!/bin/bash
# Unload the keyboard so I can use my external keyboard
# and not worry about accidentally pressing buttons on
# the built-in. This may not be a problem for you but, you
# should see my desk sometimes (Oh no!!) ;-)
sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/
@raybesiga
raybesiga / Create Teachers Weekly Script
Last active Dec 11, 2015
Management command to generate new scripts
View Create Teachers Weekly Script
import datetime
import logging
import itertools
from logging import handlers
from django.core.management.base import BaseCommand
from django.contrib.sites.models import Site
from django.contrib.auth.models import User
from django.core.mail import send_mail
from django.conf import settings
from django.template import Context, Template
You can’t perform that action at this time.