This file has been truncated, but you can view the full file.
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
| 01-Our Story (intro).flac:METADATA block #0 | |
| 01-Our Story (intro).flac: type: 0 (STREAMINFO) | |
| 01-Our Story (intro).flac: is last: false | |
| 01-Our Story (intro).flac: length: 34 | |
| 01-Our Story (intro).flac: minimum blocksize: 4096 samples | |
| 01-Our Story (intro).flac: maximum blocksize: 4096 samples | |
| 01-Our Story (intro).flac: minimum framesize: 362 bytes | |
| 01-Our Story (intro).flac: maximum framesize: 14413 bytes | |
| 01-Our Story (intro).flac: sample_rate: 44100 Hz | |
| 01-Our Story (intro).flac: channels: 2 |
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/ruby | |
| # The StackOverflow data set is available as an XLSX (Microsoft 2007+ Excel | |
| # Spreadsheet) file, which means that most readers will 'helpfully' convert the | |
| # data into various formats. | |
| # | |
| # Also, the data itself is presented as a range of numbers, and for my | |
| # statistical analysis I'm using simple numbers, so I take the mean of the | |
| # range. |
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/sh | |
| # | |
| ############################################################################### | |
| # Magical Single-Interface Routing Script (MSIRS) | |
| # | |
| # Converts a single, physical interface to 2 separate vlans that can route to | |
| # each other. There is no need for a second physical interface or cable. | |
| # However, since you are not literally in the middle of every packet, there is | |
| # still a chance of an internal computer being connected to directly. It's | |
| # unlikely, but because of this risk you should not run this in a production |
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
| import javax.crypto.Cipher; | |
| class Test { | |
| public static void main(String[] args) { | |
| try { | |
| System.out.println("Hello World!"); | |
| int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES"); | |
| System.out.println(maxKeyLen); | |
| } catch (Exception e){ | |
| System.out.println("Sad world :("); |
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 'frosty_meadow' | |
| # Use [Frosty Meadow](https://github.com/andyhmltn/frosty-meadow) to generate a | |
| # 'random' name for the server, but first seed Ruby's random with the contents | |
| # of machine-id. | |
| # | |
| # Assumes that /etc/machine-id is valid and exists, and that it contains only | |
| # hexadecimal numbers. Modify the source to any other source of predictable, | |
| # guessable machine information. Like the MAC address or similar. |
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/sh | |
| zypper packages -i 2>/dev/null | cut -d'|' -f3 | sort -u | sed -n 's/^ \([a-z0-9-]*\)\s\+/\1-debuginfo/p' | xargs zypper search -u -t package | cut -d'|' -f2 | sed -n 's/^\s//;s/\s\+$//gp' | tail -n+2 | xargs sudo zypper install |
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
| sudo zypper install libjson-devel libgcrypt-devel | |
| sudo zypper install libgnutls-devel | |
| # Requires the PackMan repo https://forums.opensuse.org/blogs/caf4926/opensuse-13-1-multi-media-restricted-format-installation-guide-149/ | |
| sudo zypper install libmad-devel | |
| sudo zypper install faad2 libfaad-devel | |
| sudo zypper install libao-devel | |
| # Making sure the output driver is pulseaudio | |
| #cat /etc/libao.conf |
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
| # /etc/pagekite/20_frontend.rc on kites.evaryont.me | |
| # Front-end selection | |
| # | |
| # Front-ends accept incoming requests on your behalf and forward them to | |
| # your PageKite, which in turn forwards them to the actual server. | |
| # Running my own front-end! | |
| isfrontend |
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
| module MyBase | |
| def big_function | |
| @_memoized_big_function ||= begin | |
| load_lots_of_data(SettingsManager.foo_bar) | |
| end | |
| end | |
| module_method :big_function | |
| public :big_function | |
| 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
| jp2a picture.jpg --colors --invert | head -n20 | sed 's/\^[\[37m \^[\[0m/ /g' > picture.ansi |