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
#!/usr/bin/env python | |
from gi.repository import Gtk, Keybinder | |
class Win(Gtk.Window): | |
def __init__(self): | |
super(Win, self).__init__() | |
self.connect('destroy', Gtk.main_quit) |
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
import pygtk | |
pygtk.require('2.0') | |
import gtk | |
import time | |
class Win(gtk.Window): | |
def __init__(self): | |
super(Win, self).__init__() | |
self.move(0,0) |
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
struct Person { | |
1: i32 id, | |
2: string firstName, | |
3: string lastName, | |
4: string email, | |
5: list<Phone> phones | |
} | |
struct Course { | |
1: i32 id, |
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
void capture_screen() | |
{ | |
Glib::RefPtr<Gdk::Window> root_win = Gdk::Window::get_default_root_window(); | |
int width = root_win->get_width(); | |
int height = root_win->get_height(); | |
int x_orig, y_orig; | |
root_win->get_origin(x_orig, y_orig); |
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
from gi.repository import Gtk | |
from gi.repository import WebKit | |
import oauth2 as oauth | |
import urllib | |
import urlparse | |
from i18n import _ | |
from common import CONSUMER_KEY, CONSUMER_SECRET, HOST |
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
from gi.repository import Gtk | |
indicator = Gtk.StatusIcon() | |
indicator.set_from_icon_name("everpad") | |
indicator.set_visible(True) | |
Gtk.main() |
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
require 'gtk3' | |
class FileManager | |
INDEX = 0 | |
COL_PATH, COL_DISPLAY_NAME, COL_IS_DIR, COL_PIXBUF = (0..3).to_a | |
def initialize | |
win = Gtk::Window.new | |
menu = Gtk::Menu.new | |
swin = Gtk::ScrolledWindow.new |
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"?> | |
<wsdl:definitions targetNamespace="http://services.ozcanesen.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://services.ozcanesen.com" xmlns:intf="http://services.ozcanesen.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<!--WSDL created by Apache Axis version: 1.4 | |
Built on Apr 22, 2006 (06:55:48 PDT)--> | |
<wsdl:types> | |
<schema elementFormDefault="qualified" targetNamespace="http://services.ozcanesen.com" xmlns="http://www.w3.org/2001/XMLSchema"> | |
<element name="topla"> | |
<complexType> | |
<sequence> |
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
Binding name: CurrencyConvertorSoap, Operation name: ConversionRate | |
Binding name: CurrencyConvertorHttpPost, Operation name: ConversionRate | |
Binding name: CurrencyConvertorSoap12, Operation name: ConversionRate | |
Binding name: CurrencyConvertorHttpGet, Operation name: ConversionRate |
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
#include"stdio.h" | |
#include"stdlib.h" | |
int main() | |
{ | |
int x,y,z, sayac; | |
float a, toplam; | |
toplam = 0; | |
sayac= 0; | |
for ( x=-3;x<=3;x++) { | |
for ( y=-3;y<=3;y++) { |
OlderNewer