- We believe that a primary goal of life is to maximize eudaimonia and to help others do the same.
- We individuals own our own data, and can control its availability.
- We believe in sharing and strength through interconnectedness.
- We believe in transparency and accountability.
- Our data is a powerful form of expression of our own identities, and we should be allowed to fully show and present that data identity and reputation in a free society.
- We are each members of many tribes and have many identities and faces, and only through all layers combined can we be understood in context.
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
import java.awt.geom.*; | |
public class Ball { | |
Rectangle rectangle; | |
// BALL PROPERTIES -- | |
int width = 5; | |
int height = 5; | |
boolean hasStroke = false; | |
color strokeColor = #FFFFFF; | |
boolean hasFill = true; |
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
int SIZE_BOX = 20; | |
int SIZE_BAR = 10; | |
int SIZE_GRID = 5; | |
color mindColor = color(255, 0, 0); | |
color heartColor = color(0, 255, 0); | |
color bodyColor = color(0, 0, 255); | |
import org.json.*; | |
String BASE_URL = "http://127.0.0.1:5000"; |
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
for(var b in window) { | |
if(window.hasOwnProperty(b)) console.log(b); | |
} |
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
# the admin password for all of the IE VMs is “Password1″ without the quotes, it's also used for the password hints | |
1) Install VirtuaBox on your mac | |
http://download.virtualbox.org/virtualbox/4.1.10/VirtualBox-4.1.10-76795-OSX.dmg | |
2) Decide which versions of Internet Explorer you want to download and install – each version of Internet Explorer is contained within a separate virtual machine that runs within VirtualBox. In other words, if you want to run Internet Explorer 7, 8, and 9, you will need to download three separate VM’s, which may take a while so keep that in mind. Select the text below and copy it: | |
# Install ALL versions of Internet Explorer: IE 7, IE 8, and IE 9 (for now this script will also pull down a IE 6 vm with windows xp) |
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
// via http://www.ericmartindale.com/2012/07/19/mitigating-the-beast-tls-attack-in-nodejs/ | |
var options = { | |
key: fs.readFileSync('key.pem'), | |
cert: fs.readFileSync('cert.pem'), | |
ciphers: 'ECDHE-RSA-AES256-SHA:AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM', | |
honorCipherOrder: true | |
}; |
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
- jslint | |
- qunit | |
- grunt | |
- html5 validation: http://validator.w3.org/ | |
- ssl test: https://www.ssllabs.com/ssltest/index.html |
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
$ mysql -u root | |
If a password is required, use the extra switch -p: | |
$ mysql -u root -p | |
Enter password: | |
Now that you are logged in, we create a database: | |
mysql> create database test; |
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
var assert = function(condition, msg) { | |
if (!condition) { | |
// throw message || "Assertion failed"; | |
console.log('FAIL ----- ' + msg); | |
} | |
else { | |
console.log('PASS ----- ' + msg); | |
} | |
}; |
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
// via rh0dium @ http://stackoverflow.com/questions/5739830/simple-log-to-file-example-for-django-1-3 | |
// I truly love this so much here is your working example! Seriously this is awesome! | |
// | |
// Start by putting this in your settings.py | |
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': True, | |
'formatters': { | |
'standard': { |
OlderNewer