This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description: | |
https://www.reddit.com/r/borderlands3/comments/graqgv/i_fixed_my_crash_on_atlas_hq_via_command_line/ | |
Export and re-import using: | |
https://github.com/apocalyptech/bl3-cli-saveedit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1AvvoCDvKjrAbumDq8xCLUjBEH2jRRwyCe https://explorer.blockstack.org/address/1AvvoCDvKjrAbumDq8xCLUjBEH2jRRwyCe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This script loads a list of urls from "curl-tester.txt" file to check for 301 redirects. | |
// The file format is two URL (source, 301 redirection destination) separated by space. | |
$file_list = 'curl-tester.txt'; | |
function get_urls_list_from_file( $file ) { | |
//$content = file_get_contents( $file ); | |
$out = array(); | |
$array = file( $file ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
// ******************************************************************************** | |
// PHP shell script to ease the setup and execution of make.wordpres.sorg patches | |
// ******************************************************************************** | |
$INSTALL_FOLDER_NAME = 'wordpress-trunk'; | |
$PATCH_FILE_NAME = '_wpdo_downloaded.patch'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function FindProxyForURL(url, host) { | |
if ( localHostOrDomainIs(host, "name.dev") ) { | |
return "PROXY 192.168.1.0:8888"; | |
} | |
return "DIRECT"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function loop_related_posts( $posts_per_page = 3, $category = null, $post_ID = 0 ) { | |
/**************************************************************************************************** | |
* Get the post related to the current-looping post's matching tags. | |
* Creates its own loop. | |
* | |
* USAGE: | |
* <?php while ( loop_related_posts( 3 ) ) : ?> | |
* your standard template code | |
* <?php endwhile; ?> | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
function getAllDirectories( $base_dir, $list_hidden = false ) { | |
$out = array(); | |
foreach ( new RecursiveIteratorIterator( new RecursiveDirectoryIterator( $base_dir ) ) as $path ) { | |
// ****** Skip non-relevant files | |
$filename = basename( $path ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* General folder iterator plus filtering functions. | |
* Copyright (2015) Davide 'Folletto' Casali | |
* Released under GPLv2 License. | |
* | |
* USAGE: | |
* node move-flatten.js jpg ./from/ ./to/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Notes: | |
* 1. This isn't an universal function: you might have to add your own db field. | |
* I tried to keep just a few to optimize. | |
* 2. This is a more advanced function from the ones you usually find around, because it | |
* count the number of matching tags to sort the related articles, doesn't just query | |
* and sort for the most recent one with any of the tags. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Simple ring hover animation | |
*/ | |
@mixin menus-hover-halo() { | |
position: relative; | |
&:after { | |
content: ""; | |
pointer-events: none; | |
position: absolute; |
NewerOlder