echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay
Via: http://www.reddit.com/r/linux/comments/1h38gg/til_that_cat_works_with_audio_files/caqh2ir
# Counts lines from all files in this directory and below it | |
# Ignores hidden files (to make it include hidden files, change | |
# the * wildcard to a . | |
line_ctr=0; for file in `find * -type f`; do echo $file `cat $file | wc -l`; line_ctr=$line_ctr+`cat $file | wc -l`; done; echo $((line_ctr)) |
#!/usr/bin/env python | |
# vim: set fileencoding=UTF-8 : | |
# | |
# Copyright (c) 2010, Jonas Häggqvist <[email protected]> | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, this |
Detail top: H 0 - S 7 - L 41 | |
Background top: H 0 - S 0 - L 0 | |
Detail bottom: H 0 - S 7 - L 41 | |
Background bottom: H 12 - S 7 - L 83 |
(function() { | |
var a,b; | |
a=document.createElement('script'); | |
a.type='text/javascript'; | |
a.async=true; | |
a.src='https://apis.google.com/js/plusone.js'; | |
b=document.createElement('div'); | |
b.id='ward_plusone'; | |
b.style.position='fixed'; | |
b.style.top='10px'; |
; Allows setting modes by simply typing "+MODE" or "-MODE" | |
on *:INPUT:#:{ | |
if (!$inpaste && !$ctrlenter && $regex($1,/^[+-][qaohv\Q $+ $remove($chanmodes,$chr(44)) $+ \E]/)) { | |
haltdef | |
mode $chan $$1- | |
} | |
} |
--- m_message.c.old 2012-01-19 00:17:45.142995611 +0100 | |
+++ m_message.c 2012-01-19 00:17:58.849662027 +0100 | |
@@ -1350,7 +1350,7 @@ | |
rgb = 1; | |
nc = 0; | |
} | |
- else | |
+ else if (*text != '\026') /* (strip reverse too) */ | |
{ | |
new_str[i] = *text; |
--- channel.c.old 2012-01-19 00:42:31.859634901 +0100 | |
+++ channel.c 2012-01-19 00:42:52.066301195 +0100 | |
@@ -796,7 +796,7 @@ | |
char *c; | |
for (c = msgtext; *c; c++) | |
{ | |
- if (*c == 3 || *c == 27 || *c == 4) | |
+ if (*c == 3 || *c == 27 || *c == 4 || *c == 22) | |
return (CANNOT_SEND_NOCOLOR); | |
} |
<?xml version="1.0"?> | |
<challenges> | |
<gameslot playerID="4f96e52e163bbd2e" kart="" firstTime="false"> | |
<city> | |
<easy solved="false"/> | |
<medium solved="false"/> | |
<hard solved="false"/> | |
</city> | |
<farm> | |
<easy solved="true"/> |
echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay
Via: http://www.reddit.com/r/linux/comments/1h38gg/til_that_cat_works_with_audio_files/caqh2ir
ffmpeg -i rtsp://yourlinkhere -acodec copy -vcodec copy FILENAME.mp4 |