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
#=========================================== | |
# Author: Francis Varga | |
# eMail: francis.varga@varga-multimedia.com | |
# Blog: http://varga-multimedia.com | |
#=========================================== | |
# | |
# This is my .gitconfig file | |
# | |
# Did you have question ask me ;)... | |
[core] |
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
#======================================================= | |
#SELF PART | |
#======================================================= | |
-clean | |
--launcher.XXMaxPermSize | |
700m | |
-vmargs | |
-Xms712m | |
-Xmx1624m | |
-XX:PermSize=256m |
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
Passwordless SSH Login | |
========================= | |
On the client | |
* generate a RSA keypair | |
* copy the *.pub part to the server, add it to ~/.ssh/authorized_keys | |
* modify your /etc/ssh/ssh_config for keepalive (30 sec. is very short - only if you get "broken pipe" errors): | |
ServerAliveInterval 30 |
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
IEventDispatcher(event.currentTarget).removeEventListener(event.type, arguments['callee']); |
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
mencoder -mc 0 -noskip -o /tmp/test.flv test.mov -ovc x264 -x264encopts bitrate=300 -vf scale=248:204 -oac mp3lame -lavcopts acodec=mp3:abitrate=56 |
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
-remove-unused-rsls=true |
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
package com.destroytoday.example | |
{ | |
public class AccountController | |
{ | |
[Inject] | |
public var signalBus:SignalBus; | |
[Inject] | |
public var twitterService:TwitterService; | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<application xmlns="http://ns.adobe.com/air/application/2.6"> | |
<id>com.johnlindquist.ipad</id> | |
<filename>MyApp</filename> | |
<name>MyApp</name> | |
<versionNumber>1</versionNumber> | |
<initialWindow> | |
<renderMode>gpu</renderMode> | |
<content>deploy/MyApp.swf</content> | |
<fullScreen>true</fullScreen> |
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
SET @rownum =0; | |
SET @rank =0; | |
SET @prev_val=0; | |
SELECT @rownum := @rownum + 1 AS row | |
, @rank := IF(@prev_val!=uxp,@rownum,@rank) AS rank | |
, @prev_val := uxp AS uxp, | |
userId | |
FROM | |
( |
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 | |
#----------------------------------------------------------- | |
# | |
# Purpose: Just run this script to install the required | |
# ubuntu/pear packages for php development. | |
# | |
# Tested on Ubuntu 10.04 | |
#----------------------------------------------------------- | |
echo "Installing basic packages for development." |
OlderNewer