Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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 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 / gist:c8040f96be78d9ab713c
Created February 17, 2016 16:35
Virtualbox + Vagrant + Laravel + Arch Linux
sudo modprobe vboxnetadp
sudo modprobe vboxnetflt
@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 / 5.2.php
Last active February 22, 2016 16:23
5.2
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
if (! function_exists('link_to_back')) {
/**
* Generate a HTML link to the previous location.
*
* @param string $title
* @param array $attributes
* @param bool $secure
*
* @return string
*/
@kneipp
kneipp / gist:d9e1d6427a8b964f5417
Created March 22, 2016 04:34
Ugly fonts in ArchLinux: paste that into '.config/fontconfig/fonts.conf' and restart DE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
@kneipp
kneipp / Arch linux
Created June 7, 2016 12:30
archlinux notas
material de linux:
https://linuxjourney.com/lesson/linux-history
acentos:
https://bbs.archlinux.org/viewtopic.php?id=156515
https://zuttobenkyou.wordpress.com/2011/08/24/xorg-using-the-us-international-altgr-intl-variant-keyboard-layout/
display manager:
https://wiki.archlinux.org/index.php/LightDM#Changing_your_avatar