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
| // ==UserScript== | |
| // @name TagPro Timers | |
| // @version 0.2.3 | |
| // @include http://tagpro-*.koalabeast.com:* | |
| // @include http://tangent.jukejuice.com:* | |
| // @include http://*.newcompte.fr:* | |
| // @author Some Ball -1 | |
| // @grant GM_setValue | |
| // @grant GM_getValue | |
| // ==/UserScript== |
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
| function transfer | |
| if test (count $argv) -eq 0 | |
| echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md" | |
| return 1 | |
| end | |
| ## get temporarily filename, output is written to this file show progress can be showed | |
| set tmpfile ( mktemp -t transferXXX ) | |
| ## upload stdin or file |
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
| /** | |
| * Removes the minus sign from the beginning of the string | |
| * | |
| * @param str | |
| * @returns an array with the first item as true if a minus | |
| * was found and the string minus the minus sign. | |
| */ | |
| function stripSign(str) { | |
| // Check if it has a minus sign | |
| let hasMinus = str.charAt(0) === '-'; |
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
| /* | |
| This example shows how you can use your data structure as a basis for | |
| your Firebase security rules to implement role-based security. We store | |
| each user by their Twitter uid, and use the following simplistic approach | |
| for user roles: | |
| 0 - GUEST | |
| 10 - USER | |
| 20 - MODERATOR |
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 | |
| /** | |
| * Simple FTP Class | |
| * | |
| * @package SFTP | |
| * @name SFTP | |
| * @version 1.0 | |
| * @author Shay Anderson 05.11 | |
| * @link shayanderson.com | |
| * @license http://www.gnu.org/licenses/gpl.html GPL License |
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 | |
| mkdir my_project | |
| cd my_project | |
| echo " . . . Downloading file stanford-ner-2014-08-27.zip" | |
| # NOTE: need to update link for further versions | |
| wget http://nlp.stanford.edu/software/stanford-ner-2014-08-27.zip | |
| echo " . . . Unpacking stanford-ner-2014-08-27.zip" |
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 | |
| #(c) Copyright 2014 Temasys Communication, Pte Ltd. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
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 | |
| for uid in $(ps aux | grep php-fpm | grep master | grep bindings | awk '{print $1}'); do | |
| home=$(getent passwd $uid | awk -F: '{print $6}') | |
| if echo /dev/null | socat UNIX:$home/run/php-fpm.sock - ; then | |
| echo "$home/run/php-fpm.sock connect OK" | |
| else | |
| echo "$home/run/php-fpm.sock connect ERROR" | |
| fi | |
| done |
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
| Banco: | |
| <select name="banco"> | |
| <option value=""></option> | |
| <option value="0156">100%BANCO</option> | |
| <option value="0196">ABN AMRO BANK</option> | |
| <option value="0172">BANCAMIGA BANCO MICROFINANCIERO, C.A.</option> | |
| <option value="0171">BANCO ACTIVO BANCO COMERCIAL, C.A.</option> | |
| <option value="0166">BANCO AGRICOLA</option> | |
| <option value="0175">BANCO BICENTENARIO</option> | |
| <option value="0128">BANCO CARONI, C.A. BANCO UNIVERSAL</option> |