Skip to content

Instantly share code, notes, and snippets.

😴
So very tired.

Alex Goller alpipego

😴
So very tired.
Block or report user

Report or block alpipego

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@alpipego
alpipego / yay-update-ignore-errors
Created Jan 18, 2020 — forked from norcalli/yay-update-ignore-errors
A wrapper script to run yay and incrementally build a list of packages to ignore if they error out.
View yay-update-ignore-errors
#!/bin/sh
# Wrapper script around yay to try to ignore errors
# Copyright © 2019 Ashkan Kiani
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
View meta.md
Title
Test Title
<title>Title Tag</title>
View acf-fa5pro.php
<?php
/**
* Created by PhpStorm.
* User: alpipego
* Date: 03.05.18
* Time: 18:01
*/
//return;
@alpipego
alpipego / rebuild-vagrant-machine-index.php
Created Jun 23, 2017
Traverse a directory and add all 'unknown' virtual machines to vagrants index.
View rebuild-vagrant-machine-index.php
<?php
/**
* Traverse through folder and rebuild vagrant machine index
*
* @author Alexander Goller <hello@alpipego.com>
* @license MIT
*/
// setup
@alpipego
alpipego / formvalidation.js
Last active Oct 11, 2017
jQuery Formvalidation Script
View formvalidation.js
/**
* Created by alpipego on 04.12.2016.
*/
jQuery(document).ready(function ($) {
var data = {
isValid: false,
errors: []
};
window.formDataIsValid = false;
View keybase.md

Keybase proof

I hereby claim:

  • I am alpipego on github.
  • I am alpipego (https://keybase.io/alpipego) on keybase.
  • I have a public key ASB_siigXOpA0FbG4cU40EcWpdrggf0HCd8ud_lW4SCdUAo

To claim this, I am signing this object:

View Install-php7.md

Install packages

sudo apt-get -y install nginx curl libcurl3 libcurl3-dev git redis-server

Install php7.2

Ubuntu

View tns.sublime-project
{
"folders":
[
{
"path": "."
}
],
"build_systems":
[
{
View gist:5947694
<?php
$wp_include = '../wp-load.php';
$i = 0; while ( !file_exists( $wp_include ) && $i++ < 10 ) {
$wp_include = "../$wp_include";
}
require_once( $wp_include );
header( 'Content-type: text/css; charset=' . get_option( 'blog_charset' ) );
@alpipego
alpipego / gist:5182657
Created Mar 17, 2013
wp_functions remove generator
View gist:5182657
// Disable WordPress version reporting as a basic protection against attacks
function remove_generators() {
return '';
}
add_filter('the_generator','remove_generators');
add_filter('the_generator', create_function('', 'return "";'));
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wlwmanifest_link');
You can’t perform that action at this time.