- Install Cura 2.4
- Copy
anet_a8.def.json
to/Applications/Cura.app/Contents/Resources/resources/definitions
- Open Cura
- Expand Custom, then select Anet A8
- Click Finish
Below are the white and black card sets published by Cards Against Humanity. Take them and come back with a bot. You have 48 hours, starting from an arbitrary time that I forget.
Black cards with 2 blanks are pick 2. Black cards with 3 blanks are pick 3, draw 2.
The rules are on the official web site.
These cards are taken from this PDF.
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
Login to AWS Management Console. | |
Start a Debian (x86) micro instance. | |
Access your instance via SSH. | |
Edit sources: | |
nano /etc/apt/sources.list | |
Copy: |
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
//obtaining reference to the current web (i.e. the web site which was defined when setting up the project in Visual Studio (in our case http://win7:8000/sites/QATP1PTS/) | |
objCurrentWeb = SPContext.Current.Web; | |
//Using SharePoint object model to retrieve both lists | |
objMembersList = objCurrentWeb.Lists["Project Members"]; | |
objContactsList = objCurrentWeb.Lists["Project Contacts"]; | |
//looping through the Members list | |
foreach (SPListItem objMembersListItem in objMembersList.Items) | |
{ |
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
$ brew install -i libssh2 | |
/* architecture tags are import. xampp 1.7.3 (osx) is x86. */ | |
$ ./configure --prefix=/usr/local --disable-debug --disable-dependency-tracking --with-openssl --with-libz CFLAGS="-O -arch i386" CPPFLAGS="-O -arch i386" LDFLAGS="-arch i386" | |
$ make install | |
$ exit | |
/* assuming you have wget installed on osx */ |
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/bash | |
set -o errexit | |
# Author: David Underhill | |
# Script to permanently delete files/folders from your git repository. To use | |
# it, cd to your repository's root and then run the script with a list of paths | |
# you want to delete, e.g., git-remove-history path1 path2 | |
if [ $# -eq 0 ]; then | |
exit 0 |
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
#user http; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; | |
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
from wordpress_xmlrpc.base import * | |
from wordpress_xmlrpc.mixins import * | |
from wordpress_xmlrpc.wordpress import WordPressBase, WordPressPost | |
class GetSport(AuthParamsOffsetMixin, AuthenticatedMethod): | |
method_name = 'metaWeblog.getPost' | |
method_args = ('post_id',) | |
results_class = WordPressPost |
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
<?xml version='1.0' encoding='UTF-8' ?> | |
<definitions name='Weather' | |
targetNamespace='urn:Weather' | |
xmlns:tns='urn:Weather' | |
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' | |
xmlns:xsd='http://www.w3.org/2001/XMLSchema' | |
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' | |
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' | |
xmlns='http://schemas.xmlsoap.org/wsdl/'> |
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
<?php | |
function getTownWoeid ($location_string) { | |
$woeid=null; | |
$yqlUrl = "http://query.yahooapis.com/v1/public/yql"; | |
$query = "select woeid from geo.places where placeTypeName=\"Town\" and text=\"".$location_string."\""; | |
$queryUrl = $yqlUrl . | |
"?q=" . urlencode($query) . | |
"&format=xml"; | |
$location_feed = file_get_contents($queryUrl); | |
$location = simplexml_load_string($location_feed); |