This file contains hidden or 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
#!/usr/bin/env php | |
<?php | |
/** | |
source: http://www.monitoringexchange.org/inventory/Check-Plugins/Software/HTTP-%2526-FTP/Check-Wordpress-Versions | |
modified by: Boris Fritscher | |
**/ | |
if($argc != 2) { | |
print "usage: check_wp_versions.php <path to wp installation>\n"; | |
exit(1); |
This file contains hidden or 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
<html> | |
<head> | |
<title>Bici Visual</title> | |
<script type="text/javascript" src="jquery-1.3.2.min.js"></script> | |
<script type="text/javascript" src="jquery.svg.pack.js"></script> | |
<script type="text/javascript" src="jquery.svgdom.pack.js"></script> | |
<script type="text/javascript" src="main.js"></script> | |
<style type="text/css"> | |
.hidden{ | |
visibility:hidden; |
This file contains hidden or 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 PubliBike { | |
const ONLINE = 1; | |
const OFFLINE = 3; | |
const CONSTRUCTION = 0; | |
const CACHE_FILE = "/home/www/804dba0db44da871b3b97d6441c7ff89/web/getvelo/cache"; | |
public function getNetworks(){ | |
$networks = $this->cache_fetch(); | |
if(!$networks){ |
This file contains hidden or 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 os | |
import sys | |
import subprocess | |
import xml.etree.ElementTree as ET | |
import glob | |
ZBAR = ".\\lib\\ZBar\\bin\\zbarimg.exe" | |
SEJA = ".\\lib\\sejda-console-1.0.0.M9\\bin\\sejda-console.bat" | |
WORKING_DIR = ".\\split\\" |
This file contains hidden or 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 keyArrayToLi($key, $array){ | |
return keyValOrArrayToLi($key, isset($array[$key]) ? $array[$key] : ""); | |
} | |
function keyValOrArrayToLi($key, $val, $escape_key=true, $escape_val=true){ | |
if(is_array($val)){ | |
$html = ""; | |
foreach($val as $sub_val){ |
This file contains hidden or 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 name="description" content="test description"> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
This file contains hidden or 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
<script id="jsbin-javascript"> | |
var aGlobalVar = 'hello'; | |
var anotherGlobalVar = 'world'; | |
function myFunction() { | |
aGlobalVar = 'yo'; | |
var anotherGlobalVar = 'yeep'; | |
var localVar = 'local'; | |
iAmNotALocalVariable = 'iAmGlobal'; | |
} |
This file contains hidden or 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
# apt-get install fcgiwrap | |
location /cgi-bin/ { | |
gzip off; | |
root /var/www; | |
fastcgi_pass unix:/var/run/fcgiwrap.socket; | |
include /etc/nginx/fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
} |
This file contains hidden or 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
#!/usr/bin/python3 | |
from nanpy.arduinotree import ArduinoTree | |
from nanpy.serialmanager import SerialManager | |
import http.client, urllib.parse | |
import time | |
import datetime | |
import numpy | |
API_KEY = '' | |
SLEEP = 300 |
This file contains hidden or 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
#!/usr/bin/python3 | |
from nanpy.arduinotree import ArduinoTree | |
from nanpy.serialmanager import SerialManager | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import http.client, urllib.parse | |
import time | |
import datetime | |
import numpy | |
import logging | |
import threading |
OlderNewer