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
$: echo -e "\ahi \nsent by user" > /dev/tty1 |
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
$ wget http://address.of/your.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
#!/bin/bash# Timepass script to experiment with imagemagick | |
for x in 0 1 2 3 4 5 6 | |
do | |
convert -size 100x100 plasma:fractal -font Helvetica-Bold -pointsize 90 -tile gradient:white-gray -stroke white -annotate +26+78 $x $x.jpg; | |
echo -e "$x.jpg generated\n"; |
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
: ~ $ sudo modprobe usbserial vendor='0xeab' product='0x9357' |
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 | |
if($_REQUEST['ajax_req']== true) | |
{ | |
//Process the tweet | |
$username = $_REQUEST['username']; | |
$password = $_REQUEST['password']; | |
$status = $_REQUEST['status']; | |
$auth_string = $username.":".$password; | |
$postdata = array('status' => $status ); | |
$options = array( |
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
~ $ : export http_proxy="http://bitsfoss:3142/" |
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
<? | |
/** | |
* FlxZipArchive, Extends ZipArchiv. | |
* Add Dirs with Files and Subdirs. | |
* | |
* <code> | |
* $archive = new FlxZipArchive; | |
* // ..... | |
* $archive->addDir( 'test/blub', 'blub' ); | |
* </code> |
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
#!/bin/bash | |
# screen_ssh.sh by Chris Jones | |
# Modified by Ninad Pundalik | |
# Released under the GNU GPL v2 licence. | |
# Set the title of the current screen to the username and hostname being ssh'd to | |
# | |
# usage: screen_ssh.sh $PPID hostname username | |
# | |
# This is intended to be called by ssh(1) as a LocalCommand. | |
# For example, put this in ~/.ssh/config: |
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
sudo service mysql stop |
NewerOlder