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
/etc/polkit-1/localauthority/30-site.d$ cat 50-cpufreq.pkla | |
[CPU Frequency should be allowed for everyone] | |
AdminIdentities=unix-group:labmembers | |
Action=org.gnome.cpufreqselector | |
ResultActive=yes | |
ResultInactive=yes |
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
danyadfs -fstype=cifs,rw,noperm,user=OH,pass=HELLNO,domain=Danya ://10.10.0.183/backup |
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
#!/usr/bin/env python | |
cachedir = "/home/marco/Projects/ppasearch/cache/" | |
from launchpadlib.launchpad import Launchpad | |
launchpad = Launchpad.login_anonymously('mc-ppa-test', 'production', cachedir) | |
for project in launchpad.projects.search(text='apturl*') : | |
print project.display_name |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>George Washington Leadership Lessons</title> | |
<style type="text/css"> | |
body { | |
font: 100% LucidaSans, Verdana, Arial, Helvetica, sans-serif; | |
background-image: url(bg.jpg); | |
background-color: #444444; |
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
shell -${SHELL} | |
defscrollback 2024 | |
startup_message off | |
#caption always "%{= kc}%H (system load: %l)%3n %t%? @%u%?%? %n(%t) %-21=%{= .m}%D %d.%m.%Y %0c" | |
hardstatus on | |
hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%< %=%D %M %d %c" | |
#hardstatus string '%{= kc}(system load: %l) %-Lw%{= KW}%50>%n%f %t%{= kK}%+Lw%< %{=kc}%-= %-21=%{= .m}%D %d.%m.%Y %0c' | |
hardstatus string '%{= kG}(Load: %l) %-Lw%{=b .W}%50>%n%f* %t%{-}%+Lw%< %{=kG}%-= %-21=%{= .G}%D %Y.%m.%d %0c' | |
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a " |
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
function EmbedVid(someID) | |
{ | |
html = $('#embed-template').clone(); | |
html.attr('flashvars','value="file=upload/' + someID + '.flv&image=images/vidThumbs/' + someID + '.jpg"'); | |
html.find('embed').attr('flashvars','file=upload/' + someID + '.flv&image=images/vidThumbs/' + someID + '.jpg"'); | |
// better clear the video holder | |
$('#video-holder').empty(); | |
$('#video-holder').append(html); | |
} |
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
#!/usr/bin/env php5 | |
<?php | |
/** | |
* Clean up this crappy import file | |
*/ | |
$files = glob('*.txt'); | |
$addy2 = array('APT', 'UNIT', '#', 'BOX', 'SUITE', 'STE'); | |
$skipped = 0; |
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
<html> | |
<head> | |
<style type="text/css"> | |
.border{ | |
border: 2px solid #000; | |
width: 605px; | |
overflow: hidden; | |
} | |
.steps { | |
border: 1px dashed #c0c0c0; |
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
(function ($) | |
{ | |
// custom css expression for a case-insensitive contains() | |
jQuery.expr[':'].Contains = function(a,i,m) | |
{ | |
return (a.textContent || a.innerText || "").toUpperCase().indexOf(m[3].toUpperCase())>=0; | |
}; | |
function listFilter(header, list) | |
{ |
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 static function generate( $user, $domain ) | |
{ | |
// This will pull the META data from disk and return in an assoc array | |
$meta = Bind_Client::get($user, $domain, true); | |
$template_path = OWN_PATH . '/templates'; | |
$parsed = array(); | |
foreach( $meta['lines'] as $key => $entries ) | |
{ |
OlderNewer