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
jQuery -> | |
$('#drag-circle .play-area .draggable').draggable | |
containment: "parent" | |
$('#drag-circle .play-area .droppable').droppable | |
hoverClass: "drag-over" | |
drop: (event, ui)-> | |
$(@).addClass "dropped" | |
$(ui.draggable[0]) | |
activate: () -> | |
$(@).removeClass "dropped" |
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
/* line 5, projects/block-shadow-mixer.css.sass */ | |
#block-shadow-mixer .play-area h1, #block-shadow-mixer .play-area h2, #block-shadow-mixer .play-area h3 { | |
font-family: "ff-cocon-web-pro"; | |
margin-bottom: 20px; } | |
/* line 9, projects/block-shadow-mixer.css.sass */ | |
#block-shadow-mixer .play-area h1 em, #block-shadow-mixer .play-area h2 em, #block-shadow-mixer .play-area h3 em { | |
font-family: "bistro-script-web"; } | |
/* line 11, projects/block-shadow-mixer.css.sass */ | |
#block-shadow-mixer .play-area h1 { | |
color: #ff1d23; |
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
#!/bin/sh | |
SHORTCUT="[Desktop Entry] | |
Name=RubyMine 6.3 | |
Comment=Edit text files | |
Exec=/usr/local/ruby-mine/bin/rubymine.sh | |
Icon=/usr/local/ruby-mine/bin/RMlogo.svg | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;TextEditor;Ruby;Development;" |
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
#!/bin/sh | |
SHORTCUT="[Desktop Entry] | |
Name=Sublime Text 2 | |
Comment=Edit text files | |
Exec=/usr/local/sublime-text-2/sublime_text | |
Icon=/usr/local/sublime-text-2/Icon/128x128/sublime_text.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;TextEditor;" |
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
#!/bin/sh | |
SHORTCUT="[Desktop Entry] | |
Version=1.0 | |
Type=Application | |
Name=Sublime Text 3 | |
GenericName=Text Editor | |
Comment=Sophisticated text editor for code, markup and prose | |
Exec=/usr/local/sublime-text-3/sublime_text %F | |
Terminal=false | |
MimeType=text/plain; |
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
/* | |
Basic code for using Maxim MAX7219/MAX7221 with Arduino. | |
Wire the Arduino and the MAX7219/MAX7221 together as follows: | |
| Arduino | MAX7219/MAX7221 | | |
| --------- | --------------- | | |
| MOSI (11) | DIN (1) | | |
| SCK (13) | CLK (13) | | |
| I/O (7)* | LOAD/CS (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 <AccelStepper.h> | |
//AccelStepper stepper | |
#define BUTTON_PIN 8 | |
#define MOTOR_DIRECTION_PIN 2 | |
#define MOTOR_STEPPER_PIN 3 | |
#define MOTOR_ACCELERATION 80000 | |
#define SENSOR_1 A0 | |
#define SENSOR_2 A5 | |
//set up the accelStepper intance |
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 <SPI.h> | |
uint8_t animation [22] = { | |
0b01000000, | |
0b01100000, | |
0b01100001, | |
0b01100101, | |
0b01101101, | |
0b01111101, | |
0b01111101, |
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 <SPI.h> | |
void setup() { | |
// We will need to control the Load/CS pin so | |
// make a pin an output, for this example I'll | |
// use pin 7. | |
pinMode(7, OUTPUT); | |
// The Maxim chip need the most siginifcant |
OlderNewer