Skip to content

Instantly share code, notes, and snippets.

View creaktive's full-sized avatar
👽
🛸

Stanislaw Pusep creaktive

👽
🛸
View GitHub Profile
@agnoster
agnoster / README.md
Last active October 15, 2025 04:02
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

@niw
niw / MIT-LICENSE.txt
Created August 25, 2012 12:48
Toggle Host AP Mode on Mac OS X, Using undocumented APIs.
Copyright (C) 2012 Yoshimasa Niwa
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
@johntyree
johntyree / getBlockLists.sh
Last active August 30, 2025 06:36
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'
@creaktive
creaktive / deps.sh
Created August 10, 2012 19:27
Ubuntu + Catalyst
sudo apt-get install curl git libpq-dev libssl-dev
curl -kL http://install.perlbrew.pl | bash
echo "source ~/perl5/perlbrew/etc/bashrc" >> ~/.bash_profile
source ~/.bash_profile
perlbrew install perl-5.16.2
perlbrew switch perl-5.16.2
perlbrew install-cpanm
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 9, 2025 13:32
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@tobin
tobin / extrapolation_demo.m
Created May 31, 2012 14:15
Linear predictive extrapolation
% This code answers the question at http://dsp.stackexchange.com/a/110/64
N = 150; % Order of LPC auto-regressive model
P = 500; % Number of samples in the extrapolated time series
M = 150; % Point at which to start predicting
t = 1:P;
x = 5*sin(t/3.7+.3)+3*sin(t/1.3+.1)+2*sin(t/34.7+.7); %This is the measured signal
@cscorley
cscorley / TerminusBold-Powerline.ttf
Created February 6, 2012 00:01
Terminus (TTF) for Powerline
@creaktive
creaktive / cpan-tested.pl
Last active September 30, 2015 03:18
cpan-outdated | cpan-tested | cpanm
#!/usr/bin/env perl
use 5.008;
use strict;
use utf8;
use warnings qw(all);
use CPAN::DistnameInfo;
use Carp qw(carp croak);
use Config;
use File::Spec::Functions;
@lestrrat
lestrrat / aetail.pl
Created January 25, 2012 01:31
tail -f with AnyEvent (is this correct?)
use strict;
use AnyEvent;
use Fcntl qw(SEEK_SET);
use Linux::Inotify2;
main(@ARGV);
sub main {
my $file = shift or die "no file specified";
@syohex
syohex / lis.pl
Created November 16, 2011 09:14
Simple Scheme interpreter in Perl(inspired by lis.py http://norvig.com/lispy.html)
#!perl
use strict;
use warnings;
package Lispl;
use Scalar::Util qw(blessed looks_like_number);
use List::Util qw(reduce);
my $global_env;