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 python | |
import sys, markdown,re | |
MIMETEX_LOC="http://some.server.com/cgi-bin/mimetex.cgi" | |
def sanitizeLatex(text): | |
return re.sub(r"\\",r"%5C", text) | |
def wrapLatexBlock(text): | |
return '<img alt="equation" class="block" src="%s?%s"></img>'%(MIMETEX_LOC,text) |
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
/* rkflashtool - for RK2808, RK2818 and RK2918 based tablets | |
* | |
* Copyright (C) 2011 Ivo van Poorten (complete rewrite for libusb) | |
* Copyright (C) 2010 FUKAUMI Naoki (reverse engineering of protocol) | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions | |
* are met: | |
* 1. Redistributions of source code must retain the above copyright | |
* notice, this list of conditions and the following disclaimer. |
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
(function ($) { | |
$.fn.ajaxloader = function () { | |
var ajaxloader = $('<div class="Ajax-Loader"><div class="Ajax-Loader-Overlay"></div><div class="Ajax-Loader-Image ui-corner-all"><img src="DesktopModules/DondeCompro/UI/recursos/img/loadinfo.net.gif"/></div></div>'); | |
this.after(ajaxloader); | |
ajaxloader.css('top', this.position().top).width(this.outerWidth()).height(this.outerHeight()); | |
ajaxloader.find('.Ajax-Loader-Overlay').css('opacity', 0.5).width(this.outerWidth()).height(this.outerHeight()); | |
ajaxloader.find('.Ajax-Loader-Image').css('top', -((ajaxloader.height() / 2) + 36)); | |
ajaxloader.hide(); | |
return ajaxloader; | |
}; |
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
#if 0 | |
anak10thn | |
#endif | |
static char data [] = | |
#define inlo_z 3 | |
#define inlo ((&data[0])) | |
"\144\210\134" | |
#define shll_z 10 | |
#define shll ((&data[5])) |
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
$(document).ready(function(){ | |
var url = "http://localhost/url"; | |
$.ajax({ | |
xhr: function() | |
{ | |
var xhr = new window.XMLHttpRequest(); | |
//upload progress | |
xhr.upload.addEventListener("progress", function(evt){ | |
if (evt.lengthComputable) { | |
var progress = evt.loaded / evt.total; |
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
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
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> | |
<script | |
src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" | |
></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<script> | |
$(document).ready(function(){ | |
$('.search').change( function () { |
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
- index.js | |
- package.json | |
- public/js/main.js | |
- public/index.html | |
- css/bootstrap-responsive.min.css | |
- css/flatly-bootstrap.min.css |
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 phantomjs | |
function load_page(req,res){ | |
var path = req.url; | |
var read; | |
if(path == "/"){ | |
read = fs.read('./app/index.html'); | |
} | |
else { | |
if(fs.exists("./app"+path)){ |
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
Summary:Baik Programming Language | |
Name:baik | |
Version:7.1 | |
Release:13.8.9 | |
License: | |
Group:System Environment/Base | |
URL:http://baik.or.id | |
Source0:%{name}-%{version}.tar.gz | |
BuildRoot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
BuildArch:i386 |