Public Gists by tothda

Gravatar
Wed Nov 19 00:29:04 -0800 2008
1
2
3
    select
      case when level = 1 then own || '.' || obj || ' (' || typ || ')' else
      lpad (' ', 2*(level-1)) || obj || nvl2 (typ, ' (' || typ || ')', null)
Gravatar
Wed Nov 19 00:28:35 -0800 2008
1
2
3
select
  lpad(' ', 2*level) || c "Privilege, Roles and Users"
from
Gravatar
Wed Nov 19 00:21:33 -0800 2008
1
2
3
select
  lpad(' ', 2*level) || granted_role "User, his roles and privileges"
from
Gravatar
Sat Oct 11 12:34:26 -0700 2008
1
2
3
## post.rb
 
class Post < ActiveRecord::Base
Gravatar
Fri Oct 03 02:20:32 -0700 2008
1
2
3
require 'rubygems'
require 'sequel'
 
Gravatar
Mon Sep 22 12:32:55 -0700 2008
1
2
3
-- Ha sikerül ilyen módon létrehozni egy (read-only) walletet akkor már csak annyi a teendő,
-- hogy a kódban a request elküldése elé elhelyezzük a következő kódot:
 
Gravatar
Mon Sep 22 12:30:59 -0700 2008
1
2
3
<?xml version="1.0" encoding="utf-8"?>
<S11:Envelope xmlns:S11="..." xmlns:wsse="..." xmlns:wsu="..." xmlns:ds="...">
  <S11:Header>
Gravatar
Mon Sep 22 12:30:03 -0700 2008
1
2
3
Utl_Http.Set_Proxy(proxy => 'dummyproxy:port',
                   no_proxy_domains => '127.0.0.1;localhost');
                   UTL_HTTP.set_authentication(r => l_http_request,
Gravatar
Mon Sep 22 12:28:57 -0700 2008
1
2
3
<GetWeatherResponse xmlns="http://www.webserviceX.NET">
  <GetWeatherResult>
    <CurrentWeather>
Gravatar
Mon Sep 22 12:25:29 -0700 2008
1
2
3
-- névtér és szolgáltatás beállítása
req := dbxpk_soap.newrequest('GetWeather','xmlns="http://www.webserviceX.NET"');
 
Gravatar
Mon Sep 22 12:22:57 -0700 2008
1
2
3
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetWeather xmlns="http://www.webserviceX.NET">
Gravatar
Mon Sep 22 11:42:17 -0700 2008
1
2
3
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
  <s:element name="GetWeather">
    <s:complexType>
Gravatar
Mon Sep 22 00:32:51 -0700 2008
1
2
3
#content
  .left.column
    %h2 Welcome to our site!
Gravatar
Mon Sep 22 00:31:35 -0700 2008
1
2
3
<div id='content'>
  <div class='left column'>
    <h2>Welcome to our site!</h2>
Gravatar
Tue Sep 09 15:23:53 -0700 2008
1
2
3
// Slightly modified version of the official syntax-highlight command. The original does not work for me with Ruby.
// it uses: http://xzfv.appspot.com
// ruby formatting only
Gravatar
Fri Sep 05 02:09:00 -0700 2008
1
2
3
// TODO:
// * sztaki off még nem működik
// * a megjelenő ablak legyen draggable és resizeable (jQuery UI)