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
//------------------------------------------------ | |
//--- 010 Editor v15.0.1 Binary Template | |
// | |
// File: Backup.bin | |
// Authors: Roman Hargrave <roman@hargrave.info> | |
// Version: | |
// Purpose: Diadem/etc... (Sony ILCE) Settings file v4 parser | |
// Category: | |
// File Mask: | |
// ID Bytes: 00 00 EC 82 |
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/rakudo | |
use XML::XPath; | |
use TagLibC; | |
enum Format <MP3Gain>; | |
class Loudness { | |
has Real $.dbfs is readonly; | |
has Real $.db is readonly; |
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
//------------------------------------------------ | |
//--- 010 Editor v12.0.1 Binary Template | |
// | |
// File: ODS5.bt | |
// Authors: Roman Hargrave <roman@hargrave.info> | |
// Version: 0.1 | |
// Purpose: Analyze ODS5/Files11 volume images | |
// Category: | |
// File Mask: | |
// ID Bytes: |
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
use crate::lang::Atom; | |
use nom::character::complete::{ | |
char, | |
multispace1, | |
}; | |
use nom::sequence::{delimited, preceded, terminated}; | |
use nom::combinator::{ |
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
hidden partial modifier_keys | |
xkb_symbols "numlock" { | |
key <CAPS> { [ Num_Lock ] }; | |
}; |
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
-- -*- sql-product: postgres; sqlind-minor-mode: -1; -*- | |
DROP SEQUENCE IF EXISTS plans_id_seq; | |
CREATE SEQUENCE plans_id_seq; | |
CREATE TABLE plans ( | |
id BIGINT DEFAULT nextval('plans_id_seq') PRIMARY KEY, | |
name TEXT NOT NULL | |
); |
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/env python3 | |
# Demonstration for Edgar | |
def print_with_brackets(str_): | |
print("[ %s ]" % str_) | |
def say_hi(name, printer): | |
printer("Hi, %s" % name) |
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/perl | |
use Getopt::Long; | |
my $dev_name = 'Wacom Cintiq 13HD'; | |
my @randr_setup = qw(--rotate inverted --right-of DP-3 --mode 1920x1080); | |
my $randr_output = 'HDMI-1'; | |
my $invert_tab = 1; |
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/perl | |
use Getopt::Long; | |
my $cmd = '/usr/bin/steam'; | |
my $rt_run = 0; | |
GetOptions( | |
'c|cmd=s' => \$cmd, | |
'rt' => \$rt_run, |
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/perl | |
my $uid = getpwnam($ENV{USER}); | |
my @bind_rw = ( | |
'/proc', | |
'/sys', | |
'/dev', | |
'/dev/shm', | |
'/dev/pts', |
NewerOlder