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 a in {0..64} | |
do | |
for b in {0..40} | |
do | |
for c in {0..28} | |
do | |
for d in {0..25} | |
do | |
dc -e "[p]sp 2 $a ^ 3 $b ^ * 5 $c ^ * 7 $d ^ * d 2 64 ^ >p" | |
done |
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
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 |
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 <err.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
static unsigned short lookup_table[512]; | |
unsigned short mul(unsigned char a, unsigned char b) | |
{ | |
unsigned short x = a + b, y = (a > b) ? (a - b) : (b - a); | |
return lookup_table[x] - lookup_table[y]; |
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 bpy | |
empty = bpy.data.objects['Empty'] | |
probe = empty.constraints['Probe'] | |
output = bpy.data.texts['Output'] | |
output.clear() | |
for i in range(0, 101): | |
t = i / 100 |
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
{ | |
"manifest_version": 2, | |
"name": "My New Extension", | |
"version": "1.0", | |
"background": { | |
"scripts": ["script.js"] | |
}, | |
"permissions": [ | |
"downloads", | |
"tabs", |
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 arr = 'abcdefghijklmnopqrstivwxyz'.split(''); | |
var start = 0; | |
var end = arr.length - 1; | |
var swaps = 0; | |
while (start < end) { | |
for (var i = start; i < end; i += 2) { | |
var tmp = arr[i]; | |
arr[i] = arr[i + 1]; | |
arr[i + 1] = tmp; |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Sub-stereo test</title> | |
</head> | |
<body style="margin:0"> | |
<audio id="audio" src="test.ogg" type="audio/ogg" controls="controls" autoplay="autoplay" style="width:100%"></audio> | |
<table> | |
<tr> |
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 | |
class HttpClient | |
{ | |
private $statusCode; | |
private $statusMessage; | |
private $headers; | |
private $cookies; | |
public $userAgent; |
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 | |
require_once 'EasyXMLParser.php'; | |
class AmazonS3XMLParser | |
{ | |
protected $properties; | |
protected $contents; | |
protected $currentItem; |