Skip to content

Instantly share code, notes, and snippets.

View elken's full-sized avatar
🚀
Blazing fast

Ellis Kenyő elken

🚀
Blazing fast
View GitHub Profile
@elken
elken / gist:7116603
Last active December 26, 2015 07:39
gnome-boxes fix
Diff
*** PKGBUILD 2013-10-23 11:13:19.468166580 +0100
--- PKGBUILD.old 2013-09-30 18:23:53.000000000 +0100
***************
*** 8,14 ****
license=('LGPL2.1')
depends=('gtk3' 'clutter-gtk' 'spice-gtk3' 'libvirt-glib' 'tracker'
'gtk-vnc' 'udev' 'libosinfo' 'dconf' 'hicolor-icon-theme'
! 'desktop-file-utils' 'shared-mime-info' 'vala' 'spice-protocol')
@elken
elken / gist:7116672
Created October 23, 2013 11:07
python2-sphinxcontrib-httpdomain2 fix
*** PKGBUILD 2013-10-23 12:06:13.578237162 +0100
--- PKGBUILD.old 2013-10-23 12:05:14.411569180 +0100
***************
*** 10,16 ****
depends=('python2-sphinx')
makedepends=()
options=(!emptydirs)
! source=("http://pypi.python.jp/sphinxcontrib-httpdomain2/sphinxcontrib-httpdomain2-$pkgver.tar.gz#md5=a0b32205a97253bd39bb3f1e9094eaf0")
sha1sums=('cc5ea9cbb3989d8dd370c1bb5a6bce7ef67ed421')
@elken
elken / gist:7173187
Created October 26, 2013 18:54
recursive makepkg
#!/bin/bash
for i in `ls`; do
cd $i
makepkg -s --noconfirm
cd ..
done
Trying 71.191.215.21...
Connected to www.blackarch.org.
Escape character is '^]'.
SSH-2.0-OpenSSH_6.2
[root@ip-10-229-70-202 ec2-user]# sftp [email protected]
Connecting to www.blackarch.org...
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
Permission denied (publickey,password).
Couldn't read packet: Connection reset by peer
[root@ip-10-229-70-202 ec2-user]# telnet www.blackarch.org 22
Trying 71.191.215.21...
Connected to www.blackarch.org.
Escape character is '^]'.
SSH-2.0-OpenSSH_6.2
@elken
elken / PKGBUILD
Last active December 30, 2015 20:39
pkgname=pytacle
pkgver=alpha2
pkgrel=1
pkgdesc="Automates the task of sniffing GSM frames"
groups=(blackarch blackarch-sniffer)
arch=('i686' 'x86_64')
url='http://packetstormsecurity.com/files/124299/pytacle-alpha2.tar.gz'
license=('GPL3')
depends=('pygtk')
source=(http://packetstorm.foofus.com/wireless/pytacle-${pkgver}.tar.gz
@elken
elken / gist:7881949
Created December 9, 2013 22:12
py2.patch
--- pytacle-alpha2/pytacle.py 2013-10-30 17:18:38.000000000 +0000
+++ /usr/bin/pytacle 2013-12-09 21:37:04.998738701 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# -*- coding: utf-8 -*-
#
# pytacle.py
@@ -41,6 +41,8 @@
import gtk
@elken
elken / test.sh
Last active December 31, 2015 01:49
for package in gcc gcc-multilib make glibc openssl readline6 curl git zlib libyaml sqlite3 libxml2 libxslt autoconf ncurses automake libtool; do
echo -n "Searching for: $package..."
if ( pacman -Q $package >/dev/null ); then
echo -e " [ \e[32;40mfound\e[0m ]"
else
echo -e " [ \e[31;40mmissing\e[0m ]"
fi;
done
@elken
elken / gist:7919269
Last active December 31, 2015 02:09
# ========================================= Dependencies: libraries and binaries
# RVM requirements. See:
# https://github.com/wayneeseguin/rvm/blob/master/scripts/requirements
for package in gcc gcc-multilib make glibc openssl readline curl git zlib libyaml sqlite libxml2 libxslt autoconf ncurses automake libtool; do
echo -n "Searching for: $package..."
if ( pacman -Q $package >/dev/null ); then
echo -e " \e[32;40mfound\e[0m"
else