This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.0.0.0 0-edge-chat.facebook.com | |
0.0.0.0 0.beta.facebook.com | |
0.0.0.0 0.facebook.com | |
0.0.0.0 1-edge-chat.facebook.com | |
0.0.0.0 2-edge-chat.facebook.com | |
0.0.0.0 3-edge-chat.facebook.com | |
0.0.0.0 4-edge-chat.facebook.com | |
0.0.0.0 5-edge-chat.facebook.com | |
0.0.0.0 6-edge-chat.facebook.com | |
0.0.0.0 a.ish.instagram.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Minimal Python example code to display video frames from USB camera | |
using OpenCV, Pygame and OPENGL. | |
Tested with: | |
Pygame: 1.9.4 | |
OpenCV: 4.5.4 | |
""" | |
import time |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from math import * | |
try: | |
from Tkinter import * | |
except: | |
from tkinter import * | |
class Hexagon(object): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Usage: python extract_scene.py -p [filename] [classname] | |
# eg: python extract_scene.py -p examples.py DrawCircle | |
# | |
import math | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/interrupt.h> | |
#include <avr/power.h> | |
#include <avr/sleep.h> | |
#include <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
#include "FastLED.h" | |
#define NUM_LEDS 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/interrupt.h> | |
#include <avr/power.h> | |
#include <avr/sleep.h> | |
#include <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
#include "FastLED.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/interrupt.h> | |
#include <avr/power.h> | |
#include <avr/sleep.h> | |
#include <SPI.h> | |
#include "nRF24L01.h" | |
#include "RF24.h" | |
#include "FastLED.h" | |
#include "printf.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# Usage: python extract_scene.py -p [filename] [classname] | |
# eg: python extract_scene.py -p examples.py DrawCircle | |
# | |
import math | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Program name: This program is part of the project Pen Stand: LED Enabled | |
* Author: Aditya K | |
* | |
* Discription: This program imitates Slot Machine game. This game has 3 rounds. | |
* A 'round' starts when the user removes the pen from pen stand causing an interrupt. | |
* For each round, the reel is spun 5 times displaying different symbols; | |
* this is done by generating random indexes and passing it to the default Font table displaying the spinning animation. | |
* The last index generated (5th spin) is stored in a list. | |
* After 3 rounds( 3 rounds because we have 3 LED matrix modules),indexes in the list are compared, if same, the user WINS else user LOSES. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Program name: This program is part of the project Pen Stand: LED Enabled | |
* Author: Aditya K | |
* Date: 7/1/2017 | |
* LICENSE: MIT | |
* | |
* Discription: This program counts how many times a Pen is removed from the | |
the stand and prints it on LED Matrix display. | |
* | |
* Copyright (c) 2017 Aditya K. |
NewerOlder