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 'test/unit' | |
def nama | |
num = 100 | |
arr = [] | |
(1..num).each { |i| | |
if i % 35 == 0 | |
arr.push("Nama Team") | |
elsif i % 7 == 0 | |
arr.push("Team") |
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
const Gtk = imports.gi.Gtk; | |
const Emeus = imports.gi.Emeus; | |
const Pango = imports.gi.Pango; | |
Gtk.init(null) | |
let layout1 = new Emeus.ConstraintLayout(); | |
let layout2 = new Emeus.ConstraintLayout(); |
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
const Gtk = imports.gi.Gtk; | |
const Emeus = imports.gi.Emeus; | |
Gtk.init(null) | |
let layout1 = new Emeus.ConstraintLayout(); | |
let layout2 = new Emeus.ConstraintLayout(); | |
let grid = new Gtk.Grid(); |
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
const Gtk = imports.gi.Gtk; | |
const Emeus = imports.gi.Emeus; | |
Gtk.init(null) | |
let layout1 = new Emeus.ConstraintLayout(); | |
let layout2 = new Emeus.ConstraintLayout(); | |
layout1.add(layout2) |
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 <string.h> | |
#include <stdlib.h> | |
#include <glib.h> | |
#include <stdint.h> | |
int | |
main (int argc, char *argv[]) | |
{ | |
unsigned int limit = g_ascii_strtod ("-1", NULL); |
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
const GObject = imports.gi.GObject; | |
const Gtk = imports.gi.Gtk; | |
const Lang = imports.lang; | |
Gtk.init(null); | |
const FirstObject = new Lang.Class({ | |
Name: 'First', | |
Extends: GObject.Object, |
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
const GObject = imports.gi.GObject; | |
const Gtk = imports.gi.Gtk; | |
const Lang = imports.lang; | |
Gtk.init(null); | |
const SlidingPanelOverlay = new Lang.Class({ | |
Name: 'SlidingPanelOverlay', | |
GTypeName: 'EknSlidingPanelOverlay', |
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
const Gtk = imports.gi.Gtk; | |
Gtk.init(null); | |
let frame = new Gtk.Frame({ | |
// expand: false, | |
margin: 30 | |
}); | |
frame.set_size_request(200, 100) |
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
const Gtk = imports.gi.Gtk; | |
const Gdk = imports.gi.Gdk; | |
Gtk.init(null); | |
let overlay = new Gtk.Overlay() | |
let button = new Gtk.Button({ | |
expand: 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
const Gtk = imports.gi.Gtk; | |
Gtk.init(null); | |
let frame = new Gtk.Frame({ | |
expand: false, | |
margin: 30 | |
}); | |
frame.set_size_request(200, 100) |
NewerOlder