Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'static'

821716 - static typing example: php static
  1. ---A---
  2.  
  3. void MakeImage(t_image_size w, t_image_size h, t_image_bpp bpp, t_jpg_quality q, string name) {
  4.  ...  make_image(w,h,bpp);
  5.  ...
  6.  image -> encode(jpg, q);
  7.  image -> save(name);
  8.  ...
  9.  
758783 - Cannonball: openvpn static key
  1. On the server:
  2.  
  3. mkdir /etc/openvpn/keys
  4. openvpn --genrsa --secret /etc/openvpn/keys/private.key
  5.  
  6. /etc/openvpn/server.conf:
  7. dev tun
  8. ifconfig 172.21.1.1 172.21.1.2
  9.  
757516 - vol: static
  1. public class GrannySmith {
  2.   public final static Color color  = Color.GREEN;
  3.   public final static String taste = "Delicious";
  4.   public final static byte percentPerByte = 4;
  5.  
  6.   public static numApples = 0;
  7.  
  8.   public byte percentEaten = 0;
  9.  
636996 - ClassStore.class.php: class static object
  1. class ClassStore{
  2.   private $nombre;
  3.   private $statics;
  4.  
  5.   function __construct($nombre){
  6.     $this->nombre=$nombre;
  7.   }
  8.  
  9.  
625980 - abstract//static object overload: php magic class static __call method overloading
  1. <?php
  2.  
  3.   abstract class main
  4.     {
  5.       function __call($func_name_str , $func_args_arr)
  6.         {
  7.           echo '__call: ';
  8.           echo $func_name_str;
  9.  
worth-right
fantasy-obligation
fantasy-obligation