This is the full version of the thread for opencart#1286, archived from notification emails.
The discussion has since been deleted almost entirely by OpenCart's developer.
Everyone who posted in it has also been blocked from the OpenCart repo.
""" | |
Physics simulation with PyODE followed by a (basic) rendering with Vapory | |
See the result here: http://i.imgur.com/TdhxwGz.gifv | |
Zulko 2014 | |
This script is placed in the Public Domain (Licence Creative Commons 0) | |
""" |
from zds.forum.models import TopicFollowed, Topic, Post | |
from zds.utils.models import CommentLike, CommentDislike | |
unit_mark_activity = { | |
"follow": { # points lié au suivi du topic | |
"site": 1, # suivre un topic sur le site | |
"email": 2, # suivre un topic par email | |
} | |
"post" : { # points liés a tous les messages sauf au premier post | |
"new": 2, # nouveau message |
<?php | |
/* | |
* WTFPL | |
* | |
* Utilisation : | |
* 1) Ouvrir minecraft moddé | |
* 2) Aller dans les options de Not Enough Items | |
* 3) Tools > Data Dumps > Blocks/Items > Dump | |
* 4) Dans le dossier minecraft/dumps, copier item.csv et le mettre au même endroit que ce script |
I hate Skype. So much. Words can't even describe. It's slow, it's bloated, people keep telling me to get on Skype, I keep telling them to get on IRC, but I never thought there was a way to bridge the two. But there is. And it's super simple. All you need is a VPS. Windows or Linux, doesn't matter, but I'm using Linux. Python is cross-platform and I tested the bot on Windows, so I can help out if you can't get this working there. irc.esper.net #blha303
- Install Python 2.7.*. I use 2.7.3 because it's installed by default in Ubuntu, among other reasons.
- Get pip or setuptools and install
Skype4Py
andirc
. - Get the script, the other file in this gist. (If you're not using X11 [for instance, if you're using Windows], remove Transport='x11' from near the bottom of the file. Not the whole line, just those exact characters.)
- See the ROOM variable on line 8? Know how to set that? Well, let's go.
- This script lists all open chats, which includes both P2P and grou
<!doctype html> | |
<!-- | |
PHP Batch Download Script | |
@author Yosko <contact@yosko.net> | |
@copyright none: free and opensource | |
@link http://www.yosko.net/article32/snippet-05-php-telechargement-de-fichiers-par-lots | |
--> | |
<html lang="en-US"> | |
<head> |
#Send image data to v4l2loopback using python | |
#Remember to do sudo modprobe v4l2loopback first! | |
#Released under CC0 by Tim Sheerman-Chase, 2013 | |
import fcntl, sys, os | |
from v4l2 import * | |
import time | |
import scipy.misc as misc | |
import numpy as np |
// Stripped down version of minibot. | |
// Use as baseline for other bots ! | |
/*jslint node: true */ | |
console.log("-- working directory: " + process.cwd()); | |
var net = require("net"), | |
fs = require("fs"); |
In August 2007 a hacker found a way to expose the PHP source code on facebook.com. He retrieved two files and then emailed them to me, and I wrote about the issue:
http://techcrunch.com/2007/08/11/facebook-source-code-leaked/
It became a big deal:
http://www.techmeme.com/070812/p1#a070812p1
The two files are index.php (the homepage) and search.php (the search page)