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
/* | |
* jQuery UI Pagination 0.1.0 | |
* | |
* By Alxandr | |
*/ | |
(function( $, undefined ) { | |
var getAllElements = function(elem, excludeFirst) { | |
var elm = elem.get(0); | |
if(elm.tagName.toLowerCase() == 'table') { |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Net.Sockets; | |
using System.Text; | |
using System.Xml; | |
using NirQ.Common.Proxy; | |
using System.Net; | |
using System.Diagnostics; |
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/bash | |
#Example use: count_files.sh cs xml // counts lines in *.cs and *.xml recursivly. | |
set -e | |
FILES="$@" | |
for f in $FILES; do | |
echo -ne "*.$f " |
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
/* arbitrary regex replace method. Can be php preg_replace or something like that */ | |
RegexReplace("<a [^>]*href=\"#[^\">]*\"[^>]*?>(.*?)</a[^>]*?>", "$1") |
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
public class BarCodeUploaderApplet extends Applet { | |
final String fileName = "C:\\A\\b.dat"; | |
final String backFileName = "C:\\A\\b.old.dat"; | |
public Boolean fileExists() { | |
final Result<Boolean> result = new Result<>(false); | |
final JSObject win = (JSObject) JSObject.getWindow(this); | |
run(new Runnable() { | |
@Override |
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 http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>File Manager</title> | |
<link rel="stylesheet" type="text/css" href="styles/reset.css" /> | |
<link rel="stylesheet" type="text/css" href="scripts/jquery.filetree/jqueryFileTree.css" /> | |
<link rel="stylesheet" type="text/css" href="scripts/jquery.contextmenu/jquery.contextMenu-1.01.css" /> | |
<link rel="stylesheet" type="text/css" href="styles/filemanager.css" /> | |
<!--[if IE]> |
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
// Converts UNIX timestamps to dates. | |
var formatDate = function(date){ | |
function add0(n, l) { | |
var str = n.toString(); | |
while(str.length < l) | |
str = 0 + str; | |
return str; | |
} | |
var n = parseInt(date); | |
var d = new Date(n * 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
// Custom settings | |
//----------------------------------------- | |
var skipFileInfo = true; | |
var selectOnUpload = true; | |
var useRelativePaths = true; |
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
using System; | |
using MonoTouch.UIKit; | |
using System.Collections.Generic; | |
using FdvWeb.Core; | |
namespace FdvWeb | |
{ | |
public class DisplayStack | |
{ | |
readonly UITabBarController root; |
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
using System; | |
using MonoTouch.UIKit; | |
using com.google.zxing; | |
using MonoTouch.AVFoundation; | |
using MonoTouch.CoreFoundation; | |
using MonoTouch.CoreVideo; | |
using System.Collections; | |
using MonoTouch.CoreMedia; | |
using System.Runtime.InteropServices; | |
using com.google.zxing.common; |
OlderNewer