- xo
- xoxo
- xoxoxo
- Besos y abrazos
- bisou
- bisous
- baci
- 꽁냥꽁냥
This file contains hidden or 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 | |
| define('PLUGIN_DIR', str_replace('\\', '/', __DIR__.'/plugins')); | |
| require __DIR__ . '/simplehtmldom/simple_html_dom.php'; | |
| /** | |
| * Mirror plugins maintainted via Git on Github or Bitbuckets | |
| */ | |
| $html = file_get_html('https://github.com/YOURLS/YOURLS/wiki/Plugin-List'); | |
| foreach($html->find('h4') as $link) { |
This file contains hidden or 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 | |
| /* | |
| Plugin Name: Keep Query String | |
| Description: Adds short URL query string, if any, to the long URL | |
| Version: 0.1 | |
| Author: Ozh | |
| */ | |
| yourls_add_filter('redirect_location', 'ozh_kqs'); |
This file contains hidden or 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
| javascript:(function(){%20var%20e,s;%20IB=1;%20function%20isDigit(c)%20{%20return%20("0"%20<=%20c%20&&%20c%20<=%20"9")%20}%20L%20=%20location.href;%20LL%20=%20L.length;%20for%20(e=LL-1;%20e>=0;%20--e)%20if%20(isDigit(L.charAt(e)))%20{%20for(s=e-1;%20s>=0;%20--s)%20if%20(!isDigit(L.charAt(s)))%20break;%20break;%20}%20++s;%20if%20(e<0)%20return;%20oldNum%20=%20L.substring(s,e+1);%20newNum%20=%20""%20+%20(parseInt(oldNum,10)%20+%20IB);%20while%20(newNum.length%20<%20oldNum.length)%20newNum%20=%20"0"%20+%20newNum;%20location.href%20=%20L.substring(0,s)%20+%20newNum%20+%20L.slice(e+1);%20})(); |
This file contains hidden or 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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <title>Typing Speed Test — How fast can you type ?</title> | |
| <style type="text/css"> | |
| #o_keypressed, #o_wordok, #o_wordnotok {zdisplay:none;} | |
| #o_typein{font-size:21px; margin:15px;padding-top:6Opx;display:none;} | |
| body {font:16px Verdana,Arial} | |
| #timer {font-size:30px; color: #494;background:#efe; border:1px solid #cdc; width:100px; height:80px; float:left; margin:0 10px; text-align:center} |
> netsh wlan show profiles
> netsh wlan show profile name=<profile> key=clear
This file contains hidden or 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
| Various files, from actual web sites, mixing different content type as served by the server and as declared by the HTML |
This file contains hidden or 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
| #!/bin/sh | |
| # u.nu's tool: view-source:https://u.nu/public/scripts/unu | |
| if [ -t 0 ]; then | |
| if [ -z "$1" ]; then | |
| echo "usage: unu long_url [custom_keyword]" | |
| echo "" | |
| echo "Shorten URLs with u.nu URL shortener" | |
| echo "This script expects a long URL to shorten either as an argument or passed through STDIN." |
This file contains hidden or 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
| #!/bin/bash | |
| #################################################################### | |
| # Remove unneeded files for production | |
| # | |
| # Run this script when adding, updating or removing a 3rd party | |
| # library that goes in the `vendor` directory. | |
| # | |
| # Typical use: | |
| # |
This file contains hidden or 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
| for D in `ls`; do cd $D; rm -rf ".git"; rm -rf "tests"; rm -rf "docs"; rm -rf "bin"; mkdir md_backup; mv README. | |
| md md_backup; rm -f ./{,.[!.],..?}*; mv md_backup/* .; rm -rf md_backup; cd ..; done | |
| # Run in blah/vendor/doctrine, where you have ./annotations, ./dbal, ./common, etc... | |
| # Will delete all .git, tests, docs & bin diretories, and all files subdir root except the readme |