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
class jstatd ( | |
$manage_service = false, | |
){ | |
file { "${::puppet_user_home}/jstatd": | |
source => 'puppet:///modules/jstatd/jstatd', | |
mode => '0755', | |
owner => $::puppet_user, | |
group => $::puppet_group, |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvw4deV+12616qrZ/Y3yqGc+9TTtfe3jaZvUX643GBJvrjlOeT+nYbNNYqlmlahy76bA/9mej64wWe9iWMeyzK8ZDksUfru+oXnIqxZ1Nu0GxflnKyPUC65iycAmwlyYh8JCxFnYCtrSIXG5DW7EXYB8BvKjQKlqeED3kaW2ssd9m3V3ziPdZk+PsTTUlbHniQuTbxdte6I09++CtS9nnQu3pjIKzt64l1/gaL9RisdaZSyN3m9K/ph74PHSwYEVXVe6m3zVuk27PCsQZ2W27HKl/K6L+GfCIbmJfD6HLg+LsuS4UBt7GwWeLRYbENNSYHDu2gBDKmv2EFKtQgU4wJw== |
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 | |
from string import center | |
spacer = 6 | |
for i in range(5, 11, 2): | |
print center('#' * i + " " * spacer + '#' * i,80) |
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
package main | |
import ( | |
"log" | |
"net/http" | |
) | |
func main() { | |
http.Handle("/", http.StripPrefix("/", http.FileServer(http.Dir("www-root")))) | |
if err := http.ListenAndServe(":8080", nil); err != nil { |
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
mysql> use storyboard; | |
Database changed | |
mysql> show tables; | |
+-----------------------+ | |
| Tables_in_storyboard | | |
+-----------------------+ | |
| alembic_version | | |
| authorizationcodes | | |
| bearertokens | | |
| comments | |
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
site.pp | |
node default { | |
package {'vim': | |
ensure => latest, | |
} | |
} |
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
Hello and welcome to Puppet Analytics! | |
Found 17 total module downloads | |
Found 2 Authors and 4 Modules | |
blkperl/collectd 2 deploys | |
blkperl/liesboard 6 deploys |
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
@app.route("/api/1/module_send", methods=['POST']) | |
def recieve_data(): | |
data = request.json | |
doc = { | |
'author': data['author'], | |
'name' : data['name'], | |
'tags' : data['tags'].split(), | |
'timestamp': datetime.now(), | |
} |
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
nibz@telescope:~/projects/begpuppet/sandbox$ time wget -q http://i.imgur.com/okZWAsH.jpg?1 | |
real 0m0.030s | |
user 0m0.004s | |
sys 0m0.000s | |
nibz@telescope:~/projects/begpuppet/sandbox$ time http_proxy='' wget -q http://i.imgur.com/okZWA | |
sH.jpg?1 | |
real 0m0.271s | |
user 0m0.004s |
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 | |
if [ $1 = '--i-have-a-shit-ton-of-windows' ];then | |
extra_windows=9 | |
fi | |
echo What client are you? | |
read client |
OlderNewer