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
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
void main () | |
{ | |
int iNum, i = 0; | |
while (i < 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
require 'zlib' | |
d = Zlib::Deflate.new | |
d.set_dictionary("foo") | |
s = d.deflate("foo" * 100, Zlib::FINISH) | |
i = Zlib::Inflate.new | |
begin | |
puts "Trying to set dictionary pre-emptively" | |
i.set_dictionary("foo") |
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
Feature: Clean up my poops | |
Scenario: multiple poops | |
Given a JSON poop like | |
""" | |
{ | |
"poop": "magoops" | |
} | |
""" |
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
def obfuscate (str, passes) | |
while passes > 0 | |
lines = str.split() | |
percent = Random.new.rand(15..20) | |
line_count = int(percent / lines.length) | |
lines_end = lines.length - line_count | |
line_num = Random.new.rand(1..lines_end) | |
lbegin = line_num | |
uend = line_num + line_count | |
until line_num = lines_end |
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
#!/bin/bash | |
find app public config test lib db -name *.erb -o -name *.builder -o -name *.erb -o -name *.rb -o -name *.css -o -name *.js -o -name *.yml -o -name \*.rake | xargs mvim |
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
[root@spacewalk sbin]# service Monitoring restart | |
Stopping Monitoring ... Stopping TSDBLocalQueue ... [ OK ] | |
Stopping AckProcessor ... [ OK ] | |
Stopping Notifier ... [ OK ] | |
Stopping NotifLauncher ... [ OK ] | |
Stopping NotifEscalator ... [ OK ] | |
Stopping GenerateNotifConfig ... [ OK ] | |
Stopping InstallSoftwareConfig ... [ OK ] | |
[ OK ] | |
Starting Monitoring ... Starting InstallSoftwareConfig ... [ OK ] |
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
/** | |
* This class is utilized as a document class in the mp3player.fla file. | |
* Once finished, the purpose of the class is to be a portion of a flash | |
* MP3 player. | |
* Author: <a href="mailto:[email protected]"> Kristine Orr </a> | |
* <dl> | |
* <dt>2008-05-12 v1.0.0</dt><dd>This is version one point zero.</dd> | |
* </dl> | |
*/ | |
NewerOlder