Skip to content

Instantly share code, notes, and snippets.

@kneipp
kneipp / boards.html
Created February 21, 2016 16:39
Backbone.js experiment
<html>
<head>
<meta charset="UTF-8">
<title>Backbone.js</title>
</head>
<body>
<!--<div style="border:1px solid red;" id="categories"></div>-->
<div style="border:1px solid blue;" id="boards"></div>
@kneipp
kneipp / gist:c8040f96be78d9ab713c
Created February 17, 2016 16:35
Virtualbox + Vagrant + Laravel + Arch Linux
sudo modprobe vboxnetadp
sudo modprobe vboxnetflt
@kneipp
kneipp / arch linux customization
Last active February 17, 2016 15:49
arch linux customization
http://gnome-look.org/content/show.php/White?content=173840
http://xenlism.github.io/minimalism/#install
http://www.devdungeon.com/content/customizing-gnome-3-desktop-environment-arch-linux
http://smjrifle.net/arch-linux-installation-and-post-install-customization/
@kneipp
kneipp / backdoor detect info
Created February 11, 2016 01:37
backdoor detect info
https://msfbt.wordpress.com/tag/backdoor/
https://blog.sucuri.net/2013/07/malware-hidden-inside-jpg-exif-headers.html
@kneipp
kneipp / arch-linux-post-installation
Last active February 11, 2016 01:07
Arch Linux Post Installation
sudo pacman -S firefox firefox-i18n-pt-br flashplayer unrar unzip p7zip alsa-lib alsa-tools alsa-utils alsa-oss
sudo pacman -S xclip
# see arch wiki infinality
sudo vim /etc/pacman.conf
sudo pacman-key -r IDKEY
sudo pacman-key -f IDKEY
sudo pacman-key --lsign-key IDKEY
sudo pacman -Sy
@kneipp
kneipp / vagrant-box-error-solved.md
Last active January 29, 2016 17:01
[Solved] Vagrant box add command error on Windows / Vagrant box could not be found or could not be accessed in the remote catalog

Solving Vagrant problem on Windows 10:

  1. Check your DNS, e.g.: 8.8.8.8, 4.4.4.4

  2. Did you have installed MS Visual C++ 2010 x86 Redistributables?

Details

The box 'laravel/homestead' could not be found or could not be accessed in the remote catalog. If this is a private

@kneipp
kneipp / gist:4c56ba70c416fb187a55
Created October 24, 2015 19:57
command line tools - download link
https://developer.apple.com/downloads/?=command%20line%20tools
@kneipp
kneipp / testing empty() and __get() behavior
Created September 30, 2015 14:48
php 5.6.13 - testing empty and __get() behavior
<?php
class Xpto
{
protected $a = 'a';
public $b = 'b';
public function __get($key)
{
echo '__get() ';
npm config set registry "http://registry.npmjs.org/"
@kneipp
kneipp / gist:361093f3104841b8110b
Created May 18, 2015 15:31
homebrew update bugfix after long time w/o signin on computer
cd `brew --prefix`
git remote add origin https://github.com/mxcl/homebrew.git
git fetch origin
git reset --hard origin/master