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 the hidden fields #} | |
{% for hidden in form.hidden_fields %} | |
{{ hidden }} | |
{% endfor %} | |
{# Include the visible fields #} | |
{% for field in form.visible_fields %} | |
<div class="clearfix{% if field.errors %} error{% endif %}"> | |
{{ field.label_tag }} | |
<div class="input"> |
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
New means for long-distance data transfer inside minecraft: Bitcarts. | |
A bitcart would share a similar model to normal minecarts. Except, in addition to taking cargo, they store 256 bits of data in a stack. | |
You manipulate a bitcart with sensors / heads, that input / output redstone signals. | |
INPUT: | |
- push: Pushes a bit onto the bitcart stack (0 / 1) | |
- empty: Empties all bits from the bitcart stack if 1. This could be achieved with repeated pop calls... but this is simpler. | |
- queue_switch: If 1, then it will transform the bitcart from a stack into a queue. If 0, then it will transform a queue into a stack. This won't effect the data stored inside, but it will effect pop/peek. |
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
// ==UserScript== | |
// @name GitHub delete all notifications button | |
// @namespace http://www.github.com/micolous/delete-all-notifications | |
// @description Adds a button to allow you to delete all notifications on a page. | |
// @include http://github.com/inbox/notifications* | |
// @include https://github.com/inbox/notifications* | |
// ==/UserScript== | |
/* |
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
<job> | |
<runtime> | |
<description> | |
Name: | |
check_windows_updates (nrpe_nt-plugin) 1.6 based on check_msupdates (nrpe_nt-plugin) 1.0 | |
License: | |
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute | |
copies of the plugins under the terms of the GNU General Public License. | |
For more information about these matters, see the file named COPYING. |
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
Title[adsl-sync]: ADSL Line Sync | |
PageTop[adsl-sync]: <h1>ADSL Sync Speed</h1> | |
# wifi models | |
#Target[adsl-sync]: transmission.94.1.1.4.1.2.4&transmission.94.1.1.5.1.2.4:[email protected] | |
# ethernet models | |
Target[adsl-sync]: transmission.94.1.1.4.1.2.3&transmission.94.1.1.5.1.2.3:[email protected] | |
MaxBytes[adsl-sync]: 25000000 | |
Options[adsl-sync]: nopercent,growright,gauge | |
#Factor[adsl-sync]: 0.125 | |
kilo[adsl-sync]: 1000 |
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
# /etc/zsh/zshrc: system-wide .zshrc file for zsh(1). | |
# | |
# This file is sourced only for interactive shells. It | |
# should contain commands to set up aliases, functions, | |
# options, key bindings, etc. | |
# | |
# Global Order: zshenv, zprofile, zshrc, zlogin | |
HISTFILE=~/.bash_history | |
HISTSIZE=1000 |
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 | |
mkdir -p MinecraftDownload | |
cd MinecraftDownload | |
echo "Downloading content..." | |
cat << EOF | wget -U Mozilla/5.0 -c -N -i - | |
http://s3.amazonaws.com/MinecraftDownload/minecraft.jar | |
http://s3.amazonaws.com/MinecraftDownload/lwjgl.jar | |
http://s3.amazonaws.com/MinecraftDownload/jinput.jar | |
http://s3.amazonaws.com/MinecraftDownload/lwjgl_util.jar |
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
POST /loc/json HTTP/1.1 | |
Accept-Encoding: identity | |
Content-Length: 148 | |
Host: www.google.com | |
Content-Type: application/x-www-form-urlencoded | |
Connection: close | |
User-Agent: Python-urllib/2.6 | |
{"request_address": true, "version": "1.1.0", "wifi_towers": [{"signal_strength": 1, "mac_address": "00-88-88-88-00-2B"}], "address_language": "en"} |
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
So say you have a board like this: | |
CAM | |
C O | |
L L | |
CUES | |
E | |
Now I made an invalid move here: |
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
# cat RELEASE_NOTES.txt | |
1.26.0.2085 | |
iAd, Admob, Adsense, Flurry, Millennial will test successfully in the simulator. All networks are fully supported on devices. | |
Weak link MediaPlayer.framework, UIKit.framework, EventKit.framework, CoreMotion.framework, CoreTelephony.framework, libSystem.B.dylib and iAd.framework, otherwise follow setup instruction on docs.burstly.com | |
Important: Set Base SDK to iOS 4.3 and Deployment target to whatever your lower support os version is(3.1.3+ recommended). | |
Changes: |