Skip to content

Instantly share code, notes, and snippets.

getCurrentDocument = function() {
var doc = JSON.parse(localStorage.getItem("currentDocument"));
doc.__proto__ = JSONDocument.prototype;
return doc;
}
#!/usr/bin/python
VERSION='0.1.2'
from BeautifulSoup import BeautifulSoup as BS
from urllib import urlopen,urlencode,basejoin,urlretrieve
from urlparse import urlparse
import sys,time,os
def keepvid_get(loc,keepvid='http://keepvid.com',i=-1):
"""keepvid_get(loc,keepvid='http://keepvid.com') -> l
Fetch the actual URL of video hosted at Dailymotion,Youtube( and all
#include <iostream>
#include <cmath>
using namespace std;
int main() {
const int x_max=20 ,y_max=20;
const double y_max_v=1.0, mu=1.0;
#include <iostream>
#include <cmath>
using namespace std;
int main() {
const int x_max=20 ,y_max=20;
const float y_max_v=1.0, mu=1.0;
#include <iostream>
#include <cmath>
using namespace std;
int main() {
const int x_max=20 ,y_max=20;
const float y_max_v=1.0, mu=1.0;
<?php
define('ACCEPT_IP','127.0.0.1');
define('MONITORED_DIR','');//The directory where the .git directory is located. Leave blank if this script is in the same directory as the .git file
define('MAIL_TO','siddhant3s@gmail.com'); //mail the report to this email address. Leave blank to disable
define('LOG_FILE','_ghupdater.log'); //Log file. Highly recommended
//////////////////////////Disable the effect of magic_quotes_gpc////////////////
if (get_magic_quotes_gpc()) {
$process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);
while (list($key, $val) = each($process)) {
foreach ($val as $k => $v) {
#include <iostream>
#include <cmath>
using namespace std;
int main() {
const int x_max=20 ,y_max=20;
const float y_max_v=1.0, mu=1.0;
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int x_max= ,y_max= ;
float V[x_max][y_max];
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int x_max= ,y_max= ;
float V[x_max][y_max];
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int x_max= ,y_max= ;
float V[x_max][y_max];