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 parsePageSignedRequest() { | |
| if( isset($_REQUEST['signed_request']) ) { | |
| $encoded_sig = $payload = null; | |
| list( $encoded_sig, $payload ) = explode(".", $_REQUEST['signed_request'], 2 ); | |
| $sig = base64_decode( strtr( $encoded_sig, '-_', '+/') ); | |
| $data = json_decode( base64_decode( strtr( $payload, '-_', '+/'), true ) ); | |
| return $data; | |
| } else return null; | |
| } | 
  
    
      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
    
  
  
    
  | [Desktop Entry] | |
| Type=Application | |
| Name=Eclipse | |
| Comment=Eclipse Integrated Development Environment | |
| Icon=/usr/lib/icon.xpm | |
| Exec=/usr/lib/eclipse | |
| Terminal=false | |
| Categories=Development;IDE;Java; | 
  
    
      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
    
  
  
    
  | // LIBS: returns proper sorting function | |
| function sort_by( prop ) { | |
| return function(a,b) { | |
| return a[prop] - b[prop]; | |
| } | |
| } | |
| // USAGE: resort list on eid property | |
| list.sort( sort_by('eid') ); | 
  
    
      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 mikes_future_posts_generator() { | |
| var A = ['reshare', '+1', 'comment'], B = ['resharing',"+1'ing",'commenting']; | |
| for(a in A) for(b in B) if(a!=b) console.log("I hate when people "+A[a]+" without "+B[b]); | |
| })(); | 
  
    
      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
    
  
  
    
  | package pl.d30.ntpm.checker; | |
| import android.graphics.Bitmap; | |
| import android.os.Bundle; | |
| import android.view.Menu; | |
| import android.widget.Toast; | |
| import com.google.zxing.Result; | |
| import com.google.zxing.client.android.CaptureActivity; | 
  
    
      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
    
  
  
    
  | if( $('#additional_letters .let_'+rLet+'.used').last().removeClass('let_'+rLet+' used').addClass('let_0 usable empty').text('').length ); | |
| else if( $('#second_word .let_'+rLet+'.used').last().removeClass('used').addClass('usable').length ); | |
| else if( $('#first_word .let_'+rLet+'.used').last().removeClass('used').addClass('usable').length ); | 
  
    
      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
    
  
  
    
  | // via: https://code.google.com/p/android/issues/detail?id=9570 | |
| recorder = new MediaRecorder(); | |
| recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); | |
| recorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); | |
| recorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); | |
| // The following line should not be necessary, or it should be possible to create | |
| // a Surface without a foreground UI. | |
| recorder.setPreviewDisplay(mSurface); | 
  
    
      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
    
  
  
    
  | String wishes = Web.Wishes.find_random( | |
| Web.Wishes.FOR_NEW_YEAR, | |
| Web.Wishes.LANG_EN, | |
| Web.Wishes.SEARCH_QUICKEST_POSSIBLE | |
| ); | |
| System.Out.println( wishes ); | 
  
    
      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
    
  
  
    
  | <? | |
| $output .= '<ul class="wiadomosc">'; | |
| $n = 0; | |
| foreach($artykuly as $a){ | |
| $thumb = get_the_post_thumbnail( $a->ID, 'full', $attr = '' ); | |
| $tytul = $a->post_title; | |
| $tresc = $a->post_content; | |
| $output .= "<li".(($n++ > 3 )?' class="twoja_wybrana_klasa"':"").">".$tytul."</li>\n"; | 
  
    
      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
    
  
  
    
  | package com.example | |
| import android.content.Context; | |
| import android.graphics.Bitmap; | |
| import android.graphics.BitmapFactory; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; | |
| import android.graphics.RadialGradient; | |
| import android.graphics.Shader; |