code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30 values | license stringclasses 15 values | size int64 3 1.01M |
|---|---|---|---|---|---|
# ===========================================================================
# This file contain some utilities for the course
# ===========================================================================
from __future__ import print_function, division, absolute_import
import os
import sys
import time
import shutil
from six.moves.urllib.request import urlopen
from six.moves.urllib.error import URLError, HTTPError
import tarfile
import platform
import numpy as np
# Under Python 2, 'urlretrieve' relies on FancyURLopener from legacy
# urllib module, known to have issues with proxy management
if sys.version_info[0] == 2:
def urlretrieve(url, filename, reporthook=None, data=None):
'''
This function is adpated from: https://github.com/fchollet/keras
Original work Copyright (c) 2014-2015 keras contributors
'''
def chunk_read(response, chunk_size=8192, reporthook=None):
total_size = response.info().get('Content-Length').strip()
total_size = int(total_size)
count = 0
while 1:
chunk = response.read(chunk_size)
if not chunk:
break
count += 1
if reporthook:
reporthook(count, chunk_size, total_size)
yield chunk
response = urlopen(url, data)
with open(filename, 'wb') as fd:
for chunk in chunk_read(response, reporthook=reporthook):
fd.write(chunk)
else:
from six.moves.urllib.request import urlretrieve
class Progbar(object):
'''
This function is adpated from: https://github.com/fchollet/keras
Original work Copyright (c) 2014-2015 keras contributors
Modified work Copyright 2016-2017 TrungNT
'''
def __init__(self, target, title=''):
'''
@param target: total number of steps expected
'''
self.width = 39
self.target = target
self.sum_values = {}
self.unique_values = []
self.start = time.time()
self.total_width = 0
self.seen_so_far = 0
self.title = title
def update(self, current, values=[]):
'''
@param current: index of current step
@param values: list of tuples (name, value_for_last_step).
The progress bar will display averages for these values.
'''
for k, v in values:
if k not in self.sum_values:
self.sum_values[k] = [v * (current - self.seen_so_far), current - self.seen_so_far]
self.unique_values.append(k)
else:
self.sum_values[k][0] += v * (current - self.seen_so_far)
self.sum_values[k][1] += (current - self.seen_so_far)
self.seen_so_far = current
now = time.time()
prev_total_width = self.total_width
sys.stdout.write("\b" * prev_total_width)
sys.stdout.write("\r")
numdigits = int(np.floor(np.log10(self.target))) + 1
barstr = '%s %%%dd/%%%dd [' % (self.title, numdigits, numdigits)
bar = barstr % (current, self.target)
prog = float(current) / self.target
prog_width = int(self.width * prog)
if prog_width > 0:
bar += ('=' * (prog_width - 1))
if current < self.target:
bar += '>'
else:
bar += '='
bar += ('.' * (self.width - prog_width))
bar += ']'
sys.stdout.write(bar)
self.total_width = len(bar)
if current:
time_per_unit = (now - self.start) / current
else:
time_per_unit = 0
eta = time_per_unit * (self.target - current)
info = ''
if current < self.target:
info += ' - ETA: %ds' % eta
else:
info += ' - %ds' % (now - self.start)
for k in self.unique_values:
info += ' - %s:' % k
if type(self.sum_values[k]) is list:
avg = self.sum_values[k][0] / max(1, self.sum_values[k][1])
if abs(avg) > 1e-3:
info += ' %.4f' % avg
else:
info += ' %.4e' % avg
else:
info += ' %s' % self.sum_values[k]
self.total_width += len(info)
if prev_total_width > self.total_width:
info += ((prev_total_width - self.total_width) * " ")
sys.stdout.write(info)
if current >= self.target:
if "Linux" in platform.platform():
sys.stdout.write("\n\n")
else:
sys.stdout.write("\n")
sys.stdout.flush()
def add(self, n, values=[]):
self.update(self.seen_so_far + n, values)
def get_file(fname, origin, untar=False, datadir=None):
'''
This function is adpated from: https://github.com/fchollet/keras
Original work Copyright (c) 2014-2015 keras contributors
Modified work Copyright 2016-2017 TrungNT
Return
------
file path of the downloaded file
'''
# ====== check valid datadir ====== #
if datadir is None:
datadir = os.path.join(os.path.expanduser('~'), '.bay2')
if not os.path.exists(datadir):
os.mkdir(datadir)
elif not os.path.exists(datadir):
raise ValueError('Cannot find folder at path:' + str(datadir))
# ====== download the file ====== #
if untar:
untar_fpath = os.path.join(datadir, fname)
fpath = untar_fpath + '.tar.gz'
else:
fpath = os.path.join(datadir, fname)
if not os.path.exists(fpath):
print('Downloading data from', origin)
global _progbar
_progbar = None
def dl_progress(count, block_size, total_size):
global _progbar
if _progbar is None:
_progbar = Progbar(total_size)
else:
_progbar.update(count * block_size)
error_msg = 'URL fetch failure on {}: {} -- {}'
try:
try:
urlretrieve(origin, fpath, dl_progress)
except URLError as e:
raise Exception(error_msg.format(origin, e.errno, e.reason))
except HTTPError as e:
raise Exception(error_msg.format(origin, e.code, e.msg))
except (Exception, KeyboardInterrupt) as e:
if os.path.exists(fpath):
os.remove(fpath)
raise
_progbar = None
if untar:
if not os.path.exists(untar_fpath):
print('Untaring file...')
tfile = tarfile.open(fpath, 'r:gz')
try:
tfile.extractall(path=datadir)
except (Exception, KeyboardInterrupt) as e:
if os.path.exists(untar_fpath):
if os.path.isfile(untar_fpath):
os.remove(untar_fpath)
else:
shutil.rmtree(untar_fpath)
raise
tfile.close()
return untar_fpath
return fpath
| trungnt13/BAY2-uef17 | utils.py | Python | gpl-3.0 | 7,061 |
from dungeon.dungeon import Dungeon, Hub
from entity.player.players import Player, Party
import entity.item.items as items
import sys, os
import base
import web.server
try:
import dill
except:
dill = None
PARTY = Party()
class Manager:
def __init__(self):
self.checked = False
def get_current_release(self):
latest = None
try:
import requests
latest = requests.get('https://api.github.com/repos/microwaveabletoaster/dunces-and-dungeons/releases/latest').json()['tag_name']
except:
base.put("could not reach the update service :'(")
return latest
def update_check(self):
base.put('checking for update...')
latest = self.get_current_release()
if latest:
if latest == self.RELEASE_ID:
base.put('you\'re up to date!')
else:
base.put("---------------=====UPDATE!!=====-----------\nan update to dunces and dungeons has been released! \ngo download it now from here: https://github.com/microwaveabletoaster/dunces-and-dungeons/releases \nit probably contains super important bugfixes and or more neat features, so don't dawdle!! \n\n<3 the team\n")
self.checked = True
def main(self,webbed=False):
self.webbed = webbed
if webbed: # ha amphibian joke
base.IS_WEB_VERSION = True
base.SERVER = web.server
web.server.party = PARTY
print 'MOVED ON'
base.BASE_DIR = os.path.dirname(os.path.abspath(__file__))
ver = []
with open('%s/version.dunce' % base.BASE_DIR, 'r+') as f:
contents = f.read()
if contents is '':
base.put('writing')
f.write(self.get_current_release().replace('.',' ').replace('v',''))
ver = contents.split(' ')
self.RELEASE_ID = ('v%s.%s.%s' % (ver[0],ver[1],ver[2])).strip()
if not self.checked:
self.update_check()
go = True
intro = """
______ _ _______ _______ _______
( __ \ |\ /|( ( /|( ____ \( ____ \( ____ \\
| ( \ )| ) ( || \ ( || ( \/| ( \/| ( \/
| | ) || | | || \ | || | | (__ | (_____
| | | || | | || (\ \) || | | __) (_____ )
| | ) || | | || | \ || | | ( ) |
| (__/ )| (___) || ) \ || (____/\| (____/\/\____) |
(______/ (_______)|/ )_)(_______/(_______/\_______)
_______ _ ______
( ___ )( ( /|( __ \\
| ( ) || \ ( || ( \ )
| (___) || \ | || | ) |
| ___ || (\ \) || | | |
| ( ) || | \ || | ) |
| ) ( || ) \ || (__/ )
|/ \||/ )_)(______/
______ _ _______ _______ _______ _ _______
( __ \ |\ /|( ( /|( ____ \( ____ \( ___ )( ( /|( ____ \\
| ( \ )| ) ( || \ ( || ( \/| ( \/| ( ) || \ ( || ( \/
| | ) || | | || \ | || | | (__ | | | || \ | || (_____
| | | || | | || (\ \) || | ____ | __) | | | || (\ \) |(_____ )
| | ) || | | || | \ || | \_ )| ( | | | || | \ | ) |
| (__/ )| (___) || ) \ || (___) || (____/\| (___) || ) \ |/\____) |
(______/ (_______)|/ )_)(_______)(_______/(_______)|/ )_)\_______)
copyleft (c) 2016 John Dikeman and Cameron Egger
"""
base.put(intro)
cho = 0
# most of this code is super redundant cause cho is hardcoded but do i care? nope lol.
if cho is not None:
if cho is 0:
self.new_game()
if cho is 1:
li = []
if os.path.exists('%s/saves/' % base.BASE_DIR):
for dirpath, dirname, filename in os.walk('%s/saves/' % base.BASE_DIR):
for fi in filename:
if '.dunce' in fi:
li.append(fi)
else:
base.put('no saves to choose from!')
op = base.make_choice(li,"savefile")
if dill:
if op is not None:
go = False
base.put('loading session')
dill.load_session('%s/saves/%s' % (base.BASE_DIR,li[op]))
else:
base.put('save/load support is disabled because you haven\'t installed dill!')
def new_game(self):
# PARTY.current_dungeon.start()
if self.webbed:
party_size = base.get_input('enter the size of your party: ')
if int(party_size) is 0:
base.put("you can't play with zero people, dingus")
sys.exit()
# creating all the players in the party
for a in range(int(party_size)):
name = base.get_input('enter the name of player %d: ' % a)
PARTY.add_player(Player(name))
base.put('Game Start')
base.put(PARTY.to_str())
dungeon = Hub(PARTY)
PARTY.hub = dungeon
PARTY.current_dungeon = dungeon
PARTY.current_dungeon.start()
while(PARTY.end):
PARTY.handle_player_turn()
if(PARTY.end):
PARTY.current_dungeon.handle_monster_turn()
base.put("\n\n------------=========GAME OVER=========------------")
else:
party_size = base.get_input('enter the size of your party: ')
if int(party_size) is 0:
base.put("you can't play with zero people, dingus")
sys.exit()
# creating all the players in the party
for a in range(int(party_size)):
name = base.get_input('enter the name of player %d: ' % a)
PARTY.add_player(Player(name))
base.put('Game Start')
base.put(PARTY.to_str())
dungeon = Hub(PARTY)
PARTY.hub = dungeon
PARTY.current_dungeon = dungeon
PARTY.current_dungeon.start()
while(PARTY.end):
PARTY.handle_player_turn()
if(PARTY.end):
PARTY.current_dungeon.handle_monster_turn()
base.put("\n\n------------=========GAME OVER=========------------")
if __name__ == '__main__':
game = Manager()
try:
if sys.argv[1] == 'web':
print 'initializing web server. point your browser to http://localhost:5000.'
game.main(True)
else:
game.main()
except IndexError:
game.main()
| microwaveabletoaster/dunces-and-dungeons | dunces-and-dungeons.py | Python | gpl-3.0 | 5,516 |
/**
* Copyright (c) 2002-2012 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.neo4j.kernel.impl.traversal;
import org.neo4j.graphdb.Path;
import org.neo4j.graphdb.traversal.TraversalContext;
import org.neo4j.helpers.collection.PrefetchingIterator;
public abstract class AbstractTraverserIterator extends PrefetchingIterator<Path>
implements TraversalContext
{
protected int numberOfPathsReturned;
protected int numberOfRelationshipsTraversed;
@Override
public int getNumberOfPathsReturned()
{
return numberOfPathsReturned;
}
@Override
public int getNumberOfRelationshipsTraversed()
{
return numberOfRelationshipsTraversed;
}
@Override
public void relationshipTraversed()
{
numberOfRelationshipsTraversed++;
}
@Override
public void unnecessaryRelationshipTraversed()
{
numberOfRelationshipsTraversed++;
}
}
| dksaputra/community | kernel/src/main/java/org/neo4j/kernel/impl/traversal/AbstractTraverserIterator.java | Java | gpl-3.0 | 1,659 |
package decoder;
import java.util.Date;
import common.Config;
import common.Log;
import fec.RsCodeWord;
import telemetry.Frame;
import telemetry.FrameProcessException;
import telemetry.HighSpeedFrame;
/**
*
* FOX 1 Telemetry Decoder
* @author chris.e.thompson g0kla/ac2cz
*
* Copyright (C) 2015 amsat.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*
* High Speed Frame BitStream. The frame needs to be decoded from the bitstream as follows:
* Initialize a set of RS Code words
* One bit is added to each RS Code word in a round robin fashion until all code words are full
* Then one bit is added to the error sections each each rs code word until they too are full.
* The RS code words are decoded and corrections are made
* The data is fed into the High Speed Frame, which will then allocate the bits to the appropriate
* payloads
*
* This bit stream is used for any bitstream with multiple RS Codewords, including the 9600bps FSK and 1200bps PSK streams
*
*/
@SuppressWarnings("serial")
public class HighSpeedBitStream extends FoxBitStream {
public static int FOX_HIGH_SPEED_SYNC_WORD_DISTANCE = 52730; // 52790 - 6 bytes of header, 4600 data bytes, 672 parity bytes for 21 code words + 10 bit SYNC word
public static final int NUMBER_OF_RS_CODEWORDS = 21;
protected int numberOfRsCodeWords = NUMBER_OF_RS_CODEWORDS;
public static final int[] RS_PADDING = {3,4,4,4,4, 4,4,4,4,4, 4,4,4,4,4, 4,4,4,4,4, 4};
protected int[] rsPadding = RS_PADDING;
protected int maxBytes = HighSpeedFrame.getMaxBytes();
protected int frameSize = HighSpeedFrame.MAX_FRAME_SIZE;
protected int totalRsErrors = 0;
protected int totalRsErasures = 0;
public HighSpeedBitStream(Decoder dec, int syncWordDistance, int wordLength, int syncWordLength, int bitRate) {
super(syncWordDistance*5, dec, syncWordDistance, wordLength,syncWordLength, 1000 / (double)bitRate);
PURGE_THRESHOLD = syncWordDistance * 3;
SYNC_WORD_BIT_TOLERANCE = 0; // this is too CPU intensive for large frames
}
/**
* Attempt to decode the High Speed Frame
* We need to keep track of a set of rs codewords, each has 223 byts of data
* We allocate the received bytes into the code words round robin
* Then we allocate a set of FEC bits, which also get allocated round robin
* Then we decode
* The corrected data is re-allocated, again round robin, into a rawFrame. This frame should
* then contain the data BACK in the original order, but with corrections made
*/
public Frame decodeFrame(int start, int end, int missedBits, int repairPosition, Date timeOfStartSync) {
totalRsErrors = 0;
totalRsErasures = 0;
byte[] rawFrame = decodeBytes(start, end, missedBits, repairPosition);
if (rawFrame == null) return null;
HighSpeedFrame highSpeedFrame = new HighSpeedFrame();
try {
highSpeedFrame.addRawFrame(rawFrame);
highSpeedFrame.rsErrors = totalRsErrors;
highSpeedFrame.rsErasures = totalRsErasures;
highSpeedFrame.setStpDate(timeOfStartSync);
} catch (FrameProcessException e) {
// The FoxId is corrupt, frame should not be decoded. RS has actually failed
return null;
}
return highSpeedFrame;
}
/**
*
* @param start - the circularBuffer pointer for the start of the bits in this frame
* @param end - end of frame bit pointer
* @param missedBits - a non zero value means we have to insert missed bits at this position
* @param repairPosition - the position that missed bits should be inserted
* @return
*/
protected byte[] decodeBytes(int start, int end, int missedBits, int repairPosition) {
RsCodeWord[] codeWords = new RsCodeWord[numberOfRsCodeWords];
boolean insertedMissedBits = false;
int bytesInFrame = 0;
byte[] rawFrame = new byte[maxBytes];
int[][] erasurePositions = new int[numberOfRsCodeWords][];
for (int q=0; q < numberOfRsCodeWords; q++) {
codeWords[q] = new RsCodeWord(rsPadding[q]);
erasurePositions[q] = new int[RsCodeWord.DATA_BYTES];
}
int[] numberOfErasures = new int[numberOfRsCodeWords];
if (rawFrame.length != (SYNC_WORD_DISTANCE-this.SYNC_WORD_LENGTH)/10)
Log.println("WARNING: Frame length " + rawFrame.length + " bytes is different to default SYNC word distance "+ (SYNC_WORD_DISTANCE/10-1));
// We have found a frame, so process it. start is the first bit of data
// end is the first bit after the second SYNC word. We do not
// want to pass the SYNC word to the FRAME, so we process all the
// bits up to but not including end-SYNC_WORD_LENGTH.
int f=0; // position in the Rs code words as we allocate bits to them
int rsNum = 0; // counter that remembers the RS Word we are adding bytes to
//int debugCount = 0;
// Traverse the bits between the frame markers and allocate the decoded bytes round robin back to the RS Code words
for (int j=start; j< end-SYNC_WORD_LENGTH; j+=10) {
if (Config.insertMissingBits && !insertedMissedBits && missedBits > 0 && j >= repairPosition) {
if (Config.debugFrames) {
Log.println("INSERTED "+ missedBits + " missed bits at " + repairPosition);
Log.println("RS Codeword: "+ rsNum + " byte: " + f);
Log.println("Byte num: "+ bytesInFrame);
}
j = j-missedBits;
insertedMissedBits = true;
}
byte b8 = -1;
try {
b8 = processWord(j);
} catch (LookupException e) {
if (Config.useRSerasures) {
// This is an invalid word, so process an erasure
// Put the position in the erasurePositions array
if (numberOfErasures[rsNum] < MAX_ERASURES) {
erasurePositions[rsNum][numberOfErasures[rsNum]] = f;
numberOfErasures[rsNum]++;
} else {
if (Config.debugFrames) {
int total=0;
for (int e1 : numberOfErasures)
total += e1;
Log.println("MAX ERASURES HIT: RS Decode Abandoned. Total: " + total);
}
return null;
}
}
}
bytesInFrame++;
if (bytesInFrame == frameSize+1) {
// first parity byte
//Log.println("parity");
// Reset to the first code word, this takes care of the different offsets
rsNum = 0;
//Next byte position in the codewords
f++;
}
try {
// if (Config.debugBytes) {
// String debug = (Decoder.plainhex(b8));
// debugCount++;
// Log.print((bytesInFrame-1)+":"+rsNum+":"+debug+" ");
// if (debugCount % 40 == 0) Log.println("");
// }
codeWords[rsNum++].addByte(b8);
} catch (ArrayIndexOutOfBoundsException e) {
e.printStackTrace(Log.getWriter());
}
if (rsNum == numberOfRsCodeWords) {
rsNum=0;
f++;
if (f > RsCodeWord.NN)
Log.println("ERROR: Allocated more high speed data that fits in an RSCodeWord");
}
}
if (Config.debugFrames || Config.debugRS)
Log.println("CAPTURED " + bytesInFrame + " high speed bytes");
// Now Decode all of the RS words and put the bytes back into the
// order we started with, but now with corrected data
//byte[] correctedBytes = new byte[RsCodeWord.DATA_BYTES];
for (int i=0; i < numberOfRsCodeWords; i++) {
if (numberOfErasures[i] < MAX_ERASURES) {
totalRsErasures += numberOfErasures[i];
//Log.println("LAST ERASURE: " + lastErasureNumber);
if (Config.useRSfec) {
if (Config.useRSerasures) codeWords[i].setErasurePositions(erasurePositions[i], numberOfErasures[i]);
codeWords[i].decode();
totalRsErrors += codeWords[i].getNumberOfCorrections();
//Log.println("LAST ERRORS: " + lastErrorsNumber);
if (!codeWords[i].validDecode()) {
// We had a failure to decode, so the frame is corrupt
if (Config.debugFrames) Log.println("FAILED RS DECODE FOR HS WORD " + i);
return null;
} else {
//Log.println("RS Decoder Successful for HS Data");
}
}
} else {
if (Config.debugFrames || Config.debugRS) {
int total=0;
for (int e : numberOfErasures)
total += e;
Log.println("Too many erasures, failure to decode. Total:" + total);
}
return null;
}
}
//// DEBUG ///
// System.out.println(codeWords[0]);
// System.out.println("Bytes in Frame: " + bytesInFrame);
f=0;
rsNum=0;
boolean needsPaddingOffset = false;
boolean readingParity = false;
// We have corrected the bytes, now allocate back to the rawFrame and add to the frame
// NEW ALGORITHM, TRUST THE CODE WORDS!
int i = 0; // position in frame
rsNum = 0;
while (i < bytesInFrame) {
if (readingParity && needsPaddingOffset && rsPadding[0] != rsPadding[rsNum] ) { // we have diff padding to the first, undo offset
rawFrame[i] = codeWords[rsNum].getByte(f-1);
//Log.print(i+ " RS OFF: "+rsNum+ " - " + (f-1) + " :");
//Log.println(Decoder.plainhex(codeWords[rsNum].getByte(f-1)));
} else {
rawFrame[i] = codeWords[rsNum].getByte(f);
//Log.print(i+ " RS: "+rsNum+ " - " + f + " :");
//Log.println(Decoder.plainhex(codeWords[rsNum].getByte(f)));
}
rsNum++;
i++;
if (rsNum == numberOfRsCodeWords) {
rsNum = 0;
f++;
}
if (i == frameSize) {
rsNum = 0;
//Log.println("PARITY: at " + frameSize);
readingParity=true;
int firstPad = rsPadding[0];
for (int p=0; p< rsPadding.length; p++) {
if (rsPadding[p] != firstPad)
needsPaddingOffset=true;
}
if (needsPaddingOffset) {
//Log.println("WE NEED OFFSET to padding");
f++; // put in an initial offset
}
}
}
return rawFrame;
}
}
| ac2cz/FoxTelem | src/decoder/HighSpeedBitStream.java | Java | gpl-3.0 | 9,988 |
---
title: "JNU में हिंसा सरकार प्रायोजित गुंडागर्दी है: कांग्रेस"
layout: item
category: ["politics"]
date: 2020-01-09T14:28:04.830Z
image: 1578580084830jnu-jairam-ramesh-congress.jpg
---
<p><strong>जयराम रमेश ने जम्मू कश्मीर में विदेशी प्रतिनिधिमंडल के दौरे को बताया राजनीतिक पर्यटन</strong></p>
<p>नई दिल्ली: कांग्रेस ने जवाहरलाल नेहरू विश्वविद्यालय (जेएनयू) में पिछले दिनों हिंसा को लेकर बृहस्पतिवार को आरोप लगाया कि इस घटना के लिए गृह मंत्री अमित शाह एवं मानव संसाधन विकास मंत्री रमेश पोखरियाल निशंक जिम्मेदार हैं।इसके अलावा जम्मू कश्मीर में विदेशी प्रतिनिधिमंडल के दौरे पर भी सवाल उठाये|</p>
<p>पार्टी के वरिष्ठ नेता जयराम रमेश ने यह भी कहा कि इस हिंसा में शामिल लोगों की तत्काल गिरफ्तारी होनी चाहिए तथा कुलपति एम जगदीश कुमार को तत्काल हटाया जाना चाहिए। उन्होंने संवाददाताओं से कहा, ‘‘जेएनयू की घटना के पीछे मानव संसाधन विकास मंत्री और गृह मंत्री दोनों शामिल हैं। यह आधिकारिक रूप से प्रयोजित गुंडागर्दी थी। 72 घंटे हो गए, लेकिन कोई गिरफ्तारी नहीं हुई।’’ उन्होंने कहा, ‘‘हमारी मांग है कि जिनकी पहचान हो गयी है उनको गिरफ्तार किया जाए। यह भी साफ है कि इस कुलपति के रहते सामान्य स्थिति नहीं हो सकती। इस कुलपति का त्याग पत्र लेना जरूरी है।’’ रमेश ने यह भी कहा कि छात्रों की जो मांगें हैं उन पर भी विचार होना चाहिए।</p>
<div class="yt-container"><iframe frameborder="0" allowfullscreen="allowfullscreen" src="https://www.youtube.com/embed/xL_pPqJ8yf4"></iframe></div>
<p>संशोधित नागरिकता कानून (सीएए) के खिलाफ विरोध प्रदर्शनों के दौरान मुंबई में ‘फ्री कश्मीर’ वाले पोस्टर पर उन्होंने कहा कि जो भी कानून के दायरे से बाहर होगा, कांग्रेस उसके खिलाफ है। </p>
<p>जम्मू कश्मीर में विदेशी प्रनिधिमण्डल के दौरे को राजनीतिक पर्यटन हुए जयराम रमेश ने कहा कि कांग्रेस मांग करती है की यह सब ड्रामेबाज़ी बंद हो और वहां जल्द से जल्द राजनीतिक गतिविधियां आरम्भ हों|</p> | InstantKhabar/_source | _source/news/2020-01-09-jairam-ramesh-jnu-violance-congress.html | HTML | gpl-3.0 | 4,038 |
module FirewallPiercer
class Server < FirewallPiercer::Utils::Server
def serve(socket)
FirewallPiercer::Utils::Socks::Server.new(socket).process
end
end
class TlsServer < FirewallPiercer::Utils::TlsServer
def serve(socket)
FirewallPiercer::Utils::Socks::Server.new(socket).process
end
end
end
| aeris/firewall-piercer | lib/firewall_piercer/server.rb | Ruby | gpl-3.0 | 312 |
/*
* EvilMusic - Web-Based Music Player
* Copyright (C) 2016 Joe Falascino
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
.em-progress-bar-container {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
align-content: center;
padding-top: 5px;
padding-bottom: 5px;
}
.em-progress-bar-canvas {
width: 100%;
height: 5px;
} | eviljoe/evilmusic | src/main/webapp/components/progress-bar/progress-bar.css | CSS | gpl-3.0 | 989 |
<?php
/**
* Layouts/Sidebar No active horizontal view
*
* @package photolab
*/
?><aside id="search" class="widget widget_search col-md-4">
{{ $search_form }}
</aside>
<aside id="archives" class="widget col-md-4">
<h3 class="widget-title">{{ __( 'Archives', 'photolab' ) }}</h3>
<ul>
{{ $archive_list }}
</ul>
</aside>
<aside id="meta" class="widget col-md-4">
<h3 class="widget-title">{{ __( 'Meta', 'photolab' ) }}</h3>
<ul>
{{ $wp_register }}
<li>{{ $wp_loginout }}</li>
{{ $wp_meta }}
</ul>
</aside>
| gcofficial/basetheme | app/views/layouts/sidebar-no-active-horizontal.php | PHP | gpl-3.0 | 524 |
### 8.2.2 Optimizing Subqueries, Derived Tables, and View References
- [8.2.2.1 Optimizing Subqueries, Derived Tables, and View References with Semijoin Transformations](https://dev.mysql.com/doc/refman/5.7/en/semijoins.html)
- [8.2.2.2 Optimizing Subqueries with Materialization](https://dev.mysql.com/doc/refman/5.7/en/subquery-materialization.html)
- [8.2.2.3 Optimizing Subqueries with the EXISTS Strategy](https://dev.mysql.com/doc/refman/5.7/en/subquery-optimization-with-exists.html)
- [8.2.2.4 Optimizing Derived Tables and View References with Merging or Materialization](https://dev.mysql.com/doc/refman/5.7/en/derived-table-optimization.html)
The MySQL query optimizer has different strategies available to evaluate subqueries:
- For `IN` (or `=ANY`) subqueries, the optimizer has these choices:
- Semijoin
- Materialization
- `EXISTS` strategy
- For `NOT IN` (or `<>ALL`) subqueries, the optimizer has these choices:
- Materialization
- `EXISTS` strategy
For derived tables, the optimizer has these choices (which also apply to view references):
- Merge the derived table into the outer query block
- Materialize the derived table to an internal temporary table
The following discussion provides more information about the preceding optimization strategies.
Note
A limitation on [`UPDATE`](https://dev.mysql.com/doc/refman/5.7/en/update.html) and [`DELETE`](https://dev.mysql.com/doc/refman/5.7/en/delete.html) statements that use a subquery to modify a single table is that the optimizer does not use semijoin or materialization subquery optimizations. As a workaround, try rewriting them as multiple-table [`UPDATE`](https://dev.mysql.com/doc/refman/5.7/en/update.html) and [`DELETE`](https://dev.mysql.com/doc/refman/5.7/en/delete.html) statements that use a join rather than a subquery.
#### 8.2.2.1 Optimizing Subqueries, Derived Tables, and View References with Semijoin Transformations
A semijoin is a preparation-time transformation that enables multiple execution strategies such as table pullout, duplicate weedout, first match, loose scan, and materialization. The optimizer uses semijoin strategies to improve subquery execution, as described in this section.
For an inner join between two tables, the join returns a row from one table as many times as there are matches in the other table. But for some questions, the only information that matters is whether there is a match, not the number of matches. Suppose that there are tables named `class` and `roster` that list classes in a course curriculum and class rosters (students enrolled in each class), respectively. To list the classes that actually have students enrolled, you could use this join:
```sql
SELECT class.class_num, class.class_name
FROM class INNER JOIN roster
WHERE class.class_num = roster.class_num;
```
However, the result lists each class once for each enrolled student. For the question being asked, this is unnecessary duplication of information.
Assuming that `class_num` is a primary key in the `class` table, duplicate suppression is possible by using [`SELECT DISTINCT`](https://dev.mysql.com/doc/refman/5.7/en/select.html), but it is inefficient to generate all matching rows first only to eliminate duplicates later.
The same duplicate-free result can be obtained by using a subquery:
```sql
SELECT class_num, class_name
FROM class
WHERE class_num IN (SELECT class_num FROM roster);
```
Here, the optimizer can recognize that the `IN` clause requires the subquery to return only one instance of each class number from the `roster` table. In this case, the query can use a semijoin; that is, an operation that returns only one instance of each row in `class` that is matched by rows in `roster`.
Outer join and inner join syntax is permitted in the outer query specification, and table references may be base tables, derived tables, or view references.
In MySQL, a subquery must satisfy these criteria to be handled as a semijoin:
- It must be an `IN` (or `=ANY`) subquery that appears at the top level of the `WHERE` or `ON` clause, possibly as a term in an [`AND`](https://dev.mysql.com/doc/refman/5.7/en/logical-operators.html#operator_and) expression. For example:
```sql
SELECT ...
FROM ot1, ...
WHERE (oe1, ...) IN (SELECT ie1, ... FROM it1, ... WHERE ...);
```
Here, `ot_*`i`*` and `it_*`i`*` represent tables in the outer and inner parts of the query, and `oe_*`i`*` and `ie_*`i`*` represent expressions that refer to columns in the outer and inner tables.
- It must be a single [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) without [`UNION`](https://dev.mysql.com/doc/refman/5.7/en/union.html) constructs.
- It must not contain a `GROUP BY` or `HAVING` clause.
- It must not be implicitly grouped (it must contain no aggregate functions).
- It must not have `ORDER BY` with `LIMIT`.
- The statement must not use the `STRAIGHT_JOIN` join type in the outer query.
- The `STRAIGHT_JOIN` modifier must not be present.
- The number of outer and inner tables together must be less than the maximum number of tables permitted in a join.
The subquery may be correlated or uncorrelated. `DISTINCT` is permitted, as is `LIMIT` unless `ORDER BY` is also used.
If a subquery meets the preceding criteria, MySQL converts it to a semijoin and makes a cost-based choice from these strategies:
- Convert the subquery to a join, or use table pullout and run the query as an inner join between subquery tables and outer tables. Table pullout pulls a table out from the subquery to the outer query.
- Duplicate Weedout: Run the semijoin as if it was a join and remove duplicate records using a temporary table.
- FirstMatch: When scanning the inner tables for row combinations and there are multiple instances of a given value group, choose one rather than returning them all. This "shortcuts" scanning and eliminates production of unnecessary rows.
- LooseScan: Scan a subquery table using an index that enables a single value to be chosen from each subquery's value group.
- Materialize the subquery into an indexed temporary table that is used to perform a join, where the index is used to remove duplicates. The index might also be used later for lookups when joining the temporary table with the outer tables; if not, the table is scanned. For more information about materialization, see [Section 8.2.2.2, “Optimizing Subqueries with Materialization”](https://dev.mysql.com/doc/refman/5.7/en/subquery-materialization.html).
Each of these strategies can be enabled or disabled using the following [`optimizer_switch`](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch) system variable flags:
- The `semijoin` flag controls whether semijoins are used.
- If `semijoin` is enabled, the `firstmatch`, `loosescan`, `duplicateweedout`, and `materialization` flags enable finer control over the permitted semijoin strategies.
- If the `duplicateweedout` semijoin strategy is disabled, it is not used unless all other applicable strategies are also disabled.
- If `duplicateweedout` is disabled, on occasion the optimizer may generate a query plan that is far from optimal. This occurs due to heuristic pruning during greedy search, which can be avoided by setting [`optimizer_prune_level=0`](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_prune_level).
These flags are enabled by default. See [Section 8.9.2, “Switchable Optimizations”](https://dev.mysql.com/doc/refman/5.7/en/switchable-optimizations.html).
The optimizer minimizes differences in handling of views and derived tables. This affects queries that use the `STRAIGHT_JOIN` modifier and a view with an `IN` subquery that can be converted to a semijoin. The following query illustrates this because the change in processing causes a change in transformation, and thus a different execution strategy:
```sql
CREATE VIEW v AS
SELECT *
FROM t1
WHERE a IN (SELECT b
FROM t2);
SELECT STRAIGHT_JOIN *
FROM t3 JOIN v ON t3.x = v.a;
```
The optimizer first looks at the view and converts the `IN` subquery to a semijoin, then checks whether it is possible to merge the view into the outer query. Because the `STRAIGHT_JOIN` modifier in the outer query prevents semijoin, the optimizer refuses the merge, causing derived table evaluation using a materialized table.
[`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) output indicates the use of semijoin strategies as follows:
- Semijoined tables show up in the outer select. For extended [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) output, the text displayed by a following [`SHOW WARNINGS`](https://dev.mysql.com/doc/refman/5.7/en/show-warnings.html) shows the rewritten query, which displays the semijoin structure. (See [Section 8.8.3, “Extended EXPLAIN Output Format”](https://dev.mysql.com/doc/refman/5.7/en/explain-extended.html).) From this you can get an idea about which tables were pulled out of the semijoin. If a subquery was converted to a semijoin, you will see that the subquery predicate is gone and its tables and `WHERE` clause were merged into the outer query join list and `WHERE` clause.
- Temporary table use for Duplicate Weedout is indicated by `Start temporary` and `End temporary` in the `Extra` column. Tables that were not pulled out and are in the range of [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) output rows covered by `Start temporary` and `End temporary` have their `rowid` in the temporary table.
- `FirstMatch(*`tbl_name`*)` in the `Extra` column indicates join shortcutting.
- `LooseScan(*`m`*..*`n`*)` in the `Extra` column indicates use of the LooseScan strategy. *`m`* and *`n`* are key part numbers.
- Temporary table use for materialization is indicated by rows with a `select_type` value of `MATERIALIZED` and rows with a `table` value of `<subquery*`N`*>`.
#### 8.2.2.2 Optimizing Subqueries with Materialization
The optimizer uses materialization to enable more efficient subquery processing. Materialization speeds up query execution by generating a subquery result as a temporary table, normally in memory. The first time MySQL needs the subquery result, it materializes that result into a temporary table. Any subsequent time the result is needed, MySQL refers again to the temporary table. The optimizer may index the table with a hash index to make lookups fast and inexpensive. The index contains unique values to eliminate duplicates and make the table smaller.
Subquery materialization uses an in-memory temporary table when possible, falling back to on-disk storage if the table becomes too large. See [Section 8.4.4, “Internal Temporary Table Use in MySQL”](https://dev.mysql.com/doc/refman/5.7/en/internal-temporary-tables.html).
If materialization is not used, the optimizer sometimes rewrites a noncorrelated subquery as a correlated subquery. For example, the following `IN` subquery is noncorrelated (*`where_condition`* involves only columns from `t2` and not `t1`):
```sql
SELECT * FROM t1
WHERE t1.a IN (SELECT t2.b FROM t2 WHERE where_condition);
```
The optimizer might rewrite this as an `EXISTS` correlated subquery:
```sql
SELECT * FROM t1
WHERE EXISTS (SELECT t2.b FROM t2 WHERE where_condition AND t1.a=t2.b);
```
Subquery materialization using a temporary table avoids such rewrites and makes it possible to execute the subquery only once rather than once per row of the outer query.
For subquery materialization to be used in MySQL, the [`optimizer_switch`](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch) system variable `materialization` flag must be enabled. (See [Section 8.9.2, “Switchable Optimizations”](https://dev.mysql.com/doc/refman/5.7/en/switchable-optimizations.html).) With the `materialization` flag enabled, materialization applies to subquery predicates that appear anywhere (in the select list, `WHERE`, `ON`, `GROUP BY`, `HAVING`, or `ORDER BY`), for predicates that fall into any of these use cases:
- The predicate has this form, when no outer expression *`oe_i`* or inner expression *`ie_i`* is nullable. *`N`* is 1 or larger.
```sql
(oe_1, oe_2, ..., oe_N) [NOT] IN (SELECT ie_1, i_2, ..., ie_N ...)
```
- The predicate has this form, when there is a single outer expression *`oe`* and inner expression *`ie`*. The expressions can be nullable.
```sql
oe [NOT] IN (SELECT ie ...)
```
- The predicate is `IN` or `NOT IN` and a result of `UNKNOWN` (`NULL`) has the same meaning as a result of `FALSE`.
The following examples illustrate how the requirement for equivalence of `UNKNOWN` and `FALSE` predicate evaluation affects whether subquery materialization can be used. Assume that *`where_condition`* involves columns only from `t2` and not `t1` so that the subquery is noncorrelated.
This query is subject to materialization:
```sql
SELECT * FROM t1
WHERE t1.a IN (SELECT t2.b FROM t2 WHERE where_condition);
```
Here, it does not matter whether the `IN` predicate returns `UNKNOWN` or `FALSE`. Either way, the row from `t1` is not included in the query result.
An example where subquery materialization is not used is the following query, where `t2.b` is a nullable column:
```sql
SELECT * FROM t1
WHERE (t1.a,t1.b) NOT IN (SELECT t2.a,t2.b FROM t2
WHERE where_condition);
```
The following restrictions apply to the use of subquery materialization:
- The types of the inner and outer expressions must match. For example, the optimizer might be able to use materialization if both expressions are integer or both are decimal, but cannot if one expression is integer and the other is decimal.
- The inner expression cannot be a [`BLOB`](https://dev.mysql.com/doc/refman/5.7/en/blob.html).
Use of [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) with a query provides some indication of whether the optimizer uses subquery materialization:
- Compared to query execution that does not use materialization, `select_type` may change from `DEPENDENT SUBQUERY` to `SUBQUERY`. This indicates that, for a subquery that would be executed once per outer row, materialization enables the subquery to be executed just once.
- For extended [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) output, the text displayed by a following [`SHOW WARNINGS`](https://dev.mysql.com/doc/refman/5.7/en/show-warnings.html) includes `materialize` and `materialized-subquery`.
#### 8.2.2.3 Optimizing Subqueries with the EXISTS Strategy
Certain optimizations are applicable to comparisons that use the `IN` (or `=ANY`) operator to test subquery results. This section discusses these optimizations, particularly with regard to the challenges that `NULL` values present. The last part of the discussion suggests how you can help the optimizer.
Consider the following subquery comparison:
```sql
outer_expr IN (SELECT inner_expr FROM ... WHERE subquery_where)
```
MySQL evaluates queries “from outside to inside.” That is, it first obtains the value of the outer expression *`outer_expr`*, and then runs the subquery and captures the rows that it produces.
A very useful optimization is to “inform” the subquery that the only rows of interest are those where the inner expression *`inner_expr`* is equal to *`outer_expr`*. This is done by pushing down an appropriate equality into the subquery's `WHERE` clause to make it more restrictive. The converted comparison looks like this:
```sql
EXISTS (SELECT 1 FROM ... WHERE subquery_where AND outer_expr=inner_expr)
```
After the conversion, MySQL can use the pushed-down equality to limit the number of rows it must examine to evaluate the subquery.
More generally, a comparison of *`N`* values to a subquery that returns *`N`*-value rows is subject to the same conversion. If *`oe_i`* and *`ie_i`* represent corresponding outer and inner expression values, this subquery comparison:
```sql
(oe_1, ..., oe_N) IN
(SELECT ie_1, ..., ie_N FROM ... WHERE subquery_where)
```
Becomes:
```sql
EXISTS (SELECT 1 FROM ... WHERE subquery_where
AND oe_1 = ie_1
AND ...
AND oe_N = ie_N)
```
For simplicity, the following discussion assumes a single pair of outer and inner expression values.
The conversion just described has its limitations. It is valid only if we ignore possible `NULL` values. That is, the “pushdown” strategy works as long as both of these conditions are true:
- *`outer_expr`* and *`inner_expr`* cannot be `NULL`.
- You need not distinguish `NULL` from `FALSE` subquery results. If the subquery is a part of an [`OR`](https://dev.mysql.com/doc/refman/5.7/en/logical-operators.html#operator_or) or [`AND`](https://dev.mysql.com/doc/refman/5.7/en/logical-operators.html#operator_and) expression in the `WHERE` clause, MySQL assumes that you do not care. Another instance where the optimizer notices that `NULL` and `FALSE` subquery results need not be distinguished is this construct:
```sql
... WHERE outer_expr IN (subquery)
```
In this case, the `WHERE` clause rejects the row whether `IN (*`subquery`*)` returns `NULL` or `FALSE`.
When either or both of those conditions do not hold, optimization is more complex.
Suppose that *`outer_expr`* is known to be a non-`NULL` value but the subquery does not produce a row such that *`outer_expr`* = *`inner_expr`*. Then `*`outer_expr`* IN (SELECT ...)` evaluates as follows:
- `NULL`, if the [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) produces any row where *`inner_expr`* is `NULL`
- `FALSE`, if the [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) produces only non-`NULL` values or produces nothing
In this situation, the approach of looking for rows with `*`outer_expr`* = *`inner_expr`*` is no longer valid. It is necessary to look for such rows, but if none are found, also look for rows where *`inner_expr`* is `NULL`. Roughly speaking, the subquery can be converted to something like this:
```sql
EXISTS (SELECT 1 FROM ... WHERE subquery_where AND
(outer_expr=inner_expr OR inner_expr IS NULL))
```
The need to evaluate the extra [`IS NULL`](https://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html#operator_is-null) condition is why MySQL has the [`ref_or_null`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_ref_or_null) access method:
```sql
mysql> EXPLAIN
SELECT outer_expr IN (SELECT t2.maybe_null_key
FROM t2, t3 WHERE ...)
FROM t1;
*************************** 1. row ***************************
id: 1
select_type: PRIMARY
table: t1
...
*************************** 2. row ***************************
id: 2
select_type: DEPENDENT SUBQUERY
table: t2
type: ref_or_null
possible_keys: maybe_null_key
key: maybe_null_key
key_len: 5
ref: func
rows: 2
Extra: Using where; Using index
...
```
The [`unique_subquery`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_unique_subquery) and [`index_subquery`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_index_subquery) subquery-specific access methods also have “or `NULL`” variants.
The additional `OR ... IS NULL` condition makes query execution slightly more complicated (and some optimizations within the subquery become inapplicable), but generally this is tolerable.
The situation is much worse when *`outer_expr`* can be `NULL`. According to the SQL interpretation of `NULL` as “unknown value,” `NULL IN (SELECT *`inner_expr`* ...)` should evaluate to:
- `NULL`, if the [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) produces any rows
- `FALSE`, if the [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) produces no rows
For proper evaluation, it is necessary to be able to check whether the [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) has produced any rows at all, so `*`outer_expr`* = *`inner_expr`*` cannot be pushed down into the subquery. This is a problem because many real world subqueries become very slow unless the equality can be pushed down.
Essentially, there must be different ways to execute the subquery depending on the value of *`outer_expr`*.
The optimizer chooses SQL compliance over speed, so it accounts for the possibility that *`outer_expr`* might be `NULL`:
- If *`outer_expr`* is `NULL`, to evaluate the following expression, it is necessary to execute the [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) to determine whether it produces any rows:
```sql
NULL IN (SELECT inner_expr FROM ... WHERE subquery_where)
```
It is necessary to execute the original [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) here, without any pushed-down equalities of the kind mentioned previously.
- On the other hand, when *`outer_expr`* is not `NULL`, it is absolutely essential that this comparison:
```sql
outer_expr IN (SELECT inner_expr FROM ... WHERE subquery_where)
```
Be converted to this expression that uses a pushed-down condition:
```sql
EXISTS (SELECT 1 FROM ... WHERE subquery_where AND outer_expr=inner_expr)
```
Without this conversion, subqueries will be slow.
To solve the dilemma of whether or not to push down conditions into the subquery, the conditions are wrapped within “trigger” functions. Thus, an expression of the following form:
```sql
outer_expr IN (SELECT inner_expr FROM ... WHERE subquery_where)
```
Is converted into:
```sql
EXISTS (SELECT 1 FROM ... WHERE subquery_where
AND trigcond(outer_expr=inner_expr))
```
More generally, if the subquery comparison is based on several pairs of outer and inner expressions, the conversion takes this comparison:
```sql
(oe_1, ..., oe_N) IN (SELECT ie_1, ..., ie_N FROM ... WHERE subquery_where)
```
And converts it to this expression:
```sql
EXISTS (SELECT 1 FROM ... WHERE subquery_where
AND trigcond(oe_1=ie_1)
AND ...
AND trigcond(oe_N=ie_N)
)
```
Each `trigcond(*`X`*)` is a special function that evaluates to the following values:
- *`X`* when the “linked” outer expression *`oe_i`* is not `NULL`
- `TRUE` when the “linked” outer expression *`oe_i`* is `NULL`
Note
Trigger functions are *not* triggers of the kind that you create with [`CREATE TRIGGER`](https://dev.mysql.com/doc/refman/5.7/en/create-trigger.html).
Equalities that are wrapped within `trigcond()` functions are not first class predicates for the query optimizer. Most optimizations cannot deal with predicates that may be turned on and off at query execution time, so they assume any `trigcond(*`X`*)` to be an unknown function and ignore it. Triggered equalities can be used by those optimizations:
- Reference optimizations: `trigcond(*`X`*=*`Y`* [OR *`Y`* IS NULL])` can be used to construct [`ref`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_ref), [`eq_ref`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_eq_ref), or [`ref_or_null`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_ref_or_null) table accesses.
- Index lookup-based subquery execution engines: `trigcond(*`X`*=*`Y`*)` can be used to construct [`unique_subquery`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_unique_subquery) or [`index_subquery`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_index_subquery) accesses.
- Table-condition generator: If the subquery is a join of several tables, the triggered condition is checked as soon as possible.
When the optimizer uses a triggered condition to create some kind of index lookup-based access (as for the first two items of the preceding list), it must have a fallback strategy for the case when the condition is turned off. This fallback strategy is always the same: Do a full table scan. In [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) output, the fallback shows up as `Full scan on NULL key` in the `Extra` column:
```sql
mysql> EXPLAIN SELECT t1.col1,
t1.col1 IN (SELECT t2.key1 FROM t2 WHERE t2.col2=t1.col2) FROM t1\G
*************************** 1. row ***************************
id: 1
select_type: PRIMARY
table: t1
...
*************************** 2. row ***************************
id: 2
select_type: DEPENDENT SUBQUERY
table: t2
type: index_subquery
possible_keys: key1
key: key1
key_len: 5
ref: func
rows: 2
Extra: Using where; Full scan on NULL key
```
If you run [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) followed by [`SHOW WARNINGS`](https://dev.mysql.com/doc/refman/5.7/en/show-warnings.html), you can see the triggered condition:
```none
*************************** 1. row ***************************
Level: Note
Code: 1003
Message: select `test`.`t1`.`col1` AS `col1`,
<in_optimizer>(`test`.`t1`.`col1`,
<exists>(<index_lookup>(<cache>(`test`.`t1`.`col1`) in t2
on key1 checking NULL
where (`test`.`t2`.`col2` = `test`.`t1`.`col2`) having
trigcond(<is_not_null_test>(`test`.`t2`.`key1`))))) AS
`t1.col1 IN (select t2.key1 from t2 where t2.col2=t1.col2)`
from `test`.`t1`
```
The use of triggered conditions has some performance implications. A `NULL IN (SELECT ...)` expression now may cause a full table scan (which is slow) when it previously did not. This is the price paid for correct results (the goal of the trigger-condition strategy is to improve compliance, not speed).
For multiple-table subqueries, execution of `NULL IN (SELECT ...)` is particularly slow because the join optimizer does not optimize for the case where the outer expression is `NULL`. It assumes that subquery evaluations with `NULL` on the left side are very rare, even if there are statistics that indicate otherwise. On the other hand, if the outer expression might be `NULL` but never actually is, there is no performance penalty.
To help the query optimizer better execute your queries, use these suggestions:
- Declare a column as `NOT NULL` if it really is. This also helps other aspects of the optimizer by simplifying condition testing for the column.
- If you need not distinguish a `NULL` from `FALSE` subquery result, you can easily avoid the slow execution path. Replace a comparison that looks like this:
```sql
outer_expr IN (SELECT inner_expr FROM ...)
```
with this expression:
```sql
(outer_expr IS NOT NULL) AND (outer_expr IN (SELECT inner_expr FROM ...))
```
Then `NULL IN (SELECT ...)` is never evaluated because MySQL stops evaluating [`AND`](https://dev.mysql.com/doc/refman/5.7/en/logical-operators.html#operator_and) parts as soon as the expression result is clear.
Another possible rewrite:
```sql
EXISTS (SELECT inner_expr FROM ...
WHERE inner_expr=outer_expr)
```
This would apply when you need not distinguish `NULL` from `FALSE` subquery results, in which case you may actually want `EXISTS`.
The `subquery_materialization_cost_based` flag of the [`optimizer_switch`](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch) system variable enables control over the choice between subquery materialization and `IN`-to-`EXISTS` subquery transformation. See [Section 8.9.2, “Switchable Optimizations”](https://dev.mysql.com/doc/refman/5.7/en/switchable-optimizations.html).
#### 8.2.2.4 Optimizing Derived Tables and View References with Merging or Materialization
The optimizer can handle derived table references using two strategies (which also apply to view references):
- Merge the derived table into the outer query block
- Materialize the derived table to an internal temporary table
Example 1:
```sql
SELECT * FROM (SELECT * FROM t1) AS derived_t1;
```
With merging of the derived table `derived_t1`, that query is executed similar to:
```sql
SELECT * FROM t1;
```
Example 2:
```sql
SELECT *
FROM t1 JOIN (SELECT t2.f1 FROM t2) AS derived_t2 ON t1.f2=derived_t2.f1
WHERE t1.f1 > 0;
```
With merging of the derived table `derived_t2`, that query is executed similar to:
```sql
SELECT t1.*, t2.f1
FROM t1 JOIN t2 ON t1.f2=t2.f1
WHERE t1.f1 > 0;
```
With materialization, `derived_t1` and `derived_t2` are each treated as a separate table within their respective queries.
The optimizer handles derived tables and view references the same way: It avoids unnecessary materialization whenever possible, which enables pushing down conditions from the outer query to derived tables and produces more efficient execution plans. (For an example, see [Section 8.2.2.2, “Optimizing Subqueries with Materialization”](https://dev.mysql.com/doc/refman/5.7/en/subquery-materialization.html).)
If merging would result in an outer query block that references more than 61 base tables, the optimizer chooses materialization instead.
The optimizer propagates an `ORDER BY` clause in a derived table or view reference to the outer query block if these conditions are all true:
- The outer query is not grouped or aggregated.
- The outer query does not specify `DISTINCT`, `HAVING`, or `ORDER BY`.
- The outer query has this derived table or view reference as the only source in the `FROM` clause.
Otherwise, the optimizer ignores the `ORDER BY` clause.
The following means are available to influence whether the optimizer attempts to merge derived tables and view references into the outer query block:
- The `derived_merge` flag of the [`optimizer_switch`](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch) system variable can be used, assuming that no other rule prevents merging. See [Section 8.9.2, “Switchable Optimizations”](https://dev.mysql.com/doc/refman/5.7/en/switchable-optimizations.html). By default, the flag is enabled to permit merging. Disabling the flag prevents merging and avoids [`ER_UPDATE_TABLE_USED`](https://dev.mysql.com/doc/mysql-errors/5.7/en/server-error-reference.html#error_er_update_table_used) errors.
The `derived_merge` flag also applies to views that contain no `ALGORITHM` clause. Thus, if an [`ER_UPDATE_TABLE_USED`](https://dev.mysql.com/doc/mysql-errors/5.7/en/server-error-reference.html#error_er_update_table_used) error occurs for a view reference that uses an expression equivalent to the subquery, adding `ALGORITHM=TEMPTABLE` to the view definition prevents merging and takes precedence over the `derived_merge` value.
- It is possible to disable merging by using in the subquery any constructs that prevent merging, although these are not as explicit in their effect on materialization. Constructs that prevent merging are the same for derived tables and view references:
- Aggregate functions ([`SUM()`](https://dev.mysql.com/doc/refman/5.7/en/aggregate-functions.html#function_sum), [`MIN()`](https://dev.mysql.com/doc/refman/5.7/en/aggregate-functions.html#function_min), [`MAX()`](https://dev.mysql.com/doc/refman/5.7/en/aggregate-functions.html#function_max), [`COUNT()`](https://dev.mysql.com/doc/refman/5.7/en/aggregate-functions.html#function_count), and so forth)
- `DISTINCT`
- `GROUP BY`
- `HAVING`
- `LIMIT`
- [`UNION`](https://dev.mysql.com/doc/refman/5.7/en/union.html) or [`UNION ALL`](https://dev.mysql.com/doc/refman/5.7/en/union.html)
- Subqueries in the select list
- Assignments to user variables
- Refererences only to literal values (in this case, there is no underlying table)
The `derived_merge` flag also applies to views that contain no `ALGORITHM` clause. Thus, if an [`ER_UPDATE_TABLE_USED`](https://dev.mysql.com/doc/mysql-errors/5.7/en/server-error-reference.html#error_er_update_table_used) error occurs for a view reference that uses an expression equivalent to the subquery, adding `ALGORITHM=TEMPTABLE` to the view definition prevents merging and takes precedence over the current `derived_merge` value.
If the optimizer chooses the materialization strategy rather than merging for a derived table, it handles the query as follows:
- The optimizer postpones derived table materialization until its contents are needed during query execution. This improves performance because delaying materialization may result in not having to do it at all. Consider a query that joins the result of a derived table to another table: If the optimizer processes that other table first and finds that it returns no rows, the join need not be carried out further and the optimizer can completely skip materializing the derived table.
- During query execution, the optimizer may add an index to a derived table to speed up row retrieval from it.
Consider the following [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) statement, for a [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) query that contains a derived table:
```sql
EXPLAIN SELECT * FROM (SELECT * FROM t1) AS derived_t1;
```
The optimizer avoids materializing the derived table by delaying it until the result is needed during [`SELECT`](https://dev.mysql.com/doc/refman/5.7/en/select.html) execution. In this case, the query is not executed (because it occurs in an [`EXPLAIN`](https://dev.mysql.com/doc/refman/5.7/en/explain.html) statement), so the result is never needed.
Even for queries that are executed, delay of derived table materialization may enable the optimizer to avoid materialization entirely. When this happens, query execution is quicker by the time needed to perform materialization. Consider the following query, which joins the result of a derived table to another table:
```sql
SELECT *
FROM t1 JOIN (SELECT t2.f1 FROM t2) AS derived_t2
ON t1.f2=derived_t2.f1
WHERE t1.f1 > 0;
```
If the optimization processes `t1` first and the `WHERE` clause produces an empty result, the join must necessarily be empty and the derived table need not be materialized.
For cases when a derived table requires materialization, the optimizer may add an index to the materialized table to speed up access to it. If such an index enables [`ref`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_ref) access to the table, it can greatly reduce amount of data read during query execution. Consider the following query:
```sql
SELECT *
FROM t1 JOIN (SELECT DISTINCT f1 FROM t2) AS derived_t2
ON t1.f1=derived_t2.f1;
```
The optimizer constructs an index over column `f1` from `derived_t2` if doing so would enable use of [`ref`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_ref) access for the lowest cost execution plan. After adding the index, the optimizer can treat the materialized derived table the same as a regular table with an index, and it benefits similarly from the generated index. The overhead of index creation is negligible compared to the cost of query execution without the index. If [`ref`](https://dev.mysql.com/doc/refman/5.7/en/explain-output.html#jointype_ref) access would result in higher cost than some other access method, the optimizer creates no index and loses nothing.
For optimizer trace output, a merged derived table or view reference is not shown as a node. Only its underlying tables appear in the top query's plan.
> https://dev.mysql.com/doc/refman/5.7/en/subquery-optimization.html
| cncounter/translation | tiemao_2020/35_mysql_optimization/8.2.2-subquery-optimization.md | Markdown | gpl-3.0 | 35,719 |
<!DOCTYPE html>
<html xml:lang="en-GB" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head lang="en-GB">
<title>Ross Gammon’s Family Tree - Family of MARRIED, Never and LUCAS, Ellen</title>
<meta charset="UTF-8" />
<meta name ="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" />
<meta name ="apple-mobile-web-app-capable" content="yes" />
<meta name="generator" content="Gramps 4.2.8 http://gramps-project.org/" />
<meta name="author" content="" />
<link href="../../../images/favicon2.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../../css/narrative-screen.css" media="screen" rel="stylesheet" type="text/css" />
<link href="../../../css/narrative-print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<h1 id="SiteTitle">Ross Gammon’s Family Tree</h1>
</div>
<div class="wrapper" id="nav" role="navigation">
<div class="container">
<ul class="menu" id="dropmenu">
<li><a href="../../../individuals.html" title="Individuals">Individuals</a></li>
<li><a href="../../../index.html" title="Surnames">Surnames</a></li>
<li class = "CurrentSection"><a href="../../../families.html" title="Families">Families</a></li>
<li><a href="../../../events.html" title="Events">Events</a></li>
<li><a href="../../../places.html" title="Places">Places</a></li>
<li><a href="../../../sources.html" title="Sources">Sources</a></li>
<li><a href="../../../repositories.html" title="Repositories">Repositories</a></li>
<li><a href="../../../media.html" title="Media">Media</a></li>
<li><a href="../../../thumbnails.html" title="Thumbnails">Thumbnails</a></li>
</ul>
</div>
</div>
<div class="content" id="RelationshipDetail">
<h2>Family of MARRIED, Never and LUCAS, Ellen<sup><small></small></sup></h2>
<div class="subsection" id="families">
<h4>Families</h4>
<table class="infolist">
<tr class="BeginFamily">
<td class="ColumnType">Unknown</td>
<td class="ColumnAttribute">Partner</td>
<td class="ColumnValue">
<a href="../../../ppl/e/0/d15f603cfa753ede392ed4c0f0e.html">MARRIED, Never<span class="grampsid"> [I10801]</span></a>
</td>
</tr>
<tr class="BeginFamily">
<td class="ColumnType">Unknown</td>
<td class="ColumnAttribute">Partner</td>
<td class="ColumnValue">
<a href="../../../ppl/1/1/d15f603cf002b7550132d617711.html">LUCAS, Ellen<span class="grampsid"> [I10800]</span></a>
</td>
</tr>
<tr>
<td class="ColumnType"> </td>
<td class="ColumnAttribute"> </td>
<td class="ColumnValue">
<table class="infolist eventlist">
<thead>
<tr>
<th class="ColumnEvent">Event</th>
<th class="ColumnDate">Date</th>
<th class="ColumnPlace">Place</th>
<th class="ColumnDescription">Description</th>
<th class="ColumnNotes">Notes</th>
<th class="ColumnSources">Sources</th>
</tr>
</thead>
<tbody>
<tr>
<td class="ColumnEvent">
<a href="../../../evt/a/b/d15f60d37c44dd74185a056e8ba.html" title="Family (Primary)">
Family (Primary)
<span class="grampsid"> [E25192]</span>
</a>
</td>
<td class="ColumnDate"> </td>
<td class="ColumnPlace"> </td>
<td class="ColumnDescription"> </td>
<td class="ColumnNotes">
<div>
</div>
</td>
<td class="ColumnSources">
<a href="#sref1a">1a</a>
</td>
</tr>
</tbody>
</table>
</td>
<tr>
<td class="ColumnType"> </td>
<td class="ColumnAttribute">Attributes</td>
<td class="ColumnValue">
<table class="infolist attrlist">
<thead>
<tr>
<th class="ColumnType">Type</th>
<th class="ColumnValue">Value</th>
<th class="ColumnNotes">Notes</th>
<th class="ColumnSources">Sources</th>
</tr>
</thead>
<tbody>
<tr>
<td class="ColumnType">_UID</td>
<td class="ColumnValue">603E9332C9EFA945A17E7CC1F40BE4B2FA80</td>
<td class="ColumnNotes"><div></div></td>
<td class="ColumnSources"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tr>
</table>
</div>
<div class="subsection" id="attributes">
<h4>Attributes</h4>
<table class="infolist attrlist">
<thead>
<tr>
<th class="ColumnType">Type</th>
<th class="ColumnValue">Value</th>
<th class="ColumnNotes">Notes</th>
<th class="ColumnSources">Sources</th>
</tr>
</thead>
<tbody>
<tr>
<td class="ColumnType">_UID</td>
<td class="ColumnValue">603E9332C9EFA945A17E7CC1F40BE4B2FA80</td>
<td class="ColumnNotes"><div></div></td>
<td class="ColumnSources"> </td>
</tr>
</tbody>
</table>
</div>
<div class="subsection" id="sourcerefs">
<h4>Source References</h4>
<ol>
<li>
<a href="../../../src/4/d/d15f601142f4494b579943864d4.html" title="Frank Lee: GEDCOM File : CharlesLUCAS.ged" name ="sref1">
Frank Lee: GEDCOM File : CharlesLUCAS.ged
<span class="grampsid"> [S0303]</span>
</a>
<ol>
<li id="sref1a">
<ul>
<li>
Confidence: Low
</li>
</ul>
</li>
</ol>
</li>
</ol>
</div>
</div>
<div class="fullclear"></div>
<div id="footer">
<p id="createdate">
Generated by <a href="http://gramps-project.org/">Gramps</a> 4.2.8<br />Last change was the 2015-08-05 19:55:53<br />Created for <a href="../../../ppl/9/e/d15f5fb48902c4fc1b421d249e9.html">GAMMON, Francis</a>
</p>
<p id="copyright">
</p>
</div>
</body>
</html>
| RossGammon/the-gammons.net | RossFamilyTree/fam/f/b/d15f603cf437be2fd39fdf53cbf.html | HTML | gpl-3.0 | 5,845 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>libopencm3: Globals</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libopencm3
</div>
<div id="projectbrief">A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>libopencm3</span></a></li>
<li><a href="pages.html"><span>General Information</span></a></li>
<li><a href="../../html/index.html"><span>Back to Top</span></a></li>
<li><a href="../../cm3/html/modules.html"><span>CM3 Core</span></a></li>
<li><a href="../../usb/html/modules.html"><span>Generic USB</span></a></li>
<li><a href="../../stm32f0/html/modules.html"><span>STM32F0</span></a></li>
<li><a href="../../stm32f1/html/modules.html"><span>STM32F1</span></a></li>
<li><a href="../../stm32f2/html/modules.html"><span>STM32F2</span></a></li>
<li><a href="../../stm32f3/html/modules.html"><span>STM32F3</span></a></li>
<li><a href="../../stm32f4/html/modules.html"><span>STM32F4</span></a></li>
<li><a href="../../stm32l0/html/modules.html"><span>STM32L0</span></a></li>
<li><a href="modules.html"><span>STM32L1</span></a></li>
<li><a href="../../lm3s/html/modules.html"><span>LM3S</span></a></li>
<li><a href="../../lm4f/html/modules.html"><span>LM4F</span></a></li>
<li><a href="../../lpc13xx/html/modules.html"><span>LPC13</span></a></li>
<li><a href="../../lpc17xx/html/modules.html"><span>LPC17</span></a></li>
<li><a href="../../lpc43xx/html/modules.html"><span>LPC43</span></a></li>
<li><a href="../../efm32g/html/modules.html"><span>EFM32 Gecko</span></a></li>
<li><a href="../../efm32gg/html/modules.html"><span>EFM32 Giant Gecko</span></a></li>
<li><a href="../../efm32lg/html/modules.html"><span>EFM32 Leopard Gecko</span></a></li>
<li><a href="../../efm32tg/html/modules.html"><span>EFM32 Tiny Gecko</span></a></li>
<li><a href="../../sam3a/html/modules.html"><span>SAM3A</span></a></li>
<li><a href="../../sam3n/html/modules.html"><span>SAM3N</span></a></li>
<li><a href="../../sam3s/html/modules.html"><span>SAM3S</span></a></li>
<li><a href="../../sam3u/html/modules.html"><span>SAM3U</span></a></li>
<li><a href="../../sam3x/html/modules.html"><span>SAM3X</span></a></li>
<li><a href="../../vf6xx/html/modules.html"><span>VF6XX</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li class="current"><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
<div id="navrow3" class="tabs2">
<ul class="tablist">
<li><a href="globals.html"><span>All</span></a></li>
<li class="current"><a href="globals_func.html"><span>Functions</span></a></li>
<li><a href="globals_vars.html"><span>Variables</span></a></li>
<li><a href="globals_enum.html"><span>Enumerations</span></a></li>
<li><a href="globals_eval.html"><span>Enumerator</span></a></li>
<li><a href="globals_defs.html"><span>Macros</span></a></li>
</ul>
</div>
<div id="navrow4" class="tabs3">
<ul class="tablist">
<li><a href="globals_func.html#index_a"><span>a</span></a></li>
<li><a href="globals_func_c.html#index_c"><span>c</span></a></li>
<li><a href="globals_func_d.html#index_d"><span>d</span></a></li>
<li><a href="globals_func_e.html#index_e"><span>e</span></a></li>
<li><a href="globals_func_f.html#index_f"><span>f</span></a></li>
<li><a href="globals_func_g.html#index_g"><span>g</span></a></li>
<li><a href="globals_func_i.html#index_i"><span>i</span></a></li>
<li><a href="globals_func_l.html#index_l"><span>l</span></a></li>
<li><a href="globals_func_p.html#index_p"><span>p</span></a></li>
<li class="current"><a href="globals_func_r.html#index_r"><span>r</span></a></li>
<li><a href="globals_func_s.html#index_s"><span>s</span></a></li>
<li><a href="globals_func_t.html#index_t"><span>t</span></a></li>
<li><a href="globals_func_u.html#index_u"><span>u</span></a></li>
<li><a href="globals_func_w.html#index_w"><span>w</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('globals_func_r.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="contents">
 
<h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
<li>rcc_backupdomain_reset()
: <a class="el" href="group__rcc__defines.html#gaa02e63deae78644c393004fb900fe584">rcc.h</a>
</li>
<li>rcc_clock_setup_hsi()
: <a class="el" href="group__rcc__defines.html#ga3d30e886f8749e059865bd3fc7a14ccd">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga3d30e886f8749e059865bd3fc7a14ccd">rcc.c</a>
</li>
<li>rcc_clock_setup_msi()
: <a class="el" href="group__rcc__defines.html#ga71d9ff219cb4e09c3cddbf383e8c47b3">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga71d9ff219cb4e09c3cddbf383e8c47b3">rcc.c</a>
</li>
<li>rcc_clock_setup_pll()
: <a class="el" href="group__rcc__defines.html#ga76b12063e828a7af960d375dee952d31">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga76b12063e828a7af960d375dee952d31">rcc.c</a>
</li>
<li>rcc_css_disable()
: <a class="el" href="group__rcc__defines.html#ga2297cce07d5113023bf8eff03fc62c66">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga2297cce07d5113023bf8eff03fc62c66">rcc.c</a>
</li>
<li>rcc_css_enable()
: <a class="el" href="group__rcc__defines.html#gaddb943f9f25dc2df52890c90d468f373">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#gaddb943f9f25dc2df52890c90d468f373">rcc.c</a>
</li>
<li>rcc_css_int_clear()
: <a class="el" href="group__rcc__defines.html#gab1b45443e00d0774628de632257ba9f4">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#gab1b45443e00d0774628de632257ba9f4">rcc.c</a>
</li>
<li>rcc_css_int_flag()
: <a class="el" href="group__rcc__defines.html#ga0d3d34d807e0934127960914833a1b4d">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga0d3d34d807e0934127960914833a1b4d">rcc.c</a>
</li>
<li>rcc_isr()
: <a class="el" href="group__CM3__nvic__isrprototypes__STM32L1.html#gac23cd003dda54ecdcdeddab64e3bb742">nvic.h</a>
</li>
<li>rcc_osc_bypass_disable()
: <a class="el" href="group__rcc__defines.html#ga9152b74c16322ae76cec62ef93403916">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga9152b74c16322ae76cec62ef93403916">rcc.c</a>
</li>
<li>rcc_osc_bypass_enable()
: <a class="el" href="group__rcc__defines.html#ga3e144ef62bd737fe6cab45eddec41da3">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga3e144ef62bd737fe6cab45eddec41da3">rcc.c</a>
</li>
<li>rcc_osc_off()
: <a class="el" href="group__rcc__defines.html#ga5f5d6161e92d2708ee1e2d0517c10c28">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga5f5d6161e92d2708ee1e2d0517c10c28">rcc.c</a>
</li>
<li>rcc_osc_on()
: <a class="el" href="group__rcc__defines.html#ga8dbd64d58e019803bf109609203d1afd">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga8dbd64d58e019803bf109609203d1afd">rcc.c</a>
</li>
<li>rcc_osc_ready_int_clear()
: <a class="el" href="group__rcc__defines.html#ga451b64c9cf47aaa4977f1c4a5c9eb170">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga451b64c9cf47aaa4977f1c4a5c9eb170">rcc.c</a>
</li>
<li>rcc_osc_ready_int_disable()
: <a class="el" href="group__rcc__defines.html#gab6ebab9be1d0f9fe163a4d8dd88f6522">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#gab6ebab9be1d0f9fe163a4d8dd88f6522">rcc.c</a>
</li>
<li>rcc_osc_ready_int_enable()
: <a class="el" href="group__rcc__defines.html#ga147836b03e1dd972e365ce0732818078">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga147836b03e1dd972e365ce0732818078">rcc.c</a>
</li>
<li>rcc_osc_ready_int_flag()
: <a class="el" href="group__rcc__defines.html#gab01089842913b18e3df6e0e3ec89fd71">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#gab01089842913b18e3df6e0e3ec89fd71">rcc.h</a>
</li>
<li>rcc_periph_clock_disable()
: <a class="el" href="group__rcc__defines.html#ga87325ef1019f246cd84ba8aa73100721">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#ga87325ef1019f246cd84ba8aa73100721">rcc_common_all.c</a>
</li>
<li>rcc_periph_clock_enable()
: <a class="el" href="group__rcc__defines.html#ga90aa2b7801b2b42debc0536d38c5b07c">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#ga90aa2b7801b2b42debc0536d38c5b07c">rcc_common_all.c</a>
</li>
<li>rcc_periph_reset_hold()
: <a class="el" href="group__rcc__defines.html#ga6f3e2843e5d017717da66599ccc5daef">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#ga6f3e2843e5d017717da66599ccc5daef">rcc_common_all.c</a>
</li>
<li>rcc_periph_reset_pulse()
: <a class="el" href="group__rcc__defines.html#gae8846a0bf49a46bcdc10a412bc69ee58">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#gae8846a0bf49a46bcdc10a412bc69ee58">rcc_common_all.c</a>
</li>
<li>rcc_periph_reset_release()
: <a class="el" href="group__rcc__defines.html#ga08aceecc3bebdf33119e8d7daf58b573">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#ga08aceecc3bebdf33119e8d7daf58b573">rcc_common_all.c</a>
</li>
<li>rcc_peripheral_clear_reset()
: <a class="el" href="group__rcc__defines.html#gabb1b312c6db8db25447460742dcdb566">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#gabb1b312c6db8db25447460742dcdb566">rcc_common_all.c</a>
</li>
<li>rcc_peripheral_disable_clock()
: <a class="el" href="group__rcc__defines.html#gaf9fddc20e14204db6d4a4a54132d191b">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#gaf9fddc20e14204db6d4a4a54132d191b">rcc_common_all.c</a>
</li>
<li>rcc_peripheral_enable_clock()
: <a class="el" href="group__rcc__defines.html#gaaf3dd53c1ced02082fce0076976547a8">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#gaaf3dd53c1ced02082fce0076976547a8">rcc_common_all.c</a>
</li>
<li>rcc_peripheral_reset()
: <a class="el" href="group__rcc__defines.html#ga3779f1460275e6788f706c61d7f77205">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#ga3779f1460275e6788f706c61d7f77205">rcc_common_all.c</a>
</li>
<li>rcc_rtc_select_clock()
: <a class="el" href="group__rcc__defines.html#ga2ff68f124bf59d2f265a91b0095abcbe">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga2ff68f124bf59d2f265a91b0095abcbe">rcc.c</a>
</li>
<li>rcc_set_adcpre()
: <a class="el" href="group__rcc__defines.html#ga190cb3bbb95d687334d00e15bfab5b56">rcc.h</a>
</li>
<li>rcc_set_hpre()
: <a class="el" href="group__rcc__defines.html#gae192b2cd0f37124db5ed76d599a5671b">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#gae192b2cd0f37124db5ed76d599a5671b">rcc.h</a>
</li>
<li>rcc_set_mco()
: <a class="el" href="group__rcc__defines.html#gaccfc4aa94152abb68e0d5ad473adbf53">rcc_common_all.h</a>
, <a class="el" href="group__rcc__defines.html#gaccfc4aa94152abb68e0d5ad473adbf53">rcc_common_all.c</a>
</li>
<li>rcc_set_pll_configuration()
: <a class="el" href="group__rcc__defines.html#ga8ba543e9f620317363771628aee205ff">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#ga8ba543e9f620317363771628aee205ff">rcc.h</a>
</li>
<li>rcc_set_pll_source()
: <a class="el" href="group__rcc__defines.html#ga2f2bd45ad9c8b32e0fe5affe9bf181bf">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga2f2bd45ad9c8b32e0fe5affe9bf181bf">rcc.c</a>
</li>
<li>rcc_set_ppre1()
: <a class="el" href="group__rcc__defines.html#gaaf1b9174131b00a7014c0328a53a65a1">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#gaaf1b9174131b00a7014c0328a53a65a1">rcc.h</a>
</li>
<li>rcc_set_ppre2()
: <a class="el" href="group__rcc__defines.html#gac40c9478480f3a44c381c15482a563cd">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#gac40c9478480f3a44c381c15482a563cd">rcc.c</a>
</li>
<li>rcc_set_rtcpre()
: <a class="el" href="group__rcc__defines.html#ga63aa2b3fb8156ad6b6d2b08d4fe8f12e">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga63aa2b3fb8156ad6b6d2b08d4fe8f12e">rcc.c</a>
</li>
<li>rcc_set_sysclk_source()
: <a class="el" href="group__rcc__defines.html#ga2c291271812c333d975807cd5ec99a36">rcc.h</a>
, <a class="el" href="group__rcc__defines.html#ga2c291271812c333d975807cd5ec99a36">rcc.c</a>
</li>
<li>rcc_set_usbpre()
: <a class="el" href="group__rcc__defines.html#gad434015520b42043657d7478f8308c37">rcc.h</a>
</li>
<li>rcc_system_clock_source()
: <a class="el" href="group__rcc__defines.html#ga3373359648b1677ac49d2fe86bff99b7">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#ga3373359648b1677ac49d2fe86bff99b7">rcc.h</a>
</li>
<li>rcc_wait_for_osc_ready()
: <a class="el" href="group__rcc__defines.html#ga0f9fac6ac510e119aebe5f62c53f073a">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#ga0f9fac6ac510e119aebe5f62c53f073a">rcc.h</a>
</li>
<li>rcc_wait_for_sysclk_status()
: <a class="el" href="group__rcc__defines.html#ga6472eba195686b970de6216ab61ebd7c">rcc.c</a>
, <a class="el" href="group__rcc__defines.html#ga6472eba195686b970de6216ab61ebd7c">rcc.h</a>
</li>
<li>rtc_alarm_isr()
: <a class="el" href="group__CM3__nvic__isrprototypes__STM32L1.html#ga90b5e94e75473bd6599d05ef699a6142">nvic.h</a>
</li>
<li>rtc_clear_wakeup_flag()
: <a class="el" href="group__rtc__file.html#gaf12d879a95330d644ab2ec4490004de5">rtc_common_l1f024.c</a>
, <a class="el" href="group__rtc__defines.html#gaf12d879a95330d644ab2ec4490004de5">rtc_common_l1f024.h</a>
</li>
<li>rtc_lock()
: <a class="el" href="group__rtc__file.html#ga3e70e56710b30885a46bae6e88a36f9b">rtc_common_l1f024.c</a>
, <a class="el" href="group__rtc__defines.html#ga3e70e56710b30885a46bae6e88a36f9b">rtc_common_l1f024.h</a>
</li>
<li>rtc_set_prescaler()
: <a class="el" href="group__rtc__defines.html#ga7c05857df37f0631153fdb9893df5c00">rtc_common_l1f024.h</a>
, <a class="el" href="group__rtc__file.html#ga7c05857df37f0631153fdb9893df5c00">rtc_common_l1f024.c</a>
</li>
<li>rtc_set_wakeup_time()
: <a class="el" href="group__rtc__defines.html#gacffca2b1f3a82b3f82923e9ab14f004f">rtc_common_l1f024.h</a>
, <a class="el" href="group__rtc__file.html#gacffca2b1f3a82b3f82923e9ab14f004f">rtc_common_l1f024.c</a>
</li>
<li>rtc_unlock()
: <a class="el" href="group__rtc__file.html#ga25813ce258a0d4d2865ec883fea0175b">rtc_common_l1f024.c</a>
, <a class="el" href="group__rtc__defines.html#ga25813ce258a0d4d2865ec883fea0175b">rtc_common_l1f024.h</a>
</li>
<li>rtc_wait_for_synchro()
: <a class="el" href="group__rtc__file.html#ga28b448062099ceb6ab758b85d1ddb785">rtc_common_l1f024.c</a>
, <a class="el" href="group__rtc__defines.html#ga28b448062099ceb6ab758b85d1ddb785">rtc_common_l1f024.h</a>
</li>
<li>rtc_wkup_isr()
: <a class="el" href="group__CM3__nvic__isrprototypes__STM32L1.html#ga936a40cea95b9eb5526f3151e4db3869">nvic.h</a>
</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated on Sun May 8 2016 03:29:35 for libopencm3 by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>
| Aghosh993/TARS_codebase | libopencm3/doc/stm32l1/html/globals_func_r.html | HTML | gpl-3.0 | 18,672 |
#ifndef CANDILDOCKPACKAGE_H
#define CANDILDOCKPACKAGE_H
#include <QObject>
#include <KPackage/PackageStructure>
class CandilDockPackage : public KPackage::PackageStructure {
Q_OBJECT
public:
explicit CandilDockPackage(QObject *parent = 0, const QVariantList &args = QVariantList());
~CandilDockPackage() override;
void initPackage(KPackage::Package *package) override;
void pathChanged(KPackage::Package *package) override;
};
#endif // CANDILDOCKPACKAGE_H
// kate: indent-mode cstyle; indent-width 4; replace-tabs on;
| audoban/Candil-Dock | packageplugins/shell/candildockpackage.h | C | gpl-3.0 | 553 |
require 'spec_helper'
module Tablescript
describe RollAndIgnoreStrategy do
it 'can be created' do
expect { RollAndIgnoreStrategy.new(:table, :rollset) }.not_to raise_error
end
describe 'evaluate' do
let(:dice) { 'd20' }
let(:table) { double('table', dice_to_roll: dice) }
let(:rollset) { double('rollset') }
let(:roll) { 6 }
let(:value) { 'Vorpal sword' }
let(:roller) { RpgLib::DiceRoller.clone.instance }
let(:strategy) { RollAndIgnoreStrategy.new(table, rollset, roller) }
before(:each) do
allow(roller).to receive(:roll_and_ignore) { roll }
allow(table).to receive(:evaluate) { value }
@value = strategy.value
end
it 'defers to the roller' do
expect(roller).to have_received(:roll_and_ignore).with(dice, rollset)
end
it 'defers to the table' do
expect(table).to have_received(:evaluate).with(roll)
end
describe 'value' do
it 'provides the tables result' do
expect(@value).to eq(value)
end
it 'only evaluates once' do
strategy.value
strategy.value
expect(table).to have_received(:evaluate).once
end
end
describe 'roll' do
it 'knows its roll' do
expect(strategy.roll).to eq(roll)
end
it 'only evaluates once' do
strategy.roll
strategy.roll
expect(table).to have_received(:evaluate).once
end
end
end
end
end
| jamiehale/tablescript.rb | spec/tablescript/roll_and_ignore_strategy_spec.rb | Ruby | gpl-3.0 | 1,530 |
<?php
# ---------------------------------------
/**
* Get list of entities associated with at least one tour stop
*/
function nysocGetReaders($ps_letter=null) {
$ps_letter = strtolower($ps_letter);
if (!preg_match("!^[a-z]{1}$!", $ps_letter)) { $ps_letter = null; }
$va_params = array();
if ($ps_letter) { $va_params = array("{$ps_letter}%"); }
$o_db = new Db();
$qr_res = $o_db->query("
SELECT DISTINCT ctsxe.entity_id
FROM ca_objects_x_entities ctsxe
INNER JOIN ca_entities AS e ON e.entity_id = ctsxe.entity_id
INNER JOIN ca_entity_labels AS el ON e.entity_id = el.entity_id
INNER JOIN ca_relationship_types AS rt ON rt.type_id = ctsxe.type_id
WHERE
rt.type_code = 'reader' AND el.is_preferred = 1 AND e.deleted = 0 ".
(($ps_letter ? " AND (el.surname LIKE ?)" : ''))."
ORDER BY el.surname, el.forename
", $va_params);
$va_entity_ids = $qr_res->getAllFieldValues('entity_id');
return $qr_readers = caMakeSearchResult('ca_entities', $va_entity_ids, array('sort' => 'ca_entity_labels.surname'));
}
# ---------------------------------------
/**
* Get list of objects associated with at least one tour stop
*/
function nysocGetBooks($ps_letter=null) {
$ps_letter = strtolower($ps_letter);
if (!preg_match("!^[a-z]{1}$!", $ps_letter)) { $ps_letter = null; }
$va_params = array();
if ($ps_letter) { $va_params = array("{$ps_letter}%"); }
//$va_params[] = caGetListItemID('object_types', 'volume');
$o_db = new Db();
$qr_res = $o_db->query("
SELECT DISTINCT ctsxo.object_id
FROM ca_objects_x_entities ctsxo
INNER JOIN ca_objects AS o ON o.object_id = ctsxo.object_id
INNER JOIN ca_object_labels AS ol ON o.object_id = ol.object_id
INNER JOIN ca_relationship_types AS rt ON rt.type_id = ctsxo.type_id
WHERE
ol.is_preferred = 1 AND o.deleted = 0 AND rt.type_code = 'reader' ".
(($ps_letter ? " AND (ol.name_sort LIKE ?)" : ''))."
ORDER BY ol.name_sort
", $va_params);
$va_object_ids = $qr_res->getAllFieldValues('object_id');
return caMakeSearchResult('ca_objects', $va_object_ids, array('sort' => 'ca_object_labels.name'));
}
# ---------------------------------------
/**
* Get list of letters for entities associated with at least one book as reader
*/
function nysocGetReadersLetterBar() {
$o_db = new Db();
$qr_res = $o_db->query("
SELECT DISTINCT substr(el.surname,1,1) l
FROM ca_objects_x_entities ctsxe
INNER JOIN ca_entities AS e ON e.entity_id = ctsxe.entity_id
INNER JOIN ca_entity_labels AS el ON e.entity_id = el.entity_id
INNER JOIN ca_relationship_types AS rt ON rt.type_id = ctsxe.type_id
WHERE
el.is_preferred = 1 AND e.deleted = 0 AND rt.type_code = 'reader'");
$va_letters = $qr_res->getAllFieldValues('l');
sort($va_letters);
return $va_letters;
}
# ---------------------------------------
/**
* Get list of letters for eobjects associated with at least one entity as reader
*/
function nysocGetBooksLetterBar() {
$o_db = new Db();
$qr_res = $o_db->query("
SELECT DISTINCT substr(ol.name,1,1) l
FROM ca_objects_x_entities ctsxe
INNER JOIN ca_objects AS o ON o.object_id = ctsxe.object_id
INNER JOIN ca_object_labels AS ol ON o.object_id = ol.object_id
INNER JOIN ca_relationship_types AS rt ON rt.type_id = ctsxe.type_id
WHERE
ol.is_preferred = 1 AND o.deleted = 0 AND rt.type_code = 'reader'");
$va_letters = $qr_res->getAllFieldValues('l');
sort($va_letters);
return $va_letters;
}
# ---------------------------------------
?> | libis/pa_cct | themes/nysoc/helpers/dataHelpers.php | PHP | gpl-3.0 | 3,574 |
package ru.mos.polls.survey.variants.values;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.text.InputType;
import android.text.TextUtils;
import android.view.View;
import android.view.WindowManager;
import android.widget.EditText;
import android.widget.Toast;
import org.json.JSONException;
import org.json.JSONObject;
import ru.mos.polls.R;
public class FloatVariantValue implements VariantValue {
private boolean changed = false;
private double value;
private String title;
private boolean constraint;
private double min;
private double max;
public FloatVariantValue() {
super();
constraint = false;
}
public FloatVariantValue(double min, double max) {
super();
constraint = true;
this.min = min;
this.max = max;
}
@Override
public void setTitle(String s) {
title = s;
}
@Override
public boolean isEmpty() {
return !changed;
}
@Override
public String asString() {
return Double.toString(value);
}
@Override
public void putValueInJson(String title, JSONObject jsonObject) throws JSONException {
jsonObject.put(title, value);
}
@Override
public void getValueFromJson(String title, JSONObject jsonObject) throws JSONException {
changed = jsonObject.has(title);
value = jsonObject.optDouble(title);
}
@Override
public void showEditor(final Context context, final Listener listener) {
AlertDialog.Builder builder = new AlertDialog.Builder(context);
builder.setTitle(title);
final EditText inputEditText = new EditText(context);
inputEditText.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL);
if (changed) {
String stringValue = Double.toString(value);
inputEditText.setText(stringValue);
inputEditText.setSelection(stringValue.length());
}
builder.setView(inputEditText);
builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
if (TextUtils.isEmpty(inputEditText.getText().toString())) {
listener.onEdited();
return;
}
double val = Double.parseDouble(inputEditText.getText().toString());
if (constraint) {
if (min <= val && val <= max) {
commit(val);
} else {
Toast.makeText(context, String.format(context.getString(R.string.float_variant_value_toast_msg), min, max), Toast.LENGTH_SHORT).show();
showEditor(context, listener);
}
} else {
commit(val);
}
}
private void commit(double val) {
value = val;
changed = true;
listener.onEdited();
}
});
builder.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.cancel();
}
});
final AlertDialog d = builder.create();
inputEditText.setOnFocusChangeListener(new View.OnFocusChangeListener() {
@Override
public void onFocusChange(View v, boolean hasFocus) {
if (hasFocus) {
d.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
}
}
});
d.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) {
listener.onCancel();
}
});
d.setCanceledOnTouchOutside(true);
d.show();
}
@Override
public int compareTo(VariantValue another) {
int result = 0;
if (another instanceof FloatVariantValue) {
double anotherValue = ((FloatVariantValue) another).value;
result = Double.valueOf(value).compareTo(anotherValue);
}
return result;
}
public static class Factory extends VariantValue.Factory {
@Override
protected VariantValue onCreate(String hint, String kind, JSONObject constrainsJsonObject) {
final VariantValue result;
if (constrainsJsonObject != null) {
double min = constrainsJsonObject.optDouble("min");
double max = constrainsJsonObject.optDouble("max");
result = new FloatVariantValue(min, max);
} else {
result = new FloatVariantValue();
}
return result;
}
}
}
| active-citizen/android.java | app/src/main/java/ru/mos/polls/survey/variants/values/FloatVariantValue.java | Java | gpl-3.0 | 5,017 |
<?php
namespace Fisharebest\Localization\Locale;
use Fisharebest\Localization\Territory\TerritoryRw;
/**
* Class LocaleEnRw
*
* @author Greg Roach <greg@subaqua.co.uk>
* @copyright (c) 2020 Greg Roach
* @license GPLv3+
*/
class LocaleEnRw extends LocaleEn
{
public function territory()
{
return new TerritoryRw();
}
}
| fisharebest/localization | src/Locale/LocaleEnRw.php | PHP | gpl-3.0 | 352 |
/*
* This file is hereby placed into the Public Domain. This means anyone is
* free to do whatever they wish with this file.
*/
package mil.nga.giat.data.elasticsearch;
import java.io.Serializable;
import java.util.Objects;
import java.util.regex.Pattern;
/**
* Class describing and Elasticsearch attribute including name, type and
* optional information on geometry and date types. Also includes an alternative
* short name, if applicable, that can be used instead of the full path both in
* the feature type and backend Elasticsearch queries.
*
*/
public class ElasticAttribute implements Serializable, Comparable<ElasticAttribute> {
public enum ElasticGeometryType {
GEO_POINT,
GEO_SHAPE
}
private static final Pattern beginLetters = Pattern.compile("^[A-Za-z_].*");
private static final long serialVersionUID = 8839579461838862328L;
private final String name;
private String shortName;
private Boolean useShortName;
private Class<?> type;
private ElasticGeometryType geometryType;
private Boolean use;
private Boolean defaultGeometry;
private Integer srid;
private String dateFormat;
private Boolean analyzed;
private boolean stored;
private boolean nested;
private Integer order;
private String customName;
public ElasticAttribute(String name) {
super();
this.name = name;
this.use = true;
this.defaultGeometry = false;
this.useShortName = false;
this.stored = false;
this.nested = false;
}
public ElasticAttribute(ElasticAttribute other) {
this.name = other.name;
this.shortName = other.shortName;
this.type = other.type;
this.use = other.use;
this.defaultGeometry = other.defaultGeometry;
this.srid = other.srid;
this.dateFormat = other.dateFormat;
this.useShortName = other.useShortName;
this.geometryType = other.geometryType;
this.analyzed = other.analyzed;
this.stored = other.stored;
this.nested = other.nested;
this.order = other.order;
this.customName = other.customName;
}
public String getName() {
return name;
}
public String getShortName() {
return shortName;
}
public void setShortName(String shortName) {
this.shortName = shortName;
}
public Boolean getUseShortName() {
return useShortName;
}
public void setUseShortName(Boolean useShortName) {
this.useShortName = useShortName;
}
public Class<?> getType() {
return type;
}
public void setType(Class<?> type) {
this.type = type;
}
public ElasticGeometryType getGeometryType() {
return geometryType;
}
public void setGeometryType(ElasticGeometryType geometryType) {
this.geometryType = geometryType;
}
public Boolean isUse() {
return use;
}
public void setUse(Boolean use) {
this.use = use;
}
public Boolean isDefaultGeometry() {
return defaultGeometry;
}
public void setDefaultGeometry(Boolean defaultGeometry) {
this.defaultGeometry = defaultGeometry;
}
public Integer getSrid() {
return srid;
}
public void setSrid(Integer srid) {
this.srid = srid;
}
public String getDateFormat() {
return dateFormat;
}
public void setDateFormat(String dateFormat) {
this.dateFormat = dateFormat;
}
public Boolean getAnalyzed() {
return analyzed;
}
public void setAnalyzed(Boolean analyzed) {
this.analyzed = analyzed;
}
public boolean isStored() {
return stored;
}
public void setStored(boolean stored) {
this.stored = stored;
}
public boolean isNested() {
return nested;
}
public void setNested(boolean nested) {
this.nested = nested;
}
public void setOrder(Integer order) {
this.order = order;
}
public Integer getOrder() {
return this.order;
}
public void setCustomName(String name) {
this.customName = normalizeName(name);
}
public String getCustomName() {
return this.customName;
}
public String getDisplayName() {
final String displayName;
if (useShortName) {
displayName = shortName;
} else {
displayName = name;
}
return displayName;
}
@Override
public int hashCode() {
return Objects.hash(name, type, use, defaultGeometry, srid, dateFormat,
useShortName, geometryType, analyzed, stored, nested, order, customName);
}
@Override
public boolean equals(Object obj) {
boolean equal;
if (obj == null || getClass() != obj.getClass()) {
equal = false;
} else {
ElasticAttribute other = (ElasticAttribute) obj;
equal = Objects.equals(name, other.name);
equal &= Objects.equals(type, other.type);
equal &= Objects.equals(use, other.use);
equal &= Objects.equals(defaultGeometry, other.defaultGeometry);
equal &= Objects.equals(srid, other.srid);
equal &= Objects.equals(dateFormat, other.dateFormat);
equal &= Objects.equals(useShortName, other.useShortName);
equal &= Objects.equals(geometryType, other.geometryType);
equal &= Objects.equals(analyzed, other.analyzed);
equal &= Objects.equals(stored, other.stored);
equal &= Objects.equals(nested, other.nested);
equal &= Objects.equals(order, other.order);
equal &= Objects.equals(customName, other.customName);
}
return equal;
}
/**
* Implement comparison logic
* @param o is a non-null ElasticAttribute
* @return negative for before, zero for same, positive after
*/
@Override
public int compareTo(@SuppressWarnings("NullableProblems") ElasticAttribute o) {
if (this.order == null) {
return o.order == null ? this.name.compareTo(o.name) : 1;
}
if (o.order == null) {
return -1;
}
int i = this.order.compareTo(o.order);
return i == 0 ? this.name.compareTo(o.name) : i;
}
/**
* Perform basic update to the given name to make it XML namespace
* compliant.
*
* @param name Raw name
* @return Name that is XML safe
*/
private static String normalizeName (String name) {
String normalName = name;
/* XML element naming rules:
* 1. Element names must start with a letter or underscore
* 2. Element names cannot start with the letters xml
* 3. Element names cannot contain spaces
*/
if (normalName.toLowerCase().startsWith("xml")) {
normalName = "_".concat(normalName);
} else if (! beginLetters.matcher(normalName).matches()) {
normalName = "_".concat(normalName);
}
/* Simply replace all spaces in the name with "_". */
return normalName.replaceAll(" ", "_");
}
}
| ngageoint/elasticgeo | gt-elasticsearch/src/main/java/mil/nga/giat/data/elasticsearch/ElasticAttribute.java | Java | gpl-3.0 | 7,242 |
/*
* gtr-tab-activatable.h
* This file is part of gtr
*
* Copyright (C) 2010 - Steve Frécinaux
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTR_TAB_ACTIVATABLE_H__
#define __GTR_TAB_ACTIVATABLE_H__
#include <glib-object.h>
G_BEGIN_DECLS
/*
* Type checking and casting macros
*/
#define GTR_TYPE_TAB_ACTIVATABLE (gtr_tab_activatable_get_type ())
#define GTR_TAB_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTR_TYPE_TAB_ACTIVATABLE, GtrTabActivatable))
#define GTR_TAB_ACTIVATABLE_IFACE(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTR_TYPE_TAB_ACTIVATABLE, GtrTabActivatableInterface))
#define GTR_IS_TAB_ACTIVATABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTR_TYPE_TAB_ACTIVATABLE))
#define GTR_TAB_ACTIVATABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTR_TYPE_TAB_ACTIVATABLE, GtrTabActivatableInterface))
typedef struct _GtrTabActivatable GtrTabActivatable; /* dummy typedef */
typedef struct _GtrTabActivatableInterface GtrTabActivatableInterface;
struct _GtrTabActivatableInterface
{
GTypeInterface g_iface;
/* Virtual public methods */
void (*activate) (GtrTabActivatable * activatable);
void (*deactivate) (GtrTabActivatable * activatable);
};
/*
* Public methods
*/
GType
gtr_tab_activatable_get_type (void)
G_GNUC_CONST;
void gtr_tab_activatable_activate (GtrTabActivatable *
activatable);
void gtr_tab_activatable_deactivate (GtrTabActivatable *
activatable);
G_END_DECLS
#endif /* __GTR_TAB_ACTIVATABLE_H__ */
| mrkara/gtranslator | src/gtr-tab-activatable.h | C | gpl-3.0 | 2,226 |
/*
Copyright (C) 2001, 2006 United States Government
as represented by the Administrator of the
National Aeronautics and Space Administration.
All Rights Reserved.
*/
package gov.nasa.worldwindx.examples;
import gov.nasa.worldwind.*;
import gov.nasa.worldwind.event.*;
import gov.nasa.worldwind.avlist.*;
import gov.nasa.worldwind.geom.*;
import gov.nasa.worldwind.layers.*;
import gov.nasa.worldwind.render.*;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.beans.*;
import java.util.*;
/**
* A utility class to interactively build a polyline. When armed, the class monitors mouse events and adds new positions
* to a polyline as the user identifies them. The interaction sequence for creating a line is as follows: <ul> <li> Arm
* the line builder by calling its {@link #setArmed(boolean)} method with an argument of true. </li> <li> Place the
* cursor at the first desired polyline position. Press and release mouse button one. </li> <li> Press button one near
* the next desired position, drag the mouse to the exact position, then release the button. The proposed line segment
* will echo while the mouse is dragged. Continue selecting new positions this way until the polyline contains all
* desired positions. </li> <li> Disarm the <code>LineBuilder</code> object by calling its {@link #setArmed(boolean)}
* method with an argument of false. </li> </ul>
* <p/>
* While the line builder is armed, pressing and immediately releasing mouse button one while also pressing the control
* key (Ctl) removes the last position from the polyline. </p>
* <p/>
* Mouse events the line builder acts on while armed are marked as consumed. These events are mouse pressed, released,
* clicked and dragged. These events are not acted on while the line builder is not armed. The builder can be
* continuously armed and rearmed to allow intervening maneuvering of the globe while building a polyline. A user can
* add positions, pause entry, maneuver the view, then continue entering positions. </p>
* <p/>
* Arming and disarming the line builder does not change the contents or attributes of the line builder's layer. </p>
* <p/>
* The polyline and a layer containing it may be specified when a <code>LineBuilder</code> is constructed. </p>
* <p/>
* This class contains a <code>main</code> method implementing an example program illustrating use of
* <code>LineBuilder</code>. </p>
*
* @author tag
* @version $Id: LineBuilder.java 1 2011-07-16 23:22:47Z dcollins $
*/
public class LineBuilder extends AVListImpl
{
private final WorldWindow wwd;
private boolean armed = false;
private ArrayList<Position> positions = new ArrayList<Position>();
private final RenderableLayer layer;
private final Polyline line;
private boolean active = false;
/**
* Construct a new line builder using the specified polyline and layer and drawing events from the specified world
* window. Either or both the polyline and the layer may be null, in which case the necessary object is created.
*
* @param wwd the world window to draw events from.
* @param lineLayer the layer holding the polyline. May be null, in which case a new layer is created.
* @param polyline the polyline object to build. May be null, in which case a new polyline is created.
*/
public LineBuilder(final WorldWindow wwd, RenderableLayer lineLayer, Polyline polyline)
{
this.wwd = wwd;
if (polyline != null)
{
line = polyline;
}
else
{
this.line = new Polyline();
this.line.setFollowTerrain(true);
}
this.layer = lineLayer != null ? lineLayer : new RenderableLayer();
this.layer.addRenderable(this.line);
this.wwd.getModel().getLayers().add(this.layer);
this.wwd.getInputHandler().addMouseListener(new MouseAdapter()
{
public void mousePressed(MouseEvent mouseEvent)
{
if (armed && mouseEvent.getButton() == MouseEvent.BUTTON1)
{
if (armed && (mouseEvent.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) != 0)
{
if (!mouseEvent.isControlDown())
{
active = true;
addPosition();
}
}
mouseEvent.consume();
}
}
public void mouseReleased(MouseEvent mouseEvent)
{
if (armed && mouseEvent.getButton() == MouseEvent.BUTTON1)
{
if (positions.size() == 1)
removePosition();
active = false;
mouseEvent.consume();
}
}
public void mouseClicked(MouseEvent mouseEvent)
{
if (armed && mouseEvent.getButton() == MouseEvent.BUTTON1)
{
if (mouseEvent.isControlDown())
removePosition();
mouseEvent.consume();
}
}
});
this.wwd.getInputHandler().addMouseMotionListener(new MouseMotionAdapter()
{
public void mouseDragged(MouseEvent mouseEvent)
{
if (armed && (mouseEvent.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) != 0)
{
// Don't update the polyline here because the wwd current cursor position will not
// have been updated to reflect the current mouse position. Wait to update in the
// position listener, but consume the event so the view doesn't respond to it.
if (active)
mouseEvent.consume();
}
}
});
this.wwd.addPositionListener(new PositionListener()
{
public void moved(PositionEvent event)
{
if (!active)
return;
if (positions.size() == 1)
addPosition();
else
replacePosition();
}
});
}
/**
* Returns the layer holding the polyline being created.
*
* @return the layer containing the polyline.
*/
public RenderableLayer getLayer()
{
return this.layer;
}
/**
* Returns the layer currently used to display the polyline.
*
* @return the layer holding the polyline.
*/
public Polyline getLine()
{
return this.line;
}
/**
* Removes all positions from the polyline.
*/
public void clear()
{
while (this.positions.size() > 0)
this.removePosition();
}
/**
* Identifies whether the line builder is armed.
*
* @return true if armed, false if not armed.
*/
public boolean isArmed()
{
return this.armed;
}
/**
* Arms and disarms the line builder. When armed, the line builder monitors user input and builds the polyline in
* response to the actions mentioned in the overview above. When disarmed, the line builder ignores all user input.
*
* @param armed true to arm the line builder, false to disarm it.
*/
public void setArmed(boolean armed)
{
this.armed = armed;
}
private void addPosition()
{
Position curPos = this.wwd.getCurrentPosition();
if (curPos == null)
return;
this.positions.add(curPos);
this.line.setPositions(this.positions);
this.firePropertyChange("LineBuilder.AddPosition", null, curPos);
this.wwd.redraw();
}
private void replacePosition()
{
Position curPos = this.wwd.getCurrentPosition();
if (curPos == null)
return;
int index = this.positions.size() - 1;
if (index < 0)
index = 0;
Position currentLastPosition = this.positions.get(index);
this.positions.set(index, curPos);
this.line.setPositions(this.positions);
this.firePropertyChange("LineBuilder.ReplacePosition", currentLastPosition, curPos);
this.wwd.redraw();
}
private void removePosition()
{
if (this.positions.size() == 0)
return;
Position currentLastPosition = this.positions.get(this.positions.size() - 1);
this.positions.remove(this.positions.size() - 1);
this.line.setPositions(this.positions);
this.firePropertyChange("LineBuilder.RemovePosition", currentLastPosition, null);
this.wwd.redraw();
}
// ===================== Control Panel ======================= //
// The following code is an example program illustrating LineBuilder usage. It is not required by the
// LineBuilder class, itself.
private static class LinePanel extends JPanel
{
private final WorldWindow wwd;
private final LineBuilder lineBuilder;
private JButton newButton;
private JButton pauseButton;
private JButton endButton;
private JLabel[] pointLabels;
public LinePanel(WorldWindow wwd, LineBuilder lineBuilder)
{
super(new BorderLayout());
this.wwd = wwd;
this.lineBuilder = lineBuilder;
this.makePanel(new Dimension(200, 400));
lineBuilder.addPropertyChangeListener(new PropertyChangeListener()
{
public void propertyChange(PropertyChangeEvent propertyChangeEvent)
{
fillPointsPanel();
}
});
}
private void makePanel(Dimension size)
{
JPanel buttonPanel = new JPanel(new GridLayout(1, 2, 5, 5));
newButton = new JButton("New");
newButton.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent actionEvent)
{
lineBuilder.clear();
lineBuilder.setArmed(true);
pauseButton.setText("Pause");
pauseButton.setEnabled(true);
endButton.setEnabled(true);
newButton.setEnabled(false);
((Component) wwd).setCursor(Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
}
});
buttonPanel.add(newButton);
newButton.setEnabled(true);
pauseButton = new JButton("Pause");
pauseButton.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent actionEvent)
{
lineBuilder.setArmed(!lineBuilder.isArmed());
pauseButton.setText(!lineBuilder.isArmed() ? "Resume" : "Pause");
((Component) wwd).setCursor(Cursor.getDefaultCursor());
}
});
buttonPanel.add(pauseButton);
pauseButton.setEnabled(false);
endButton = new JButton("End");
endButton.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent actionEvent)
{
lineBuilder.setArmed(false);
newButton.setEnabled(true);
pauseButton.setEnabled(false);
pauseButton.setText("Pause");
endButton.setEnabled(false);
((Component) wwd).setCursor(Cursor.getDefaultCursor());
}
});
buttonPanel.add(endButton);
endButton.setEnabled(false);
JPanel pointPanel = new JPanel(new GridLayout(0, 1, 0, 10));
pointPanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
this.pointLabels = new JLabel[20];
for (int i = 0; i < this.pointLabels.length; i++)
{
this.pointLabels[i] = new JLabel("");
pointPanel.add(this.pointLabels[i]);
}
// Put the point panel in a container to prevent scroll panel from stretching the vertical spacing.
JPanel dummyPanel = new JPanel(new BorderLayout());
dummyPanel.add(pointPanel, BorderLayout.NORTH);
// Put the point panel in a scroll bar.
JScrollPane scrollPane = new JScrollPane(dummyPanel);
scrollPane.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));
if (size != null)
scrollPane.setPreferredSize(size);
// Add the buttons, scroll bar and inner panel to a titled panel that will resize with the main window.
JPanel outerPanel = new JPanel(new BorderLayout());
outerPanel.setBorder(
new CompoundBorder(BorderFactory.createEmptyBorder(9, 9, 9, 9), new TitledBorder("Line")));
outerPanel.setToolTipText("Line control and info");
outerPanel.add(buttonPanel, BorderLayout.NORTH);
outerPanel.add(scrollPane, BorderLayout.CENTER);
this.add(outerPanel, BorderLayout.CENTER);
}
private void fillPointsPanel()
{
int i = 0;
for (Position pos : lineBuilder.getLine().getPositions())
{
if (i == this.pointLabels.length)
break;
String las = String.format("Lat %7.4f\u00B0", pos.getLatitude().getDegrees());
String los = String.format("Lon %7.4f\u00B0", pos.getLongitude().getDegrees());
pointLabels[i++].setText(las + " " + los);
}
for (; i < this.pointLabels.length; i++)
pointLabels[i++].setText("");
}
}
/**
* Marked as deprecated to keep it out of the javadoc.
*
* @deprecated
*/
public static class AppFrame extends ApplicationTemplate.AppFrame
{
public AppFrame()
{
super(true, false, false);
LineBuilder lineBuilder = new LineBuilder(this.getWwd(), null, null);
this.getContentPane().add(new LinePanel(this.getWwd(), lineBuilder), BorderLayout.WEST);
}
}
/**
* Marked as deprecated to keep it out of the javadoc.
*
* @param args the arguments passed to the program.
* @deprecated
*/
public static void main(String[] args)
{
//noinspection deprecation
ApplicationTemplate.start("World Wind Line Builder", LineBuilder.AppFrame.class);
}
}
| printesoi/worldwind | src/gov/nasa/worldwindx/examples/LineBuilder.java | Java | gpl-3.0 | 14,766 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>GNU Radio 3.6.1 C++ API: Class Members - Enumerator</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">GNU Radio 3.6.1 C++ API
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('functions_eval.html','');
</script>
<div id="doc-content">
<div class="contents">
 
<h3><a class="anchor" id="index_b"></a>- b -</h3><ul>
<li>BLACK
: <a class="el" href="classgr__basic__block.html#a5c90b7c003ddd61f8df6bef2aceeab3da0abd1c82699481ffa502e5bb8d7bdaec">gr_basic_block</a>
</li>
<li>BLKD_IN
: <a class="el" href="classgr__block__executor.html#a7e1298daa0106ff674b68a27cdd09207a4b96846a9225d58739eae0e262d389e0">gr_block_executor</a>
</li>
<li>BLKD_OUT
: <a class="el" href="classgr__block__executor.html#a7e1298daa0106ff674b68a27cdd09207a64412e1e45140f46dac9dd458dfe8d69">gr_block_executor</a>
</li>
</ul>
<h3><a class="anchor" id="index_d"></a>- d -</h3><ul>
<li>DONE
: <a class="el" href="classgr__block__executor.html#a7e1298daa0106ff674b68a27cdd09207add68ae4b38cd3a6bb594a6ca867bef93">gr_block_executor</a>
</li>
</ul>
<h3><a class="anchor" id="index_e"></a>- e -</h3><ul>
<li>ERR_DEBUG
: <a class="el" href="classgr__error__handler.html#a485e1ab1ea6506d983adbdf609fdc7aaaf2613c91e295a944236e694eea2f7ca6">gr_error_handler</a>
</li>
<li>ERR_ERROR
: <a class="el" href="classgr__error__handler.html#a485e1ab1ea6506d983adbdf609fdc7aaa8fc839c5a7b9e526dfe0ea74ea76cee6">gr_error_handler</a>
</li>
<li>ERR_FATAL
: <a class="el" href="classgr__error__handler.html#a485e1ab1ea6506d983adbdf609fdc7aaa567eab71fc3a3062831f231488a0b386">gr_error_handler</a>
</li>
<li>ERR_MESSAGE
: <a class="el" href="classgr__error__handler.html#a485e1ab1ea6506d983adbdf609fdc7aaabebeb9dbe633da9c50a0902441f1701b">gr_error_handler</a>
</li>
<li>ERR_WARNING
: <a class="el" href="classgr__error__handler.html#a485e1ab1ea6506d983adbdf609fdc7aaae35feb98cb5bb81ea6f6480303d0a244">gr_error_handler</a>
</li>
</ul>
<h3><a class="anchor" id="index_g"></a>- g -</h3><ul>
<li>GAUSSIAN
: <a class="el" href="classgr__cpm.html#ab6b758d3b07feab3e8700d9937fe5c7ea10599a2b58ec1d4ceb0ca919b3d4ffb1">gr_cpm</a>
</li>
<li>GENERIC
: <a class="el" href="classgr__cpm.html#ab6b758d3b07feab3e8700d9937fe5c7ea577882aa6a75019dd2c6f12170cc2366">gr_cpm</a>
</li>
<li>GREY
: <a class="el" href="classgr__basic__block.html#a5c90b7c003ddd61f8df6bef2aceeab3daa6cce7ec34a3f9cf917e545a743dc89f">gr_basic_block</a>
</li>
</ul>
<h3><a class="anchor" id="index_i"></a>- i -</h3><ul>
<li>IDLE
: <a class="el" href="classgr__top__block__impl.html#a05854347df68cd5ae2d7158fd58cb84da46694d58f89aa93ba043004c3fd5eb8a">gr_top_block_impl</a>
</li>
</ul>
<h3><a class="anchor" id="index_l"></a>- l -</h3><ul>
<li>LRC
: <a class="el" href="classgr__cpm.html#ab6b758d3b07feab3e8700d9937fe5c7eaac41484ae0b5784bb1e28074b8cc43bb">gr_cpm</a>
</li>
<li>LREC
: <a class="el" href="classgr__cpm.html#ab6b758d3b07feab3e8700d9937fe5c7ea5d3973aa4ef178b819715c80b4dfb70d">gr_cpm</a>
</li>
<li>LSRC
: <a class="el" href="classgr__cpm.html#ab6b758d3b07feab3e8700d9937fe5c7eac6e53712e9323c8b44df66f0e80dd4bc">gr_cpm</a>
</li>
</ul>
<h3><a class="anchor" id="index_r"></a>- r -</h3><ul>
<li>READY
: <a class="el" href="classgr__block__executor.html#a7e1298daa0106ff674b68a27cdd09207a893f3d798d48fc39b6249fcd1837983e">gr_block_executor</a>
</li>
<li>READY_NO_OUTPUT
: <a class="el" href="classgr__block__executor.html#a7e1298daa0106ff674b68a27cdd09207ae0d52e6bbf6447d7e9bcf33f632a400d">gr_block_executor</a>
</li>
<li>RUNNING
: <a class="el" href="classgr__top__block__impl.html#a05854347df68cd5ae2d7158fd58cb84dad67284e35f37fe37cfd9e161fc11cde1">gr_top_block_impl</a>
</li>
</ul>
<h3><a class="anchor" id="index_t"></a>- t -</h3><ul>
<li>TFM
: <a class="el" href="classgr__cpm.html#ab6b758d3b07feab3e8700d9937fe5c7ead49fea18dada68166ffe7c30e82b4192">gr_cpm</a>
</li>
<li>TPP_ALL_TO_ALL
: <a class="el" href="classgr__block.html#a32561c88f124ea07881879fe79840f61ac59dabb0af9fac19958d18378f3cfbfb">gr_block</a>
</li>
<li>TPP_DONT
: <a class="el" href="classgr__block.html#a32561c88f124ea07881879fe79840f61ad472255a4873399940aec9d614d82287">gr_block</a>
</li>
<li>TPP_ONE_TO_ONE
: <a class="el" href="classgr__block.html#a32561c88f124ea07881879fe79840f61a98228946b0f3b3887230269c9ba5a60f">gr_block</a>
</li>
</ul>
<h3><a class="anchor" id="index_w"></a>- w -</h3><ul>
<li>WHITE
: <a class="el" href="classgr__basic__block.html#a5c90b7c003ddd61f8df6bef2aceeab3da476d594a077e729bad0f2cfa2008c899">gr_basic_block</a>
</li>
<li>WIN_BLACKMAN
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456ca1c72b129266703afdcc486aebd763fe8">gr_firdes</a>
</li>
<li>WIN_BLACKMAN_hARRIS
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456ca6bc60911da96133b31392c35cb4f797b">gr_firdes</a>
</li>
<li>WIN_BLACKMAN_HARRIS
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456ca7b0f17c9d352d2c790655316a527c5d2">gr_firdes</a>
</li>
<li>WIN_HAMMING
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456ca9ecf16aac5495bd054e124d073e23bfa">gr_firdes</a>
</li>
<li>WIN_HANN
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456ca0283f236f2f1614bcb1534375d0a4d5c">gr_firdes</a>
</li>
<li>WIN_KAISER
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456cacf24e696ceb7054a0f48ded24940106e">gr_firdes</a>
</li>
<li>WIN_RECTANGULAR
: <a class="el" href="classgr__firdes.html#a49ec223781ec35f82b52d3f51ab5456ca93358f88cb8ea7cc99ba5b1a45878290">gr_firdes</a>
</li>
<li>WORK_CALLED_PRODUCE
: <a class="el" href="classgr__block.html#af026aa236701757fd5f71129daad883ca248a1e0554813ce26007ff5ec1530392">gr_block</a>
</li>
<li>WORK_DONE
: <a class="el" href="classgr__block.html#af026aa236701757fd5f71129daad883ca221c2211857dcee81fb2bbb97fe6b223">gr_block</a>
</li>
</ul>
</div><!-- contents -->
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="footer">Generated on Wed Jun 13 2012 21:29:09 for GNU Radio 3.6.1 C++ API by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
</ul>
</div>
</body>
</html>
| zitouni/gnuradio-3.6.1 | build/docs/doxygen/html/functions_eval.html | HTML | gpl-3.0 | 7,401 |
<?php
/**
* Shop System Plugins - Terms of Use
*
* The plugins offered are provided free of charge by Wirecard Central Eastern Europe GmbH
* (abbreviated to Wirecard CEE) and are explicitly not part of the Wirecard CEE range of
* products and services.
*
* They have been tested and approved for full functionality in the standard configuration
* (status on delivery) of the corresponding shop system. They are under General Public
* License Version 3 (GPLv3) and can be used, developed and passed on to third parties under
* the same terms.
*
* However, Wirecard CEE does not provide any guarantee or accept any liability for any errors
* occurring when used in an enhanced, customized shop system configuration.
*
* Operation in an enhanced, customized configuration is at your own risk and requires a
* comprehensive test phase by the user of the plugin.
*
* Customers use the plugins at their own risk. Wirecard CEE does not guarantee their full
* functionality neither does Wirecard CEE assume liability for any disadvantages related to
* the use of the plugins. Additionally, Wirecard CEE does not guarantee the full functionality
* for customized shop systems or installed plugins of other vendors of plugins within the same
* shop system.
*
* Customers are responsible for testing the plugin's functionality before starting productive
* operation.
*
* By installing the plugin into the shop system the customer agrees to these terms of use.
* Please do not use the plugin if you do not agree to these terms of use!
*/
namespace Wirecard\PaymentSdk\Exception;
use UnexpectedValueException;
/**
* Class MandatoryFieldMissingException
* @package Wirecard\PaymentSdk\Exception
*/
class MandatoryFieldMissingException extends UnexpectedValueException
{
}
| Trimnosh/paymentSDK-php | src/Exception/MandatoryFieldMissingException.php | PHP | gpl-3.0 | 1,794 |
/**
* Copyright (C) 2011 ZHEJIANG SUPCON TECHNOLOGY CO.,LTD.
* All rights reserved.
*/
package com.supcon.gcs.service;
import com.supcon.gcs.entities.User;
/**
*
* 用户操作接口
*
* @author Administrator
* @version 1.0
*/
public interface UserService {
/**
* 绑定用户信息
*
* @param user
*/
void bindingUser(User user);
/**
* 解绑用户
*
* @param openId
*/
void unbindingUser(String openId);
/**
* 判断用户是否绑定
*
* @param openId
* @return
*/
boolean checkBinding(String openId);
}
| bapSupcon/SupconGCS | src/com/supcon/gcs/service/UserService.java | Java | gpl-3.0 | 558 |
import os
import sys
import shutil
import straight.plugin
import numpy as np
import pkg_resources
from os import path
from core import utils
from core import argparser
from core import log
from core import parser
def main():
## Parse arguments
ap = argparser.init_arg_parser()
options = ap.parse_args()
## Collect input gbks from folder
input_files = []
if not path.isdir(options["input_folder"]):
log.error("Specified folder didn't exist '%s'" % (options["input_folder"]))
sys.exit(1)
else:
for filename in os.listdir(options["input_folder"]):
filepath = path.join(options["input_folder"], filename)
if not path.isdir(filepath):
ext = path.splitext(filepath)[1][1:]
if ext in ["gbk"]:
input_files.append(filename)
## Initial check parameters
metadata = {}
if options["mode"] == "train":
## check and load metadata file
if not path.exists(options["training_metadata"]):
log.error("Specified file didn't exist '%s'" % (options["training_metadata"]))
sys.exit(1)
else:
metadata = parser.parse_training_metadata(options["training_metadata"])
options["single_values"] = [[]] * len(input_files)
options["train_set"] = []
options["test_set"] = []
# remove GBKs not listed in metadata
input_files[:] = [bgc for bgc in input_files if utils.get_bgc_name(bgc) in metadata["bgc"]]
# features
if "features" not in options:
if "features" not in metadata:
options["features"] = [{"name": plugin.name, "params": [], "subs": [sub for sub in plugin.features]} for plugin in utils.load_plugins("feature_extraction")]
else:
options["features"] = metadata["features"]
# algorithm mode (classification / regression)
if metadata["mode"] == "CLASSIFICATION":
options["algo_mode"] = "classification"
if "algorithm" not in options:
if "algorithm" not in metadata:
options["algorithm"] = {"name": "svm", "params": []}
else:
options["algorithm"] = metadata["algorithm"]
elif metadata["mode"] == "REGRESSION":
options["algo_mode"] = "regression"
if "algorithm" not in options:
if "algorithm" not in metadata:
options["algorithm"] = {"name": "linear_regression", "params": []}
else:
options["algorithm"] = metadata["algorithm"]
else:
log.error("Incorrect metadata file format '%s'" % (options["training_metadata"]))
sys.exit(1)
# single values (from right hand side of data column) & train/test set distribution
for i, fp in enumerate(input_files):
bgc_id = utils.get_bgc_name(fp)
if bgc_id in metadata["bgc"]:
idx_meta = metadata["bgc"].index(bgc_id)
options["single_values"][i] = metadata["single_values"][idx_meta]
if idx_meta in metadata["train_set"]:
options["train_set"].append(i)
if idx_meta in metadata["test_set"]:
options["test_set"].append(i)
else:
log.error("'%s' is not included in your metadata" % (bgc_id))
sys.exit(1)
# pair values for training set (from its own table from the metadata)
options["train_pair_values"] = [[None] * len(options["train_set"]) for _ in range(len(options["train_set"]))]
for i, idx1 in enumerate(options["train_set"]):
for j, idx2 in enumerate(options["train_set"]):
if len(metadata["train_pair_values"]) > i and len(metadata["train_pair_values"][i]) > j:
options["train_pair_values"][i][j] = metadata["train_pair_values"][i][j]
# pair values for test set (from its own table from the metadata)
options["test_pair_values"] = [[None] * len(options["test_set"]) for _ in range(len(options["test_set"]))]
for i, idx1 in enumerate(options["test_set"]):
for j, idx2 in enumerate(options["test_set"]):
if len(metadata["test_pair_values"]) > i and len(metadata["test_pair_values"][i]) > j:
options["test_pair_values"][i][j] = metadata["test_pair_values"][i][j]
if options["mode"] == "predict":
## check and load model file
print "..."
## further checks..
algo_type = utils.get_algo_type(options["algorithm"]["name"])
if algo_type not in ["classification", "regression"]:
log.error("Selected algorithm '%s' did not exist" % (algo["name"]))
sys.exit(1)
if options["algo_mode"] != algo_type:
log.error("Selected algorithm '%s' is for %s, but the provided data is for %s." % (options["algorithm"]["name"], algo_type, options["algo_mode"]))
sys.exit(1)
options["features_scope"] = ""
for idx, feature in enumerate(options["features"]):
for plugin in utils.load_plugins("feature_extraction"):
if plugin.name == feature["name"]:
if len(options["features_scope"]) > 0 and plugin.scope != options["features_scope"]:
log.error("You selected features of different scope ('%s:%s', '%s:%s'). Please select only combination of features with the same scope." % (feature["name"], plugin.scope, options["features"][idx - 1]["name"], options["features_scope"]))
sys.exit(1)
options["features_scope"] = plugin.scope
break
if len(feature["subs"]) < 1:
for plugin in utils.load_plugins("feature_extraction"):
if plugin.name == feature["name"]:
feature["subs"].extend(plugin.features)
break
for sub in feature["subs"]:
for plugin in utils.load_plugins("feature_extraction"):
if plugin.name == feature["name"]:
if sub not in plugin.features:
log.error("Feature unknown: '%s'" % sub)
sys.exit(1)
## Check output folder
if not options["output_folder"]:
options["output_folder"] = path.join(os.getcwd(), path.basename(options["input_folder"]))
if path.isdir(options["output_folder"]):
# output folder exist, probable disrupted job
if not options["continue"] and not options["overwrite"]:
log.error("Output folder '%s' exist. Previous run? use --continue to continue, or --overwrite to start over." % options["output_folder"])
sys.exit(1)
elif options["overwrite"]:
shutil.rmtree(options["output_folder"])
os.makedirs(options["output_folder"])
elif options["reset_preprocesses"]:
bgcjsonpath = path.join(options["output_folder"], "bgcjson")
if path.exists(bgcjsonpath):
shutil.rmtree(bgcjsonpath)
else:
os.makedirs(options["output_folder"])
## Parse gbks
## TODO: multi-threading?
log.info("Started preprocessing input files..")
utils.print_progress(0, len(input_files), prefix='Preprocessing input GBKs..', suffix='', decimals=1)
for i, filename in enumerate(input_files):
filepath = path.join(options["input_folder"], filename)
if not (path.exists(path.join(options["output_folder"], "bgcjson", "%s.bgcjson" % utils.get_bgc_name(filepath)))):
bgc = parser.parse_gbk(filepath)
if bgc is not None:
utils.save_bgcjson(bgc, options["output_folder"])
utils.print_progress(i + 1, len(input_files), prefix='Preprocessing input GBKs..', suffix='', decimals=1, bar_length=100)
log.info("Finished preprocessing input files..")
## Do feature extraction
# step 1: make folder structure & index file
feature_folder = utils.create_feature_folder(input_files, options["output_folder"])
# step 2: traverse FE modules and run algorithms, then save the results
feature_extraction_plugins = []
for plugin in utils.load_plugins("feature_extraction"):
if ("features" not in options) or (plugin.name in [feature["name"] for feature in options["features"]]):
feature_extraction_plugins.append(plugin)
# calculate features
options["feature_values"] = {}
if options["features_scope"] == "pair":
log.info("Started feature extraction for all BGC pairs..")
nrcomb = len(input_files) * (len(input_files) - 1) / 2
count = 0
utils.print_progress(0, nrcomb, prefix='Feature extraction..', suffix='', decimals=1)
for i, fn1 in enumerate(input_files):
for j, fn2 in enumerate(input_files):
if i < j:
bgc1 = parser.parse_bgcjson(path.join(options["output_folder"], "bgcjson", "%s.bgcjson" % utils.get_bgc_name(fn1)))
bgc2 = parser.parse_bgcjson(path.join(options["output_folder"], "bgcjson", "%s.bgcjson" % utils.get_bgc_name(fn2)))
for plugin in feature_extraction_plugins:
if plugin.name not in options["feature_values"]:
options["feature_values"][plugin.name] = {}
results = plugin.calculate(bgc1, bgc2)
options["feature_values"][plugin.name]["%d+%d" % (i, j)] = [float(result) for result in results]
count += 1
utils.print_progress(count, nrcomb, prefix='Feature extraction..', suffix='', decimals=1)
elif options["features_scope"] == "single":
log.info("Started feature extraction for all BGCs..")
count = 0
utils.print_progress(0, len(input_files), prefix='Feature extraction..', suffix='', decimals=1)
for i, fn in enumerate(input_files):
bgc = parser.parse_bgcjson(path.join(options["output_folder"], "bgcjson", "%s.bgcjson" % utils.get_bgc_name(fn)))
for plugin in feature_extraction_plugins:
if plugin.name not in options["feature_values"]:
options["feature_values"][plugin.name] = {}
results = plugin.calculate(bgc)
options["feature_values"][plugin.name]["%d" % (i)] = [float(result) for result in results]
count += 1
utils.print_progress(count, len(input_files), prefix='Feature extraction..', suffix='', decimals=1)
else:
log.error("Invalid features scope: '%s'" % options["features_scope"])
sys.exit(1)
## Load features & value matrix
features_rows = []
if options["features_scope"] == "pair":
for i, fn1 in enumerate(input_files):
for j, fn2 in enumerate(input_files):
if i < j:
features_rows.append([i, j])
elif options["features_scope"] == "single":
for i in xrange(0, len(input_files)):
features_rows.append([i])
else:
log.error("Invalid features scope: '%s'" % options["features_scope"])
sys.exit(1)
if "features_columns" not in options:
options["features_columns"] = []
for feature in options["features"]:
for sub in feature["subs"]:
options["features_columns"].append("%s.%s" % (feature["name"], sub))
features_matrix = {}
for row_ids in ["+".join([str(row_id) for row_id in row_ids]) for row_ids in features_rows]:
row = [None] * len(options["features_columns"])
for plugin in feature_extraction_plugins:
plugin_folder = path.join(feature_folder, plugin.name)
values = options["feature_values"][plugin.name][row_ids]
if (len(values) != len(plugin.features)):
# technically impossible to reach this, unless output from calculate != #of results expected
log.error("...")
sys.exit(1)
else:
for n, col in enumerate(plugin.features):
colname = ("%s.%s" % (plugin.name, col))
if colname in options["features_columns"]:
row[options["features_columns"].index(colname)] = values[n]
features_matrix[row_ids] = row
## Execute algorithms & save results
if options["mode"] == "train":
## Fetch feature & values training matrix
training_matrix = []
training_target = []
training_rownames = []
if options["features_scope"] == "pair":
for i, idx1 in enumerate(options["train_set"]):
for j, idx2 in enumerate(options["train_set"]):
if idx1 < idx2:
training_matrix.append(features_matrix["%d+%d" % (idx1, idx2)])
training_rownames.append("%s+%s" % (utils.get_bgc_name(input_files[idx1]), utils.get_bgc_name(input_files[idx2])))
if options["algo_mode"] == "classification":
class1 = options["single_values"][idx1].split(",")
class2 = options["single_values"][idx2].split(",")
training_target.append(int(len(set(class1) & set(class2)) > 0))
elif options["algo_mode"] == "regression":
training_target.append(float(options["train_pair_values"][i][j]))
elif options["features_scope"] == "single":
for idx in options["train_set"]:
training_matrix.append(features_matrix["%d" % (idx)])
training_rownames.append("%s" % (utils.get_bgc_name(input_files[idx1])))
training_target.append(options["single_values"][idx])
training_matrix = np.array(training_matrix)
training_target = np.array(training_target)
## Fetch feature & values testing matrix
testing_matrix = []
testing_target = []
testing_rownames = []
if options["features_scope"] == "pair":
for i, idx1 in enumerate(options["test_set"]):
for j, idx2 in enumerate(options["test_set"]):
if idx1 < idx2:
testing_matrix.append(features_matrix["%d+%d" % (idx1, idx2)])
testing_rownames.append("%s+%s" % (utils.get_bgc_name(input_files[idx1]), utils.get_bgc_name(input_files[idx2])))
if options["algo_mode"] == "classification":
class1 = options["single_values"][idx1].split(",")
class2 = options["single_values"][idx2].split(",")
testing_target.append(int(len(set(class1) & set(class2)) > 0))
elif options["algo_mode"] == "regression":
testing_target.append(float(options["test_pair_values"][i][j]))
elif options["features_scope"] == "single":
for idx in options["test_set"]:
testing_matrix.append(features_matrix["%d" % (idx)])
testing_rownames.append("%s" % (utils.get_bgc_name(input_files[idx1])))
testing_target.append(options["single_values"][idx])
testing_matrix = np.array(testing_matrix)
testing_target = np.array(testing_target)
## Load the training model
module = None
for plugin in utils.load_plugins(options["algo_mode"]):
if plugin.name == options["algorithm"]["name"]:
module = plugin
break
if module == None:
log.error("Failed to load module: '%s.%s'" % (options["algo_mode"], options["algorithm"]["name"]))
sys.exit(1)
else:
log.info("Training model...")
classifier = module.train(training_matrix, training_target, options["algorithm"]["params"])
# save model & its metadata to file
model_metadata = {
"mode": options["algo_mode"],
"algorithm": options["algorithm"],
"features": options["features"],
"columns": options["features_columns"],
"training_data_count": len(training_matrix),
"environment": {
"bgc-learn": utils.get_version(),
"scikit-learn": pkg_resources.get_distribution("scikit-learn").version,
"numpy": pkg_resources.get_distribution("numpy").version,
"scipy": pkg_resources.get_distribution("scipy").version,
}
}
save_name = utils.save_result_model(classifier, model_metadata, options["output_folder"])
# calculate accuracies & save summaries
result_training = ({}, [])
if len(training_matrix) > 0:
result_training = module.test(training_matrix, training_target, classifier)
utils.save_result_testing("training-%s" % (save_name), training_rownames, options["features_columns"], training_matrix, training_target, result_training, options["output_folder"])
result_testing = ({}, [])
if len(testing_matrix) > 0:
result_testing = module.test(testing_matrix, testing_target, classifier)
utils.save_result_testing("testing-%s" % (save_name), testing_rownames, options["features_columns"], testing_matrix, testing_target, result_testing, options["output_folder"])
elif options["mode"] == "predict":
print "..."
## Cleanup
log.info("Cleaning up..")
shutil.rmtree(feature_folder) # remove feature folder
## done
log.info("Analysis done. your result is available inside the folder '%s'." % options["output_folder"])
if __name__ == "__main__":
main()
| satriaphd/bgc-learn | bgc-learn.py | Python | gpl-3.0 | 18,044 |
//Charge les élements du jeu1
var a = 5;
require('Sprite.js', function() {
require('cssFunction.js', function() {
require('Ligne.js', function() {
require('Tableau.js', function() {
require('Cadre.js', function() {
require('Bouton.js', function() {
require('donneesServeur.js', function(){
require('Message.js', function(){
require('client.js', function() {
alert(donnees + "jeu1");
document.body.style.backgroundColor = '#D1D12C';
// Cadre message reçu
var ligneRecuEnTete = new Ligne(13);
var ligneRecuBits= new Ligne(13);
var tableauMessageRecu = new Tableau("Message recu()");
tableauMessageRecu.addLigne(ligneRecuEnTete.Element);
tableauMessageRecu.addLigne(ligneRecuBits.Element);
var cadreMessageRecu = new Cadre(null, null, null, "20px","20px");
cadreMessageRecu.addTableau(tableauMessageRecu.Element);
var rec_bouton_envoyer_s = new Bouton("Envoyer au suivant", "-170px", "0px", "bas-droite", "160px", "27px");
var rec_bouton_envoyer_p = new Bouton("Envoyer au précédent", "10px", "0px", "bas-gauche", "160px", "27px");
cadreMessageRecu.addBouton(rec_bouton_envoyer_s);
cadreMessageRecu.addBouton(rec_bouton_envoyer_p);
// Cadre créer un message
var ligneCreerEnTete = new Ligne(13);
var ligneCreerBits = new Ligne(13);
var creer_message = new Tableau("Créer un message()");
creer_message.addLigne(ligneCreerEnTete.Element);
creer_message.addLigne(ligneCreerBits.Element);
var cadreMessageCree = new Cadre(null, null, null, "20px","200px");
cadreMessageCree.addTableau(creer_message.Element);
var creer_bouton_envoyer_s = new Bouton("Envoyer au suivant", "-170px", "0px", "bas-droite", "160px", "27px");
var creer_bouton_envoyer_p = new Bouton("Envoyer au précédent", "10px", "0px", "bas-gauche", "160px", "27px");
cadreMessageCree.addBouton(creer_bouton_envoyer_s);
cadreMessageCree.addBouton(creer_bouton_envoyer_p);
// Créer sablier animé
var sablier = new Sprite('sablier_sprite.png', 13, 1000, 30, 40, null, 500, 50);
sablier.jouer();
var eventMessageRecuSuivant = function(){
donnees.recus.destinataire[0] = "suivant";
envoyerR();
ligneRecuEnTete.fill_0(); //la ligne à 0
ligneRecuBits.fill_0(); //la ligne à 0
ligneRecuEnTete.afficherMessage(donnees.recus.enTete[0]);
ligneRecuBits.afficherMessage(donnees.recus.Bits[0]);
};//end function eventMessageRecuSuivant
var eventMessageRecuPrecedent = function(){
donnees.recus.destinataire[0] = "precedent";
envoyerR();
ligneRecuEnTete.fill_0(); //la ligne à 0
ligneRecuBits.fill_0(); //la ligne à 0
ligneRecuEnTete.afficherMessage(donnees.recus.enTete[0]);
ligneRecuBits.afficherMessage(donnees.recus.Bits[0]);
};//end function eventMessageRecuSuivant
var eventMessageCreeSuivant = function(){
donnees.creer.destinataire = "suivant";
envoyerC();
ligneCreerEnTete.fill_0(); //la ligne à 0
ligneCreerBits.fill_0(); //la ligne à 0
};//end function eventMessageRecuSuivant
var eventMessageCreePrecedent = function(){
donnees.recus.destinataire = "precedent";
envoyerC();
ligneRecuEnTete.fill_0(); //la ligne à 0
ligneCreerBits.fill_0(); //la ligne à 0
};//end function eventMessageRecuSuivant
// Envoyer un message reçu
var envoyerR = function(){
MessagePourServeur.remove();
MessagePourServeur.type = "jeu1";
MessagePourServeur.enTete = donnees.recus.enTete[0];
MessagePourServeur.bits = donnees.recus.bits[0];
MessagePourServeur.identifiant = donnees.recus.identifiant[0];
MessagePourServeur.destinataire = donnees.recus.destinataire[0];
var myJSON = MessagePourServeur.stringify(MessagePourServeur);
ws.send(myJSON);
donnees.recus.enTete.splice(0,1); //on supprime le message envoyé
donnees.recus.bits.splice(0,1); //on supprime le message envoyé
donnees.recus.identifiant.splice(0,1); //on supprime le message envoyé
donnees.recus.destinataire.splice(0,1); //on supprime le message envoyé
//maSocket.nombreMessages -= 1;
//Message_recu.changerTitre("Message reçus("+maSocket.nombreMessages+")");
};
// Envoyer un message cree
var envoyerC = function(){
alert('8');
MessagePourServeur.remove();
MessagePourServeur.type = "jeu1";
MessagePourServeur.enTete = ligneCreerEnTete.stringEtats;
MessagePourServeur.bits = ligneCreerBits.stringEtats;
MessagePourServeur.destinataire = donnees.recus.destinataire[0];
var myJSON = MessagePourServeur.stringify(MessagePourServeur);
alert('ws.send(myJSON);');
ws.send(myJSON);
//maSocket.nombreMessages -= 1;
//Message_recu.changerTitre("Message reçus("+maSocket.nombreMessages+")");
};
creer_bouton_envoyer_s.addFunctionOnclick(eventMessageCreeSuivant);
creer_bouton_envoyer_p.addFunctionOnclick(eventMessageCreePrecedent);
rec_bouton_envoyer_s.addFunctionOnclick(eventMessageRecuSuivant);
rec_bouton_envoyer_p.addFunctionOnclick(eventMessageRecuPrecedent);
});// donneesServeur.js
});// Message.js
}); //cssFunction.js
}); //Nsocket.js
}); //Ligne.js
}); //Tableau.js
}); //Cadre.js
}); //Bouton.js
}); //client.js | hgrall/merite | src/communication/tests_b/vue/jeu1.js | JavaScript | gpl-3.0 | 5,165 |
/* compress_zlib.cpp --
This file is part of the UPX executable compressor.
Copyright (C) 1996-2013 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 1996-2013 Laszlo Molnar
All Rights Reserved.
UPX and the UCL library are free software; you can redistribute them
and/or modify them under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; see the file COPYING.
If not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Markus F.X.J. Oberhumer Laszlo Molnar
<markus@oberhumer.com> <ml1050@users.sourceforge.net>
*/
#include "conf.h"
#include "compress.h"
#include "mem.h"
void zlib_compress_config_t::reset()
{
memset(this, 0, sizeof(*this));
mem_level.reset();
window_bits.reset();
strategy.reset();
}
#if !(WITH_ZLIB)
extern int compress_zlib_dummy;
int compress_zlib_dummy = 0;
#else
#include <zlib.h>
static int convert_errno_from_zlib(int zr)
{
switch (zr)
{
case Z_OK: return UPX_E_OK;
case Z_DATA_ERROR: return UPX_E_ERROR;
case Z_NEED_DICT: return UPX_E_ERROR;
}
return UPX_E_ERROR;
}
/*************************************************************************
//
**************************************************************************/
int upx_zlib_compress ( const upx_bytep src, unsigned src_len,
upx_bytep dst, unsigned* dst_len,
upx_callback_p cb_parm,
int method, int level,
const upx_compress_config_t *cconf_parm,
upx_compress_result_t *cresult )
{
assert(method == M_DEFLATE);
assert(level > 0); assert(cresult != NULL);
UNUSED(cb_parm);
int r = UPX_E_ERROR;
int zr;
const zlib_compress_config_t *lcconf = cconf_parm ? &cconf_parm->conf_zlib : NULL;
zlib_compress_result_t *res = &cresult->result_zlib;
if (level == 10)
level = 9;
zlib_compress_config_t::mem_level_t mem_level;
zlib_compress_config_t::window_bits_t window_bits;
zlib_compress_config_t::strategy_t strategy;
// cconf overrides
if (lcconf)
{
oassign(mem_level, lcconf->mem_level);
oassign(window_bits, lcconf->window_bits);
oassign(strategy, lcconf->strategy);
}
res->dummy = 0;
z_stream s;
s.zalloc = (alloc_func) 0;
s.zfree = (free_func) 0;
s.next_in = const_cast<upx_bytep>(src); // UNCONST
s.avail_in = src_len;
s.next_out = dst;
s.avail_out = *dst_len;
s.total_in = s.total_out = 0;
zr = deflateInit2(&s, level, Z_DEFLATED, 0 - (int)window_bits,
mem_level, strategy);
if (zr != Z_OK)
goto error;
zr = deflate(&s, Z_FINISH);
if (zr != Z_STREAM_END)
goto error;
zr = deflateEnd(&s);
if (zr != Z_OK)
goto error;
r = UPX_E_OK;
goto done;
error:
(void) deflateEnd(&s);
r = convert_errno_from_zlib(zr);
if (r == UPX_E_OK)
r = UPX_E_ERROR;
done:
if (r == UPX_E_OK)
{
if (s.avail_in != 0 || s.total_in != src_len)
r = UPX_E_ERROR;
}
assert(s.total_in <= src_len);
assert(s.total_out <= *dst_len);
*dst_len = s.total_out;
return r;
}
/*************************************************************************
//
**************************************************************************/
int upx_zlib_decompress ( const upx_bytep src, unsigned src_len,
upx_bytep dst, unsigned* dst_len,
int method,
const upx_compress_result_t *cresult )
{
assert(method == M_DEFLATE);
UNUSED(method);
UNUSED(cresult);
int r = UPX_E_ERROR;
int zr;
z_stream s;
s.zalloc = (alloc_func) 0;
s.zfree = (free_func) 0;
s.next_in = const_cast<upx_bytep>(src); // UNCONST
s.avail_in = src_len;
s.next_out = dst;
s.avail_out = *dst_len;
s.total_in = s.total_out = 0;
zr = inflateInit2(&s, -15);
if (zr != Z_OK)
goto error;
zr = inflate(&s, Z_FINISH);
if (zr != Z_STREAM_END)
goto error;
zr = inflateEnd(&s);
if (zr != Z_OK)
goto error;
r = UPX_E_OK;
goto done;
error:
(void) inflateEnd(&s);
r = convert_errno_from_zlib(zr);
if (r == UPX_E_OK)
r = UPX_E_ERROR;
done:
if (r == UPX_E_OK)
{
if (s.avail_in != 0 || s.total_in != src_len)
r = UPX_E_INPUT_NOT_CONSUMED;
}
assert(s.total_in <= src_len);
assert(s.total_out <= *dst_len);
*dst_len = s.total_out;
return r;
}
/*************************************************************************
// test_overlap - see <ucl/ucl.h> for semantics
**************************************************************************/
int upx_zlib_test_overlap ( const upx_bytep buf,
const upx_bytep tbuf,
unsigned src_off, unsigned src_len,
unsigned* dst_len,
int method,
const upx_compress_result_t *cresult )
{
assert(method == M_DEFLATE);
MemBuffer b(src_off + src_len);
memcpy(b + src_off, buf + src_off, src_len);
unsigned saved_dst_len = *dst_len;
int r = upx_zlib_decompress(b + src_off, src_len, b, dst_len, method, cresult);
if (r != UPX_E_OK)
return r;
if (*dst_len != saved_dst_len)
return UPX_E_ERROR;
// NOTE: there is a very tiny possibility that decompression has
// succeeded but the data is not restored correctly because of
// in-place buffer overlapping.
if (tbuf != NULL && memcmp(tbuf, b, *dst_len) != 0)
return UPX_E_ERROR;
return UPX_E_OK;
}
/*************************************************************************
// misc
**************************************************************************/
const char *upx_zlib_version_string(void)
{
return zlibVersion();
}
#endif /* WITH_ZLIB */
/*
vi:ts=4:et:nowrap
*/
| null--/graviton | code/external/upx/src/compress_zlib.cpp | C++ | gpl-3.0 | 6,690 |
<?php // © Copyright 2017, Michael Scarborough. All rights reserved.
ini_set('display_errors',1);
ini_set('display_startup_errors',1);
error_reporting(-1);
use LibHelpers\LibLog\impl\LogStdOut;
use App\LogicServices\impl\HTTPLogParser;
use \App\LogicServices\impl\BasicParserConfig;
use App\HTTP\Controllers\ParserEventHandler;
use App\Views\impl\ParserViewSimple;
use App\Models\impl\ParserRecStoreMemoryHog;
use LibHelpers\LibSanitize\impl\SanitizeWebInput;
use App\Views\impl\ParserReportsJSON;
// bootstrap.php
define('ROOT', __DIR__ . DIRECTORY_SEPARATOR);
define('SRC', ROOT . 'HTTPLogParser' . DIRECTORY_SEPARATOR);
define('LIB', ROOT . '' . DIRECTORY_SEPARATOR);
spl_autoload_register(function ($class) {
$file = SRC . str_replace('\\', '/', $class) . '.php';
if (file_exists($file)) {
require $file;
}
$file = LIB . str_replace('\\', '/', $class) . '.php';
if (file_exists($file)) {
require $file;
}
});
//basic driver code
$logger = new LogStdOut();
$sanitizer = new SanitizeWebInput($logger);
$parserRecs = new ParserRecStoreMemoryHog();
$config = createParseConfiguration();
$reports = new ParserReportsJSON();
$parser = new HTTPLogParser($config, $parserRecs, $reports);
/*
$testLine = "83.149.9.216 - - [17/May/2015:10:05:03 +0000] \"GET /presentations/logstash-monitorama-2013/images/kibana-search.png HTTP/1.1\" 200 203023 \"http://semicomplete.com/presentations/logstash-monitorama-2013/\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36\"";
$cols = $parser->parseLogLine($testLine);
print "<br>".nl2br(print_r($cols, true));
// */
$view = new ParserViewSimple();
$evnthndl = new ParserEventHandler($parser, $view, $sanitizer);
//send raw input to controller for processing
$evnthndl->processAction($_REQUEST);
function createParseConfiguration() {
/*
total number of entries found, how many of them were errors or success
(based on the HTTP return code), what files were visited more often and
the most popular referers (and their %'s too).
83.149.9.216 - - [17/May/2015:10:05:03 +0000]
"GET /presentations/logstash-monitorama-2013/images/kibana-search.png HTTP/1.1"
200 203023 "http://semicomplete.com/presentations/logstash-monitorama-2013/"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36"
the combined log format.
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
%h is the remote host (ie the client IP)
%l is the identity of the user determined by identd (not usually used since not reliable)
%u is the user name determined by HTTP authentication
%t is the time the request was received.
%r is the request line from the client. ("GET / HTTP/1.0")
%>s is the status code sent from the server to the client (200, 404 etc.)
%b is the size of the response to the client (in bytes)
Referer is the Referer header of the HTTP request (containing the URL of the page from which this request was initiated) if any is present, and "-" otherwise.
User-agent is the browser identification string.
*/
$conf = new BasicParserConfig();
$conf->setColumnSeparatorRegex("@\s+@");
//adding file format configurations with function having this signature:
// addConfig($reportName, $columnIndex, $colTitle, $desiredFunc, $filterOperator, $filterOperand1)
$conf->addConfig("Number of Records", -1, null, "COUNT");
$conf->addConfig("Failures", 5, "HTTP RESPONSE CODE", "COUNT", "GTE", 400);
$conf->addConfig("Most Popular Pages", 4, "REQUESTED RESOURCE", "TOP");
$conf->addConfig("Most Common Referrers", 7, "REFERER", "TOP");
$conf->addConfig("Most common User Agents", 8, "USER AGENT", "TOP");
//adding groupings with function having this signature: addGrouping($delimStart, $delimEnd, $delimEscapeSeq)
$conf->addGrouping('"', '"', '\\');
$conf->addGrouping('[', ']', '\\');
return $conf;
}
| mscarborough-lampdev/taskmanager | other_samples/basic_mvc/bootstrap.php | PHP | gpl-3.0 | 3,988 |
/**
* j-Interop (Pure Java implementation of DCOM protocol)
*
* Copyright (c) 2013 Vikram Roopchand
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Vikram Roopchand - Moving to EPL from LGPL v3.
*
*/
package org.jinterop.dcom.impls.automation;
/** Implements the <i>TYPEKIND</i> structure of COM Automation
*
* @since 2.0 (formerly TYPEKIND)
*
*/
public interface TypeKind {
/**
* A set of enumerators.
*/
public static final Integer TKIND_ENUM = new Integer(0);
/**
* A structure with no methods.
*/
public static final Integer TKIND_RECORD = new Integer(1);
/**
* A module that can only have static functions and data (for example, a DLL).
*/
public static final Integer TKIND_MODULE = new Integer(2);
/**
* A type that has virtual and pure functions.
*/
public static final Integer TKIND_INTERFACE = new Integer(3);
/**
* A set of methods and properties that are accessible through IDispatch::Invoke.
* By default, dual interfaces return TKIND_DISPATCH.
*/
public static final Integer TKIND_DISPATCH = new Integer(4);
/**
* A set of implemented component object interfaces.
*/
public static final Integer TKIND_COCLASS = new Integer(5);
/**
* A type that is an alias for another type.
*/
public static final Integer TKIND_ALIAS = new Integer(6);
/**
* A union, all of whose members have an offset of zero.
*/
public static final Integer TKIND_UNION = new Integer(7);
/**
* End of ENUM marker.
*/
public static final Integer TKIND_MAX = new Integer(8);
}
| howie/jinterop | src/org/jinterop/dcom/impls/automation/TypeKind.java | Java | gpl-3.0 | 1,809 |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@zend.com so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Service
* @subpackage Yahoo
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: ResultSet.php 24594 2012-01-05 21:27:01Z matthew $
*/
/**
* @category Zend
* @package Zend_Service
* @subpackage Yahoo
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_Yahoo_ResultSet implements SeekableIterator
{
/**
* Total number of results available
*
* @var int
*/
public $totalResultsAvailable;
/**
* The number of results in this result set
*
* @var int
*/
public $totalResultsReturned;
/**
* The offset in the total result set of this search set
*
* @var int
*/
public $firstResultPosition;
/**
* A DOMNodeList of results
*
* @var DOMNodeList
*/
protected $_results;
/**
* Yahoo Web Service Return Document
*
* @var DOMDocument
*/
protected $_dom;
/**
* Xpath Object for $this->_dom
*
* @var DOMXPath
*/
protected $_xpath;
/**
* Current Index for SeekableIterator
*
* @var int
*/
protected $_currentIndex = 0;
/**
* Parse the search response and retrieve the results for iteration
*
* @param DOMDocument $dom the REST fragment for this object
* @return void
*/
public function __construct(DOMDocument $dom)
{
$this->totalResultsAvailable = (int) $dom->documentElement->getAttribute('totalResultsAvailable');
$this->totalResultsReturned = (int) $dom->documentElement->getAttribute('totalResultsReturned');
$this->firstResultPosition = (int) $dom->documentElement->getAttribute('firstResultPosition');
$this->_dom = $dom;
$this->_xpath = new DOMXPath($dom);
$this->_xpath->registerNamespace('yh', $this->_namespace);
$this->_results = $this->_xpath->query('//yh:Result');
}
/**
* Total Number of results returned
*
* @return int Total number of results returned
*/
public function totalResults()
{
return $this->totalResultsReturned;
}
/**
* Implement SeekableIterator::current()
*
* Must be implemented by child classes
*
* @throws Zend_Service_Exception
* @return Zend_Service_Yahoo_Result
*/
public function current()
{
/**
* @see Zend_Service_Exception
*/
require_once 'Zend/Service/Exception.php';
throw new Zend_Service_Exception('Zend_Service_Yahoo_ResultSet::current() must be implemented by child '
. 'classes');
}
/**
* Implement SeekableIterator::key()
*
* @return int
*/
public function key()
{
return $this->_currentIndex;
}
/**
* Implement SeekableIterator::next()
*
* @return void
*/
public function next()
{
$this->_currentIndex += 1;
}
/**
* Implement SeekableIterator::rewind()
*
* @return void
*/
public function rewind()
{
$this->_currentIndex = 0;
}
/**
* Implement SeekableIterator::seek()
*
* @param int $index
* @return void
* @throws OutOfBoundsException
*/
public function seek($index)
{
$indexInt = (int) $index;
if ($indexInt >= 0 && $indexInt < $this->_results->length) {
$this->_currentIndex = $indexInt;
} else {
throw new OutOfBoundsException("Illegal index '$index'");
}
}
/**
* Implement SeekableIterator::valid()
*
* @return boolean
*/
public function valid()
{
return $this->_currentIndex < $this->_results->length;
}
}
| basdog22/Qool | lib/Zend/Service/Yahoo/ResultSet.php | PHP | gpl-3.0 | 4,699 |
#ifndef _FAT12_H
#define _FAT12_H
#include <stdint.h>
#include <fs/vfs.h>
#define __packed
// Directory entry
struct _DIRECTORY{
uint8_t Filename[8];
uint8_t Extension[3];
uint8_t Attribute;
uint8_t Reserved;
uint8_t CreationTimedMS;
uint16_t CreationTime;
uint16_t CreationDate;
uint16_t LastAccesseDate;
uint16_t FirstClusterHiBytes;
uint16_t LastModTime;
uint16_t LastModDate;
uint16_t FirstCluster;
uint32_t FileSize;
}__attribute((packed));
typedef struct _DIRECTORY DIRECTORY, *PDIRECTORY;
#undef __packed
// FS mount infos
typedef struct _MOUNTINFO{
uint32_t numSectors;
uint32_t fatOffset;
uint32_t numRootEntries;
uint32_t rootOffset;
uint32_t rootSize;
uint32_t fatSize;
uint32_t fatEntrySize;
}MOUNTINFO, *PMOUNTINFO;
extern FILE fsysFatDirectory (const char* DirectoryName);
extern void fsysFatRead(PFILE file, unsigned char* buffer, unsigned int length);
extern FILE fsysFatOpen(const char* filename);
extern void fsysFatInit(unsigned char deviceID);
extern void fsysFatMount(unsigned char deviceID);
#endif
| Luca1991/SeaStar-OS | Include/fs/fat12.h | C | gpl-3.0 | 1,049 |
/*
* Copyright (C) 2008, 2009, 2010 The Collaborative Software Foundation.
*
* This file is part of FeedHandlers (FH).
*
* FH is free software: you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* FH is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with FH. If not, see <http://www.gnu.org/licenses/>.
*/
//
#ifndef __ARCA_PROFILING_H_
#define __ARCA_PROFILING_H_
/*********************************************************************/
/* file: profiling.h */
/* Usage: profiling constants for arca multicast */
/* Author: Wally Matthews of Collaborative Software Initiative */
/* Conception: Jan. 22, 2009 */
/* Inherited from Tervela Itch30 */
/*********************************************************************/
// only one of below should be a value of 1
// otherwise the instrumentation will be a leading cause
// of bad performance
//#define ARCA_LOOP_PROFILE (0) //profile receive loop with select
//#define ARCA_DRAIN_PROFILE (0) //profile receive loop wo select
#define ARCA_MESSAGE_PROFILE (0) //profile parse message
#define ARCA_ADD_ORDER_PROFILE (0) //profile add order msg processing
#define ARCA_MOD_ORDER_PROFILE (0) //profile mod order msg processing
#define ARCA_DEL_ORDER_PROFILE (0) //profile del order msg processing
#define ARCA_IMBALANCE_PROFILE (0) //profile imbalance msg processing
#define ARCA_SYMBOL_MAP_PROFILE (0) //profile symbol map processing
#define ARCA_FIRM_MAP_PROFILE (0) //profile firm map processing
#define ARCA_IMBALANCE_REFRESH_PROFILE (0) //profile imbalance refresh processing
#define ARCA_BOOK_REFRESH_PROFILE (0) //profile book refresh processing
#endif
| csinitiative/fhce | feeds/arca/multicast/common/profiling.h | C | gpl-3.0 | 2,310 |
package pl.shop.mvc.configuration;
import java.util.Locale;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ResourceBundleMessageSource;
import org.springframework.validation.Validator;
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
import org.springframework.web.multipart.MultipartResolver;
import org.springframework.web.multipart.support.StandardServletMultipartResolver;
import org.springframework.web.servlet.LocaleResolver;
import org.springframework.web.servlet.ViewResolver;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
import org.springframework.web.servlet.i18n.LocaleChangeInterceptor;
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
import org.springframework.web.servlet.view.InternalResourceViewResolver;
import org.springframework.web.util.UrlPathHelper;
import pl.shop.mvc.interceptors.AuditingInterceptor;
import pl.shop.mvc.interceptors.PerformanceInterceptor;
import pl.shop.mvc.interceptors.PromoCodeInterceptor;
@EnableWebMvc //<mvc:annotation-driven /> enable spring annotation
@Configuration
@ComponentScan(basePackages = "pl.shop.mvc.controllers") //load controller "AppController.java"
public class WebConfig extends WebMvcConfigurerAdapter {
@Autowired
private PerformanceInterceptor performanceInterceptor;
@Autowired
private AuditingInterceptor auditingInterceptor;
@Autowired
private LocalValidatorFactoryBean localValidatorFactoryBean;
@Override //for resources location, resources for css, js
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/resources/**").addResourceLocations("/resources/");
}
/* @Override //static resources
public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
configurer.enable();
}*/
@Bean
public ViewResolver html() {
InternalResourceViewResolver viewResolver = new InternalResourceViewResolver();
viewResolver.setPrefix("/WEB-INF/views/");
viewResolver.setSuffix(".jsp");
return viewResolver;
}
//allow on proper working annotations "@MatrixVariable" in controllers (this annotation get array variables from URL)
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
UrlPathHelper urlPathHelper = new UrlPathHelper();
urlPathHelper.setRemoveSemicolonContent(false);
configurer.setUrlPathHelper(urlPathHelper);
}
@Bean
public MessageSource messageSource() {
ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource();
messageSource.setBasename("messages");
return messageSource;
}
// @Bean
// public MultipartResolver multipartResolver() { //we can use apache to sending file
// CommonsMultipartResolver multipartResolver = new CommonsMultipartResolver();
// multipartResolver.setMaxUploadSize(1048576); //1 megabyt limit
// return multipartResolver;
// }
@Bean
public MultipartResolver multipartResolver() {
return new StandardServletMultipartResolver();
}
// @Bean //keep locale in cookies
// public LocaleResolver localeResolver(){ //if we select any language then this bean save it for session
// CookieLocaleResolver resolver = new CookieLocaleResolver();
// resolver.setDefaultLocale(new Locale("en")); //default language
// resolver.setCookieName("myLocaleCookie"); //language cookie name
// resolver.setCookieMaxAge(4800); //date of expire language in cookie
// return resolver;
// }
@Bean //keep locale in session
public LocaleResolver localeResolver() {
SessionLocaleResolver localeResolver = new SessionLocaleResolver();
localeResolver.setDefaultLocale(Locale.ENGLISH);
return localeResolver;
}
@Bean
public LocaleChangeInterceptor localeInterceptor() {
LocaleChangeInterceptor interceptor = new LocaleChangeInterceptor();
interceptor.setParamName("language");
return interceptor;
}
@Bean
public PromoCodeInterceptor promoInterceptor() {
PromoCodeInterceptor promoInterceptor = new PromoCodeInterceptor();
promoInterceptor.setPromoCode("ABCD");
promoInterceptor.setOfferRedirect("/products/product");
promoInterceptor.setErrorRedirect("/products/invalidCode");
return promoInterceptor;
}
@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(performanceInterceptor);
registry.addInterceptor(localeInterceptor());
registry.addInterceptor(auditingInterceptor);
registry.addInterceptor(promoInterceptor());
}
@Override
public Validator getValidator() {
localValidatorFactoryBean.setValidationMessageSource(messageSource());
return localValidatorFactoryBean;
}
}
| grkopiec/spring-shop | src/main/java/pl/shop/mvc/configuration/WebConfig.java | Java | gpl-3.0 | 5,232 |
#include <QApplication>
#include "Fenetre/FenetreParametre.h"
#include <QTextCodec>
using namespace std;
int main(int argc, char *argv[])
{
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
QApplication a(argc, argv);
FenetreParametre f;
return a.exec();
}
| swimaf/Tarot | src/main.cpp | C++ | gpl-3.0 | 431 |
package net.joaopms.PvPUtilities.helper;
import net.joaopms.PvPUtilities.lib.Reference;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.ChatComponentText;
public class ChatHelper {
public static void sendMessageToPlayer(EntityPlayer player, Object message) {
player.addChatMessage(new ChatComponentText(String.format("§d%s §5» §r%s", Reference.MOD_ID, message)));
}
} | joaopms/PvPUtilities | src/main/java/net/joaopms/PvPUtilities/helper/ChatHelper.java | Java | gpl-3.0 | 412 |
# Copyright (c) 2012-2014 Lotaris SA
#
# This file is part of ROX Center.
#
# ROX Center is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ROX Center is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ROX Center. If not, see <http://www.gnu.org/licenses/>.
require 'spec_helper'
describe TestPayloadProcessing::ProcessPayload do
let(:user){ create :user }
let(:received_at){ Time.now }
let(:test_run){ create :test_run, runner: user }
let(:processed_test_run){ double test_run: test_run }
let(:projects){ Array.new(2){ |i| create :project } }
let(:test_keys){ Array.new(3){ |i| create :test_key, user: user, project: i < 2 ? projects[0] : projects[1] } }
let(:test_payload){ create_test_payload }
let(:sample_payload) do
HashWithIndifferentAccess.new({
u: "f47ac10b-58cc",
g: "nightly",
d: 3600000,
r: [
{
j: projects[0].api_id,
v: "1.0.2",
t: [
{
k: test_keys[0].key,
n: "Test 1",
p: true,
d: 500,
f: 1,
m: "It works!",
c: "SoapUI",
g: [ "integration", "performance" ],
t: [ "#12", "#34" ],
a: {
sql_nb_queries: "4",
custom: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
}
},
{
k: test_keys[1].key,
n: "Test 2",
p: false,
d: 5000,
f: 0,
m: "Foo",
c: "Selenium",
g: [ "automated" ],
t: [ "#56" ],
a: {
custom: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
}
}
]
},
{
j: projects[1].api_id,
v: "1.0.3",
t: [
{
k: test_keys[2].key,
n: "Test 3",
p: true,
d: 300,
m: "It also works!",
c: "JUnit",
g: [ "unit", "captcha" ],
t: [ "#78" ]
}
]
}
]
})
end
before :each do
allow(TestPayloadProcessing::ProcessTestRun).to receive(:new){ |*args| processed_test_run }
allow(Rails.application.events).to receive(:fire)
end
it "should refuse a test payload not in processing state", rox: { key: '38b92d17f22b' } do
expect{ process_payload create_test_payload(state: :created, processing_at: nil) }.to raise_error
expect{ process_payload create_test_payload(state: :processed, processed_at: received_at) }.to raise_error
end
it "should process the test run in the payload", rox: { key: 'f27fdc182dad' } do
expect(TestPayloadProcessing::ProcessTestRun).to receive(:new).exactly(1).times.with(HashWithIndifferentAccess.new(sample_payload), kind_of(TestPayload), kind_of(Hash))
expect(process_payload.processed_test_run).to eq(processed_test_run)
end
it "should log the number of processed tests", rox: { key: '04e14ea5cd27' } do
expect(Rails.logger).to receive(:info).ordered.twice
expect(Rails.logger).to receive(:info).ordered.once do |*args|
expect(args.first).to match(/#{sample_payload[:r].inject(0){ |memo,r| memo + r[:t].length }} test results/)
end
process_payload
end
it "should return the test payload", rox: { key: '89525ea86b66' } do
expect(process_payload.test_payload).to eq(test_payload)
end
it "should return the user who submitted the payload", rox: { key: '5ffde54ccbbf' } do
expect(process_payload.test_payload.user).to eq(user)
end
it "should return the time at which the payload was received", rox: { key: 'a56bd35cd793' } do
expect(process_payload.test_payload.received_at).to eq(received_at)
end
it "should trigger an api:payload event on the application", rox: { key: '9fc739a396b9' } do
expect(Rails.application.events).to receive(:fire).with('api:payload', kind_of(TestPayloadProcessing::ProcessPayload))
process_payload
end
it "should mark free keys as used", rox: { key: '874aab561f85' } do
expect(test_keys.any?(&:free?)).to be(true)
process_payload
expect(test_keys.each(&:reload).none?(&:free)).to be(true)
end
it "should put the test payload in processed state", rox: { key: '0e6487f46a6e' } do
expect(process_payload.test_payload.processed?).to be(true)
end
it "should link the test payload to the test run", rox: { key: '38c69405f0d4' } do
expect(process_payload.test_payload.test_run).to eq(test_run)
end
it "should unlink test keys from the payload", rox: { key: '98b8dc9b59e3' } do
expect(process_payload.test_payload.test_keys).to be_empty
end
context "cache" do
it "should fetch all test keys", rox: { key: '22b307f18606' } do
expect(process_payload.cache[:keys]).to match_array(test_keys)
end
it "should fetch all projects", rox: { key: 'fac2d427f0e3' } do
expect(process_payload.cache[:projects]).to match_array(projects)
end
it "should fetch existing project versions and create new ones", rox: { key: '852b66c9ee22' } do
create :project_version, project: projects[0], name: '1.0.2'
versions = nil
expect{ versions = process_payload.cache[:project_versions] }.to change(ProjectVersion, :count).by(1)
expect(versions.collect{ |v| "#{v.project.name} v#{v.name}" }).to match_array([ "#{projects[0].name} v1.0.2", "#{projects[1].name} v1.0.3" ])
end
it "should merge case-insensitive duplicate versions", rox: { key: '7f3a2e3d26ff' } do
sample_payload[:r][0][:v] = '1.0.2-alpha'
create :project_version, project: projects[0], name: '1.0.2-ALPHA'
versions = nil
expect{ versions = process_payload.cache[:project_versions] }.to change(ProjectVersion, :count).by(1)
expect(versions.collect{ |v| "#{v.project.name} v#{v.name}" }).to match_array([ "#{projects[0].name} v1.0.2-ALPHA", "#{projects[1].name} v1.0.3" ])
end
it "should fetch all tests", rox: { key: '2fb68542ef4a' } do
tests = Array.new(2){ |i| create :test, key: test_keys[i] }
expect(process_payload.cache[:tests]).to match_array(tests)
end
it "should fetch all test deprecations since the time the payload was received", rox: { key: '130423f4afaf' } do
deprecations = []
test1 = create :test, key: test_keys[0]
deprecations << create(:deprecation, test_info: test1, created_at: 5.minutes.from_now)
test2 = create :test, key: test_keys[1], run_at: 3.days.ago, deprecated_at: 2.days.ago
create(:deprecation, deprecated: false, test_info: test2, created_at: 1.hour.ago)
deprecations << create(:deprecation, test_info: test2, created_at: 10.minutes.from_now)
deprecations << create(:deprecation, deprecated: false, test_info: test2, created_at: 12.minutes.from_now)
test3 = create :test, key: test_keys[2], run_at: 5.days.ago, deprecated_at: 4.days.ago
expect(process_payload.cache[:deprecations]).to match_array(deprecations)
end
it "should fetch the test run by UID if it already exists", rox: { key: '814f932a3fc7' } do
run = create :run_with_uid, runner: user
test = create :test, key: create(:test_key, user: user, project: projects[0]), test_run: run
sample_payload[:u] = run.uid
expect(process_payload.cache[:run]).to eq(run)
end
it "should fetch existing categories and create new ones", rox: { key: 'e498fa89a412' } do
create :category, name: 'SoapUI'
categories = nil
expect{ categories = process_payload.cache[:categories] }.to change(Category, :count).by(2)
expect(categories.collect(&:name)).to match_array([ 'SoapUI', 'JUnit', 'Selenium' ])
end
it "should merge case-insensitive duplicate categories", rox: { key: '192fef27f139' } do
sample_payload[:r][0][:t][0][:c] = 'foo'
sample_payload[:r][0][:t][1][:c] = 'Foo'
categories = nil
expect{ categories = process_payload.cache[:categories] }.to change(Category, :count).by(2)
expect(categories.collect(&:name)).to match_array([ 'foo', 'JUnit' ])
end
it "should fetch existing tags and create new ones", rox: { key: '63d035a205d7' } do
%w(unit automated).each{ |name| Tag.find_or_create_by name: name }
tags = nil
expect{ tags = process_payload.cache[:tags] }.to change(Tag, :count).by(3)
expect(tags.collect(&:name)).to match_array(sample_payload[:r].inject([]){ |memo,r| memo + r[:t].inject([]){ |memo,t| memo + (t[:g] || []) } })
end
it "should merge case-insensitive duplicate tags", rox: { key: 'df8050c531a6' } do
sample_payload[:r][0][:t][0][:g] = sample_payload[:r][0][:t][0][:g] + [ 'foo' ]
sample_payload[:r][0][:t][1][:g] = sample_payload[:r][0][:t][1][:g] + [ 'Foo' ]
tags = nil
expect{ tags = process_payload.cache[:tags] }.to change(Tag, :count).by(6)
expect(tags.collect(&:name)).to match_array(sample_payload[:r].inject([]){ |memo,r| memo + r[:t].inject([]){ |memo,t| memo + (t[:g] || []) } }.uniq(&:downcase))
end
it "should fetch existing tickets and create new ones", rox: { key: '348da45fdfbc' } do
%w(#12 #78).each{ |name| Ticket.find_or_create_by name: name }
tickets = nil
expect{ tickets = process_payload.cache[:tickets] }.to change(Ticket, :count).by(2)
expect(tickets.collect(&:name)).to match_array(sample_payload[:r].inject([]){ |memo,r| memo + r[:t].inject([]){ |memo,t| memo + (t[:t] || []) } })
end
it "should merge case-insensitive duplicate tickets", rox: { key: '64dae944be76' } do
sample_payload[:r][0][:t][0][:t] = sample_payload[:r][0][:t][0][:t] + [ 'JIRA-dup' ]
sample_payload[:r][0][:t][1][:g] = sample_payload[:r][0][:t][1][:g] + [ 'JIRA-DUP' ]
tickets = nil
expect{ tickets = process_payload.cache[:tickets] }.to change(Ticket, :count).by(5)
expect(tickets.collect(&:name)).to match_array(sample_payload[:r].inject([]){ |memo,r| memo + r[:t].inject([]){ |memo,t| memo + (t[:t] || []) } }.uniq(&:downcase))
end
it "should fetch existing test values", rox: { key: '9f2ec3b8ff68' } do
test = create :test, key: test_keys[0]
existing_values = [ create(:test_value, name: 'custom', test_info: test) ]
values = nil
expect{ values = process_payload.cache[:custom_values] }.not_to change(TestValue, :count)
expect(values).to match_array(existing_values)
end
end
private
def process_payload test_payload = test_payload
TestPayloadProcessing::ProcessPayload.new test_payload
end
def create_test_payload options = {}
create :test_payload, { contents: MultiJson.dump(sample_payload), user: user, received_at: received_at, state: :processing, processing_at: received_at, test_keys: test_keys }.merge(options)
end
end
| lotaris/rox-center | spec/jobs/process_payload_spec.rb | Ruby | gpl-3.0 | 11,323 |
/**
* Copyright 2015 George Belden
*
* This file is part of Sherlock.
*
* Sherlock is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Sherlock is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* Sherlock. If not, see <http://www.gnu.org/licenses/>.
*/
package com.ciphertool.sherlock.etl.importers;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.FutureTask;
import java.util.concurrent.atomic.AtomicInteger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.core.task.TaskExecutor;
import com.ciphertool.sherlock.dao.NGramDao;
import com.ciphertool.sherlock.entities.NGram;
import com.ciphertool.sherlock.etl.parsers.FileParser;
public class NGramListImporterImpl implements NGramListImporter {
private static Logger log = LoggerFactory.getLogger(NGramListImporterImpl.class);
private TaskExecutor taskExecutor;
private FileParser<NGram> nGramFileParser;
private NGramDao nGramDao;
private int persistenceBatchSize;
private AtomicInteger rowCount = new AtomicInteger(0);
private int concurrencyBatchSize;
private String twoGramFileName;
private String threeGramFileName;
private String fourGramFileName;
private String fiveGramFileName;
@Override
public void importNGramList() {
// Reset the counts in case this method is called again
rowCount.set(0);
long start = System.currentTimeMillis();
try {
Map<String, NGram> allNGrams = new HashMap<String, NGram>();
Map<String, NGram> twoGramsFromFile = new HashMap<String, NGram>();
addUniqueRowsToMap(nGramFileParser.parseFile(twoGramFileName), twoGramsFromFile);
for (NGram twoGram : twoGramsFromFile.values()) {
twoGram.setNumWords(2);
}
allNGrams.putAll(twoGramsFromFile);
Map<String, NGram> threeGramsFromFile = new HashMap<String, NGram>();
addUniqueRowsToMap(nGramFileParser.parseFile(threeGramFileName), threeGramsFromFile);
for (NGram threeGram : threeGramsFromFile.values()) {
threeGram.setNumWords(3);
}
allNGrams.putAll(threeGramsFromFile);
Map<String, NGram> fourGramsFromFile = new HashMap<String, NGram>();
addUniqueRowsToMap(nGramFileParser.parseFile(fourGramFileName), fourGramsFromFile);
for (NGram fourGram : fourGramsFromFile.values()) {
fourGram.setNumWords(4);
}
allNGrams.putAll(fourGramsFromFile);
Map<String, NGram> fiveGramsFromFile = new HashMap<String, NGram>();
addUniqueRowsToMap(nGramFileParser.parseFile(fiveGramFileName), fiveGramsFromFile);
for (NGram fiveGram : fiveGramsFromFile.values()) {
fiveGram.setNumWords(5);
}
allNGrams.putAll(fiveGramsFromFile);
log.info("Starting n-gram list import...");
List<FutureTask<Void>> futureTasks = new ArrayList<FutureTask<Void>>();
FutureTask<Void> futureTask = null;
List<NGram> threadedNGramBatch = new ArrayList<NGram>();
for (NGram nGram : allNGrams.values()) {
threadedNGramBatch.add(nGram);
if (threadedNGramBatch.size() >= this.concurrencyBatchSize) {
List<NGram> nextThreadedNGramBatch = new ArrayList<NGram>();
int originalSize = threadedNGramBatch.size();
for (int i = 0; i < originalSize; i++) {
/*
* It's faster to remove from the end of the List because no elements need to shift
*/
nextThreadedNGramBatch.add(threadedNGramBatch.remove(threadedNGramBatch.size() - 1));
}
futureTask = new FutureTask<Void>(new BatchNGramImportTask(nextThreadedNGramBatch));
futureTasks.add(futureTask);
this.taskExecutor.execute(futureTask);
}
}
/*
* Start one last task if there are any leftover NGrams from file that did not reach the batch size.
*/
if (threadedNGramBatch.size() > 0) {
/*
* It's safe to use the threadedNGramBatch now, instead of copying into a temporaryList, because this is
* the last thread to run.
*/
futureTask = new FutureTask<Void>(new BatchNGramImportTask(threadedNGramBatch));
futureTasks.add(futureTask);
this.taskExecutor.execute(futureTask);
}
for (FutureTask<Void> future : futureTasks) {
try {
future.get();
} catch (InterruptedException ie) {
log.error("Caught InterruptedException while waiting for BatchNGramImportTask ", ie);
} catch (ExecutionException ee) {
log.error("Caught ExecutionException while waiting for BatchNGramImportTask ", ee);
}
}
} finally {
log.info("Rows inserted: " + this.rowCount);
log.info("Time elapsed: " + (System.currentTimeMillis() - start) + "ms");
}
}
protected static void addUniqueRowsToMap(List<NGram> rowsToAdd, Map<String, NGram> map) {
String nextNGram;
for (NGram row : rowsToAdd) {
nextNGram = row.getNGram();
if (map.containsKey(nextNGram)) {
if (map.get(nextNGram).getFrequencyWeight() < row.getFrequencyWeight()) {
map.put(nextNGram, row);
}
} else {
map.put(row.getNGram(), row);
}
}
}
/**
* A concurrent task for persisting a batch of NGrams to database.
*/
protected class BatchNGramImportTask implements Callable<Void> {
private List<NGram> nGrams;
public BatchNGramImportTask(List<NGram> nGrams) {
this.nGrams = nGrams;
}
@Override
public Void call() throws Exception {
List<NGram> nGramInsertBatch = new ArrayList<NGram>();
for (NGram nGram : this.nGrams) {
importNGram(nGram, nGramInsertBatch);
}
if (nGramInsertBatch.size() > 0) {
boolean result = nGramDao.insertBatch(nGramInsertBatch);
if (result) {
rowCount.addAndGet(nGramInsertBatch.size());
}
}
return null;
}
}
/**
* Imports an NGram, only calling down to the persistence layer once the batch size is reached.
*
* @param nGram
* the next line to import
* @param nGramInsertBatch
* the batch of NGrams to insert, maintained across loop iterations
*/
protected void importNGram(NGram nGram, List<NGram> nGramBatch) {
if (nGram == null) {
// Nothing to do
return;
}
nGramBatch.add(nGram);
/*
* Since the above loop adds a nGram several times depending on how many parts of speech it is related to, the
* batch size may be exceeded by a handful, and this is fine.
*/
if (nGramBatch.size() >= this.persistenceBatchSize) {
boolean result = this.nGramDao.insertBatch(nGramBatch);
if (result) {
this.rowCount.addAndGet(nGramBatch.size());
}
nGramBatch.clear();
}
}
/**
* @param nGramDao
* the nGramDao to set
*/
@Required
public void setNGramDao(NGramDao nGramDao) {
this.nGramDao = nGramDao;
}
/**
* @param persistenceBatchSize
* the persistenceBatchSize to set
*/
@Required
public void setPersistenceBatchSize(int persistenceBatchSize) {
this.persistenceBatchSize = persistenceBatchSize;
}
/**
* @param fileParser
* the fileParser to set
*/
@Required
public void setFileParser(FileParser<NGram> fileParser) {
this.nGramFileParser = fileParser;
}
/**
* @param concurrencyBatchSize
* the concurrencyBatchSize to set
*/
@Required
public void setConcurrencyBatchSize(int concurrencyBatchSize) {
this.concurrencyBatchSize = concurrencyBatchSize;
}
/**
* @param taskExecutor
* the taskExecutor to set
*/
@Required
public void setTaskExecutor(TaskExecutor taskExecutor) {
this.taskExecutor = taskExecutor;
}
/**
* @param twoGramFileName
* the twoGramFileName to set
*/
@Required
public void setTwoGramFileName(String twoGramFileName) {
this.twoGramFileName = twoGramFileName;
}
/**
* @param threeGramFileName
* the threeGramFileName to set
*/
@Required
public void setThreeGramFileName(String threeGramFileName) {
this.threeGramFileName = threeGramFileName;
}
/**
* @param fourGramFileName
* the fourGramFileName to set
*/
@Required
public void setFourGramFileName(String fourGramFileName) {
this.fourGramFileName = fourGramFileName;
}
/**
* @param fiveGramFileName
* the fiveGramFileName to set
*/
@Required
public void setFiveGramFileName(String fiveGramFileName) {
this.fiveGramFileName = fiveGramFileName;
}
}
| beldenge/Sherlock | src/main/java/com/ciphertool/sherlock/etl/importers/NGramListImporterImpl.java | Java | gpl-3.0 | 8,834 |
<?php
/**
* This is the model class for table "account_fiscalyear".
*
* The followings are the available columns in table 'account_fiscalyear':
* @property integer $id
* @property integer $create_uid
* @property string $create_date
* @property string $write_date
* @property integer $write_uid
* @property string $date_stop
* @property string $code
* @property string $name
* @property integer $end_journal_period_id
* @property string $date_start
* @property integer $company_id
* @property string $state
*
* The followings are the available model relations:
* @property AccountAgedTrialBalance[] $accountAgedTrialBalances
* @property AccountBalanceReport[] $accountBalanceReports
* @property AccountCommonAccountReport[] $accountCommonAccountReports
* @property AccountCentralJournal[] $accountCentralJournals
* @property AccountChart[] $accountCharts
* @property AccountCommonJournalReport[] $accountCommonJournalReports
* @property AccountCommonPartnerReport[] $accountCommonPartnerReports
* @property AccountCommonReport[] $accountCommonReports
* @property AccountFiscalyearCloseState[] $accountFiscalyearCloseStates
* @property AccountPeriod[] $accountPeriods
* @property AccountGeneralJournal[] $accountGeneralJournals
* @property AccountFiscalyearClose[] $accountFiscalyearCloses
* @property AccountFiscalyearClose[] $accountFiscalyearCloses1
* @property AccountPartnerLedger[] $accountPartnerLedgers
* @property AccountOpenClosedFiscalyear[] $accountOpenClosedFiscalyears
* @property AccountPartnerBalance[] $accountPartnerBalances
* @property AccountSequenceFiscalyear[] $accountSequenceFiscalyears
* @property AccountPrintJournal[] $accountPrintJournals
* @property AccountReportGeneralLedger[] $accountReportGeneralLedgers
* @property AccountingReport[] $accountingReports
* @property AccountingReport[] $accountingReports1
* @property AccountVatDeclaration[] $accountVatDeclarations
* @property ResUsers $writeU
* @property AccountJournalPeriod $endJournalPeriod
* @property ResUsers $createU
* @property ResCompany $company
*/
class AccountFiscalyear extends CActiveRecord
{
/**
* @return string the associated database table name
*/
public function tableName()
{
return 'account_fiscalyear';
}
/**
* @return array validation rules for model attributes.
*/
public function rules()
{
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
array('date_stop, code, name, date_start, company_id', 'required'),
array('create_uid, write_uid, end_journal_period_id, company_id', 'numerical', 'integerOnly'=>true),
array('code', 'length', 'max'=>6),
array('name', 'length', 'max'=>64),
array('create_date, write_date, state', 'safe'),
// The following rule is used by search().
// @todo Please remove those attributes that should not be searched.
array('id, create_uid, create_date, write_date, write_uid, date_stop, code, name, end_journal_period_id, date_start, company_id, state', 'safe', 'on'=>'search'),
);
}
/**
* @return array relational rules.
*/
public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array(
'accountAgedTrialBalances' => array(self::HAS_MANY, 'AccountAgedTrialBalance', 'fiscalyear_id'),
'accountBalanceReports' => array(self::HAS_MANY, 'AccountBalanceReport', 'fiscalyear_id'),
'accountCommonAccountReports' => array(self::HAS_MANY, 'AccountCommonAccountReport', 'fiscalyear_id'),
'accountCentralJournals' => array(self::HAS_MANY, 'AccountCentralJournal', 'fiscalyear_id'),
'accountCharts' => array(self::HAS_MANY, 'AccountChart', 'fiscalyear'),
'accountCommonJournalReports' => array(self::HAS_MANY, 'AccountCommonJournalReport', 'fiscalyear_id'),
'accountCommonPartnerReports' => array(self::HAS_MANY, 'AccountCommonPartnerReport', 'fiscalyear_id'),
'accountCommonReports' => array(self::HAS_MANY, 'AccountCommonReport', 'fiscalyear_id'),
'accountFiscalyearCloseStates' => array(self::HAS_MANY, 'AccountFiscalyearCloseState', 'fy_id'),
'accountPeriods' => array(self::HAS_MANY, 'AccountPeriod', 'fiscalyear_id'),
'accountGeneralJournals' => array(self::HAS_MANY, 'AccountGeneralJournal', 'fiscalyear_id'),
'accountFiscalyearCloses' => array(self::HAS_MANY, 'AccountFiscalyearClose', 'fy_id'),
'accountFiscalyearCloses1' => array(self::HAS_MANY, 'AccountFiscalyearClose', 'fy2_id'),
'accountPartnerLedgers' => array(self::HAS_MANY, 'AccountPartnerLedger', 'fiscalyear_id'),
'accountOpenClosedFiscalyears' => array(self::HAS_MANY, 'AccountOpenClosedFiscalyear', 'fyear_id'),
'accountPartnerBalances' => array(self::HAS_MANY, 'AccountPartnerBalance', 'fiscalyear_id'),
'accountSequenceFiscalyears' => array(self::HAS_MANY, 'AccountSequenceFiscalyear', 'fiscalyear_id'),
'accountPrintJournals' => array(self::HAS_MANY, 'AccountPrintJournal', 'fiscalyear_id'),
'accountReportGeneralLedgers' => array(self::HAS_MANY, 'AccountReportGeneralLedger', 'fiscalyear_id'),
'accountingReports' => array(self::HAS_MANY, 'AccountingReport', 'fiscalyear_id'),
'accountingReports1' => array(self::HAS_MANY, 'AccountingReport', 'fiscalyear_id_cmp'),
'accountVatDeclarations' => array(self::HAS_MANY, 'AccountVatDeclaration', 'fiscalyear_id'),
'writeU' => array(self::BELONGS_TO, 'ResUsers', 'write_uid'),
'endJournalPeriod' => array(self::BELONGS_TO, 'AccountJournalPeriod', 'end_journal_period_id'),
'createU' => array(self::BELONGS_TO, 'ResUsers', 'create_uid'),
'company' => array(self::BELONGS_TO, 'ResCompany', 'company_id'),
);
}
/**
* @return array customized attribute labels (name=>label)
*/
public function attributeLabels()
{
return array(
'id' => 'ID',
'create_uid' => 'Create Uid',
'create_date' => 'Create Date',
'write_date' => 'Write Date',
'write_uid' => 'Write Uid',
'date_stop' => 'Date Stop',
'code' => 'Code',
'name' => 'Name',
'end_journal_period_id' => 'End Journal Period',
'date_start' => 'Date Start',
'company_id' => 'Company',
'state' => 'State',
);
}
/**
* Retrieves a list of models based on the current search/filter conditions.
*
* Typical usecase:
* - Initialize the model fields with values from filter form.
* - Execute this method to get CActiveDataProvider instance which will filter
* models according to data in model fields.
* - Pass data provider to CGridView, CListView or any similar widget.
*
* @return CActiveDataProvider the data provider that can return the models
* based on the search/filter conditions.
*/
public function search()
{
// @todo Please modify the following code to remove attributes that should not be searched.
$criteria=new CDbCriteria;
$criteria->compare('id',$this->id);
$criteria->compare('create_uid',$this->create_uid);
$criteria->compare('create_date',$this->create_date,true);
$criteria->compare('write_date',$this->write_date,true);
$criteria->compare('write_uid',$this->write_uid);
$criteria->compare('date_stop',$this->date_stop,true);
$criteria->compare('code',$this->code,true);
$criteria->compare('name',$this->name,true);
$criteria->compare('end_journal_period_id',$this->end_journal_period_id);
$criteria->compare('date_start',$this->date_start,true);
$criteria->compare('company_id',$this->company_id);
$criteria->compare('state',$this->state,true);
return new CActiveDataProvider($this, array(
'criteria'=>$criteria,
));
}
/**
* @return CDbConnection the database connection used for this class
*/
public function getDbConnection()
{
return Yii::app()->dbopenerp;
}
/**
* Returns the static model of the specified AR class.
* Please note that you should have this exact method in all your CActiveRecord descendants!
* @param string $className active record class name.
* @return AccountFiscalyear the static model class
*/
public static function model($className=__CLASS__)
{
return parent::model($className);
}
}
| futurable/futural | backend/protected/models/AccountFiscalyear.php | PHP | gpl-3.0 | 8,107 |
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><{$keyword}>-<{$Think.config.seo_title}></title>
<meta name="keywords" content="<{$Think.config.seo_keywords}>" />
<meta name="description" content="<{$Think.config.seo_description}>" />
<include file='Public:file'/>
</head>
<body>
<include file='Public:c_head'/>
<!-- main -->
<div class="container">
<div class="row">
<!-- right -->
<div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
<div class="list_box">
<h2 class="left_h1">产品搜索</h2>
<div class="product_list product_list2">
<volist name='product' id='vo'>
<div class="col-sm-4 col-md-3 col-mm-6 product_img">
<a href="<{:W('Href',array('url'=>$vo['url'],'id'=>$vo['id'],'type'=>'Product','lang'=>'c'))}>">
<img src="__ROOT__/Uploads/<{$vo.thumb}>" class="opacity_img" alt="<{$vo.name}>"/>
</a>
<p class="product_title"><a href="<{:W('Href',array('url'=>$vo['url'],'id'=>$vo['id'],'type'=>'Product','lang'=>'c'))}>"><{$vo.name|redWord=###,12,$keyword}></a></p>
</div>
</volist>
</div>
<div class="page">
<{$page}>
</div>
</div>
</div>
<!-- left -->
<div class="col-xs-12 col-sm-4 col-md-3">
<div class="left_nav" id="categories">
<h1 class="left_h1">导航栏目</h1>
<{:W('Left',array('id'=>$pid['id'],'type'=>'product','lang'=>'c'))}>
</div>
<div class="left_news">
<h1 class="left_h1">新闻中心</h1>
<{:W('List',array('table'=>'New','bid'=>2,'id'=>2,'lang'=>'c'))}>
</div>
<!--<include file='Public:c_contact'/>-->
</div>
</div>
</div>
<include file='Public:c_foot'/>
</body>
</html>
| ZWORKS/sheji.zwork.top | Home/Tpl/default/Search/c_index.html | HTML | gpl-3.0 | 2,500 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_07) on Wed Dec 31 13:41:18 CET 2008 -->
<TITLE>
WrongRemovalException
</TITLE>
<META NAME="date" CONTENT="2008-12-31">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WrongRemovalException";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WrongRemovalException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../scp/logic/WrongPlacementException.html" title="class in scp.logic"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?scp/logic/WrongRemovalException.html" target="_top"><B>FRAMES</B></A>
<A HREF="WrongRemovalException.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
scp.logic</FONT>
<BR>
Class WrongRemovalException</H2>
<PRE>
java.lang.Object
<IMG SRC="../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
<IMG SRC="../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>scp.logic.WrongRemovalException</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>WrongRemovalException</B><DT>extends java.lang.Exception</DL>
</PRE>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>sst</DD>
<DT><B>See Also:</B><DD><A HREF="../../serialized-form.html#scp.logic.WrongRemovalException">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../scp/logic/WrongRemovalException.html#WrongRemovalException(java.lang.String)">WrongRemovalException</A></B>(java.lang.String reason)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="WrongRemovalException(java.lang.String)"><!-- --></A><H3>
WrongRemovalException</H3>
<PRE>
public <B>WrongRemovalException</B>(java.lang.String reason)</PRE>
<DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WrongRemovalException.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../scp/logic/WrongPlacementException.html" title="class in scp.logic"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html?scp/logic/WrongRemovalException.html" target="_top"><B>FRAMES</B></A>
<A HREF="WrongRemovalException.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
| simonboots/BestFitPlacementHeuristic | doc/scp/logic/WrongRemovalException.html | HTML | gpl-3.0 | 9,684 |
/**
* naken_asm assembler.
* Author: Michael Kohn
* Email: mike@mikekohn.net
* Web: http://www.mikekohn.net/
* License: GPLv3
*
* Copyright 2010-2021 by Michael Kohn
*
*/
#ifndef NAKEN_ASM_ASM_4004_H
#define NAKEN_ASM_ASM_4004_H
#include "common/assembler.h"
int parse_instruction_4004(struct _asm_context *asm_context, char *instr);
#endif
| mikeakohn/naken_asm | asm/4004.h | C | gpl-3.0 | 363 |
<!DOCTYPE html>
<html lang="en-US">
<!--********************************************-->
<!--* Generated from PreTeXt source *-->
<!--* on 2021-03-10T19:26:08-08:00 *-->
<!--* A recent stable commit (2020-08-09): *-->
<!--* 98f21740783f166a773df4dc83cab5293ab63a4a *-->
<!--* *-->
<!--* https://pretextbook.org *-->
<!--* *-->
<!--********************************************-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="robots" content="noindex, nofollow">
</head>
<body><div class="fn">Forte prime form for 6–Z29: (013689)</div></body>
</html>
| rhutchinson20/mt21c | images/unit5/knowl/fn-13-hidden.html | HTML | gpl-3.0 | 718 |
from SimpleLexicon import SimpleLexicon
from LOTlib.Evaluation.EvaluationException import RecursionDepthException
class RecursiveLexicon(SimpleLexicon):
"""
A lexicon where word meanings can call each other. Analogous to a RecursiveLOTHypothesis from a LOTHypothesis.
To achieve this, we require the LOThypotheses in self.values to take a "recurse" call that is always passed in by
default here on __call__ as the first argument.
This throws a RecursionDepthException when it gets too deep.
See Examples.EvenOdd
"""
def __init__(self, recursive_depth_bound=10, *args, **kwargs):
self.recursive_depth_bound = recursive_depth_bound
SimpleLexicon.__init__(self, *args, **kwargs)
def __call__(self, word, *args):
"""
Wrap in self as a first argument that we don't have to in the grammar. This way, we can use self(word, X Y) as above.
"""
self.recursive_call_depth = 0
return self.value[word](self.recursive_call, *args) # pass in "self" as lex, using the recursive version
def recursive_call(self, word, *args):
"""
This gets called internally on recursive calls. It keeps track of the depth to allow us to escape
"""
self.recursive_call_depth += 1
if self.recursive_call_depth > self.recursive_depth_bound:
raise RecursionDepthException
# print ">>>", self.value[word]
return self.value[word](self.recursive_call, *args) | ebigelow/LOTlib | LOTlib/Hypotheses/Lexicon/RecursiveLexicon.py | Python | gpl-3.0 | 1,491 |
<?php
/**
* Session class for Cake.
*
* Cake abstracts the handling of sessions.
* There are several convenient methods to access session information.
* This class is the implementation of those methods.
* They are mostly used by the Session Component.
*
* PHP 5
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @package Cake.Model.Datasource
* @since CakePHP(tm) v .0.10.0.1222
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('Hash', 'Utility');
App::uses('Security', 'Utility');
/**
* Session class for Cake.
*
* Cake abstracts the handling of sessions. There are several convenient methods to access session information.
* This class is the implementation of those methods. They are mostly used by the Session Component.
*
* @package Cake.Model.Datasource
*/
class CakeSession {
/**
* True if the Session is still valid
*
* @var boolean
*/
public static $valid = false;
/**
* Error messages for this session
*
* @var array
*/
public static $error = false;
/**
* User agent string
*
* @var string
*/
protected static $_userAgent = '';
/**
* Path to where the session is active.
*
* @var string
*/
public static $path = '/';
/**
* Error number of last occurred error
*
* @var integer
*/
public static $lastError = null;
/**
* Start time for this session.
*
* @var integer
*/
public static $time = false;
/**
* Cookie lifetime
*
* @var integer
*/
public static $cookieLifeTime;
/**
* Time when this session becomes invalid.
*
* @var integer
*/
public static $sessionTime = false;
/**
* Current Session id
*
* @var string
*/
public static $id = null;
/**
* Hostname
*
* @var string
*/
public static $host = null;
/**
* Session timeout multiplier factor
*
* @var integer
*/
public static $timeout = null;
/**
* Number of requests that can occur during a session time without the session being renewed.
* This feature is only used when config value `Session.autoRegenerate` is set to true.
*
* @var integer
* @see CakeSession::_checkValid()
*/
public static $requestCountdown = 10;
/**
* Pseudo constructor.
*
* @param string $base The base path for the Session
* @return void
*/
public static function init($base = null) {
self::$time = time();
$checkAgent = Configure::read('Session.checkAgent');
if (($checkAgent === true || $checkAgent === null) && env('HTTP_USER_AGENT') != null) {
self::$_userAgent = md5(env('HTTP_USER_AGENT') . Configure::read('Security.salt'));
}
self::_setPath($base);
self::_setHost(env('HTTP_HOST'));
register_shutdown_function('session_write_close');
}
/**
* Setup the Path variable
*
* @param string $base base path
* @return void
*/
protected static function _setPath($base = null) {
if (empty($base)) {
self::$path = '/';
return;
}
if (strpos($base, 'index.php') !== false) {
$base = str_replace('index.php', '', $base);
}
if (strpos($base, '?') !== false) {
$base = str_replace('?', '', $base);
}
self::$path = $base;
}
/**
* Set the host name
*
* @param string $host Hostname
* @return void
*/
protected static function _setHost($host) {
self::$host = $host;
if (strpos(self::$host, ':') !== false) {
self::$host = substr(self::$host, 0, strpos(self::$host, ':'));
}
}
/**
* Starts the Session.
*
* @return boolean True if session was started
*/
public static function start() {
if (self::started()) {
return true;
}
self::init();
$id = self::id();
session_write_close();
self::_configureSession();
self::_startSession();
if (!$id && self::started()) {
self::_checkValid();
}
self::$error = false;
return self::started();
}
/**
* Determine if Session has been started.
*
* @return boolean True if session has been started.
*/
public static function started() {
return isset($_SESSION) && session_id();
}
/**
* Returns true if given variable is set in session.
*
* @param string $name Variable name to check for
* @return boolean True if variable is there
*/
public static function check($name = null) {
if (!self::started() && !self::start()) {
return false;
}
if (empty($name)) {
return false;
}
$result = Hash::get($_SESSION, $name);
return isset($result);
}
/**
* Returns the Session id
*
* @param string $id
* @return string Session id
*/
public static function id($id = null) {
if ($id) {
self::$id = $id;
session_id(self::$id);
}
if (self::started()) {
return session_id();
}
return self::$id;
}
/**
* Removes a variable from session.
*
* @param string $name Session variable to remove
* @return boolean Success
*/
public static function delete($name) {
if (self::check($name)) {
self::_overwrite($_SESSION, Hash::remove($_SESSION, $name));
return (self::check($name) == false);
}
self::_setError(2, __d('cake_dev', "%s doesn't exist", $name));
return false;
}
/**
* Used to write new data to _SESSION, since PHP doesn't like us setting the _SESSION var itself
*
* @param array $old Set of old variables => values
* @param array $new New set of variable => value
* @return void
*/
protected static function _overwrite(&$old, $new) {
if (!empty($old)) {
foreach ($old as $key => $var) {
if (!isset($new[$key])) {
unset($old[$key]);
}
}
}
foreach ($new as $key => $var) {
$old[$key] = $var;
}
}
/**
* Return error description for given error number.
*
* @param integer $errorNumber Error to set
* @return string Error as string
*/
protected static function _error($errorNumber) {
if (!is_array(self::$error) || !array_key_exists($errorNumber, self::$error)) {
return false;
} else {
return self::$error[$errorNumber];
}
}
/**
* Returns last occurred error as a string, if any.
*
* @return mixed Error description as a string, or false.
*/
public static function error() {
if (self::$lastError) {
return self::_error(self::$lastError);
}
return false;
}
/**
* Returns true if session is valid.
*
* @return boolean Success
*/
public static function valid() {
if (self::read('Config')) {
if (self::_validAgentAndTime() && self::$error === false) {
self::$valid = true;
} else {
self::$valid = false;
self::_setError(1, 'Session Highjacking Attempted !!!');
}
}
return self::$valid;
}
/**
* Tests that the user agent is valid and that the session hasn't 'timed out'.
* Since timeouts are implemented in CakeSession it checks the current self::$time
* against the time the session is set to expire. The User agent is only checked
* if Session.checkAgent == true.
*
* @return boolean
*/
protected static function _validAgentAndTime() {
$config = self::read('Config');
$validAgent = (
Configure::read('Session.checkAgent') === false ||
self::$_userAgent == $config['userAgent']
);
return ($validAgent && self::$time <= $config['time']);
}
/**
* Get / Set the userAgent
*
* @param string $userAgent Set the userAgent
* @return void
*/
public static function userAgent($userAgent = null) {
if ($userAgent) {
self::$_userAgent = $userAgent;
}
if (empty(self::$_userAgent)) {
CakeSession::init(self::$path);
}
return self::$_userAgent;
}
/**
* Returns given session variable, or all of them, if no parameters given.
*
* @param string|array $name The name of the session variable (or a path as sent to Set.extract)
* @return mixed The value of the session variable
*/
public static function read($name = null) {
if (!self::started() && !self::start()) {
return false;
}
if (is_null($name)) {
return self::_returnSessionVars();
}
if (empty($name)) {
return false;
}
$result = Hash::get($_SESSION, $name);
if (isset($result)) {
return $result;
}
self::_setError(2, "$name doesn't exist");
return null;
}
/**
* Returns all session variables.
*
* @return mixed Full $_SESSION array, or false on error.
*/
protected static function _returnSessionVars() {
if (!empty($_SESSION)) {
return $_SESSION;
}
self::_setError(2, 'No Session vars set');
return false;
}
/**
* Writes value to given session variable name.
*
* @param string|array $name Name of variable
* @param string $value Value to write
* @return boolean True if the write was successful, false if the write failed
*/
public static function write($name, $value = null) {
if (!self::started() && !self::start()) {
return false;
}
if (empty($name)) {
return false;
}
$write = $name;
if (!is_array($name)) {
$write = array($name => $value);
}
foreach ($write as $key => $val) {
self::_overwrite($_SESSION, Hash::insert($_SESSION, $key, $val));
if (Hash::get($_SESSION, $key) !== $val) {
return false;
}
}
return true;
}
/**
* Helper method to destroy invalid sessions.
*
* @return void
*/
public static function destroy() {
if (self::started()) {
session_destroy();
}
self::clear();
}
/**
* Clears the session, the session id, and renew's the session.
*
* @return void
*/
public static function clear() {
$_SESSION = null;
self::$id = null;
self::start();
self::renew();
}
/**
* Helper method to initialize a session, based on Cake core settings.
*
* Sessions can be configured with a few shortcut names as well as have any number of ini settings declared.
*
* @return void
* @throws CakeSessionException Throws exceptions when ini_set() fails.
*/
protected static function _configureSession() {
$sessionConfig = Configure::read('Session');
if (isset($sessionConfig['defaults'])) {
$defaults = self::_defaultConfig($sessionConfig['defaults']);
if ($defaults) {
$sessionConfig = Hash::merge($defaults, $sessionConfig);
}
}
if (!isset($sessionConfig['ini']['session.cookie_secure']) && env('HTTPS')) {
$sessionConfig['ini']['session.cookie_secure'] = 1;
}
if (isset($sessionConfig['timeout']) && !isset($sessionConfig['cookieTimeout'])) {
$sessionConfig['cookieTimeout'] = $sessionConfig['timeout'];
}
if (!isset($sessionConfig['ini']['session.cookie_lifetime'])) {
$sessionConfig['ini']['session.cookie_lifetime'] = $sessionConfig['cookieTimeout'] * 60;
}
if (!isset($sessionConfig['ini']['session.name'])) {
$sessionConfig['ini']['session.name'] = $sessionConfig['cookie'];
}
if (!empty($sessionConfig['handler'])) {
$sessionConfig['ini']['session.save_handler'] = 'user';
}
if (!isset($sessionConfig['ini']['session.gc_maxlifetime'])) {
$sessionConfig['ini']['session.gc_maxlifetime'] = $sessionConfig['timeout'] * 60;
}
if (!isset($sessionConfig['ini']['session.cookie_httponly'])) {
$sessionConfig['ini']['session.cookie_httponly'] = 1;
}
if (empty($_SESSION)) {
if (!empty($sessionConfig['ini']) && is_array($sessionConfig['ini'])) {
foreach ($sessionConfig['ini'] as $setting => $value) {
if (ini_set($setting, $value) === false) {
throw new CakeSessionException(sprintf(
__d('cake_dev', 'Unable to configure the session, setting %s failed.'),
$setting
));
}
}
}
}
if (!empty($sessionConfig['handler']) && !isset($sessionConfig['handler']['engine'])) {
call_user_func_array('session_set_save_handler', $sessionConfig['handler']);
}
if (!empty($sessionConfig['handler']['engine'])) {
$handler = self::_getHandler($sessionConfig['handler']['engine']);
session_set_save_handler(
array($handler, 'open'),
array($handler, 'close'),
array($handler, 'read'),
array($handler, 'write'),
array($handler, 'destroy'),
array($handler, 'gc')
);
}
Configure::write('Session', $sessionConfig);
self::$sessionTime = self::$time + ($sessionConfig['timeout'] * 60);
}
/**
* Find the handler class and make sure it implements the correct interface.
*
* @param string $handler
* @return void
* @throws CakeSessionException
*/
protected static function _getHandler($handler) {
list($plugin, $class) = pluginSplit($handler, true);
App::uses($class, $plugin . 'Model/Datasource/Session');
if (!class_exists($class)) {
throw new CakeSessionException(__d('cake_dev', 'Could not load %s to handle the session.', $class));
}
$handler = new $class();
if ($handler instanceof CakeSessionHandlerInterface) {
return $handler;
}
throw new CakeSessionException(__d('cake_dev', 'Chosen SessionHandler does not implement CakeSessionHandlerInterface it cannot be used with an engine key.'));
}
/**
* Get one of the prebaked default session configurations.
*
* @param string $name
* @return boolean|array
*/
protected static function _defaultConfig($name) {
$defaults = array(
'php' => array(
'cookie' => 'CAKEPHP',
'timeout' => 240,
'ini' => array(
'session.use_trans_sid' => 0,
'session.cookie_path' => self::$path
)
),
'cake' => array(
'cookie' => 'CAKEPHP',
'timeout' => 240,
'ini' => array(
'session.use_trans_sid' => 0,
'url_rewriter.tags' => '',
'session.serialize_handler' => 'php',
'session.use_cookies' => 1,
'session.cookie_path' => self::$path,
//'session.auto_start' => 0,
'session.save_path' => TMP . 'sessions',
'session.save_handler' => 'files'
)
),
'cache' => array(
'cookie' => 'CAKEPHP',
'timeout' => 240,
'ini' => array(
'session.use_trans_sid' => 0,
'url_rewriter.tags' => '',
'session.auto_start' => 0,
'session.use_cookies' => 1,
'session.cookie_path' => self::$path,
'session.save_handler' => 'user',
),
'handler' => array(
'engine' => 'CacheSession',
'config' => 'default'
)
),
'database' => array(
'cookie' => 'CAKEPHP',
'timeout' => 240,
'ini' => array(
'session.use_trans_sid' => 0,
'url_rewriter.tags' => '',
'session.auto_start' => 0,
'session.use_cookies' => 1,
'session.cookie_path' => self::$path,
'session.save_handler' => 'user',
'session.serialize_handler' => 'php',
),
'handler' => array(
'engine' => 'DatabaseSession',
'model' => 'Session'
)
)
);
if (isset($defaults[$name])) {
return $defaults[$name];
}
return false;
}
/**
* Helper method to start a session
*
* @return boolean Success
*/
protected static function _startSession() {
if (headers_sent()) {
if (empty($_SESSION)) {
$_SESSION = array();
}
} else {
// For IE<=8
session_cache_limiter("must-revalidate");
session_start();
}
return true;
}
/**
* Helper method to create a new session.
*
* @return void
*/
protected static function _checkValid() {
if (!self::started() && !self::start()) {
self::$valid = false;
return false;
}
if ($config = self::read('Config')) {
$sessionConfig = Configure::read('Session');
if (self::_validAgentAndTime()) {
self::write('Config.time', self::$sessionTime);
if (isset($sessionConfig['autoRegenerate']) && $sessionConfig['autoRegenerate'] === true) {
$check = $config['countdown'];
$check -= 1;
self::write('Config.countdown', $check);
if ($check < 1) {
self::renew();
self::write('Config.countdown', self::$requestCountdown);
}
}
self::$valid = true;
} else {
self::destroy();
self::$valid = false;
self::_setError(1, 'Session Highjacking Attempted !!!');
}
} else {
self::write('Config.userAgent', self::$_userAgent);
self::write('Config.time', self::$sessionTime);
self::write('Config.countdown', self::$requestCountdown);
self::$valid = true;
}
}
/**
* Restarts this session.
*
* @return void
*/
public static function renew() {
if (session_id()) {
if (session_id() != '' || isset($_COOKIE[session_name()])) {
setcookie(Configure::read('Session.cookie'), '', time() - 42000, self::$path);
}
session_regenerate_id(true);
}
}
/**
* Helper method to set an internal error message.
*
* @param integer $errorNumber Number of the error
* @param string $errorMessage Description of the error
* @return void
*/
protected static function _setError($errorNumber, $errorMessage) {
if (self::$error === false) {
self::$error = array();
}
self::$error[$errorNumber] = $errorMessage;
self::$lastError = $errorNumber;
}
}
| LINUXADDICT/cakecrud | lib/Cake/Model/Datasource/CakeSession.php | PHP | gpl-3.0 | 16,683 |
#!/bin/sh
# Ensure that pwd options work.
# Copyright (C) 2009-2019 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
print_ver_ pwd
mkdir -p a/b || framework_failure_
ln -s a/b c || framework_failure_
base=$(env -- pwd -P)
# Remove any logical paths from $PWD.
cd "$base" || framework_failure_
test "x$PWD" = "x$base" || framework_failure_
# Enter a logical directory.
cd c || framework_failure_
test "x$PWD" = "x$base/c" || skip_ "cd does not properly update \$PWD"
env -- pwd -L > out || fail=1
printf %s\\n "$base/c" > exp || fail=1
env -- pwd --logical -P >> out || fail=1
printf %s\\n "$base/a/b" >> exp || fail=1
env -- pwd --physical >> out || fail=1
printf %s\\n "$base/a/b" >> exp || fail=1
# By default, we use -P unless POSIXLY_CORRECT.
env -- pwd >> out || fail=1
printf %s\\n "$base/a/b" >> exp || fail=1
env -- POSIXLY_CORRECT=1 pwd >> out || fail=1
printf %s\\n "$base/c" >> exp || fail=1
# Make sure we reject bogus values, and silently fall back to -P.
env -- PWD="$PWD/." pwd -L >> out || fail=1
printf %s\\n "$base/a/b" >> exp || fail=1
env -- PWD=bogus pwd -L >> out || fail=1
printf %s\\n "$base/a/b" >> exp || fail=1
env -- PWD="$base/a/../c" pwd -L >> out || fail=1
printf %s\\n "$base/a/b" >> exp || fail=1
compare exp out || fail=1
Exit $fail
| komh/coreutils-os2 | tests/misc/pwd-option.sh | Shell | gpl-3.0 | 1,950 |
/*
* Copyright (C) 2012 Daryl Daly
*
* This file is part of Heart Observe
*
* Heart Observe is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Heart Observe is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package ca.ddaly.android.heart;
import android.content.ContentValues;
public interface DataStore {
ContentValues Get();
void Put(ContentValues rec);
}
| daryldy/Heart | src/ca/ddaly/android/heart/DataStore.java | Java | gpl-3.0 | 903 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_11) on Mon Jun 16 17:36:07 PDT 2014 -->
<title>Uses of Class javax.swing.text.html.parser.Element (Java Platform SE 8 )</title>
<meta name="date" content="2014-06-16">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class javax.swing.text.html.parser.Element (Java Platform SE 8 )";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><strong>Java™ Platform<br>Standard Ed. 8</strong></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?javax/swing/text/html/parser/class-use/Element.html" target="_top">Frames</a></li>
<li><a href="Element.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class javax.swing.text.html.parser.Element" class="title">Uses of Class<br>javax.swing.text.html.parser.Element</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#javax.swing.text.html.parser">javax.swing.text.html.parser</a></td>
<td class="colLast">
<div class="block">Provides the default HTML parser, along with support classes.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="javax.swing.text.html.parser">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a> declared as <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#applet">applet</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#base">base</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#body">body</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#head">head</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#html">html</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#isindex">isindex</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#meta">meta</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#p">p</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#param">param</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#pcdata">pcdata</a></span></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#title">title</a></span></code> </td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
<caption><span>Fields in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a> with type parameters of type <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../java/util/Hashtable.html" title="class in java.util">Hashtable</a><<a href="../../../../../../java/lang/String.html" title="class in java.lang">String</a>,<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a>></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#elementHash">elementHash</a></span></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../java/util/Vector.html" title="class in java.util">Vector</a><<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a>></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#elements">elements</a></span></code> </td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a> that return <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#defElement-java.lang.String-int-boolean-boolean-javax.swing.text.html.parser.ContentModel-java.lang.String:A-java.lang.String:A-javax.swing.text.html.parser.AttributeList-">defElement</a></span>(<a href="../../../../../../java/lang/String.html" title="class in java.lang">String</a> name,
int type,
boolean omitStart,
boolean omitEnd,
<a href="../../../../../../javax/swing/text/html/parser/ContentModel.html" title="class in javax.swing.text.html.parser">ContentModel</a> content,
<a href="../../../../../../java/lang/String.html" title="class in java.lang">String</a>[] exclusions,
<a href="../../../../../../java/lang/String.html" title="class in java.lang">String</a>[] inclusions,
<a href="../../../../../../javax/swing/text/html/parser/AttributeList.html" title="class in javax.swing.text.html.parser">AttributeList</a> atts)</code>
<div class="block">Creates and returns an <code>Element</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#defineElement-java.lang.String-int-boolean-boolean-javax.swing.text.html.parser.ContentModel-java.util.BitSet-java.util.BitSet-javax.swing.text.html.parser.AttributeList-">defineElement</a></span>(<a href="../../../../../../java/lang/String.html" title="class in java.lang">String</a> name,
int type,
boolean omitStart,
boolean omitEnd,
<a href="../../../../../../javax/swing/text/html/parser/ContentModel.html" title="class in javax.swing.text.html.parser">ContentModel</a> content,
<a href="../../../../../../java/util/BitSet.html" title="class in java.util">BitSet</a> exclusions,
<a href="../../../../../../java/util/BitSet.html" title="class in java.util">BitSet</a> inclusions,
<a href="../../../../../../javax/swing/text/html/parser/AttributeList.html" title="class in javax.swing.text.html.parser">AttributeList</a> atts)</code>
<div class="block">Returns the <code>Element</code> which matches the
specified parameters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">ContentModel.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/ContentModel.html#first--">first</a></span>()</code>
<div class="block">Return the element that must be next.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">TagElement.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/TagElement.html#getElement--">getElement</a></span>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#getElement-int-">getElement</a></span>(int index)</code>
<div class="block">Gets an element by index.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></code></td>
<td class="colLast"><span class="typeNameLabel">DTD.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/DTD.html#getElement-java.lang.String-">getElement</a></span>(<a href="../../../../../../java/lang/String.html" title="class in java.lang">String</a> name)</code>
<div class="block">Gets an element by name.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a> with parameters of type <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../../javax/swing/text/html/parser/TagElement.html" title="class in javax.swing.text.html.parser">TagElement</a></code></td>
<td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/Parser.html#makeTag-javax.swing.text.html.parser.Element-">makeTag</a></span>(<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> elem)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../../javax/swing/text/html/parser/TagElement.html" title="class in javax.swing.text.html.parser">TagElement</a></code></td>
<td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/Parser.html#makeTag-javax.swing.text.html.parser.Element-boolean-">makeTag</a></span>(<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> elem,
boolean fictional)</code>
<div class="block">Makes a TagElement.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/Parser.html#markFirstTime-javax.swing.text.html.parser.Element-">markFirstTime</a></span>(<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> elem)</code>
<div class="block">Marks the first time a tag has been seen in a document</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Method parameters in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a> with type arguments of type <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ContentModel.</span><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/ContentModel.html#getElements-java.util.Vector-">getElements</a></span>(<a href="../../../../../../java/util/Vector.html" title="class in java.util">Vector</a><<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a>> elemVec)</code>
<div class="block">Update elemVec with the list of elements that are
part of the this contentModel.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
<caption><span>Constructors in <a href="../../../../../../javax/swing/text/html/parser/package-summary.html">javax.swing.text.html.parser</a> with parameters of type <a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/ContentModel.html#ContentModel-javax.swing.text.html.parser.Element-">ContentModel</a></span>(<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> content)</code>
<div class="block">Create a content model for an element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/TagElement.html#TagElement-javax.swing.text.html.parser.Element-">TagElement</a></span>(<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> elem)</code> </td>
</tr>
<tr class="altColor">
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../javax/swing/text/html/parser/TagElement.html#TagElement-javax.swing.text.html.parser.Element-boolean-">TagElement</a></span>(<a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Element</a> elem,
boolean fictional)</code> </td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../../javax/swing/text/html/parser/Element.html" title="class in javax.swing.text.html.parser">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><strong>Java™ Platform<br>Standard Ed. 8</strong></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../../index.html?javax/swing/text/html/parser/class-use/Element.html" target="_top">Frames</a></li>
<li><a href="Element.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size="-1"> <a href="http://bugreport.sun.com/bugreport/">Submit a bug or feature</a> <br>For further API reference and developer documentation, see <a href="http://download.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved. </font></small></p>
</body>
</html>
| DeanAaron/jdk8 | jdk8en_us/docs/api/javax/swing/text/html/parser/class-use/Element.html | HTML | gpl-3.0 | 23,980 |
PRG =master-main
# Change above name to that of your project with NO extension.
OBJ = $(PRG).o lcd.o
MCU_TARGET = atmega128
OPTIMIZE = -O3 # options are 1, 2, 3, s
DEFS =
LIBS =
CC = avr-gcc
# Override is only needed by avr-lib build system.
override CFLAGS = -g -Wall $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS)
override LDFLAGS = -Wl,-Map,$(PRG).map
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
all: $(PRG).elf lst text eeprom
$(PRG).elf: $(OBJ)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
rm -rf *.o $(PRG).elf $(PRG).bin $(PRG).hex $(PRG).srec
rm -rf *.lst *.map $(PRG)_eeprom.*
all_clean:
rm -rf *.o *.elf *.bin *.hex *.srec
rm -rf *.lst *.map *_eeprom.*
program: $(PRG).hex
chmod 755 $(PRG).hex
sudo avrdude -p m128 -c usbasp -e -U flash:w:$(PRG).hex
# sudo avrdude -p m48 -c usbasp -e -U flash:w:$(PRG).hex
lst: $(PRG).lst
%.lst: %.elf
$(OBJDUMP) -h -S $< > $@
# Rules for building the .text rom images
text: hex bin srec
hex: $(PRG).hex
bin: $(PRG).bin
srec: $(PRG).srec
%.hex: %.elf
$(OBJCOPY) -j .text -j .data -O ihex $< $@
%.srec: %.elf
$(OBJCOPY) -j .text -j .data -O srec $< $@
%.bin: %.elf
$(OBJCOPY) -j .text -j .data -O binary $< $@
# Rules for building the .eeprom rom images
eeprom: ehex ebin esrec
ehex: $(PRG)_eeprom.hex
ebin: $(PRG)_eeprom.bin
esrec: $(PRG)_eeprom.srec
%_eeprom.hex: %.elf
$(OBJCOPY) -j .eeprom --change-section-lma .eeprom=0 -O ihex $< $@
%_eeprom.srec: %.elf
$(OBJCOPY) -j .eeprom --change-section-lma .eeprom=0 -O srec $< $@
%_eeprom.bin: %.elf
$(OBJCOPY) -j .eeprom --change-section-lma .eeprom=0 -O binary $< $@
| delbel/handheld-i2c-analyzer | Master I2C Demo/Makefile | Makefile | gpl-3.0 | 1,791 |
# Instalar complemento de Dolphin: enviar a ptpb.pw
## Descripción
Este plugin para Dolphin envía un fichero de forma anónima a __ptpb.pw__ y copia su URL al portapapeles.
## Dependencias a instalar
- curl
- xsel
## Instalación
```
$ curl https://raw.githubusercontent.com/manuel-alcocer/archlinux-install/master/plasma/ptpb.pw/install.sh | bash -
```
## Uso
- Reiniciar dolphin (basta con cerrarlo y volverlo a abrir)
- Pulsar con el botón derecho sobre el fichero y elegir: ```Acciones > Send file to ptpb.pw```
- Una vez terminada la transferencia, la URL del fichero estará en el portapapeles
## TODO
- Arreglar URL para el coloreado de sintaxis
| manuel-alcocer/archlinux-install | plasma/ptpb.pw/README.md | Markdown | gpl-3.0 | 669 |
/*
* Created on Nov 8, 2004
*
* TODO To change the template for this generated file go to Window -
* Preferences - Java - Code Style - Code Templates
*/
package se.agura.applications.vacation.presentation;
import java.rmi.RemoteException;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import se.agura.applications.vacation.business.VacationBusiness;
import se.agura.applications.vacation.business.VacationConstants;
import se.agura.applications.vacation.data.VacationRequest;
import se.agura.applications.vacation.data.VacationTime;
import se.agura.applications.vacation.data.VacationType;
import com.idega.block.process.data.CaseLog;
import com.idega.business.IBOLookup;
import com.idega.business.IBOLookupException;
import com.idega.business.IBORuntimeException;
import com.idega.core.builder.data.ICPage;
import com.idega.idegaweb.IWApplicationContext;
import com.idega.idegaweb.IWBundle;
import com.idega.idegaweb.IWResourceBundle;
import com.idega.presentation.Block;
import com.idega.presentation.IWContext;
import com.idega.presentation.Table;
import com.idega.presentation.text.Break;
import com.idega.presentation.text.Link;
import com.idega.presentation.text.Text;
import com.idega.presentation.ui.GenericButton;
import com.idega.presentation.ui.InterfaceObject;
import com.idega.presentation.ui.SubmitButton;
import com.idega.user.business.UserBusiness;
import com.idega.user.data.Group;
import com.idega.user.data.User;
import com.idega.util.IWTimestamp;
import com.idega.util.PersonalIDFormatter;
/**
* @author Anna
*/
public abstract class VacationBlock extends Block {
protected static final String IW_BUNDLE_IDENTIFIER = "se.agura.applications.vacation";
protected static final String PARAMETER_ACTION = "vac_action";
protected static final String PARAMETER_PRIMARY_KEY_VAC = VacationConstants.PARAMETER_PRIMARY_KEY;
//protected static final String PARAMETER_PRIMARY_KEY_VAC_TIME = "vac_time_pk";
//protected static final String PARAMETER_PRIMARY_KEY_VAC_TYPE = "vac_type_pk";
protected static final String ACTION_CANCEL = "cancel";
protected static final String ACTION_SEND = "send";
protected static final String ACTION_DENIED = "denied";
protected static final String ACTION_APPROVED = "approved";
protected static final String ACTION_BACK = "back";
protected static final String ACTION_PAGE_FOUR = "page_four";
protected static final String ACTION_SAVE = "save";
protected static final String ACTION_FORWARD = "forward";
protected static final String ACTION_FORWARD_VIEW = "forward_view";
protected static final String ACTION_CLOSED = "closed";
private IWBundle iwb;
private IWResourceBundle iwrb;
private ICPage iPage;
private String iTextStyleClass;
private String iHeaderStyleClass;
private String iLinkStyleClass;
private String iInputStyleClass;
private String iButtonStyleClass;
private String iRadioStyleClass;
private String iLogColor = "#00FFFF";
protected int iCellpadding = 3;
protected int iHeaderColumnWidth = 260;
private int iLogColorColumnWidth = 12;
protected String iWidth = Table.HUNDRED_PERCENT;
public void main(IWContext iwc) throws Exception {
this.iwb = getBundle(iwc);
this.iwrb = getResourceBundle(iwc);
present(iwc);
}
protected void showMessage(String message) {
add(getHeader(message));
add(new Break(2));
Link link = getLink(getResourceBundle().getLocalizedString("meeting.home_page", "Back to My Page"));
if (getPage() != null) {
link.setPage(getPage());
}
add(link);
}
protected Table getPersonInfo(IWContext iwc, User user) {
Table personInfo = new Table(2, 3);
personInfo.setBorder(0);
personInfo.setCellspacing(0);
personInfo.setCellpadding(this.iCellpadding);
personInfo.setWidth(1, this.iHeaderColumnWidth);
personInfo.setCellpaddingLeft(1, 1, 0);
personInfo.setCellpaddingLeft(1, 2, 0);
personInfo.setCellpaddingLeft(1, 3, 0);
int row = 1;
String name = user.getName();
String personalID = PersonalIDFormatter.format(user.getPersonalID(), iwc.getCurrentLocale());
String parish = "";
try {
Group group = getBusiness(iwc).getUserParish(user);
if (group != null) {
parish = group.getName();
}
}
catch (RemoteException re) {
log(re);
}
personInfo.add(getHeader(getResourceBundle().getLocalizedString("vacation.user_name", "Name")), 1, row);
personInfo.add(getText(name), 2, row++);
personInfo.add(getHeader(getResourceBundle().getLocalizedString("vacation.user_personal_id", "PersonalID")), 1, row);
personInfo.add(getText(personalID), 2, row++);
personInfo.add(getHeader(getResourceBundle().getLocalizedString("vacation.Parish", "Parish")), 1, row);
personInfo.add(getText(parish), 2, row++);
return personInfo;
}
protected Table showVacationRequest(IWContext iwc, VacationRequest vacation) {
Table table = new Table();
//table.setWidth(iWidth);
table.setCellpadding(this.iCellpadding);
table.setCellspacing(0);
table.setColumns(9);
int row = 1;
VacationType vacationType = vacation.getVacationType();
IWTimestamp fromDate = new IWTimestamp(iwc.getCurrentLocale(), vacation.getFromDate());
IWTimestamp toDate = new IWTimestamp(iwc.getCurrentLocale(), vacation.getToDate());
IWTimestamp date = new IWTimestamp(iwc.getCurrentLocale(), vacation.getCreatedDate());
int selectedHours = vacation.getOrdinaryWorkingHours();
Collection times = null;
try {
times = getBusiness(iwc).getVacationTimes(vacation);
}
catch (RemoteException re) {
log(re);
}
Map extraInfo = null;
try {
extraInfo = getBusiness(iwc).getExtraVacationTypeInformation(vacationType);
}
catch (RemoteException re) {
log(re);
}
table.mergeCells(2, row, table.getColumns(), row);
table.add(getHeader(getResourceBundle().getLocalizedString("vacation.time.required_vacation", "Required vacation")), 1, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.from_date", "From date") + ":" + Text.NON_BREAKING_SPACE), 2, row);
table.add(getText(fromDate.getLocaleDate(iwc.getCurrentLocale())), 2, row++);
table.mergeCells(2, row, table.getColumns(), row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.to_date", "To date") + ":" + Text.NON_BREAKING_SPACE), 2, row);
table.add(getText(toDate.getLocaleDate(iwc.getCurrentLocale())), 2, row++);
table.setHeight(row++, 12);
table.add(getHeader(getResourceBundle().getLocalizedString("vacation.time.ordinary_hours", "Ordinary workinghours per day")), 1, row);
table.add(getText(String.valueOf(selectedHours) + Text.NON_BREAKING_SPACE + getResourceBundle().getLocalizedString("vacation.hours", "hours")), 2, row++);
table.setHeight(row++, 12);
if (times.size() > 0) {
int startRow = row;
table.add(getHeader(getResourceBundle().getLocalizedString("vacation.time.period", "Working days and hours under the period")), 1, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.week", "Week")), 2, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.monday", "Mo")), 3, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.tuesday", "Tu")), 4, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.wednesday", "We")), 5, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.thursday", "th")), 6, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.friday", "Fr")), 7, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.saturday", "Sa")), 8, row);
table.add(getText(getResourceBundle().getLocalizedString("vacation.time.sunday", "Su")), 9, row++);
Iterator iter = times.iterator();
while (iter.hasNext()) {
VacationTime time = (VacationTime) iter.next();
table.add(getText(String.valueOf(time.getWeekNumber())), 2, row);
if (time.getMonday() > 0) {
table.add(getText(String.valueOf(time.getMonday())), 3, row);
}
if (time.getTuesday() > 0) {
table.add(getText(String.valueOf(time.getTuesday())), 4, row);
}
if (time.getWednesday() > 0) {
table.add(getText(String.valueOf(time.getWednesday())), 5, row);
}
if (time.getThursday() > 0) {
table.add(getText(String.valueOf(time.getThursday())), 6, row);
}
if (time.getFriday() > 0) {
table.add(getText(String.valueOf(time.getFriday())), 7, row);
}
if (time.getSaturday() > 0) {
table.add(getText(String.valueOf(time.getSaturday())), 8, row);
}
if (time.getSunday() > 0) {
table.add(getText(String.valueOf(time.getSunday())), 9, row);
}
row++;
}
table.setVerticalAlignment(1, startRow, Table.VERTICAL_ALIGN_TOP);
table.mergeCells(1, startRow, 1, row -1);
table.setHeight(row++, 12);
}
table.mergeCells(2, row, table.getColumns(), row);
table.add(getHeader(getResourceBundle().getLocalizedString("vacation.type", "Type")), 1, row);
table.add(getText(getResourceBundle().getLocalizedString(vacationType.getLocalizedKey())), 2, row++);
table.setHeight(row++, 12);
if (extraInfo != null && extraInfo.size() > 0) {
Iterator iter = extraInfo.keySet().iterator();
while (iter.hasNext()) {
try {
String key = (String) iter.next();
String metaType = getBusiness(iwc).getExtraInformationType(vacationType, key);
String value = vacation.getExtraTypeInformation(key);
if (value != null) {
table.add(getHeader(getResourceBundle().getLocalizedString("vacation_type_metadata." + key, key)), 1, row);
table.mergeCells(2, row, table.getColumns(), row);
if (metaType.equals("com.idega.presentation.ui.TextArea") || metaType.equals("com.idega.presentation.ui.TextInput")) {
table.add(getText(value), 2, row);
}
else if (metaType.equals("com.idega.presentation.ui.RadioButton")) {
table.add(getText(getResourceBundle().getLocalizedString("vacation_type_metadata_boolean." + value, value)), 2, row);
}
else if (metaType.equals("com.idega.block.media.presentation.FileChooser")) {
Link link = getLink(getResourceBundle().getLocalizedString("vacation_request.attachment", "Attachment"));
link.setTarget(Link.TARGET_NEW_WINDOW);
link.setFile(Integer.parseInt(value));
table.add(link, 2, row);
}
row++;
}
}
catch (RemoteException re) {
log(re);
}
}
table.setHeight(row++, 12);
}
if (vacation.getComment() != null) {
table.add(getHeader(getResourceBundle().getLocalizedString("vacation.motivation","Motivation")),1,row);
table.mergeCells(2, row, table.getColumns(), row);
table.add(getText(vacation.getComment()), 2, row++);
}
table.mergeCells(2, row, table.getColumns(), row);
table.add(getHeader(getResourceBundle().getLocalizedString("vacation.request_date", "Request date")), 1, row);
table.add(getText(date.getLocaleDate(iwc.getCurrentLocale())), 2, row++);
table.setHeight(row++, 12);
table.setWidth(1, this.iHeaderColumnWidth);
table.setCellpaddingLeft(1, 0);
return table;
}
protected Table getVacationActionOverview(IWContext iwc, VacationRequest vacation) throws RemoteException {
Collection logs = getBusiness(iwc).getLogs(vacation);
if (logs != null) {
Table table = new Table();
table.setWidth(this.iWidth);
table.setCellpadding(0);
table.setCellspacing(0);
int row = 1;
Iterator iter = logs.iterator();
while (iter.hasNext()) {
CaseLog log = (CaseLog) iter.next();
User performer = log.getPerformer();
String comment = log.getComment();
IWTimestamp timestamp = new IWTimestamp(log.getTimeStamp());
String status = log.getCaseStatusAfter().getStatus();
Table logTable = new Table(3, 3);
logTable.setCellpadding(this.iCellpadding);
logTable.setCellspacing(0);
logTable.mergeCells(1, 1, 1, 3);
logTable.setColor(1, 1, this.iLogColor);
logTable.setWidth(2, this.iHeaderColumnWidth);
logTable.setWidth(1, this.iLogColorColumnWidth);
String action = "";
if (status.equals(getBusiness(iwc).getCaseStatusDenied().getStatus())) {
action = getResourceBundle().getLocalizedString("vacation.rejected_by", "Rejected by");
}
else if (status.equals(getBusiness(iwc).getCaseStatusGranted().getStatus())) {
action = getResourceBundle().getLocalizedString("vacation.granted_by", "Granted by");
}
else if (status.equals(getBusiness(iwc).getCaseStatusMoved().getStatus())) {
action = getResourceBundle().getLocalizedString("vacation.supported_by", "Supported by");
}
logTable.add(getHeader(action), 2, 1);
logTable.add(getText(performer.getName()), 3, 1);
logTable.add(getHeader(getResourceBundle().getLocalizedString("vacation.message", "Message")), 2, 2);
logTable.add(getText(comment), 3, 2);
logTable.add(getHeader(getResourceBundle().getLocalizedString("vacation.date", "Date")), 2, 3);
logTable.add(getText(timestamp.getLocaleDate(iwc.getCurrentLocale())), 3, 3);
table.add(logTable, 1, row);
table.setCellBorder(1, row++, 1, "#dfdfdf", "solid");
if (iter.hasNext()) {
table.setHeight(row++, 6);
}
}
return table;
}
return null;
}
protected VacationBusiness getBusiness(IWApplicationContext iwac) {
try {
return (VacationBusiness) IBOLookup.getServiceInstance(iwac, VacationBusiness.class);
}
catch (IBOLookupException ible) {
throw new IBORuntimeException(ible);
}
}
protected UserBusiness getUserBusiness(IWApplicationContext iwac) {
try {
return (UserBusiness) IBOLookup.getServiceInstance(iwac, UserBusiness.class);
}
catch (IBOLookupException ible) {
throw new IBORuntimeException(ible);
}
}
public abstract void present(IWContext iwc);
public String getBundleIdentifier() {
return IW_BUNDLE_IDENTIFIER;
}
/**
* @return Returns the iwb.
*/
protected IWBundle getBundle() {
return this.iwb;
}
/**
* @return Returns the iwrb.
*/
protected IWResourceBundle getResourceBundle() {
return this.iwrb;
}
protected Text getText(String string) {
Text text = new Text(string);
if (this.iTextStyleClass != null) {
text.setStyleClass(this.iTextStyleClass);
}
return text;
}
protected Text getHeader(String string) {
Text text = new Text(string);
if (this.iHeaderStyleClass != null) {
text.setStyleClass(this.iHeaderStyleClass);
}
return text;
}
protected Link getLink(String string) {
Link link = new Link(string);
if (this.iLinkStyleClass != null) {
link.setStyleClass(this.iLinkStyleClass);
}
return link;
}
protected InterfaceObject getInput(InterfaceObject input) {
if (this.iInputStyleClass != null) {
input.setStyleClass(this.iInputStyleClass);
}
return input;
}
protected InterfaceObject getRadioButton(InterfaceObject radioButton) {
if (this.iRadioStyleClass != null) {
radioButton.setStyleClass(this.iRadioStyleClass);
}
return radioButton;
}
protected GenericButton getButton(GenericButton button) {
if (this.iButtonStyleClass != null) {
button.setStyleClass(this.iButtonStyleClass);
}
return button;
}
public SubmitButton getSendButton() {
SubmitButton sendButton = (SubmitButton) getButton(new SubmitButton(getResourceBundle().getLocalizedString("vacation_approver.send_application", "Send"), PARAMETER_ACTION, ACTION_SEND));
sendButton.setToolTip(getResourceBundle().getLocalizedString("vacation.send.tooltip","Sends your application in"));
sendButton.setSubmitConfirm(getResourceBundle().getLocalizedString("vacation.send.popup","Are you sure you want to send the application now?"));
return sendButton;
}
public GenericButton getCancelButton() {
GenericButton cancelButton = getButton(new GenericButton(getResourceBundle().getLocalizedString("vacation_approver.cancel", "Cancel")));
if (getPage() != null) {
cancelButton.setPageToOpen(getPage());
}
cancelButton.setToolTip(getResourceBundle().getLocalizedString("vacation.cancel.tooltip","Cancels and returns to My site"));
return cancelButton;
}
/**
* @param buttonStyleClass The buttonStyleClass to set.
*/
public void setButtonStyleClass(String buttonStyleClass) {
this.iButtonStyleClass = buttonStyleClass;
}
/**
* @param headerStyleClass The headerStyleClass to set.
*/
public void setHeaderStyleClass(String headerStyleClass) {
this.iHeaderStyleClass = headerStyleClass;
}
/**
* @param inputStyleClass The inputStyleClass to set.
*/
public void setInputStyleClass(String inputStyleClass) {
this.iInputStyleClass = inputStyleClass;
}
/**
* @param linkStyleClass The linkStyleClass to set.
*/
public void setLinkStyleClass(String linkStyleClass) {
this.iLinkStyleClass = linkStyleClass;
}
/**
* @param radioStyleClass The radioStyleClass to set.
*/
public void setRadioStyleClass(String radioStyleClass) {
this.iRadioStyleClass = radioStyleClass;
}
/**
* @param textStyleClass The textStyleClass to set.
*/
public void setTextStyleClass(String textStyleClass) {
this.iTextStyleClass = textStyleClass;
}
/**
* @return Returns the iPage.
*/
protected ICPage getPage() {
return this.iPage;
}
/**
*
* @param page
* The page to set.
*/
public void setPage(ICPage page) {
this.iPage = page;
}
/**
* @param cellpadding The cellpadding to set.
*/
public void setCellpadding(int cellpadding) {
this.iCellpadding = cellpadding;
}
/**
* @param headerColumnWidth The headerColumnWidth to set.
*/
public void setHeaderColumnWidth(int headerColumnWidth) {
this.iHeaderColumnWidth = headerColumnWidth;
}
/**
* @param logColor The logColor to set.
*/
public void setLogColor(String logColor) {
this.iLogColor = logColor;
}
/**
* @param logColorColumnWidth The logColorColumnWidth to set.
*/
public void setLogColorColumnWidth(int logColorColumnWidth) {
this.iLogColorColumnWidth = logColorColumnWidth;
}
} | idega/se.agura.applications.vacation | src/java/se/agura/applications/vacation/presentation/VacationBlock.java | Java | gpl-3.0 | 18,506 |
<!DOCTYPE html>
<html lang="en" >
<head>
<title>Atomsk - Mode interactive - Pierre Hirel</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" type="text/css" title="Default" href="./default.css" />
<link rel="icon" href="../img/atomsk_logo.png" type="image/png" />
</head>
<body>
<p><a href="./index.html">Back to main menu</a></p>
<h2>Mode: interactive</h2>
<h4>Syntax</h4>
<p><code>atomsk</code></p>
<p><code>atomsk < script.ats</code></p>
<h4>Description</h4>
<p>Running the program without any argument will enter interactive mode, which offers a command-line interpreter. When the program is started by double-clicking the executable, or a link from the system's menu, then it runs in interactive mode.</p>
<p>In this mode the user can enter commands, and they are executed in real-time. The available commands are:</p>
<ul>
<li class="clist"><strong>help</strong> Display a summary of commands</li>
<li class="clist"><strong>cd</strong> Change directory</li>
<li class="clist"><strong>ls</strong> Display a list of files in the current directory</li>
<li class="clist"><strong>pwd</strong> Display current working directory</li>
<li class="clist"><strong>print</strong> Display current box vectors and atom positions</li>
<li class="clist"><strong>memory</strong> Display a summary of the memory used</li>
<li class="clist"><strong>create</strong> Create a system from scratch</li>
<li class="clist"><strong>read <file></strong> Read the <file> and load its content in memory</li>
<li class="clist"><strong>write <file></strong> Write the current system into <file></li>
<li class="clist"><strong>clear</strong> Clear the memory, destroying the current atomic system</li>
<li class="clist"><strong>quit</strong> Exit this mode and close Atomsk</li>
</ul>
<p>The command <strong>create</strong> can be called with the same arguments as the <a href="./mode_create.html">mode <code>--create</code></a>. If no argument is provided then the user will be prompted.</p>
<p>The <a href="./options.html">options</a> of Atomsk are also available. They must be called <em>without</em> the leading dash sign (-), and with all their parameters.</p>
<p>For now the other <a href="./modes.html">modes</a> of Atomsk cannot be called from the interactive mode.</p>
<p>Note that only one command (or option) can be issued at a time, and it will take effect immediately.</p>
<p>This mode reads commands from the standard input, which by default is the keyboard. In GNU/Linux environments it is possible to use the standard redirection (<) to use a file as standard input (instead of the keyboard). That means that commands can be saved in a text file and be used as a script, using the standard redirection (see examples below).</p>
<p>When running in interactive mode the <a href="./progbe_verb.html">verbosity level</a> is automatically reset to 1 if it is set to 0 or 2.</p>
<h4>Examples</h4>
<ul>
<li><code class="command">atomsk</code>
<p>Just enter "<code>atomsk</code>" and follow the instructions.</p></li>
<li><code class="command">
<strong>user@computer:~$</strong> atomsk<br/>
>>> Atomsk is a free Open Source software, for details type 'atomsk --license'.<br/>
>>> Atomsk command-line interpreter:<br/>
..> Type "help" for a summary of commands.<br/>
<strong>user@atomsk></strong> read initial.xsf<br/>
<strong>user@atomsk></strong> duplicate 6 6 2<br/>
<strong>user@atomsk></strong> write final.xsf cfg<br/>
<strong>user@atomsk></strong> quit
</code>
<p>The user just entered "atomsk" without argument, thus running the program in interactive mode. In interactive mode, Atomsk waits for commands and executes them in real-time. In this example, the user reads a file ("initial.xsf"), uses the <a href="./option_duplicate.html">option <code>-duplicate</code></a>, and then writes the system into output files "final.xsf" and "final.cfg". Note that in interactive mode, options must be used <em>without</em> the leading dash sign: use "duplicate" instead of "-duplicate". The last command "quit" exits Atomsk.</p></li>
<li>
<div class="txtfile">
<h5>script.ats</h5>
<p><code>#!/usr/local/bin/atomsk<br/>
create fcc 4.02 Al<br/>
duplicate 20 20 1<br/>
deform x 0.3% 0.33<br/>
wrap<br/>
write deformed_al.xsf<br/>
</code></p></div>
<code class="command">atomsk < script.ats</code>
<p>Some commands were written in the text file "script.ats". Then, atomsk is run in interactive mode (because no command-line argument is present) and will execute commands from the standard input, i.e. the file "script.ats". Note that in interactive mode, the options must <em>not</em> have their leading dash sign, e.g. write "wrap" and not "-wrap".</p></li>
</ul>
<p><a href="./index.html">Back to main menu</a></p>
</body>
</html>
| pierrehirel/atomsk | doc/en/mode_interactive.html | HTML | gpl-3.0 | 4,950 |
#!/bin/sh
sudo /usr/sbin/tcpdump -i eth0 udp and dst port 30009
| ncareol/isfs | scripts/nidas_eol_relay/tcpdump.sh | Shell | gpl-3.0 | 65 |
/*
Copyright 2015 Jose Robson Mariano Alves
This file is part of bgfinancas.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package badernageral.bgfinancas.template.botao;
import badernageral.bgfinancas.biblioteca.sistema.Botao;
import badernageral.bgfinancas.biblioteca.sistema.Kernel;
import badernageral.bgfinancas.biblioteca.contrato.Categoria;
import badernageral.bgfinancas.idioma.Linguagem;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.beans.value.ObservableValue;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.Label;
public final class BotaoGerenciarCategoria implements Initializable {
@FXML private Label labelCategoria;
@FXML private ChoiceBox<Categoria> categoria;
@FXML private Button gerenciar;
@Override
public void initialize(URL url, ResourceBundle rb) {
labelCategoria.setText(Linguagem.getInstance().getMensagem("categoria")+":");
Botao.prepararBotaoGerenciar(new Button[]{gerenciar});
categoria.getSelectionModel().selectedItemProperty().addListener(
(ObservableValue<? extends Categoria> o, Categoria oV, Categoria nV) -> {
Kernel.controlador.acaoFiltrar(false);
}
);
}
public Label getLabelCategoria(){
return labelCategoria;
}
public ChoiceBox<Categoria> getChoiceCategoria(){
return categoria;
}
public Button getBotaoGerenciarCategoria(){
return gerenciar;
}
} | jmptrader/bgfinancas | src/badernageral/bgfinancas/template/botao/BotaoGerenciarCategoria.java | Java | gpl-3.0 | 2,174 |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Strings for component 'assignment_online', language 'pt_br', branch 'MOODLE_22_STABLE'
*
* @package assignment_online
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Online';
| danielbonetto/twig_MVC | lang/pt_br/assignment_online.php | PHP | gpl-3.0 | 1,039 |
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'main.ui'
#
# Created by: PyQt4 UI code generator 4.12.1
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(764, 593)
MainWindow.setMinimumSize(QtCore.QSize(650, 500))
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.mediaView = QtGui.QFrame(self.centralwidget)
self.mediaView.setGeometry(QtCore.QRect(0, 0, 461, 231))
self.mediaView.setStyleSheet(_fromUtf8(""))
self.mediaView.setFrameShape(QtGui.QFrame.StyledPanel)
self.mediaView.setFrameShadow(QtGui.QFrame.Raised)
self.mediaView.setObjectName(_fromUtf8("mediaView"))
self.subtitle = QtGui.QLabel(self.centralwidget)
self.subtitle.setGeometry(QtCore.QRect(250, 240, 261, 17))
font = QtGui.QFont()
font.setPointSize(12)
self.subtitle.setFont(font)
self.subtitle.setStyleSheet(_fromUtf8("color:white;"))
self.subtitle.setText(_fromUtf8(""))
self.subtitle.setObjectName(_fromUtf8("subtitle"))
self.controlView = QtGui.QWidget(self.centralwidget)
self.controlView.setGeometry(QtCore.QRect(30, 270, 661, 130))
self.controlView.setMinimumSize(QtCore.QSize(510, 130))
self.controlView.setMaximumSize(QtCore.QSize(16777215, 130))
self.controlView.setObjectName(_fromUtf8("controlView"))
self.verticalLayout = QtGui.QVBoxLayout(self.controlView)
self.verticalLayout.setMargin(0)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.gridLayout_8 = QtGui.QGridLayout()
self.gridLayout_8.setMargin(1)
self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
self.timeDone = QtGui.QLabel(self.controlView)
self.timeDone.setMinimumSize(QtCore.QSize(60, 0))
self.timeDone.setMaximumSize(QtCore.QSize(60, 16777215))
self.timeDone.setAlignment(QtCore.Qt.AlignCenter)
self.timeDone.setObjectName(_fromUtf8("timeDone"))
self.gridLayout_8.addWidget(self.timeDone, 0, 0, 1, 1)
self.seekBar = QtGui.QSlider(self.controlView)
self.seekBar.setMinimumSize(QtCore.QSize(365, 18))
self.seekBar.setMaximumSize(QtCore.QSize(16777215, 18))
self.seekBar.setOrientation(QtCore.Qt.Horizontal)
self.seekBar.setObjectName(_fromUtf8("seekBar"))
self.gridLayout_8.addWidget(self.seekBar, 0, 1, 1, 1)
self.timeLeft = QtGui.QLabel(self.controlView)
self.timeLeft.setMinimumSize(QtCore.QSize(60, 18))
self.timeLeft.setMaximumSize(QtCore.QSize(60, 18))
self.timeLeft.setAlignment(QtCore.Qt.AlignCenter)
self.timeLeft.setObjectName(_fromUtf8("timeLeft"))
self.gridLayout_8.addWidget(self.timeLeft, 0, 2, 1, 1)
self.verticalLayout.addLayout(self.gridLayout_8)
self.gridLayout_4 = QtGui.QGridLayout()
self.gridLayout_4.setMargin(1)
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
self.muteButton = QtGui.QPushButton(self.controlView)
self.muteButton.setMinimumSize(QtCore.QSize(30, 30))
self.muteButton.setMaximumSize(QtCore.QSize(30, 30))
self.muteButton.setText(_fromUtf8(""))
self.muteButton.setObjectName(_fromUtf8("muteButton"))
self.gridLayout_4.addWidget(self.muteButton, 0, 4, 1, 1)
self.expansionWidget_3 = QtGui.QWidget(self.controlView)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.expansionWidget_3.sizePolicy().hasHeightForWidth())
self.expansionWidget_3.setSizePolicy(sizePolicy)
self.expansionWidget_3.setObjectName(_fromUtf8("expansionWidget_3"))
self.gridLayout_7 = QtGui.QGridLayout(self.expansionWidget_3)
self.gridLayout_7.setMargin(0)
self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
self.gridLayout_4.addWidget(self.expansionWidget_3, 0, 1, 1, 1)
self.volumeBar = QtGui.QSlider(self.controlView)
self.volumeBar.setMinimumSize(QtCore.QSize(175, 0))
self.volumeBar.setMaximumSize(QtCore.QSize(100, 16777215))
self.volumeBar.setOrientation(QtCore.Qt.Horizontal)
self.volumeBar.setObjectName(_fromUtf8("volumeBar"))
self.gridLayout_4.addWidget(self.volumeBar, 0, 5, 1, 1)
self.mediaSettingsWidget = QtGui.QWidget(self.controlView)
self.mediaSettingsWidget.setMinimumSize(QtCore.QSize(140, 60))
self.mediaSettingsWidget.setMaximumSize(QtCore.QSize(140, 60))
self.mediaSettingsWidget.setObjectName(_fromUtf8("mediaSettingsWidget"))
self.horizontalLayout_6 = QtGui.QHBoxLayout(self.mediaSettingsWidget)
self.horizontalLayout_6.setMargin(0)
self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
self.fullscreenButton = QtGui.QPushButton(self.mediaSettingsWidget)
self.fullscreenButton.setMinimumSize(QtCore.QSize(30, 30))
self.fullscreenButton.setMaximumSize(QtCore.QSize(30, 30))
self.fullscreenButton.setText(_fromUtf8(""))
self.fullscreenButton.setObjectName(_fromUtf8("fullscreenButton"))
self.horizontalLayout_6.addWidget(self.fullscreenButton)
self.playlistButton = QtGui.QPushButton(self.mediaSettingsWidget)
self.playlistButton.setMinimumSize(QtCore.QSize(30, 30))
self.playlistButton.setMaximumSize(QtCore.QSize(30, 30))
self.playlistButton.setText(_fromUtf8(""))
self.playlistButton.setObjectName(_fromUtf8("playlistButton"))
self.horizontalLayout_6.addWidget(self.playlistButton)
self.stopButton = QtGui.QPushButton(self.mediaSettingsWidget)
self.stopButton.setMinimumSize(QtCore.QSize(30, 30))
self.stopButton.setMaximumSize(QtCore.QSize(30, 30))
self.stopButton.setText(_fromUtf8(""))
self.stopButton.setObjectName(_fromUtf8("stopButton"))
self.horizontalLayout_6.addWidget(self.stopButton)
self.gridLayout_4.addWidget(self.mediaSettingsWidget, 0, 0, 1, 1)
self.mediaControlWidget = QtGui.QWidget(self.controlView)
self.mediaControlWidget.setMinimumSize(QtCore.QSize(225, 70))
self.mediaControlWidget.setMaximumSize(QtCore.QSize(225, 70))
self.mediaControlWidget.setObjectName(_fromUtf8("mediaControlWidget"))
self.horizontalLayout_7 = QtGui.QHBoxLayout(self.mediaControlWidget)
self.horizontalLayout_7.setMargin(0)
self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
self.previous = QtGui.QPushButton(self.mediaControlWidget)
self.previous.setMinimumSize(QtCore.QSize(40, 40))
self.previous.setMaximumSize(QtCore.QSize(40, 40))
self.previous.setText(_fromUtf8(""))
self.previous.setObjectName(_fromUtf8("previous"))
self.horizontalLayout_7.addWidget(self.previous)
self.playState = QtGui.QPushButton(self.mediaControlWidget)
self.playState.setMinimumSize(QtCore.QSize(50, 50))
self.playState.setMaximumSize(QtCore.QSize(50, 50))
self.playState.setText(_fromUtf8(""))
icon = QtGui.QIcon.fromTheme(_fromUtf8("play-2.svg"))
self.playState.setIcon(icon)
self.playState.setObjectName(_fromUtf8("playState"))
self.horizontalLayout_7.addWidget(self.playState)
self.next = QtGui.QPushButton(self.mediaControlWidget)
self.next.setMinimumSize(QtCore.QSize(40, 40))
self.next.setMaximumSize(QtCore.QSize(40, 40))
self.next.setText(_fromUtf8(""))
self.next.setObjectName(_fromUtf8("next"))
self.horizontalLayout_7.addWidget(self.next)
self.gridLayout_4.addWidget(self.mediaControlWidget, 0, 2, 1, 1)
self.expansionWidget_4 = QtGui.QWidget(self.controlView)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.expansionWidget_4.sizePolicy().hasHeightForWidth())
self.expansionWidget_4.setSizePolicy(sizePolicy)
self.expansionWidget_4.setObjectName(_fromUtf8("expansionWidget_4"))
self.gridLayout_4.addWidget(self.expansionWidget_4, 0, 3, 1, 1)
self.verticalLayout.addLayout(self.gridLayout_4)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 764, 29))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menuFile = QtGui.QMenu(self.menubar)
self.menuFile.setObjectName(_fromUtf8("menuFile"))
self.menuPlayback = QtGui.QMenu(self.menubar)
self.menuPlayback.setObjectName(_fromUtf8("menuPlayback"))
self.menuSpeed = QtGui.QMenu(self.menuPlayback)
self.menuSpeed.setObjectName(_fromUtf8("menuSpeed"))
self.menu_Subtitles = QtGui.QMenu(self.menubar)
self.menu_Subtitles.setObjectName(_fromUtf8("menu_Subtitles"))
self.menu_Audio = QtGui.QMenu(self.menubar)
self.menu_Audio.setObjectName(_fromUtf8("menu_Audio"))
self.menu_Video = QtGui.QMenu(self.menubar)
self.menu_Video.setObjectName(_fromUtf8("menu_Video"))
MainWindow.setMenuBar(self.menubar)
self.actionOpen_File = QtGui.QAction(MainWindow)
self.actionOpen_File.setShortcutContext(QtCore.Qt.WindowShortcut)
self.actionOpen_File.setObjectName(_fromUtf8("actionOpen_File"))
self.actionExit = QtGui.QAction(MainWindow)
self.actionExit.setObjectName(_fromUtf8("actionExit"))
self.actionOpen_Multiple_Files = QtGui.QAction(MainWindow)
self.actionOpen_Multiple_Files.setObjectName(_fromUtf8("actionOpen_Multiple_Files"))
self.actionAdd_Subtitle_File = QtGui.QAction(MainWindow)
self.actionAdd_Subtitle_File.setObjectName(_fromUtf8("actionAdd_Subtitle_File"))
self.actionJump_Forward = QtGui.QAction(MainWindow)
self.actionJump_Forward.setObjectName(_fromUtf8("actionJump_Forward"))
self.actionJump_Backward = QtGui.QAction(MainWindow)
self.actionJump_Backward.setObjectName(_fromUtf8("actionJump_Backward"))
self.actionX0_5 = QtGui.QAction(MainWindow)
self.actionX0_5.setObjectName(_fromUtf8("actionX0_5"))
self.actionX_1 = QtGui.QAction(MainWindow)
self.actionX_1.setObjectName(_fromUtf8("actionX_1"))
self.actionX_2 = QtGui.QAction(MainWindow)
self.actionX_2.setObjectName(_fromUtf8("actionX_2"))
self.actionX_4 = QtGui.QAction(MainWindow)
self.actionX_4.setObjectName(_fromUtf8("actionX_4"))
self.actionX_8 = QtGui.QAction(MainWindow)
self.actionX_8.setObjectName(_fromUtf8("actionX_8"))
self.actionAdd_Subtitle_Track = QtGui.QAction(MainWindow)
self.actionAdd_Subtitle_Track.setObjectName(_fromUtf8("actionAdd_Subtitle_Track"))
self.actionPlay = QtGui.QAction(MainWindow)
self.actionPlay.setObjectName(_fromUtf8("actionPlay"))
self.actionPause = QtGui.QAction(MainWindow)
self.actionPause.setObjectName(_fromUtf8("actionPause"))
self.actionStop = QtGui.QAction(MainWindow)
self.actionStop.setObjectName(_fromUtf8("actionStop"))
self.actionPrevious = QtGui.QAction(MainWindow)
self.actionPrevious.setObjectName(_fromUtf8("actionPrevious"))
self.actionNext = QtGui.QAction(MainWindow)
self.actionNext.setObjectName(_fromUtf8("actionNext"))
self.actionJump_to_specific_time = QtGui.QAction(MainWindow)
self.actionJump_to_specific_time.setObjectName(_fromUtf8("actionJump_to_specific_time"))
self.actionIncrease_Volume = QtGui.QAction(MainWindow)
self.actionIncrease_Volume.setObjectName(_fromUtf8("actionIncrease_Volume"))
self.actionDecrease_Volume = QtGui.QAction(MainWindow)
self.actionDecrease_Volume.setObjectName(_fromUtf8("actionDecrease_Volume"))
self.actionMute = QtGui.QAction(MainWindow)
self.actionMute.setObjectName(_fromUtf8("actionMute"))
self.actionFullscreen = QtGui.QAction(MainWindow)
self.actionFullscreen.setCheckable(False)
self.actionFullscreen.setObjectName(_fromUtf8("actionFullscreen"))
self.actionShift_forward_by_1_second = QtGui.QAction(MainWindow)
self.actionShift_forward_by_1_second.setObjectName(_fromUtf8("actionShift_forward_by_1_second"))
self.actionShift_backward_by_1_second = QtGui.QAction(MainWindow)
self.actionShift_backward_by_1_second.setObjectName(_fromUtf8("actionShift_backward_by_1_second"))
self.menuFile.addAction(self.actionOpen_File)
self.menuFile.addAction(self.actionOpen_Multiple_Files)
self.menuFile.addSeparator()
self.menuFile.addAction(self.actionExit)
self.menuSpeed.addAction(self.actionX0_5)
self.menuSpeed.addAction(self.actionX_1)
self.menuSpeed.addAction(self.actionX_2)
self.menuSpeed.addAction(self.actionX_4)
self.menuSpeed.addAction(self.actionX_8)
self.menuPlayback.addAction(self.actionJump_Forward)
self.menuPlayback.addAction(self.actionJump_Backward)
self.menuPlayback.addAction(self.menuSpeed.menuAction())
self.menuPlayback.addSeparator()
self.menuPlayback.addAction(self.actionPlay)
self.menuPlayback.addAction(self.actionStop)
self.menuPlayback.addSeparator()
self.menuPlayback.addAction(self.actionPrevious)
self.menuPlayback.addAction(self.actionNext)
self.menuPlayback.addSeparator()
self.menuPlayback.addAction(self.actionJump_to_specific_time)
self.menu_Subtitles.addAction(self.actionAdd_Subtitle_Track)
self.menu_Subtitles.addSeparator()
self.menu_Subtitles.addAction(self.actionShift_forward_by_1_second)
self.menu_Subtitles.addAction(self.actionShift_backward_by_1_second)
self.menu_Audio.addAction(self.actionIncrease_Volume)
self.menu_Audio.addAction(self.actionDecrease_Volume)
self.menu_Audio.addAction(self.actionMute)
self.menu_Audio.addSeparator()
self.menu_Video.addAction(self.actionFullscreen)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuPlayback.menuAction())
self.menubar.addAction(self.menu_Subtitles.menuAction())
self.menubar.addAction(self.menu_Audio.menuAction())
self.menubar.addAction(self.menu_Video.menuAction())
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
self.timeDone.setText(_translate("MainWindow", "00:00:00", None))
self.timeLeft.setText(_translate("MainWindow", "00:00:00", None))
self.muteButton.setToolTip(_translate("MainWindow", "volume", None))
self.fullscreenButton.setToolTip(_translate("MainWindow", "Fullscreen", None))
self.playlistButton.setToolTip(_translate("MainWindow", "Playlist", None))
self.stopButton.setToolTip(_translate("MainWindow", "Stop", None))
self.previous.setToolTip(_translate("MainWindow", "Previous", None))
self.playState.setToolTip(_translate("MainWindow", "Play/Pause", None))
self.next.setToolTip(_translate("MainWindow", "Next", None))
self.menuFile.setTitle(_translate("MainWindow", "&Media", None))
self.menuPlayback.setTitle(_translate("MainWindow", "P&layback", None))
self.menuSpeed.setTitle(_translate("MainWindow", "&Speed", None))
self.menu_Subtitles.setTitle(_translate("MainWindow", "&Subtitles", None))
self.menu_Audio.setTitle(_translate("MainWindow", "&Audio ", None))
self.menu_Video.setTitle(_translate("MainWindow", "&Video", None))
self.actionOpen_File.setText(_translate("MainWindow", "&Open File", None))
self.actionOpen_File.setShortcut(_translate("MainWindow", "Ctrl+O", None))
self.actionExit.setText(_translate("MainWindow", "&Exit", None))
self.actionExit.setShortcut(_translate("MainWindow", "Ctrl+Q", None))
self.actionOpen_Multiple_Files.setText(_translate("MainWindow", "Open &Multiple Files", None))
self.actionOpen_Multiple_Files.setShortcut(_translate("MainWindow", "Ctrl+Shift+O", None))
self.actionAdd_Subtitle_File.setText(_translate("MainWindow", "&Add Subtitle File", None))
self.actionJump_Forward.setText(_translate("MainWindow", "&Jump Forward", None))
self.actionJump_Forward.setShortcut(_translate("MainWindow", "Ctrl+Shift++", None))
self.actionJump_Backward.setText(_translate("MainWindow", "Jump &Backward", None))
self.actionJump_Backward.setShortcut(_translate("MainWindow", "Ctrl+Shift+-", None))
self.actionX0_5.setText(_translate("MainWindow", "&x 0.5", None))
self.actionX_1.setText(_translate("MainWindow", "&Normal Speed", None))
self.actionX_2.setText(_translate("MainWindow", "x &2", None))
self.actionX_4.setText(_translate("MainWindow", "x &4", None))
self.actionX_8.setText(_translate("MainWindow", "x &8", None))
self.actionAdd_Subtitle_Track.setText(_translate("MainWindow", "&Add Subtitle Track", None))
self.actionPlay.setText(_translate("MainWindow", "&Play/Pause", None))
self.actionPlay.setShortcut(_translate("MainWindow", "Space", None))
self.actionPause.setText(_translate("MainWindow", "Pause", None))
self.actionPause.setShortcut(_translate("MainWindow", "Space", None))
self.actionStop.setText(_translate("MainWindow", "St&op", None))
self.actionStop.setShortcut(_translate("MainWindow", "Ctrl+Shift+S", None))
self.actionPrevious.setText(_translate("MainWindow", "P&revious", None))
self.actionPrevious.setShortcut(_translate("MainWindow", "Ctrl+Shift+Left", None))
self.actionNext.setText(_translate("MainWindow", "&Next", None))
self.actionNext.setShortcut(_translate("MainWindow", "Ctrl+Shift+Right", None))
self.actionJump_to_specific_time.setText(_translate("MainWindow", "J&ump to specific time", None))
self.actionJump_to_specific_time.setShortcut(_translate("MainWindow", "Ctrl+T", None))
self.actionIncrease_Volume.setText(_translate("MainWindow", "&Increase Volume", None))
self.actionIncrease_Volume.setShortcut(_translate("MainWindow", "Ctrl+Up", None))
self.actionDecrease_Volume.setText(_translate("MainWindow", "&Decrease Volume", None))
self.actionDecrease_Volume.setShortcut(_translate("MainWindow", "Ctrl+Down", None))
self.actionMute.setText(_translate("MainWindow", "&Mute", None))
self.actionMute.setShortcut(_translate("MainWindow", "M", None))
self.actionFullscreen.setText(_translate("MainWindow", "&Fullscreen", None))
self.actionFullscreen.setShortcut(_translate("MainWindow", "F", None))
self.actionShift_forward_by_1_second.setText(_translate("MainWindow", "&Shift Forward By 1 Second", None))
self.actionShift_forward_by_1_second.setShortcut(_translate("MainWindow", "H", None))
self.actionShift_backward_by_1_second.setText(_translate("MainWindow", "Shift &Backward By 1 Second", None))
self.actionShift_backward_by_1_second.setShortcut(_translate("MainWindow", "G", None))
| kanishkarj/Rave | Qt_Designer_files/main_design.py | Python | gpl-3.0 | 20,258 |
#include "packet.h"
CPacket::CPacket()
{
this->type = 0;
this->size = 0;
memset(data, 0, sizeof(data));
}
uint8 CPacket::getSize()
{
return this->size;
}
uint8 CPacket::getType()
{
return this->type;
} | Crumbtray/WarGames | Server/src/packets/packet.cpp | C++ | gpl-3.0 | 212 |
// Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translator tool. If making changes by
// hand only do so within the body of existing method and function
// implementations. See the translator.README.txt file in the tools directory
// for more information.
//
#include "libcef_dll/ctocpp/test/translator_test_object_ctocpp.h"
#include "libcef_dll/ctocpp/test/translator_test_object_child_ctocpp.h"
#include "libcef_dll/ctocpp/test/translator_test_object_child_child_ctocpp.h"
// STATIC METHODS - Body may be edited by hand.
CefRefPtr<CefTranslatorTestObject> CefTranslatorTestObject::Create(int value) {
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
cef_translator_test_object_t* _retval = cef_translator_test_object_create(
value);
// Return type: refptr_same
return CefTranslatorTestObjectCToCpp::Wrap(_retval);
}
// VIRTUAL METHODS - Body may be edited by hand.
int CefTranslatorTestObjectCToCpp::GetValue() {
cef_translator_test_object_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, get_value))
return 0;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
int _retval = _struct->get_value(_struct);
// Return type: simple
return _retval;
}
void CefTranslatorTestObjectCToCpp::SetValue(int value) {
cef_translator_test_object_t* _struct = GetStruct();
if (CEF_MEMBER_MISSING(_struct, set_value))
return;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
_struct->set_value(_struct,
value);
}
// CONSTRUCTOR - Do not edit by hand.
CefTranslatorTestObjectCToCpp::CefTranslatorTestObjectCToCpp() {
}
template<> cef_translator_test_object_t* CefCToCpp<CefTranslatorTestObjectCToCpp,
CefTranslatorTestObject, cef_translator_test_object_t>::UnwrapDerived(
CefWrapperType type, CefTranslatorTestObject* c) {
if (type == WT_TRANSLATOR_TEST_OBJECT_CHILD) {
return reinterpret_cast<cef_translator_test_object_t*>(
CefTranslatorTestObjectChildCToCpp::Unwrap(
reinterpret_cast<CefTranslatorTestObjectChild*>(c)));
}
if (type == WT_TRANSLATOR_TEST_OBJECT_CHILD_CHILD) {
return reinterpret_cast<cef_translator_test_object_t*>(
CefTranslatorTestObjectChildChildCToCpp::Unwrap(
reinterpret_cast<CefTranslatorTestObjectChildChild*>(c)));
}
NOTREACHED() << "Unexpected class type: " << type;
return NULL;
}
#ifndef NDEBUG
template<> base::AtomicRefCount CefCToCpp<CefTranslatorTestObjectCToCpp,
CefTranslatorTestObject, cef_translator_test_object_t>::DebugObjCt = 0;
#endif
template<> CefWrapperType CefCToCpp<CefTranslatorTestObjectCToCpp,
CefTranslatorTestObject, cef_translator_test_object_t>::kWrapperType =
WT_TRANSLATOR_TEST_OBJECT;
| victorzhao/miniblink49 | cef/libcef_dll/ctocpp/test/translator_test_object_ctocpp.cc | C++ | gpl-3.0 | 3,025 |
/*******************************************************************************
moTrackerGpuKLT.h
****************************************************************************
* *
* This source is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This code is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* General Public License for more details. *
* *
* A copy of the GNU General Public License is available on the World *
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
* obtain it by writing to the Free Software Foundation, *
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* *
****************************************************************************
Copyright(C) 2007 Andrés Colubri
Authors:
Based on the GPU_KLT code by Sudipta N. Sinha from the University of North Carolina
at Chapell Hill:
http://cs.unc.edu/~ssinha/Research/GPU_KLT/
Port to libmoldeo: Andrés Colubri
*******************************************************************************/
#include "moTypes.h"
#include "moConfig.h"
#include "moDeviceCode.h"
#include "moEventList.h"
#include "moIODeviceManager.h"
#include "moTypes.h"
#include "moVideoGraph.h"
#include "moArray.h"
#include "GpuVis.h"
#ifndef __MO_TRACKER_GPUKLT_H__
#define __MO_TRACKER_GPUKLT_H__
#define MO_TRACKERGPUKLT_SYTEM_LABELNAME 0
#define MO_TRACKERGPUKLT_LIVE_SYSTEM 1
#define MO_TRACKERGPUKLT_SYSTEM_ON 2
class moTrackerGpuKLTSystemData : public moTrackerSystemData
{
public:
MOint m_NFeatures;
GpuKLT_FeatureList* m_FeatureList;
};
class moTrackerGpuKLTSystem : public moAbstract
{
public:
moTrackerGpuKLTSystem();
virtual ~moTrackerGpuKLTSystem();
void SetName(moText p_name) { m_Name = p_name; }
void SetLive( moText p_livecodestr) { m_Live = p_livecodestr; }
void SetActive( MOboolean p_active) { m_bActive = p_active; }
moText GetName() { return m_Name; }
moText GetLive() { return m_Live; }
MOboolean IsActive() { return m_bActive; }
MOboolean IsInit() { return m_init; }
MOboolean Init(MOint p_nFeatures, MOint p_width, MOint p_height,
moText p_shaders_dir, MOint p_arch,
MOint p_kltmindist = 10, MOfloat p_klteigenthreshold = 0.015);
MOboolean Init(MOint p_nFeatures, moVideoSample* p_pVideoSample,
moText p_shaders_dir, MOint p_arch,
MOint p_kltmindist = 10, MOfloat p_klteigenthreshold = 0.015);
MOboolean Finish();
GpuVis_Options* GetTrackingOptions() { return &gopt; }
GpuKLT_FeatureList* GetFeatureList() { return list; }
MOint GetNFeatures() { return list->_nFeats; }
void GetFeature(MOint p_feature, MOfloat &x, MOfloat &y, MOboolean &v);
void Track(GLubyte *p_pBuffer, MOuint p_RGB_mode);
void StartTracking(GLubyte *p_pBuffer, MOuint p_RGB_mode);
void ContinueTracking(GLubyte *p_pBuffer, MOuint p_RGB_mode);
void NewData( moVideoSample* p_pVideoSample );
moTrackerGpuKLTSystemData* GetData() { return &m_TrackerSystemData; }
private:
moText m_Name;
moText m_Live;
MOboolean m_bActive;
MOboolean m_init;
moTrackerGpuKLTSystemData m_TrackerSystemData;
MOint m_TrackCount;
MOint m_ReinjectRate;
MOint m_width, m_height;
GpuVis_Image image; // GpuVis Image object
GpuKLT_FeatureList *list; // GpuVis Feature List object
GpuVis_Options gopt; // GpuVis Options object
GpuVis *gpuComputor; // GpuVis Computor Object
};
typedef moTrackerGpuKLTSystem* moTrackerGpuKLTSystemPtr;
template class moDynamicArray<moTrackerGpuKLTSystemPtr>;
typedef moDynamicArray<moTrackerGpuKLTSystemPtr> moTrackerGpuKLTSystems;
class moTrackerGpuKLT : public moResource
{
public:
moTrackerGpuKLT();
virtual ~moTrackerGpuKLT();
virtual MOboolean Init();
virtual MOboolean Finish();
MOswitch GetStatus(MOdevcode);
MOswitch SetStatus( MOdevcode,MOswitch);
void SetValue( MOdevcode cd, MOint vl );
void SetValue( MOdevcode cd, MOfloat vl );
MOint GetValue(MOdevcode);
MOpointer GetPointer(MOdevcode devcode );
MOdevcode GetCode( moText);
void Update(moEventList*);
protected:
// Parameters.
MOint num_feat;
MOint num_frames;
MOint min_dist;
MOfloat threshold_eigen;
moText klt_shaders_dir;
MOint gpu_arch;
MOint m_SampleCounter;
MOint m_SampleRate;
moTrackerGpuKLTSystems m_TrackerSystems;
};
class moTrackerGpuKLTFactory : public moResourceFactory {
public:
moTrackerGpuKLTFactory() {}
virtual ~moTrackerGpuKLTFactory() {}
moResource* Create();
void Destroy(moResource* fx);
};
extern "C"
{
MO_PLG_API moResourceFactory* CreateResourceFactory();
MO_PLG_API void DestroyResourceFactory();
}
#endif
| inaes-tic/tv-moldeo | plugins/Resources/TrackerGpuKLT/inc/moTrackerGpuKLT.h | C | gpl-3.0 | 5,442 |
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using ServerData;
namespace Client
{
class Client
{
public static Socket master;
public static string name;
public static string id;
static void Main(string[] args)
{
Console.WriteLine("Enter Your Name: ");
name = Console.ReadLine();
Console.WriteLine("Enter server IP:");
string IP = Console.ReadLine();
master = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPEndPoint ep = new IPEndPoint(IPAddress.Parse(IP), 4242);
master.Connect(ep);
Thread t = new Thread(data_IN);
t.Start();
for(;;)
{
Console.Write("::>");
string input = Console.ReadLine();
Packet p = new Packet(PacketType.chat, id);
p.Gdata.Add(name);
p.Gdata.Add(input);
master.Send(p.toBytes());
}
}
static void data_IN()
{
byte[] buffer;
int readBytes;
for(;;)
{
try
{
buffer = new byte[master.SendBufferSize];
readBytes = master.Receive(buffer);
if (readBytes > 0)
{
byte[] readBuffer = new byte[readBytes];
Array.Copy(buffer, readBuffer, readBytes);
DataManager(new Packet(readBuffer));
}
}
catch (SocketException e)
{
Console.WriteLine("Server Lost!");
Console.ReadLine();
Environment.Exit(0);
}
}
}
static void DataManager(Packet p)
{
switch (p.PacketType)
{
case PacketType.Registration:
Console.WriteLine("Connected to Server!");
id = p.Gdata[0];
break;
case PacketType.chat:
try {
Console.WriteLine(p.SenderID);
Console.WriteLine(p.Gdata[0] + ": " + p.Gdata[1]);
} catch (NullReferenceException e) {
Console.WriteLine(e);
}
break;
}
}
}
}
| dethsanius/RunescapeDataServer | Client/Client.cs | C# | gpl-3.0 | 2,550 |
/********************************************************************************
Copyright (C) Binod Nepal, Mix Open Foundation (http://mixof.org).
This file is part of MixERP.
MixERP is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
MixERP is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with MixERP. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************************/
using MixERP.Net.Common.Helpers;
using MixERP.Net.Entities;
using MixERP.Net.WebControls.Common;
using System.Web.UI.HtmlControls;
namespace MixERP.Net.WebControls.StockTransactionViewFactory
{
public partial class StockTransactionView
{
private void CreateDateToField(HtmlGenericControl container)
{
using (HtmlGenericControl field = HtmlControlHelper.GetField())
{
this.dateToDateTextBox = new DateTextBox();
this.dateToDateTextBox.ID = "DateToDateTextBox";
this.dateToDateTextBox.CssClass = "date";
this.dateToDateTextBox.Mode = FrequencyType.MonthEndDate;
this.dateToDateTextBox.Required = true;
this.dateToDateTextBox.Catalog = this.Catalog;
this.dateToDateTextBox.OfficeId = this.OfficeId;
field.Controls.Add(this.dateToDateTextBox);
container.Controls.Add(field);
}
}
}
} | flukehan/MixERP | src/Libraries/Server Controls/Project/MixERP.Net.WebControls.StockTransactionView/Control/Form/DateTo.cs | C# | gpl-3.0 | 1,859 |
package cn.itbcat.boot.repository.front;
import cn.itbcat.boot.entity.front.ArticleSearch;
import org.springframework.data.elasticsearch.annotations.Query;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* Created by 860117030 on 2017/10/14.
*/
@Repository
public interface ArticleSearchRepository extends ElasticsearchRepository<ArticleSearch,Long> {
List<ArticleSearch> findByTitleLike(String title);
}
| ITBCat/itbcatBoot | src/main/java/cn/itbcat/boot/repository/front/ArticleSearchRepository.java | Java | gpl-3.0 | 525 |
/*
Copyright (C) 2010-2018 The ESPResSo project
This file is part of ESPResSo.
ESPResSo is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
ESPResSo is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define BOOST_TEST_MODULE d3q19 test
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include "grid_based_algorithms/lb-d3q19.hpp"
BOOST_AUTO_TEST_CASE(d3q19) {
for (int i = 0; i < 19; ++i) {
for (int j = 0; j < 19; ++j) {
BOOST_CHECK(D3Q19::e_ki[i][j] == D3Q19::e_ki_transposed[j][i]);
}
}
}
| mkuron/espresso | src/core/unit_tests/lb-d3q19.cpp | C++ | gpl-3.0 | 1,017 |
{-# LANGUAGE MultiParamTypeClasses, KindSignatures, TypeFamilies #-}
-----------------------------------------------------------------------------
-- |
-- Module : Numerical.Petsc.Internal.Mutable
-- Copyright : (c) Marco Zocca 2015
-- License : LGPL3
-- Maintainer : zocca . marco . gmail . com
-- Stability : experimental
--
-- | Mutable containers in the IO monad
--
-----------------------------------------------------------------------------
module Numerical.PETSc.Internal.Mutable where
import Control.Concurrent.MVar
import Control.Concurrent.STM
import Control.Monad
import Control.Monad.ST (runST, ST)
import Foreign.Storable
import qualified Control.Monad.Primitive as P
type family MutContainer (mc :: * -> *) :: * -> * -> *
class MContainer c a where
type MCSize c
type MCIdx c
basicSize :: c s a -> MCSize c
basicUnsafeSlice :: MCIdx c -> MCIdx c -> c s a -> c s a
-- basicUnsafeThaw :: P.PrimMonad m => c s a -> m (MutContainer c (P.PrimState m) a)
basicInitialize :: P.PrimMonad m => c (P.PrimState m) a -> m ()
-- | Yield the element at the given position. This method should not be
-- called directly, use 'unsafeRead' instead.
basicUnsafeRead :: P.PrimMonad m => c (P.PrimState m) a -> MCIdx c -> m a
-- | Replace the element at the given position. This method should not be
-- called directly, use 'unsafeWrite' instead.
basicUnsafeWrite :: P.PrimMonad m => c (P.PrimState m) a -> MCIdx c -> a -> m ()
-- instance G.Vector Vector a where
-- basicUnsafeFreeze (MVector i n marr)
-- = Vector i n `liftM` unsafeFreezeArray marr
-- basicUnsafeThaw (Vector i n arr)
-- = MVector i n `liftM` unsafeThawArray arr
-- basicLength (Vector _ n _) = n
-- basicUnsafeSlice j n (Vector i _ arr) = Vector (i+j) n arr
-- basicUnsafeIndexM (Vector i _ arr) j = indexArrayM arr (i+j)
-- basicUnsafeCopy (MVector i n dst) (Vector j _ src)
-- = copyArray dst i src j n
-- class Mutable v where
-- newVar :: a -> IO (v a)
-- readVar :: v a -> IO a
-- writeVar :: v a -> a -> IO ()
-- modifyVar :: v a -> (a -> a) -> IO ()
-- modifyVar' :: v a -> (a -> (a, b)) -> IO b
-- instance Mutable MVar where
-- newVar = newMVar
-- readVar = takeMVar
-- writeVar = putMVar
-- modifyVar v f = modifyMVar_ v (return . f)
-- modifyVar' v f = modifyMVar v (return . f)
-- instance Mutable TVar where
-- newVar = newTVarIO
-- readVar = readTVarIO
-- writeVar v x = atomically $ writeTVar v x
-- modifyVar v f = atomically $ do x <- readTVar v
-- writeTVar v (f x)
-- modifyVar' v f = atomically $ do x <- readTVar v
-- let (x', y) = f x
-- writeTVar v x'
-- return y
| ocramz/petsc-hs | src/Numerical/PETSc/Internal/Mutable.hs | Haskell | gpl-3.0 | 2,823 |
# -*- coding: utf-8 -*-
#
# codimension - graphics python two-way code editor and analyzer
# Copyright (C) 2010-2017 Sergey Satskiy <sergey.satskiy@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""A few constants which do not depend on other project files"""
# Default encoding for the cases when:
# - the encoding could not be detected
# - replaces ascii to be on the safe side
DEFAULT_ENCODING = 'utf-8'
# File encoding used for various settings and project files
SETTINGS_ENCODING = 'utf-8'
# Directory to store Codimension settings and projects
CONFIG_DIR = '.codimension3'
| SergeySatskiy/codimension | codimension/utils/config.py | Python | gpl-3.0 | 1,187 |
// -----------------------------------------------------------------------
// <copyright company="Fireasy"
// email="faib920@126.com"
// qq="55570729">
// (c) Copyright Fireasy. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using Fireasy.Common;
using Fireasy.Web.Http.Definitions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fireasy.Web.Http.Assistants
{
public class CSharpCodeGenerator : CodeGeneratorBase
{
public override void Write(System.IO.TextWriter writer, ServiceDescriptor serviceDescriptor)
{
writer.WriteLine(string.Format("public class {0}", serviceDescriptor.ServiceName));
writer.WriteLine("{");
foreach (var action in serviceDescriptor.Actions.OrderBy(s => s.ActionName))
{
if (action.IsDefined<UnexposedActionFilterAttribute>())
{
continue;
}
writer.Write(string.Format(" public {0} {1}(", WriteTypeName(action.ReturnType), action.ActionName));
var assert = new AssertFlag();
foreach (var p in action.Parameters)
{
if (!assert.AssertTrue())
{
writer.Write(", ");
}
writer.Write(string.Format("{0} {1}", WriteTypeName(p.ParameterType), p.ParameterName));
}
writer.WriteLine(")");
writer.WriteLine(" {");
writer.WriteLine(" }");
writer.WriteLine();
}
writer.WriteLine("}");
}
private string WriteTypeName(Type type)
{
if (type.IsGenericType)
{
var sb = new StringBuilder();
var gname = type.Name.Substring(0, type.Name.IndexOf('`'));
if (gname == "Result")
{
sb.Append(WriteTypeName(typeof(Result)));
}
else
{
sb.Append(gname);
}
sb.Append("<");
foreach (var t in type.GetGenericArguments())
{
sb.Append(WriteTypeName(t));
}
sb.Append(">");
return sb.ToString();
}
else if (type.IsArray)
{
return WriteTypeName(type.GetElementType()) + "[]";
}
else
{
return ConvertTypeName(type);
}
}
private string ConvertTypeName(Type type)
{
switch (type.FullName)
{
case "System.Int16":
return "short";
case "System.Int32":
return "int";
case "System.Int64":
return "long";
case "System.Decimal":
return "decimal";
case "System.Double":
return "double";
case "System.Single":
return "float";
case "System.Boolean":
return "bool";
case "System.Object":
return "object";
case "System.Byte":
return "byte";
case "System.String":
return "string";
default:
return type.Name;
}
}
}
}
| faib920/fireasy | Fireasy.Web/Http/Assistants/CSharpCodeGenerator.cs | C# | gpl-3.0 | 3,666 |
\hypertarget{runtime_8c}{\section{toxencryptsave/crypto\+\_\+pwhash\+\_\+scryptsalsa208sha256/runtime.c File Reference}
\label{runtime_8c}\index{toxencryptsave/crypto\+\_\+pwhash\+\_\+scryptsalsa208sha256/runtime.\+c@{toxencryptsave/crypto\+\_\+pwhash\+\_\+scryptsalsa208sha256/runtime.\+c}}
}
| cmotc/toxcore | docs/generated_docs/latex/de/d2b/runtime_8c.tex | TeX | gpl-3.0 | 294 |
program read_S
use line_preprocess
implicit none
character(len=200) :: line
real(8),dimension(:),allocatable :: vec
real(8),dimension(:,:),allocatable :: S
real(8),dimension(:), allocatable :: Slt
!IO
integer :: I_LOG=5
integer :: IOstatus
! Counters
integer :: i, j, Nbasis, N, Nc, k
integer :: icols, nblocks, istart, isum, imax, imin, ii, ib
do
read(I_LOG,'(A)') line
if (INDEX(line,'basis functions,') /= 0) exit
enddo
read(line,*) Nbasis
N = Nbasis*(Nbasis+1)/2
allocate( vec(1:Nbasis+1), S(1:Nbasis,1:Nbasis), Slt(1:N) )
do
read(I_LOG,'(A)') line
if (INDEX(line,'*** Overlap ***') /= 0) exit
enddo
!Organized in blocks of 6 cols
icols = 5
nblocks = Nbasis/icols
if (mod(Nbasis,icols) /= 0) nblocks = nblocks+1
do ib = 1,nblocks
! Place the tip on the correct line
read(I_LOG,'(A)') line ! header
! Initialize auxiliar counters
istart = (ib-1)*icols
isum = 0
do i=1,Nbasis
! Accumunalte terms (isum) but cycle if the block is not read
isum = isum + i
if (i<=istart) cycle
! Determine the parts we are goint to read
! The j-th row is from 1:sum(1···j)
! But at the current round we get for the j-th col
! istart:min(istart+i,istart+6)
imin = isum-i + istart+1
ii = min(i-istart,icols)
imax = isum-i + istart+ii
read(I_LOG,'(7X,1000(X,D13.6))') Slt(imin:imax)
enddo
enddo
k=0
do i=1,Nbasis
do j=1,i
k=k+1
S(i,j) = Slt(k)
S(j,i) = S(i,j)
enddo
enddo
deallocate(Slt)
do i=1,Nbasis
print'(10000G15.6)', S(i,1:Nbasis)
enddo
stop
end program read_S
| jcerezochem/molecular-tools | src/wf_analysis/read_S_from_log.f90 | FORTRAN | gpl-3.0 | 1,870 |
<div class="block-flat">
<div class="header">
<div class="alert alert-info alert-white rounded">
<div class="icon"><i class="fa fa-info-circle"></i></div>
<h4>Loan Application List</h4>
</div>
</div>
<div class="row">
<div class="col-md-12">
<form ng-submit="load()" class="form-inline filter_form">
<div class="form-group">
<label>Date From</label>
<div class="input-group">
<input type="text" class="form-control" uib-datepicker-popup="MM/dd/yyyy" ng-model="DateFrom" is-open="popup1" datepicker-options="dateOptions" close-text="Close" />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="popup1=true"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<div class="form-group">
<label>Date To</label>
<div class="input-group">
<input type="text" class="form-control" uib-datepicker-popup="MM/dd/yyyy" ng-model="DateTo" is-open="popup2" datepicker-options="dateOptions" close-text="Close" />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="popup2=true"><i class="glyphicon glyphicon-calendar"></i></button>
</span>
</div>
</div>
<div class="form-group">
<input type="text" class="form-control" ng-model="searchText">
</div>
<div class="form-group">
<button class="btn btn-primary nomargin" type="submit">Submit</button>
</div>
</form>
<hr>
<div class="table-responsive">
<table class="table table-bordered table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Application Date</th>
<th>Amount</th>
<th>Weekly Payment</th>
<th>KAB</th>
<th>CBU</th>
<th>MBA</th>
<th>Application Status</th>
<th>Loan Status</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="row in list">
<td>{{row.Firstname}} {{row.Middlename}} {{row.Lastname}}</td>
<td>{{row.Date | date:'MM/dd/yyyy'}}</td>
<td class="text-right">{{row.Amount}}</td>
<td class="text-right">{{row.WeeklyPayment}}</td>
<td class="text-right">{{row.KAB}}</td>
<td class="text-right">{{row.CBU}}</td>
<td class="text-right">{{row.MBA}}</td>
<td>
{{row.TransactionStatus}}
<a ng-if="row.TransactionStatus!='Release'" href="javascript:void(0)" ng-click="ChangeStatusModal('md',row.Id,'Application')" class="pull-right"><i class="fa fa-edit"></i></a>
</td>
<td>
{{row.LoanStatus}}
<a href="javascript:void(0)" ng-click="ChangeStatusModal('md',row.Id,'Loan')" class="pull-right"><i class="fa fa-edit"></i></a>
</td>
<td>
<a ng-show="checkRole('Loan Application','AllowEdit')" class="btn btn-success btn-sm" href="#/transaction/form/{{row.Id}}"> <i class="fa fa-edit"></i> </a>
<!--
<button ng-show="checkRole('Loan Application','AllowDelete')" class="btn btn-danger btn-sm" ng-click="openDeleteModal('md',row.Id)"> <i class="fa fa-trash-o"></i> </button>
-->
</td>
</tr>
</tbody>
</table>
</div>
<uib-pagination ng-model="pageNo" ng-click="pageChanged()" items-per-page="pageSize" total-items="count" max-size="maxSize" class="pagination-sm" boundary-links="true" num-pages="numPages"></uib-pagination>
</div>
</div>
</div>
| jkevlorayna/Loan-MS | views/transaction/list.html | HTML | gpl-3.0 | 3,445 |
# hello-world
hello world test project-2
| arfeenmushtaq/hello-world | README.md | Markdown | gpl-3.0 | 41 |
<h2>Import</h2>
<p>
You can import a single HTML file or every HTML file in a directory.
</p>
<p>
Relative file links are converted to absolute chapter links. Images, flash and Java
are relinked too.
</p>
| arximboldi/cvg-moodle | mod/vizcosh/lang/en_utf8/help/vizcosh/import.html | HTML | gpl-3.0 | 216 |
DROP TABLE IF EXISTS `vanhalter_spawnlist`;
CREATE TABLE `vanhalter_spawnlist` (
`id` INT(11) NOT NULL auto_increment,
`location` VARCHAR(40) NOT NULL DEFAULT '',
`count` INT(9) NOT NULL DEFAULT 0,
`npc_templateid` INT(9) NOT NULL DEFAULT 0,
`locx` INT(9) NOT NULL DEFAULT 0,
`locy` INT(9) NOT NULL DEFAULT 0,
`locz` INT(9) NOT NULL DEFAULT 0,
`randomx` INT(9) NOT NULL DEFAULT 0,
`randomy` INT(9) NOT NULL DEFAULT 0,
`heading` INT(9) NOT NULL DEFAULT 0,
`respawn_delay` INT(9) NOT NULL DEFAULT 0,
`loc_id` INT(9) NOT NULL DEFAULT 0,
`periodOfDay` DECIMAL(2,0) DEFAULT 0,
PRIMARY KEY (`id`),
KEY `key_npc_templateid` (`npc_templateid`)
) DEFAULT CHARSET=utf8;
INSERT INTO `vanhalter_spawnlist` VALUES
('1','Pagan Temple','1','32051','-14670','-54846','-10629','0','0','16384','60','0','0'),
('2','Pagan Temple','1','32051','-15548','-54836','-10448','0','0','16384','60','0','0'),
('3','Pagan Temple','1','32051','-18123','-54846','-10629','0','0','16384','60','0','0'),
('4','Pagan Temple','1','32051','-17248','-54836','-10448','0','0','16384','60','0','0'),
('5','Pagan Temple','1','32058','-12674','-52673','-10932','0','0','16384','21600','0','0'),
('6','Pagan Temple','1','32059','-12728','-54317','-11108','0','0','16384','21600','0','0'),
('7','Pagan Temple','1','32060','-14936','-53112','-11559','0','0','16384','21600','0','0'),
('8','Pagan Temple','1','32061','-15658','-53668','-11579','0','0','16384','21600','0','0'),
('9','Pagan Temple','1','32062','-16404','-53263','-11559','0','0','16384','21600','0','0'),
('10','Pagan Temple','1','32063','-17146','-53238','-11559','0','0','16384','21600','0','0'),
('11','Pagan Temple','1','32064','-17887','-53137','-11559','0','0','16384','21600','0','0'),
('12','Pagan Temple','1','32065','-20082','-54314','-11106','0','0','16384','21600','0','0'),
('13','Pagan Temple','1','32066','-20081','-52674','-10921','0','0','16384','21600','0','0'),
('14','Pagan Temple','1','32067','-16413','-56569','-10849','0','0','16384','21600','0','0'),
('15','Pagan Temple','1','32068','-16397','-54119','-10475','0','0','16384','21600','0','0'),
('16','Pagan Temple','1','22175','-14960','-53437','-10629','0','0','7820','60','0','0'),
('17','Pagan Temple','1','22175','-14964','-53766','-10603','0','0','20066','60','0','0'),
('18','Pagan Temple','1','22175','-15225','-52968','-10603','0','0','55924','60','0','0'),
('19','Pagan Temple','1','22175','-15522','-52625','-10629','0','0','17737','60','0','0'),
('20','Pagan Temple','1','22175','-15676','-52576','-10603','0','0','23075','60','0','0'),
('21','Pagan Temple','1','22175','-15879','-52521','-10603','0','0','63322','60','0','0'),
('22','Pagan Temple','1','22175','-16420','-52481','-10603','0','0','4302','60','0','0'),
('23','Pagan Temple','1','22175','-16590','-52575','-10603','0','0','11742','60','0','0'),
('24','Pagan Temple','1','22175','-16835','-52485','-10603','0','0','40331','60','0','0'),
('25','Pagan Temple','1','22175','-17051','-52639','-10629','0','0','4607','60','0','0'),
('26','Pagan Temple','1','22175','-17461','-52839','-10603','0','0','13423','60','0','0'),
('27','Pagan Temple','1','22175','-17604','-53050','-10603','0','0','39469','60','0','0'),
('28','Pagan Temple','1','22175','-17641','-53350','-10629','0','0','14056','60','0','0'),
('29','Pagan Temple','1','22175','-17710','-53768','-10603','0','0','47067','60','0','0'),
('30','Pagan Temple','1','22175','-17753','-53950','-10629','0','0','14260','60','0','0'),
('31','Pagan Temple','1','22175','-17841','-54312','-10603','0','0','14180','60','0','0'),
('32','Pagan Temple','1','22176','-16156','-47121','-10821','0','0','16129','60','0','0'),
('33','Pagan Temple','1','22176','-16157','-46340','-10821','0','0','16468','60','0','0'),
('34','Pagan Temple','1','22176','-16164','-48534','-10917','0','0','16405','60','0','0'),
('35','Pagan Temple','1','22176','-16165','-49237','-10917','0','0','16091','60','0','0'),
('36','Pagan Temple','1','22176','-16166','-47732','-10821','0','0','16430','60','0','0'),
('37','Pagan Temple','1','22176','-16177','-49925','-10917','0','0','16622','60','0','0'),
('38','Pagan Temple','1','22176','-16198','-44753','-10725','0','0','16583','60','0','0'),
('39','Pagan Temple','1','22176','-16497','-48344','-10917','0','0','16215','60','0','0'),
('40','Pagan Temple','1','22176','-16513','-49019','-10917','0','0','15756','60','0','0'),
('41','Pagan Temple','1','22176','-16529','-46310','-10821','0','0','17047','60','0','0'),
('42','Pagan Temple','1','22176','-16530','-47027','-10821','0','0','16487','60','0','0'),
('43','Pagan Temple','1','22176','-16532','-47633','-10821','0','0','16242','60','0','0'),
('44','Pagan Temple','1','22176','-16552','-49694','-10917','0','0','15784','60','0','0'),
('45','Pagan Temple','1','22176','-16594','-45094','-10725','0','0','16166','60','0','0'),
('46','Pagan Temple','1','22188','-16385','-52461','-10629','0','0','16384','60','0','0'),
('47','Pagan Temple','1','29062','-16397','-53308','-10448','0','0','16384','172800','0','0'),
('48','Pagan Temple','1','32038','-16397','-53199','-10448','0','0','16384','172800','0','0'),
('49','Pagan Temple','1','22195','-16397','-53199','-10448','0','0','16384','172800','0','0'),
('50','Pagan Temple','1','22191','-16397','-53199','-10448','0','0','16384','60','0','0'); | zenn1989/scoria-interlude | sql/vanhalter_spawnlist.sql | SQL | gpl-3.0 | 5,315 |
/**
*/
package de.mdelab.languages.productionschema.util;
import de.mdelab.languages.productionschema.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) doSwitch(object)}
* to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object
* and proceeding up the inheritance hierarchy
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
* @see de.mdelab.languages.productionschema.ProductionschemaPackage
* @generated
*/
public class ProductionschemaSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static ProductionschemaPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ProductionschemaSwitch() {
if (modelPackage == null) {
modelPackage = ProductionschemaPackage.eINSTANCE;
}
}
/**
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
@Override
protected boolean isSwitchFor(EPackage ePackage) {
return ePackage == modelPackage;
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case ProductionschemaPackage.PRODUCTION_SCHEMA: {
ProductionSchema productionSchema = (ProductionSchema)theEObject;
T result = caseProductionSchema(productionSchema);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ProductionschemaPackage.CONJUNCTIVE_NODE: {
ConjunctiveNode conjunctiveNode = (ConjunctiveNode)theEObject;
T result = caseConjunctiveNode(conjunctiveNode);
if (result == null) result = caseLinkableNode(conjunctiveNode);
if (result == null) result = caseIdentifiableElement(conjunctiveNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ProductionschemaPackage.DISJUNCTIVE_NODE: {
DisjunctiveNode disjunctiveNode = (DisjunctiveNode)theEObject;
T result = caseDisjunctiveNode(disjunctiveNode);
if (result == null) result = caseLinkableNode(disjunctiveNode);
if (result == null) result = caseIdentifiableElement(disjunctiveNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ProductionschemaPackage.LINK: {
Link link = (Link)theEObject;
T result = caseLink(link);
if (result == null) result = caseIdentifiableElement(link);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ProductionschemaPackage.LINKABLE_NODE: {
LinkableNode linkableNode = (LinkableNode)theEObject;
T result = caseLinkableNode(linkableNode);
if (result == null) result = caseIdentifiableElement(linkableNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ProductionschemaPackage.IDENTIFIABLE_ELEMENT: {
IdentifiableElement identifiableElement = (IdentifiableElement)theEObject;
T result = caseIdentifiableElement(identifiableElement);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ProductionschemaPackage.MATERIAL: {
Material material = (Material)theEObject;
T result = caseMaterial(material);
if (result == null) result = caseIdentifiableElement(material);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Production Schema</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Production Schema</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProductionSchema(ProductionSchema object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Conjunctive Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Conjunctive Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseConjunctiveNode(ConjunctiveNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Disjunctive Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Disjunctive Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDisjunctiveNode(DisjunctiveNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Link</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Link</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLink(Link object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Linkable Node</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Linkable Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLinkableNode(LinkableNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Identifiable Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Identifiable Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseIdentifiableElement(IdentifiableElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Material</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Material</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMaterial(Material object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
@Override
public T defaultCase(EObject object) {
return null;
}
} //ProductionschemaSwitch
| Somae/mdsd-factory-project | productionschema/de.mdelab.languages.productionschema/src/de/mdelab/languages/productionschema/util/ProductionschemaSwitch.java | Java | gpl-3.0 | 8,566 |
/*
* DDSTouchStone: a scenario-driven Open Source benchmarking framework
* for evaluating the performance of OMG DDS compliant implementations.
*
* Copyright (C) 2008-2009 PrismTech Ltd.
* ddstouchstone@prismtech.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License Version 3 dated 29 June 2007, as published by the
* Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with DDSTouchStone; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __OPENSPLICE_TOUCHSTONE_OS_ABSTRACTION_H
#define __OPENSPLICE_TOUCHSTONE_OS_ABSTRACTION_H
#include "os.h"
typedef os_threadId _touchstone_os_threadId;
typedef os_timeSec _touchstone_os_timeSec;
struct _touchstone_os_timer_s {
_touchstone_os_timeSec interval_sec;
int interval_nsec;
};
#endif /* __OPENSPLICE_TOUCHSTONE_OS_ABSTRACTION_H */
| simonmcqueen/DDS-Touchstone | os/OpenSpliceDDS/_touchstone_os_abstraction.h | C | gpl-3.0 | 1,316 |
/***********************************************************************
This file is part of Altairrfp, an Altair 8800 simulator.
Altairrfp can work standalone or with the Briel Micro8800
computer in remote mode as a front panel.
For more information, see http://www.hotsolder.com (Altairrfp)
or http://www.brielcomputers.com (Micro8800)
Altairrfp (c) 2011 by Al Williams.
Altairrfp is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Altairrfp is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Altairrfp. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
// Issues:
// TODO: Move to portable C++ socket class so it will work with mingw etc.
// This is the telnet IO stream
#include <stdio.h>
#include <string.h> // for bzero
#include <fcntl.h>
#include <sys/types.h>
#if !defined(NOTELNET)
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#include "iotelnet.h"
#include <signal.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
// Construct telnet on given stream and port #
iotelnet::iotelnet(streamtype st,int portno) : iobase(st)
{
#if defined(NOTELNET)
iobase::printf(iobase::ERROROUT,"Telnet not supported\n");
exit(1);
#else
killchar=cbuffer=-1;
skipct=0;
port=portno;
signal(SIGPIPE,SIG_IGN);
// fire off thread
pthread_create(&worker,NULL,connect,(void *)this);
// pthread_detach(worker);
#endif
}
// Get a connection
void *iotelnet::connect(void *_this)
{
#if !defined(NOTELNET)
iotelnet *obj=(iotelnet *)_this;
struct sockaddr_in serv_addr;
int sockfd;
struct sockaddr_in cli_addr;
socklen_t clilen;
signal(SIGPIPE,SIG_IGN);
obj->newsockfd=-1;
obj->sockfd = socket(AF_INET, SOCK_STREAM, 0);
if (obj->sockfd < 0)
{
iobase::printf(iobase::DEBUG,"socket failed %d\n",perror);
return NULL;
}
bzero((char *) &serv_addr, sizeof(serv_addr));
serv_addr.sin_family = AF_INET;
serv_addr.sin_addr.s_addr = INADDR_ANY;
serv_addr.sin_port = htons(obj->port);
if (bind(obj->sockfd, (struct sockaddr *) &serv_addr,
sizeof(serv_addr)) < 0)
{
iobase::printf(iobase::DEBUG,"bind failed %d\n",errno);
return NULL;
}
// wait for a connection
while (1)
{
obj->newsockfd=-1;
// wait for connection
listen(obj->sockfd,5);
clilen = sizeof(cli_addr);
obj->newsockfd = accept(obj->sockfd,
(struct sockaddr *) &cli_addr,
&clilen);
// flip to single character no echo
send(obj->newsockfd,"\xff\xfb\x01\xff\xfb\x03\xff\xfc\x22",9,0);
fcntl(obj->newsockfd,F_SETFL,O_NONBLOCK);
// wait for telnet client to disconnect
while (obj->newsockfd>0);
}
#endif
}
iotelnet::~iotelnet()
{
// better to let the threads die
// otherwise you get all this strange
// race behavior as everything tries
// to shut down together
}
// get character (raw, no pushback)
int iotelnet::getch(void)
{
#if !defined(NOTELNET)
unsigned char ch;
int c=-1;
if (newsockfd>0)
if (read(newsockfd,&ch,1)<=0)
{
if (errno!=EAGAIN&&errno!=EWOULDBLOCK)
{
close(newsockfd);
newsockfd=-1;
}
}
else c=ch;
return c;
#else
return -1;
#endif
}
// This is the getchar you want to use; calls getch
int iotelnet::getchar(void)
{
int c=-1;
#if !defined(NOTELNET)
unsigned char ch,cc[2];
getagn:
if (cbuffer!=-1) // if there is a pushback buffer, use it
{
ch=c=cbuffer;
cbuffer=-1;
}
else
ch=c=getch(); // otherwise get character
// consume IAC responses
// not sure this will always work but should be ok for the kinds of things we do
if (skipct==2 && c==0xff)
{
skipct=0;
}
else if (c!=-1 && skipct!=0)
{
skipct--;
return -1;
}
else if (c==0xff)
{
skipct=2;
return -1;
}
// Check for kill character
if (killchar!=-1 && c==killchar)
{
do { c=getch(); } while (c==-1);
if (c!=killchar) exit(0);
}
#endif
return c;
}
// is character waiting
int iotelnet::ischar(void)
{
if (cbuffer==-1) cbuffer=getch();
return cbuffer!=-1;
}
// put a character
void iotelnet::putchar(int c)
{
#if !defined(NOTELNET)
char cc[2];
putagain:
cc[0]=cc[1]=c;
if (newsockfd>0)
if (write(newsockfd,&c,(c!=0xFF)?1:2)<=0) // escape 0xFF for telnet
{
if (errno!=EAGAIN&&errno!=EWOULDBLOCK)
{
close(newsockfd);
newsockfd=-1;
}
else goto putagain; // yeah bad form
}
#endif
}
// Is the stream ready?
int iotelnet::ready(void)
{
#if !defined(NOTELNET)
return newsockfd>0;
#else
return 0;
#endif
}
| wd5gnr/altair-rfp | iotelnet.cpp | C++ | gpl-3.0 | 5,111 |
<?php
/**
* Data file for America/Boa_Vista timezone, compiled from the olson data.
*
* Auto-generated by the phing olson task on 11/04/2008 09:20:40
*
* @package agavi
* @subpackage translation
*
* @copyright Authors
* @copyright The Agavi Project
*
* @since 0.11.0
*
* @version $Id: America_47_Boa_Vista.php 3274 2008-11-04 10:10:58Z david $
*/
return array (
'types' =>
array (
0 =>
array (
'rawOffset' => -14400,
'dstOffset' => 0,
'name' => 'AMT',
),
1 =>
array (
'rawOffset' => -14400,
'dstOffset' => 3600,
'name' => 'AMST',
),
),
'rules' =>
array (
0 =>
array (
'time' => -1767211040,
'type' => 0,
),
1 =>
array (
'time' => -1206954000,
'type' => 1,
),
2 =>
array (
'time' => -1191358800,
'type' => 0,
),
3 =>
array (
'time' => -1175371200,
'type' => 1,
),
4 =>
array (
'time' => -1159822800,
'type' => 0,
),
5 =>
array (
'time' => -633816000,
'type' => 1,
),
6 =>
array (
'time' => -622065600,
'type' => 0,
),
7 =>
array (
'time' => -602276400,
'type' => 1,
),
8 =>
array (
'time' => -591829200,
'type' => 0,
),
9 =>
array (
'time' => -570744000,
'type' => 1,
),
10 =>
array (
'time' => -560206800,
'type' => 0,
),
11 =>
array (
'time' => -539121600,
'type' => 1,
),
12 =>
array (
'time' => -531349200,
'type' => 0,
),
13 =>
array (
'time' => -191361600,
'type' => 1,
),
14 =>
array (
'time' => -184194000,
'type' => 0,
),
15 =>
array (
'time' => -155160000,
'type' => 1,
),
16 =>
array (
'time' => -150066000,
'type' => 0,
),
17 =>
array (
'time' => -128894400,
'type' => 1,
),
18 =>
array (
'time' => -121122000,
'type' => 0,
),
19 =>
array (
'time' => -99950400,
'type' => 1,
),
20 =>
array (
'time' => -89586000,
'type' => 0,
),
21 =>
array (
'time' => -68414400,
'type' => 1,
),
22 =>
array (
'time' => -57963600,
'type' => 0,
),
23 =>
array (
'time' => 499752000,
'type' => 1,
),
24 =>
array (
'time' => 511239600,
'type' => 0,
),
25 =>
array (
'time' => 530596800,
'type' => 1,
),
26 =>
array (
'time' => 540270000,
'type' => 0,
),
27 =>
array (
'time' => 562132800,
'type' => 1,
),
28 =>
array (
'time' => 571201200,
'type' => 0,
),
29 =>
array (
'time' => 590040000,
'type' => 0,
),
30 =>
array (
'time' => 938664000,
'type' => 0,
),
31 =>
array (
'time' => 938923200,
'type' => 1,
),
32 =>
array (
'time' => 951620400,
'type' => 0,
),
33 =>
array (
'time' => 970977600,
'type' => 1,
),
34 =>
array (
'time' => 971578800,
'type' => 0,
),
),
'finalRule' =>
array (
'type' => 'static',
'name' => 'AMT',
'offset' => -14400,
'startYear' => 2001,
),
'name' => 'America/Boa_Vista',
);
?> | digitarald/redracer | vendor/agavi/translation/data/timezones/America_47_Boa_Vista.php | PHP | gpl-3.0 | 3,503 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-05-07 23:52
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tableaubord', '0041_auto_20170507_2344'),
]
operations = [
migrations.AlterField(
model_name='evenement',
name='dateheure',
field=models.DateTimeField(default=datetime.datetime(2017, 5, 7, 23, 52, 53, 961581), verbose_name='Date/heure evenement '),
),
]
| MLOrsini/ProjetWEB | INSport/tableaubord/migrations/0042_auto_20170507_2352.py | Python | gpl-3.0 | 561 |
{% extends "tanglufly/layout.html" %}
{% import "forms.html" as form_theme with context %}
{% import "tanglufly/macros.html" as macros with context %}
{% block title %}{{ macros.page_title(title=_("Split Thread"),parent=thread.name) }}{% endblock %}
{% block breadcrumb %}{{ super() }} <span class="divider"><i class="icon-chevron-right"></i></span></li>
{{ macros.parents_list(parents) }}
<li><a href="{{ url('thread', thread=thread.pk, slug=thread.slug) }}">{{ thread.name }}</a> <span class="divider"><i class="icon-chevron-right"></i></span></li>
<li class="active">{% trans %}Split Thread{% endtrans %}
{%- endblock %}
{% block container %}
<div class="page-header header-primary">
<div class="container">
{{ messages_list(messages) }}
<ul class="breadcrumb">
{{ self.breadcrumb() }}</li>
</ul>
<h1>{% trans %}Split Thread{% endtrans %} <small>{{ thread.name|short_string(42) }}</small></h1>
</div>
</div>
<div class="container container-primary">
<div class="row">
<div class="span6 offset3">
<div class="form-container">
<div class="form-header">
<h1>{% trans %}Split Thread{% endtrans %}</h1>
</div>
{% if message %}
<div class="messages-list">
{{ macros.draw_message(message) }}
</div>
{% endif %}
<form action="{{ url('thread', thread=thread.pk, slug=thread.slug) }}" method="post">
{{ form_theme.hidden_fields(form) }}
<input type="hidden" name="origin" value="posts_form">
<input type="hidden" name="list_action" value="split">
<input type="hidden" name="do" value="split">
{% for post in posts -%}
<input type="hidden" name="list_items" value="{{ post }}">
{% endfor %}
<div class="form-fields">
{{ form_theme.row(form.thread_name, attrs={'class': 'span6'}) }}
{{ form_theme.row(form.thread_forum, attrs={'class': 'span6'}) }}
</div>
<div class="form-actions">
<button type="submit" class="btn btn-primary">{% trans %}Split Thread{% endtrans %}</button>
<a href="{{ url('thread', thread=thread.pk, slug=thread.slug) }}" class="btn">{% trans %}Cancel{% endtrans %}</a>
</div>
</form>
</div>
</div>
</div>
</div>
{% endblock %} | tanglu-org/tgl-misago | templates/tanglufly/threads/split.html | HTML | gpl-3.0 | 2,338 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
using NLog;
using NzbDrone.Common.Extensions;
using NzbDrone.Common.Http;
using NzbDrone.Core.Configuration;
using NzbDrone.Core.Parser;
namespace NzbDrone.Core.Indexers.Headphones
{
public class Headphones : HttpIndexerBase<HeadphonesSettings>
{
private readonly IHeadphonesCapabilitiesProvider _capabilitiesProvider;
public override string Name => "Headphones VIP";
public override DownloadProtocol Protocol => DownloadProtocol.Usenet;
public override int PageSize => _capabilitiesProvider.GetCapabilities(Settings).DefaultPageSize;
public override IIndexerRequestGenerator GetRequestGenerator()
{
return new HeadphonesRequestGenerator(_capabilitiesProvider)
{
PageSize = PageSize,
Settings = Settings
};
}
public override IParseIndexerResponse GetParser()
{
return new HeadphonesRssParser
{
Settings = Settings
};
}
public Headphones(IHeadphonesCapabilitiesProvider capabilitiesProvider, IHttpClient httpClient, IIndexerStatusService indexerStatusService, IConfigService configService, IParsingService parsingService, Logger logger)
: base(httpClient, indexerStatusService, configService, parsingService, logger)
{
_capabilitiesProvider = capabilitiesProvider;
}
protected override void Test(List<ValidationFailure> failures)
{
base.Test(failures);
if (failures.Any())
{
return;
}
failures.AddIfNotNull(TestCapabilities());
}
protected virtual ValidationFailure TestCapabilities()
{
try
{
var capabilities = _capabilitiesProvider.GetCapabilities(Settings);
if (capabilities.SupportedSearchParameters != null && capabilities.SupportedSearchParameters.Contains("q"))
{
return null;
}
return new ValidationFailure(string.Empty, "Indexer does not support required search parameters");
}
catch (Exception ex)
{
_logger.Warn(ex, "Unable to connect to indexer: " + ex.Message);
return new ValidationFailure(string.Empty, "Unable to connect to indexer, check the log for more details");
}
}
}
}
| lidarr/Lidarr | src/NzbDrone.Core/Indexers/Headphones/Headphones.cs | C# | gpl-3.0 | 2,591 |
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using MediatR;
using Microsoft.Practices.Unity;
using SimpleBookKeeping.Commands;
using SimpleBookKeeping.Models;
using SimpleBookKeeping.Queries;
namespace SimpleBookKeeping.Controllers
{
[Authorize]
public class CostController : Controller
{
private readonly IMediator _mediator;
public CostController()
{
_mediator = MvcApp.Unity.Resolve<IMediator>();
}
// GET: Cost
public ActionResult Index(Guid planId)
{
IList<CostModel> costModels =
_mediator.Send(new GetCostsQuery { PlanId = planId });
ViewBag.PlanId = planId;
return View("Index", costModels);
}
public ActionResult Remove(Guid id)
{
_mediator.Send(new RemoveCostCommand { CostId = id });
return new EmptyResult();
}
public ActionResult Create(Guid planId)
{
var model = _mediator.Send(new CreateCostCommand { PlanId = planId });
return View("View", model);
}
public ActionResult View(Guid id)
{
CostModel item = _mediator.Send(new GetCostQuery { CostId = id });
return View("View", item);
}
public ActionResult Save(CostModel model)
{
if (model.PlanId == Guid.Empty)
{
return RedirectToAction("Index", "Plan");
}
foreach (var costDetailModel in model.CostDetails)
{
if (costDetailModel.Value == null)
costDetailModel.Value = 0;
}
if (ModelState.IsValid)
{
_mediator.Send(new SaveCostCommand { Cost = model });
return RedirectToAction("Index", new { planId = model.PlanId });
}
return View("View", model);
}
}
} | greshniksv/Simple-Book-keeping | SimpleBookKeeping/SimpleBookKeeping/Controllers/CostController.cs | C# | gpl-3.0 | 1,974 |
#!/usr/bin/python
import os
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
time=["06"]
year=["2013"]
param=["129.128","130.128","131.128","132.128","157.128","151.128"]
nam=["hgt","air","uwnd","vwnd","rhum","psl"]
#month=["01","02","03","04","05","06","07","08","09","10","11","12"]
for y in year:
#for m in month:
for p in range(len(param)):
for t in time:
date=y+"-01-01/to/"+y+"-12-31"
print date
print nam[p]+"."+y+"."+t+".nc"
os.system('echo "############################################################# ^_^"')
server.retrieve({
'dataset' : "interim",
'levelist' : "1/2/3/5/7/10/20/30/50/70/100/125/150/175/200/225/250/300/350/400/450/500/550/600/650/700/750/775/800/825/850/875/900/925/950/975/1000",
'step' : "0",
'number' : "all",
'levtype' : "pl", # set to "sl" for surface level
'date' : date,
'time' : t ,
'origin' : "all",
'type' : "an",
'param' : "129.128/130.128/131.128/132.128/157.128",
'param' : param[p],
'area' : "0/0/-40/100", # Four values as North/West/South/East
'grid' : "1.5/1.5", # Two values: West-East/North-South increments
'format' : "netcdf", # if grib, just comment this line
'target' : nam[p]+"."+y+"."+t+".nc"
})
| CopyChat/Plotting | Python/download_era-interim.py | Python | gpl-3.0 | 1,297 |
// SmoothScroll v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Patrick Brunner (original idea)
// - Michael Herf (Pulse Algorithm)
// - Justin Force (Resurect)
// Scroll Variables (tweakable)
var framerate = 150; // [Hz]
var animtime = 700; // [px]
var stepsize = 90; // [px]
// Pulse (less tweakable)
// ratio of "tail" to "acceleration"
var pulseAlgorithm = true;
var pulseScale = 8;
var pulseNormalize = 1;
// Acceleration
var acceleration = true;
var accelDelta = 10; // 20
var accelMax = 1; // 1
// Keyboard Settings
var keyboardsupport = true; // option
var disableKeyboard = false; // other reasons
var arrowscroll = 50; // [px]
// Excluded pages
var exclude = "";
var disabled = false;
// Other Variables
var frame = false;
var direction = { x: 0, y: 0 };
var initdone = false;
var fixedback = true;
var root = document.documentElement;
var activeElement;
var key = { left: 37, up: 38, right: 39, down: 40, spacebar: 32, pageup: 33, pagedown: 34, end: 35, home: 36 };
/**
* Sets up scrolls array, determines if frames are involved.
*/
function init() {
if (!document.body) return;
var body = document.body;
var html = document.documentElement;
var windowHeight = window.innerHeight;
var scrollHeight = body.scrollHeight;
// check compat mode for root element
root = (document.compatMode.indexOf('CSS') >= 0) ? html : body;
activeElement = body;
initdone = true;
// Checks if this script is running in a frame
if (top != self) {
frame = true;
}
/**
* This fixes a bug where the areas left and right to
* the content does not trigger the onmousewheel event
* on some pages. e.g.: html, body { height: 100% }
*/
else if (scrollHeight > windowHeight &&
(body.offsetHeight <= windowHeight ||
html.offsetHeight <= windowHeight)) {
// DOMChange (throttle): fix height
var pending = false;
var refresh = function() {
if (!pending && html.scrollHeight != document.height) {
pending = true; // add a new pending action
setTimeout(function(){
html.style.height = document.height + 'px';
pending = false;
}, 500); // act rarely to stay fast
}
};
html.style.height = '';
setTimeout(refresh, 10);
addEvent("DOMNodeInserted", refresh);
addEvent("DOMNodeRemoved", refresh);
// clearfix
if (root.offsetHeight <= windowHeight) {
var underlay = document.createElement("div");
underlay.style.clear = "both";
body.appendChild(underlay);
}
}
// gmail performance fix
if (document.URL.indexOf("mail.google.com") > -1) {
var s = document.createElement("style");
s.innerHTML = ".iu { visibility: hidden }";
(document.getElementsByTagName("head")[0] || html).appendChild(s);
}
// disable fixed background
if (!fixedback && !disabled) {
body.style.backgroundAttachment = "scroll";
html.style.backgroundAttachment = "scroll";
}
}
/************************************************
* SCROLLING
************************************************/
var que = [];
var pending = false;
var lastScroll = +new Date;
/**
* Pushes scroll actions to the scrolling queue.
*/
function scrollArray(elem, left, top, delay) {
delay || (delay = 1000);
directionCheck(left, top);
if (acceleration) {
var now = +new Date;
var elapsed = now - lastScroll;
if (elapsed < accelDelta) {
var factor = (1 + (30 / elapsed)) / 2;
if (factor > 1) {
factor = Math.min(factor, accelMax);
left *= factor;
top *= factor;
}
}
lastScroll = +new Date;
}
// push a scroll command
que.push({
x: left,
y: top,
lastX: (left < 0) ? 0.99 : -0.99,
lastY: (top < 0) ? 0.99 : -0.99,
start: +new Date
});
// don't act if there's a pending queue
if (pending) {
return;
}
var scrollWindow = (elem === document.body);
var step = function() {
var now = +new Date;
var scrollX = 0;
var scrollY = 0;
for (var i = 0; i < que.length; i++) {
var item = que[i];
var elapsed = now - item.start;
var finished = (elapsed >= animtime);
// scroll position: [0, 1]
var position = (finished) ? 1 : elapsed / animtime;
// easing [optional]
if (pulseAlgorithm) {
position = pulse(position);
}
// only need the difference
var x = (item.x * position - item.lastX) >> 0;
var y = (item.y * position - item.lastY) >> 0;
// add this to the total scrolling
scrollX += x;
scrollY += y;
// update last values
item.lastX += x;
item.lastY += y;
// delete and step back if it's over
if (finished) {
que.splice(i, 1); i--;
}
}
// scroll left and top
if (scrollWindow) {
window.scrollBy(scrollX, scrollY)
}
else {
if (scrollX) elem.scrollLeft += scrollX;
if (scrollY) elem.scrollTop += scrollY;
}
// clean up if there's nothing left to do
if (!left && !top) {
que = [];
}
if (que.length) {
requestFrame(step, elem, (delay / framerate + 1));
} else {
pending = false;
}
}
// start a new queue of actions
requestFrame(step, elem, 0);
pending = true;
}
/***********************************************
* EVENTS
***********************************************/
/**
* Mouse wheel handler.
* @param {Object} event
*/
function wheel(event) {
if (!initdone) {
init();
}
var target = event.target;
var overflowing = overflowingAncestor(target);
// use default if there's no overflowing
// element or default action is prevented
if (!overflowing || event.defaultPrevented ||
isNodeName(activeElement, "embed") ||
(isNodeName(target, "embed") && /\.pdf/i.test(target.src))) {
return true;
}
var deltaX = event.wheelDeltaX || 0;
var deltaY = event.wheelDeltaY || 0;
// use wheelDelta if deltaX/Y is not available
if (!deltaX && !deltaY) {
deltaY = event.wheelDelta || 0;
}
// scale by step size
// delta is 120 most of the time
// synaptics seems to send 1 sometimes
if (Math.abs(deltaX) > 1.2) {
deltaX *= stepsize / 120;
}
if (Math.abs(deltaY) > 1.2) {
deltaY *= stepsize / 120;
}
scrollArray(overflowing, -deltaX, -deltaY);
event.preventDefault();
}
/**
* Keydown event handler.
* @param {Object} event
*/
function keydown(event) {
var target = event.target;
var modifier = event.ctrlKey || event.altKey || event.metaKey ||
(event.shiftKey && event.keyCode !== key.spacebar);
// do nothing if user is editing text
// or using a modifier key (except shift)
// or in a dropdown
if ( /input|textarea|select|embed/i.test(target.nodeName) ||
target.isContentEditable ||
event.defaultPrevented ||
modifier ) {
return true;
}
// spacebar should trigger button press
if (isNodeName(target, "button") &&
event.keyCode === key.spacebar) {
return true;
}
var shift, x = 0, y = 0;
var elem = overflowingAncestor(activeElement);
var clientHeight = elem.clientHeight;
if (elem == document.body) {
clientHeight = window.innerHeight;
}
switch (event.keyCode) {
case key.up:
y = -arrowscroll;
break;
case key.down:
y = arrowscroll;
break;
case key.spacebar: // (+ shift)
shift = event.shiftKey ? 1 : -1;
y = -shift * clientHeight * 0.9;
break;
case key.pageup:
y = -clientHeight * 0.9;
break;
case key.pagedown:
y = clientHeight * 0.9;
break;
case key.home:
y = -elem.scrollTop;
break;
case key.end:
var damt = elem.scrollHeight - elem.scrollTop - clientHeight;
y = (damt > 0) ? damt+10 : 0;
break;
case key.left:
x = -arrowscroll;
break;
case key.right:
x = arrowscroll;
break;
default:
return true; // a key we don't care about
}
scrollArray(elem, x, y);
event.preventDefault();
}
/**
* Mousedown event only for updating activeElement
*/
function mousedown(event) {
activeElement = event.target;
}
/***********************************************
* OVERFLOW
***********************************************/
var cache = {}; // cleared out every once in while
setInterval(function(){ cache = {}; }, 10 * 1000);
var uniqueID = (function() {
var i = 0;
return function (el) {
return el.uniqueID || (el.uniqueID = i++);
};
})();
function setCache(elems, overflowing) {
for (var i = elems.length; i--;)
cache[uniqueID(elems[i])] = overflowing;
return overflowing;
}
function overflowingAncestor(el) {
var elems = [];
var rootScrollHeight = root.scrollHeight;
do {
var cached = cache[uniqueID(el)];
if (cached) {
return setCache(elems, cached);
}
elems.push(el);
if (rootScrollHeight === el.scrollHeight) {
if (!frame || root.clientHeight + 10 < rootScrollHeight) {
return setCache(elems, document.body); // scrolling root in WebKit
}
} else if (el.clientHeight + 10 < el.scrollHeight) {
overflow = getComputedStyle(el, "").getPropertyValue("overflow-y");
if (overflow === "scroll" || overflow === "auto") {
return setCache(elems, el);
}
}
} while (el = el.parentNode);
}
/***********************************************
* HELPERS
***********************************************/
function addEvent(type, fn, bubble) {
window.addEventListener(type, fn, (bubble||false));
}
function removeEvent(type, fn, bubble) {
window.removeEventListener(type, fn, (bubble||false));
}
function isNodeName(el, tag) {
return (el.nodeName||"").toLowerCase() === tag.toLowerCase();
}
function directionCheck(x, y) {
x = (x > 0) ? 1 : -1;
y = (y > 0) ? 1 : -1;
if (direction.x !== x || direction.y !== y) {
direction.x = x;
direction.y = y;
que = [];
lastScroll = 0;
}
}
var requestFrame = (function(){
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
function(callback, element, delay){
window.setTimeout(callback, delay || (1000/60));
};
})();
/***********************************************
* PULSE
***********************************************/
/**
* Viscous fluid with a pulse for part and decay for the rest.
* - Applies a fixed force over an interval (a damped acceleration), and
* - Lets the exponential bleed away the velocity over a longer interval
* - Michael Herf, http://stereopsis.com/stopping/
*/
function pulse_(x) {
var val, start, expx;
// test
x = x * pulseScale;
if (x < 1) { // acceleartion
val = x - (1 - Math.exp(-x));
} else { // tail
// the previous animation ended here:
start = Math.exp(-1);
// simple viscous drag
x -= 1;
expx = 1 - Math.exp(-x);
val = start + (expx * (1 - start));
}
return val * pulseNormalize;
}
function pulse(x) {
if (x >= 1) return 1;
if (x <= 0) return 0;
if (pulseNormalize == 1) {
pulseNormalize /= pulse_(1);
}
return pulse_(x);
}
addEvent("mousedown", mousedown);
addEvent("mousewheel", wheel);
addEvent("load", init);
| vgrados2/mymascensores | assets/js/jquery.smoothscroll.js | JavaScript | gpl-3.0 | 11,274 |
/*
This file is part of SIAC.
Copyright (C) 2016 Felipe Mateus Freire Pontes <felipemfpontes@gmail.com>
Copyright (C) 2016 Francisco Bento da Silva Júnior <francisco.bento.jr@hotmail.com>
SIAC is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
using SIAC.Helpers;
using System.Collections.Generic;
namespace SIAC.Models
{
public class Lembrete
{
public const string NORMAL = "label";
public const string POSITIVO = "green";
public const string NEGATIVO = "red";
public const string INFO = "blue";
public static void AdicionarNotificacao(string mensagem, string estilo = NORMAL, int tempo = 5)
{
Sistema.Notificacoes[Sessao.UsuarioMatricula].Add(new Dictionary<string, string> {
{ "Mensagem", mensagem },
{ "Estilo", estilo },
{ "Tempo", tempo.ToString() }
});
}
}
} | Projeto-SIAC/siac | SIAC/Models/Lembrete.cs | C# | gpl-3.0 | 1,328 |
/*******************************************************************************
* Copyright (C) 2003 Ken Harris
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Contributors:
* Lucas Madar
* Peter Brewer
******************************************************************************/
package org.tellervo.desktop.util.openrecent;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import javax.xml.bind.Unmarshaller;
import org.tellervo.desktop.core.App;
import org.tellervo.desktop.editor.FullEditor;
import org.tellervo.desktop.editor.LiteEditor;
import org.tellervo.desktop.gui.BugDialog;
import org.tellervo.desktop.sample.Sample;
import org.tellervo.desktop.sample.SampleType;
import org.tellervo.desktop.sample.TellervoWSILoader;
import org.tellervo.desktop.ui.Alert;
import org.tellervo.desktop.ui.Builder;
import org.tellervo.desktop.ui.I18n;
import org.tellervo.desktop.wsi.tellervo.TellervoResourceProperties;
import org.tellervo.schema.TellervoRequestFormat;
import org.tridas.io.formats.tucson.TucsonFormat;
/**
A menu which shows recently-opened files.
<p>(It's actually implemented as a list of recently-opened files,
and a factory method to generate <code>JMenu</code>s. But this will
change in the near future.)</p>
<p>To use, simply call <code>OpenRecent.generateMenu()</code>, and
use that as you would any other <code>JMenu</code>. It will
automatically be updated whenever the list changes due to some new
file being opened. (When it's no longer strongly
reachable, it'll be garbage collected.)</p>
<h2>Left to do:</h2>
<ul>
<li>rename to OpenRecentMenu
<li>extend JMenu; the c'tor should take care of notification stuff (add/removeNotify(), if necessary)
<li>i don't need to use refs if i use add/remove notify, right?
<li>doesn't use special 1.3 font hack any more -- do i care?
<li>refactor -- separate model and view?
<li>catch errors gracefully - "this file may have been moved...", etc.
<li>if document is already open, just toFront() (needs other work first)
</ul>
@author Ken Harris <kbh7 <i style="color: gray">at</i> cornell <i style="color: gray">dot</i> edu>
@version $Id$
*/
public class OpenRecent {
// number of recent docs to remember
private final static int NUMBER_TO_REMEMBER = 10;
// list of loaders, most-recent-first
private static Map<String, List<OpenableDocumentDescriptor>> recentMap =
new HashMap<String, List<OpenableDocumentDescriptor> >();
// list of created menus -- soft references
private static List<WeakReference<JMenu>> menus = new ArrayList<WeakReference<JMenu>>();
/** The name of our file */
private final static String OPENRECENT_FILENAME_PREFIX = "recent-";
private final static String OPENRECENT_FILENAME_SUFFIX = ".xml";
// on class load: load previous recent-list from system property into static
// structure
static {
loadList("documents");
loadList("reconcile");
}
public static void fileOpened(String filename) {
fileOpened(filename, "documents");
}
/**
* Indicate to the recent-file list that a file was just opened. This also
* updates every recent-file menu automatically.
*
* @param filename
* the (full) name of the file that was opened
* @param tag
* the tag associated with this (e.g., documents, reconcile, etc)
*/
public static void fileOpened(String filename, String tag) {
SeriesDescriptor sd = new SeriesDescriptor();
File file = new File(filename);
sd.setDisplayName(file.getName());
sd.setFileName(file.getAbsolutePath());
sd.setSampleType(SampleType.UNKNOWN);
sd.setLoaderType(SeriesDescriptor.LoaderType.FILE);
sampleOpened(sd, tag);
}
/**
* Open a SampleDescriptor in the default category
* @param sl
*/
public static void sampleOpened(SeriesDescriptor sd) {
sampleOpened(sd, "documents");
}
/**
* Indicate to the recent-file list that a file was just opened. This also
* updates every recent-file menu automatically.
*
* @param sl a sample descriptor for the object
*/
public static void sampleOpened(SeriesDescriptor sd, String tag) {
List<OpenableDocumentDescriptor> recent = getListForTag(tag);
// if already in spot #0, don't need to do anything
if (!recent.isEmpty() && recent.get(0).equals(sd))
return;
// if this item is in the list, remove me, too
recent.remove(sd);
// remove last item, if full
if (recent.size() == NUMBER_TO_REMEMBER)
recent.remove(NUMBER_TO_REMEMBER - 1);
// prepend element
recent.add(0, sd);
// update menu(s)
updateAllMenus();
// update disk
saveList(tag);
}
public static JMenu makeOpenRecentMenu() {
return makeOpenRecentMenu("documents", null, null);
}
/**
* Generate a new recent-file menu. This menu will contain the names of (up
* to) the last 4 files opened. As long as the menu returned by this method
* is referenced, it will automatically be kept updated.
*/
public static JMenu makeOpenRecentMenu(String tag, JMenu menu, Integer itemsToKeep) {
// create a new menu if we have to
if(menu == null)
menu = Builder.makeMenu("menus.file.open_recent");
menu.putClientProperty("tellervo.open_recent_tag", tag);
menu.putClientProperty("tellervo.open_recent_itemsToKeep", itemsToKeep);
// generate its elements
updateMenu(menu);
// add it to the list
menus.add(new WeakReference<JMenu>(menu));
// return it
return menu;
}
/**
* Create or retrieve a list for a tag
*/
private static List<OpenableDocumentDescriptor> getListForTag(String tag) {
List<OpenableDocumentDescriptor> l = recentMap.get(tag);
if(l == null) {
l = new ArrayList<OpenableDocumentDescriptor>();
recentMap.put(tag, l);
}
return l;
}
// update all existing open-recent menus. if any has since
// disappeared, remove it from my list.
private static void updateAllMenus() {
// for each menu...
for (int i = 0; i < menus.size(); i++) {
// dereference it
JMenu m = menus.get(i).get();
// already gone? remove it from my list
if (m == null) {
menus.remove(i);
continue;
}
// update it
updateMenu(m);
}
}
/**
* Return a textual description to display in the menu
* @param o
* @return
*/
private static String getDescription(Object o) {
// nicely push our data together...
if(o instanceof SeriesDescriptor) {
SeriesDescriptor desc = (SeriesDescriptor) o;
StringBuffer sb = new StringBuffer();
// first, the display name
sb.append(desc.getDisplayName());
// the range
if(desc.getRange() != null) {
sb.append(" (");
sb.append(desc.getRange());
sb.append(')');
}
// derived stuff...
if(desc.getSampleType().isDerived()) {
sb.append(" [");
sb.append(desc.getSampleType().toString());
if(desc.getVersion() != null) {
sb.append(", version: ");
sb.append(desc.getVersion());
}
sb.append(']');
}
return sb.toString();
}
// default
return o.toString();
}
/**
* Actually open the file
* @param o
*/
private static void doOpen(Object o, Object opener) throws IOException {
if(opener == null)
opener = defaultSampleOpener;
if(o instanceof SeriesDescriptor) {
SeriesDescriptor desc = (SeriesDescriptor) o;
switch(desc.getLoaderType()) {
case TELLERVO_WSI: {
TellervoWSILoader element = new TellervoWSILoader(desc.getIdentifier());
element.setLoadProperty(TellervoResourceProperties.ENTITY_REQUEST_FORMAT, TellervoRequestFormat.COMPREHENSIVE);
((SampleOpener)opener).performOpen(element.load());
break;
}
case FILE: {
//TODO Remember file type
LiteEditor editor = LiteEditor.getNewInstance();
try {
TucsonFormat format = new TucsonFormat();
editor.loadFile(null, new File(desc.getFileName()), format);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return;
}
case UNKNOWN:
new BugDialog(new IllegalArgumentException("UNKNOWN type element in OpenRecent"));
break;
default:
new BugDialog(new IllegalArgumentException("Unhandled type element in OpenRecent"));
break;
}
return;
}
new BugDialog(new IllegalArgumentException("Unknown item in OpenRecent"));
}
public static class SampleOpener {
private String tag;
public SampleOpener() {
this("documents");
}
public SampleOpener(String tag) {
this.tag = tag;
}
public String getTag() {
return tag;
}
public void performOpen(Sample s) {
OpenRecent.sampleOpened(new SeriesDescriptor(s), getTag());
FullEditor editor = FullEditor.getInstance();
editor.addSample(s);
}
}
private static SampleOpener defaultSampleOpener = new SampleOpener();
// BUG: error handling in here is miserable-to-nonexistant
private static void updateMenu(final JMenu menu) {
String possibleTag = (String) menu.getClientProperty("tellervo.open_recent_tag");
final String tag = (possibleTag == null) ? "documents" : possibleTag;
final List<OpenableDocumentDescriptor> recent = getListForTag(tag);
Integer itemsToKeep = (Integer) menu.getClientProperty("tellervo.open_recent_itemsToKeep");
// clear the bottom n items from the menu
if(itemsToKeep != null) {
while(menu.getMenuComponentCount() > itemsToKeep)
menu.remove(itemsToKeep);
}
else
menu.removeAll();
for (int i = 0; i < recent.size(); i++) {
Object o = recent.get(i);
String menuDesc = getDescription(o);
JMenuItem r = new JMenuItem(menuDesc);
final int glue = i;
r.addActionListener(new ActionListener() {
// todo: if already open, just toFront() it!
public void actionPerformed(ActionEvent e) {
try {
doOpen(recent.get(glue), menu.getClientProperty("tellervo.open_recent_action"));
} catch (FileNotFoundException fnfe) {
// file moved?
Alert.error(I18n.getText("error.loadingSample"), I18n.getText("error.cantOpenFile")+ " " + recent.get(glue) + ".\n"
+ I18n.getText("error.fileNotFound"));
// remove it from the list
recent.remove(glue);
updateAllMenus(); // (doesn't really update all menus on
// mac. ack.)
// FUTURE: search for it, or allow user to.
return;
} catch (IOException ioe) {
Alert.error(I18n.getText("error.loadingSample"), I18n.getText("error.cantOpenFile")+ ": " + ioe.toString());
return;
}
}
});
menu.add(r);
}
JMenuItem clear = Builder.makeMenuItem("menus.clear_menu", true, "trashcan_full.png");
if (recent.isEmpty()) {
// no recent items: just "Clear Menu", but dimmed
clear.setEnabled(false);
menu.add(clear);
} else {
// some recent items: spacer, then "Clear Menu"
clear.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
recent.clear();
updateAllMenus();
saveList(tag);
}
});
menu.addSeparator();
menu.add(clear);
}
}
// load recent-list from |tellervo.recent.files|.
// only called on class-load, so doesn't need to be synch.
private static void loadList(String tag) {
File file = OpenRecent.getOpenRecentFile(tag);
if(!file.exists() || !file.isFile()) {
// doesn't exist, so make a blank list
getListForTag(tag);
return;
}
else {
RecentlyOpenedDocuments docs;
try {
JAXBContext context = JAXBContext.newInstance(RecentlyOpenedDocuments.class);
Unmarshaller unmarshaler = context.createUnmarshaller();
docs = (RecentlyOpenedDocuments) unmarshaler.unmarshal(file);
} catch (JAXBException e) {
e.printStackTrace();
docs = new RecentlyOpenedDocuments();
}
// steal the list and put it in our map!
recentMap.put(tag, docs.getOpenables());
}
}
/**
* Store the recent documents...
* @param tag
*/
private static synchronized void saveList(String tag) {
// get the recent list
List<OpenableDocumentDescriptor> recent = getListForTag(tag);
RecentlyOpenedDocuments docs = new RecentlyOpenedDocuments();
docs.getOpenables().addAll(recent);
// marshall it to xml
try {
JAXBContext context = JAXBContext.newInstance(RecentlyOpenedDocuments.class);
Marshaller marshaller = context.createMarshaller();
// marshall pretty-like!
marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
marshaller.marshal(docs, getOpenRecentFile(tag));
} catch (JAXBException e) {
e.printStackTrace();
}
}
/**
* @return a File representing our OpenRecent file
*/
private static File getOpenRecentFile(String tag) {
return new File(App.prefs.getTellervoDir() + OPENRECENT_FILENAME_PREFIX +
tag + OPENRECENT_FILENAME_SUFFIX);
}
}
| petebrew/tellervo | src/main/java/org/tellervo/desktop/util/openrecent/OpenRecent.java | Java | gpl-3.0 | 13,824 |
export PYTHONPATH=/var/lib/domogik && /usr/bin/python bin/nabaztag.py -f
| tikismoke/domogik-plugin-nabaztag | start.sh | Shell | gpl-3.0 | 73 |
<?php //
// File: footer.php
// Theme: Helvetica Simplicty
// Software: Sweetcron
//
// Copyright (C) 2009 Andrew Davidson
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
?>
<div id="footer">
<p><a href="<?php echo $this->config->item('base_url')?>p/about/">about</a> //
<a href="<?php echo $this->config->item('base_url')?>p/theme/">theme</a> //
<a href="<?php echo $this->config->item('base_url')?>feed">rss</a>
</p>
<p>copyright 2009 andrew davidson</p>
<p><a href="http://validator.w3.org/check?uri=referer">xhtml</a> //
<a href="http://jigsaw.w3.org/css-validator/check/referer">css</a></p><br/>
<p style="font-size:80%;">Updated <?php echo timespan($this->config->item('last_fetch'))?> ago</p><br/>
<p><a href="http://www.rackspacecloud.com" style="text-decoration:none; font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align: center; display: block;"><img alt="Cloud Hosting - Formerly Mosso" src="http://cdn.cloudfiles.mosso.com/c110782/the-rackspace-cloud-125-wide.png" border="0"/></a></p>
</div>
<!-- Powered by http://sweetcron.org -->
<!-- Theme by Andrew Davidson, amdavidson.me -->
</body>
</html> | amdavidson/helvetica_simplicity | _footer.php | PHP | gpl-3.0 | 1,793 |
/*
Copyright (C) 2007-2011 Database Group - Universita' della Basilicata
Giansalvatore Mecca - giansalvatore.mecca@unibas.it
Salvatore Raunich - salrau@gmail.com
This file is part of ++Spicy - a Schema Mapping and Data Exchange Tool
++Spicy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
++Spicy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with ++Spicy. If not, see <http://www.gnu.org/licenses/>.
*/
package it.unibas.spicy.test.query.sql.selfjoin;
import it.unibas.spicy.test.References;
import it.unibas.spicy.test.query.SQLQueryTest;
import java.io.File;
import java.io.InputStreamReader;
public class SQLQueryRSImproperSelfJoin_100 extends SQLQueryTest {
protected void setUp() throws Exception {
String mappingTaskFile = new File(this.getClass().getResource(References.RSImproperSelfJoin).toURI()).getAbsolutePath();
mappingTask = daoMappingTask.loadMappingTask(mappingTaskFile);
initFixture();
}
protected void initFileReferences() {
sourceSQLScriptReader = new InputStreamReader(this.getClass().getResourceAsStream(References.rsImproperSelfJoinSourceSQLScriptSchema));
sourceInstanceSQLScriptReader = new InputStreamReader(this.getClass().getResourceAsStream(References.rsImproperSelfJoinSourceSQLScriptInstances_100));
targetSQLScriptReader = new InputStreamReader(this.getClass().getResourceAsStream(References.rsImproperSelfJoinTargetSQLScriptSchema));
expectedInstanceFile = this.getClass().getResource(References.rsImproperSelfJoinExpectedInstance_100).getPath();
}
}
| dbunibas/spicy | spicyEngine/test/it/unibas/spicy/test/query/sql/selfjoin/SQLQueryRSImproperSelfJoin_100.java | Java | gpl-3.0 | 2,038 |
/*
* TURNUS - www.turnus.co
*
* Copyright (C) 2010-2016 EPFL SCI STI MM
*
* This file is part of TURNUS.
*
* TURNUS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* TURNUS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with TURNUS. If not, see <http://www.gnu.org/licenses/>.
*
* Additional permission under GNU GPL version 3 section 7
*
* If you modify this Program, or any covered work, by linking or combining it
* with Eclipse (or a modified version of Eclipse or an Eclipse plugin or
* an Eclipse library), containing parts covered by the terms of the
* Eclipse Public License (EPL), the licensors of this Program grant you
* additional permission to convey the resulting work. Corresponding Source
* for a non-source form of such a combination shall include the source code
* for the parts of Eclipse libraries used as well as that of the covered work.
*
*/
package turnus.ui;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.Image;
/**
* This class defines the list of available icons for the plugin.
*
* @author Simone Casale Brunet
*
*/
public class Icon {
/** the icons folder of the plugin */
private static final String _ICONS_FOLDER_ = "icon/";
public static final String SITEMAP_IMAGE = "sitemap-image.png";
public static final String BLUE_DOCUMENT_SMILEY_SAD = "blue-document-smiley-sad.png";
public static final String CONTROL_000_SMALL = "control-000-small.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_Z = "blue-document-attribute-z.png";
public static final String HAND_HORNS = "hand-horns.png";
public static final String TAG__EXCLAMATION = "tag--exclamation.png";
public static final String EXCLAMATION_CIRCLE_FRAME = "exclamation-circle-frame.png";
public static final String PLUG_CONNECT = "plug-connect.png";
public static final String BLUE_DOCUMENT__ARROW = "blue-document--arrow.png";
public static final String BLOG__MINUS = "blog--minus.png";
public static final String CLOCK_SMALL = "clock-small.png";
public static final String BLOGS = "blogs.png";
public static final String DRILL = "drill.png";
public static final String PROCESSOR_BIT_024 = "processor-bit-024.png";
public static final String CLOCK_NETWORK = "clock-network.png";
public static final String LEAF_RED = "leaf-red.png";
public static final String CREATIVE_COMMONS = "creative-commons.png";
public static final String BEAN__PENCIL = "bean--pencil.png";
public static final String TRANSMITTER = "transmitter.png";
public static final String ARROW_RETURN_270 = "arrow-return-270.png";
public static final String DO_NOT_DISTURB_SIGN = "do-not-disturb-sign.png";
public static final String DOCUMENT_INVOICE = "document-invoice.png";
public static final String SOFA__PENCIL = "sofa--pencil.png";
public static final String ODATA_SMALL = "odata-small.png";
public static final String LIGHTNING__PLUS = "lightning--plus.png";
public static final String IMAGE_SATURATION = "image-saturation.png";
public static final String MOBILE_PHONE_CAST = "mobile-phone-cast.png";
public static final String HARD_HAT_MINE = "hard-hat-mine.png";
public static final String DISK__EXCLAMATION = "disk--exclamation.png";
public static final String CURSOR_LIFEBUOY = "cursor-lifebuoy.png";
public static final String NOTIFICATION_COUNTER_08 = "notification-counter-08.png";
public static final String PRESENT__PLUS = "present--plus.png";
public static final String UI_TEXT_FIELD_CLEAR_BUTTON = "ui-text-field-clear-button.png";
public static final String CONTROL_STOP_090_SMALL = "control-stop-090-small.png";
public static final String ARROW_JOIN_180 = "arrow-join-180.png";
public static final String NOTIFICATION_COUNTER_20 = "notification-counter-20.png";
public static final String EXCLAMATION__FRAME = "exclamation--frame.png";
public static final String BUILDING__EXCLAMATION = "building--exclamation.png";
public static final String HOME_FOR_SALE_SIGN_BLUE = "home-for-sale-sign-blue.png";
public static final String BROOM_CODE = "broom-code.png";
public static final String BOOK_OPEN_TEXT_IMAGE = "book-open-text-image.png";
public static final String CHEESE_HOLE = "cheese-hole.png";
public static final String ARROW_TURN = "arrow-turn.png";
public static final String SOFA__PLUS = "sofa--plus.png";
public static final String BALANCE_UNBALANCE = "balance-unbalance.png";
public static final String CROSS_OCTAGON = "cross-octagon.png";
public static final String COLOR_ADJUSTMENT_RED = "color-adjustment-red.png";
public static final String FOLDER_SMALL = "folder-small.png";
public static final String CREDIT_CARD__MINUS = "credit-card--minus.png";
public static final String ARROW_TURN_090 = "arrow-turn-090.png";
public static final String RECEIPT_STICKY_NOTE = "receipt-sticky-note.png";
public static final String EDIT_LETTER_SPACING = "edit-letter-spacing.png";
public static final String PDA_PROTECTOR = "pda-protector.png";
public static final String NAVIGATION_090 = "navigation-090.png";
public static final String BLUEPRINT_HORIZONTAL = "blueprint-horizontal.png";
public static final String MAGNIFIER_MEDIUM_LEFT = "magnifier-medium-left.png";
public static final String CALENDAR_SELECT = "calendar-select.png";
public static final String BLUE_DOCUMENT_HF_INSERT_FOOTER = "blue-document-hf-insert-footer.png";
public static final String BLUE_FOLDER = "blue-folder.png";
public static final String BOOK_OPEN_PREVIOUS = "book-open-previous.png";
public static final String SYSTEM_MONITOR__EXCLAMATION = "system-monitor--exclamation.png";
public static final String SELECTION_INPUT = "selection-input.png";
public static final String BLUE_FOLDER_RENAME = "blue-folder-rename.png";
public static final String SOCKET__MINUS = "socket--minus.png";
public static final String EDIT_SIZE_UP = "edit-size-up.png";
public static final String CANDY_CANE = "candy-cane.png";
public static final String ARROW_IN_OUT = "arrow-in-out.png";
public static final String ROCKET__PLUS = "rocket--plus.png";
public static final String BLUE_FOLDER_EXPORT = "blue-folder-export.png";
public static final String EDIT_OUTDENT = "edit-outdent.png";
public static final String DISK_SMALL = "disk-small.png";
public static final String WAND = "wand.png";
public static final String GHOST = "ghost.png";
public static final String USER_RED = "user-red.png";
public static final String TERMINAL__EXCLAMATION = "terminal--exclamation.png";
public static final String STORE__PLUS = "store--plus.png";
public static final String ICE__EXCLAMATION = "ice--exclamation.png";
public static final String HAND_SHARE = "hand-share.png";
public static final String DISC__PENCIL = "disc--pencil.png";
public static final String CONTROL_DOUBLE_270_SMALL = "control-double-270-small.png";
public static final String GLOBE_GREEN = "globe-green.png";
public static final String REPORT_MEDIUM = "report-medium.png";
public static final String WEIGHT__ARROW = "weight--arrow.png";
public static final String FOLDER__MINUS = "folder--minus.png";
public static final String LAYOUT_3 = "layout-3.png";
public static final String DOCUMENT_ATTRIBUTE_T = "document-attribute-t.png";
public static final String HEART__PENCIL = "heart--pencil.png";
public static final String LAYOUT_HF_2 = "layout-hf-2.png";
public static final String PAPER_BAG_LABEL = "paper-bag-label.png";
public static final String APPLICATION_DOCUMENTS = "application-documents.png";
public static final String TOOLBOX = "toolbox.png";
public static final String CIGARETTE = "cigarette.png";
public static final String HEADPHONE = "headphone.png";
public static final String ARROW_MOVE = "arrow-move.png";
public static final String WRAP_EDIT = "wrap-edit.png";
public static final String SNOWMAN = "snowman.png";
public static final String BOOKS = "books.png";
public static final String CALENDAR_INSERT = "calendar-insert.png";
public static final String NOTEBOOK__ARROW = "notebook--arrow.png";
public static final String OPML = "opml.png";
public static final String STORE_SMALL = "store-small.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_G = "blue-document-attribute-g.png";
public static final String UI_TEXT_FIELD = "ui-text-field.png";
public static final String MAIL_OPEN_DOCUMENT_MUSIC_PLAYLIST = "mail-open-document-music-playlist.png";
public static final String BORDER = "border.png";
public static final String TAG_SHARE = "tag-share.png";
public static final String CUTTER__PLUS = "cutter--plus.png";
public static final String DOCUMENT__ARROW = "document--arrow.png";
public static final String SHOPPING_BASKET__PENCIL = "shopping-basket--pencil.png";
public static final String MOBILE_PHONE__PENCIL = "mobile-phone--pencil.png";
public static final String FEED__ARROW = "feed--arrow.png";
public static final String EDIT_BOLD = "edit-bold.png";
public static final String MAPS_STACK = "maps-stack.png";
public static final String IMAGE_VERTICAL_SUNSET = "image-vertical-sunset.png";
public static final String MAP_MEDIUM = "map-medium.png";
public static final String IMAGE_INSTAGRAM_FRAME = "image-instagram-frame.png";
public static final String FLOWER_PLUCK = "flower-pluck.png";
public static final String BROOM__ARROW = "broom--arrow.png";
public static final String MOUSE__EXCLAMATION = "mouse--exclamation.png";
public static final String USER__EXCLAMATION = "user--exclamation.png";
public static final String STATUS = "status.png";
public static final String SITEMAP = "sitemap.png";
public static final String UI_ADDRESS_BAR_LOCK = "ui-address-bar-lock.png";
public static final String WEIGHT__PENCIL = "weight--pencil.png";
public static final String EDIT_WRITING_MODE_TBRL = "edit-writing-mode-tbrl.png";
public static final String BLOG__PENCIL = "blog--pencil.png";
public static final String APPLICATION_DOCUMENT = "application-document.png";
public static final String STORE = "store.png";
public static final String BARCODE_2D = "barcode-2d.png";
public static final String IMAGE_CAST = "image-cast.png";
public static final String BRIEFCASE = "briefcase.png";
public static final String ARROW_CURVE_090 = "arrow-curve-090.png";
public static final String BLUE_DOCUMENT_BOOKMARK = "blue-document-bookmark.png";
public static final String DOCUMENT_ATTRIBUTE_Y = "document-attribute-y.png";
public static final String TRAIN_METRO = "train-metro.png";
public static final String BURN__ARROW = "burn--arrow.png";
public static final String REPORT_IMAGE = "report-image.png";
public static final String PEARL = "pearl.png";
public static final String CAR = "car.png";
public static final String ADDRESS_BOOK__PLUS = "address-book--plus.png";
public static final String MAIL_OPEN_FILM = "mail-open-film.png";
public static final String UI_PANEL_RESIZE_ACTUAL = "ui-panel-resize-actual.png";
public static final String APPLICATION_SMALL_LIST = "application-small-list.png";
public static final String LAYOUT_2_EQUAL = "layout-2-equal.png";
public static final String APPLICATION_SMALL = "application-small.png";
public static final String KEYBOARD__PENCIL = "keyboard--pencil.png";
public static final String CHECKERBOARD = "checkerboard.png";
public static final String CURRENCY_DOLLAR_USD = "currency-dollar-usd.png";
public static final String CUP__ARROW = "cup--arrow.png";
public static final String BAMBOO = "bamboo.png";
public static final String CALENDAR_NEXT = "calendar-next.png";
public static final String PAINT_BRUSH__EXCLAMATION = "paint-brush--exclamation.png";
public static final String PIPETTE__ARROW = "pipette--arrow.png";
public static final String ARROW_TURN_000_LEFT = "arrow-turn-000-left.png";
public static final String POINT__EXCLAMATION = "point--exclamation.png";
public static final String LAYOUT_DESIGN = "layout-design.png";
public static final String STAMP_PATTERN = "stamp-pattern.png";
public static final String EAR__MINUS = "ear--minus.png";
public static final String GLASS__ARROW = "glass--arrow.png";
public static final String TABLE_DELETE_ROW = "table-delete-row.png";
public static final String CROWN_SILVER = "crown-silver.png";
public static final String FOOTPRINT = "footprint.png";
public static final String PRESENT_LABEL = "present-label.png";
public static final String PENCIL__EXCLAMATION = "pencil--exclamation.png";
public static final String RULER__ARROW = "ruler--arrow.png";
public static final String HEART = "heart.png";
public static final String HOURGLASS = "hourglass.png";
public static final String APPLICATION_RESIZE = "application-resize.png";
public static final String BLUE_DOCUMENT_TAG = "blue-document-tag.png";
public static final String BLUE_DOCUMENT_TEXT = "blue-document-text.png";
public static final String WOODEN_BOX__EXCLAMATION = "wooden-box--exclamation.png";
public static final String FLOWER_FACE = "flower-face.png";
public static final String MEDIA_PLAYER_XSMALL_POLISH = "media-player-xsmall-polish.png";
public static final String ARROW_BRANCH = "arrow-branch.png";
public static final String CLIPBOARD_PASTE = "clipboard-paste.png";
public static final String DRAWER__EXCLAMATION = "drawer--exclamation.png";
public static final String DRILL__PLUS = "drill--plus.png";
public static final String WRAP_OPTION = "wrap-option.png";
public static final String BLUE_DOCUMENT_VIEW_THUMBNAIL = "blue-document-view-thumbnail.png";
public static final String NOTEBOOK_MEDIUM = "notebook-medium.png";
public static final String DOCUMENT_TEMPLATE = "document-template.png";
public static final String CAMERA__EXCLAMATION = "camera--exclamation.png";
public static final String STICKMAN_SMILEY_EMPTY = "stickman-smiley-empty.png";
public static final String JAR__PENCIL = "jar--pencil.png";
public static final String MAHJONG__PENCIL = "mahjong--pencil.png";
public static final String ROSETTE_LABEL = "rosette-label.png";
public static final String CARD_ADDRESS = "card-address.png";
public static final String TABLE_DELETE = "table-delete.png";
public static final String ARROW_CIRCLE_315_LEFT = "arrow-circle-315-left.png";
public static final String SCRIPT_ATTRIBUTE_Y = "script-attribute-y.png";
public static final String POOP = "poop.png";
public static final String XFN = "xfn.png";
public static final String WEB_SLICE_SMALL = "web-slice-small.png";
public static final String FRUIT_LIME = "fruit-lime.png";
public static final String ALARM_CLOCK__MINUS = "alarm-clock--minus.png";
public static final String MEDAL_SILVER_RED = "medal-silver-red.png";
public static final String PICTURE = "picture.png";
public static final String DATABASE_SMALL = "database-small.png";
public static final String THERMOMETER__MINUS = "thermometer--minus.png";
public static final String BURN__MINUS = "burn--minus.png";
public static final String GIT = "git.png";
public static final String BLUE_DOCUMENT_PDF_TEXT = "blue-document-pdf-text.png";
public static final String BOOK_OPEN_TEXT = "book-open-text.png";
public static final String MAIL_OPEN_IMAGE = "mail-open-image.png";
public static final String FLASK__ARROW = "flask--arrow.png";
public static final String GLOBE__EXCLAMATION = "globe--exclamation.png";
public static final String SOFA__ARROW = "sofa--arrow.png";
public static final String BLUE_DOCUMENT_PAGE_LAST = "blue-document-page-last.png";
public static final String UI_PAGINATOR = "ui-paginator.png";
public static final String BEANS = "beans.png";
public static final String BLUE_DOCUMENT_HF_SELECT_FOOTER = "blue-document-hf-select-footer.png";
public static final String POINTS = "points.png";
public static final String OPEN_SOURCE = "open-source.png";
public static final String COOKIE_CHOCOLATE_SPRINKLES = "cookie-chocolate-sprinkles.png";
public static final String ANCHOR = "anchor.png";
public static final String ANIMAL_MONKEY = "animal-monkey.png";
public static final String RECEIPT__PENCIL = "receipt--pencil.png";
public static final String FLASHLIGHT__EXCLAMATION = "flashlight--exclamation.png";
public static final String TELEVISION__PLUS = "television--plus.png";
public static final String VALIDATION_LABEL = "validation-label.png";
public static final String NETWORK_STATUS = "network-status.png";
public static final String DRAWER__MINUS = "drawer--minus.png";
public static final String CHEVRON = "chevron.png";
public static final String NODE_SELECT = "node-select.png";
public static final String SYSTEM_MONITOR_NETWORK = "system-monitor-network.png";
public static final String ICE__ARROW = "ice--arrow.png";
public static final String LAYER_RESIZE_REPLICATE_VERTICAL = "layer-resize-replicate-vertical.png";
public static final String CROWN = "crown.png";
public static final String PLUS_SMALL_CIRCLE = "plus-small-circle.png";
public static final String APPLICATION_AB = "application-ab.png";
public static final String ARROW_MERGE_090 = "arrow-merge-090.png";
public static final String TABLE_HEATMAP = "table-heatmap.png";
public static final String IMAGE_INSTAGRAM = "image-instagram.png";
public static final String STAMP__MINUS = "stamp--minus.png";
public static final String TROPHY_BRONZE = "trophy-bronze.png";
public static final String ARROW_CIRCLE_DOUBLE = "arrow-circle-double.png";
public static final String FEED_SMALL = "feed-small.png";
public static final String SERVICE_BELL__ARROW = "service-bell--arrow.png";
public static final String WALL = "wall.png";
public static final String WRENCH__PENCIL = "wrench--pencil.png";
public static final String ARROW_CURVE_090_LEFT = "arrow-curve-090-left.png";
public static final String PRINTER = "printer.png";
public static final String TICK_OCTAGON_FRAME = "tick-octagon-frame.png";
public static final String DOCUMENT_HF_INSERT = "document-hf-insert.png";
public static final String BROOM__EXCLAMATION = "broom--exclamation.png";
public static final String INBOX_DOWNLOAD = "inbox-download.png";
public static final String BLUE_DOCUMENT_VIEW_BOOK = "blue-document-view-book.png";
public static final String CALENDAR_SMALL = "calendar-small.png";
public static final String PUZZLE__PENCIL = "puzzle--pencil.png";
public static final String MEDIA_PLAYER_SMALL = "media-player-small.png";
public static final String WEATHER_CLOUDS = "weather-clouds.png";
public static final String MEDIA_PLAYER_XSMALL_PINK = "media-player-xsmall-pink.png";
public static final String USB_FLASH_DRIVE__EXCLAMATION = "usb-flash-drive--exclamation.png";
public static final String UI_SCROLL_PANE_TEXT_IMAGE = "ui-scroll-pane-text-image.png";
public static final String APPLICATION_DIALOG = "application-dialog.png";
public static final String PRESENT__MINUS = "present--minus.png";
public static final String CREDIT_CARD = "credit-card.png";
public static final String DOCUMENT_NUMBER = "document-number.png";
public static final String APPLICATION_MONITOR = "application-monitor.png";
public static final String POISON_BUBBLE = "poison-bubble.png";
public static final String CLOCK__MINUS = "clock--minus.png";
public static final String SHIELD__PENCIL = "shield--pencil.png";
public static final String SLIDE__EXCLAMATION = "slide--exclamation.png";
public static final String BOOK_OPEN = "book-open.png";
public static final String INFORMATION = "information.png";
public static final String CONTROL_DOUBLE_090 = "control-double-090.png";
public static final String CAUTION_BOARD_PROHIBITION = "caution-board-prohibition.png";
public static final String EDIT_UNDERLINE_DOUBLE = "edit-underline-double.png";
public static final String ANIMAL_DOG = "animal-dog.png";
public static final String CHOCOLATE_HEART_MILK = "chocolate-heart-milk.png";
public static final String EDIT_INDENT_RTL = "edit-indent-rtl.png";
public static final String USER_BLACK = "user-black.png";
public static final String NOTEBOOK_SHARE = "notebook-share.png";
public static final String MARKER__PENCIL = "marker--pencil.png";
public static final String FINGERPRINT = "fingerprint.png";
public static final String GRID_SNAP = "grid-snap.png";
public static final String BLUE_FOLDER_SEARCH_RESULT = "blue-folder-search-result.png";
public static final String BOOK_BROWN = "book-brown.png";
public static final String ROAD_SIGN = "road-sign.png";
public static final String HAND_POINT_180 = "hand-point-180.png";
public static final String QUESTION_WHITE = "question-white.png";
public static final String GLOBE_NETWORK_ETHERNET = "globe-network-ethernet.png";
public static final String BILLBOARD_EMPTY = "billboard-empty.png";
public static final String PAINT_CAN__PLUS = "paint-can--plus.png";
public static final String UI_TOOLBAR__PLUS = "ui-toolbar--plus.png";
public static final String DOCUMENT_XAML = "document-xaml.png";
public static final String COMPUTER__MINUS = "computer--minus.png";
public static final String PILL__EXCLAMATION = "pill--exclamation.png";
public static final String QUESTION_BALLOON = "question-balloon.png";
public static final String CATEGORY = "category.png";
public static final String TAG__PENCIL = "tag--pencil.png";
public static final String STICKY_NOTE_SHRED = "sticky-note-shred.png";
public static final String BALLOON__PENCIL = "balloon--pencil.png";
public static final String RECEIPT_IMPORT = "receipt-import.png";
public static final String TOILET_FEMALE = "toilet-female.png";
public static final String PAPER_PLANE__PENCIL = "paper-plane--pencil.png";
public static final String TRUCK__EXCLAMATION = "truck--exclamation.png";
public static final String PIANO__EXCLAMATION = "piano--exclamation.png";
public static final String LAYER_FLIP = "layer-flip.png";
public static final String WEBCAM_SHARE = "webcam-share.png";
public static final String LANGUAGE_DOCUMENT = "language-document.png";
public static final String USER_YELLOW_FEMALE = "user-yellow-female.png";
public static final String ROSETTE = "rosette.png";
public static final String TREE__ARROW = "tree--arrow.png";
public static final String TRUCK_BOX = "truck-box.png";
public static final String FLAG_BLUE = "flag-blue.png";
public static final String BLUE_DOCUMENT_FLASH_MOVIE = "blue-document-flash-movie.png";
public static final String DOCUMENT_TABLE = "document-table.png";
public static final String INBOX_DOCUMENT_MUSIC_PLAYLIST = "inbox-document-music-playlist.png";
public static final String JOYSTICK = "joystick.png";
public static final String PAINT_BRUSH_SMALL = "paint-brush-small.png";
public static final String EDIT_SCALE_VERTICAL = "edit-scale-vertical.png";
public static final String REPORTS_STACK = "reports-stack.png";
public static final String PEARL_SHELL = "pearl-shell.png";
public static final String MEDAL_BRONZE_RED = "medal-bronze-red.png";
public static final String SPRAY__ARROW = "spray--arrow.png";
public static final String FOLDER__PLUS = "folder--plus.png";
public static final String CAR__EXCLAMATION = "car--exclamation.png";
public static final String SERVICE_BELL__EXCLAMATION = "service-bell--exclamation.png";
public static final String DOOR_OPEN = "door-open.png";
public static final String SELECTION_SELECT_INPUT = "selection-select-input.png";
public static final String BLUE_FOLDER_SMILEY = "blue-folder-smiley.png";
public static final String DOCUMENT_CONVERT = "document-convert.png";
public static final String SCRIPT_ATTRIBUTE_O = "script-attribute-o.png";
public static final String CUTTER__EXCLAMATION = "cutter--exclamation.png";
public static final String PICTURE_SMALL = "picture-small.png";
public static final String CONTROL_DOUBLE_270 = "control-double-270.png";
public static final String DOCUMENT_CODE = "document-code.png";
public static final String IMAGE_VERTICAL = "image-vertical.png";
public static final String SQL_JOIN_LEFT_EXCLUDE = "sql-join-left-exclude.png";
public static final String STORE_MARKET_STALL = "store-market-stall.png";
public static final String CREDIT_CARD__EXCLAMATION = "credit-card--exclamation.png";
public static final String MEDAL_SILVER_RED_PREMIUM = "medal-silver-red-premium.png";
public static final String CROSS = "cross.png";
public static final String IMAGE_SHARPEN = "image-sharpen.png";
public static final String WEATHER_MOON = "weather-moon.png";
public static final String CONSTRUCTION = "construction.png";
public static final String MAIL_SHARE = "mail-share.png";
public static final String BALLOONS = "balloons.png";
public static final String MICROPHONE__EXCLAMATION = "microphone--exclamation.png";
public static final String SOFA__MINUS = "sofa--minus.png";
public static final String RECEIPTS_TEXT = "receipts-text.png";
public static final String BLUE_DOCUMENT_NUMBER_7 = "blue-document-number-7.png";
public static final String SCRIPT_BINARY = "script-binary.png";
public static final String MAGNIFIER_MEDIUM = "magnifier-medium.png";
public static final String NETWORK_STATUS_AWAY = "network-status-away.png";
public static final String MAGNET__PLUS = "magnet--plus.png";
public static final String IMAGE__PENCIL = "image--pencil.png";
public static final String PLATE_CUTLERY = "plate-cutlery.png";
public static final String ARROW_MERGE = "arrow-merge.png";
public static final String LAYER_SHAPE_LINE = "layer-shape-line.png";
public static final String EDIT_HEADING_4 = "edit-heading-4.png";
public static final String BALLOON_TWITTER_RETWEET = "balloon-twitter-retweet.png";
public static final String RECEIPT_EXCEL_TEXT = "receipt-excel-text.png";
public static final String MARKER__PLUS = "marker--plus.png";
public static final String TRUCK_BOX_LABEL = "truck-box-label.png";
public static final String WEBCAM__PLUS = "webcam--plus.png";
public static final String BLUE_FOLDER_SHRED = "blue-folder-shred.png";
public static final String ARROW_SWITCH_090 = "arrow-switch-090.png";
public static final String CUSHION = "cushion.png";
public static final String CREDIT_CARD__ARROW = "credit-card--arrow.png";
public static final String SERVER__EXCLAMATION = "server--exclamation.png";
public static final String BOX_SEARCH_RESULT = "box-search-result.png";
public static final String MAGNET__PENCIL = "magnet--pencil.png";
public static final String LAYERS_GROUP = "layers-group.png";
public static final String TOGGLE_SMALL = "toggle-small.png";
public static final String MAGNET__EXCLAMATION = "magnet--exclamation.png";
public static final String LOCK__ARROW = "lock--arrow.png";
public static final String UI_CHECK_BOXES_SERIES = "ui-check-boxes-series.png";
public static final String PAINT_CAN = "paint-can.png";
public static final String WEATHER_CLOUDY = "weather-cloudy.png";
public static final String BLUE_DOCUMENT_IMAGE = "blue-document-image.png";
public static final String MIZUHIKI_PAPER_CORD_ALTERNATE = "mizuhiki-paper-cord-alternate.png";
public static final String BALLOON_TWITTER = "balloon-twitter.png";
public static final String UI_ADDRESS_BAR_RED = "ui-address-bar-red.png";
public static final String SPRAY__PENCIL = "spray--pencil.png";
public static final String UI_RULER = "ui-ruler.png";
public static final String DOOR = "door.png";
public static final String UI_RADIO_BUTTONS = "ui-radio-buttons.png";
public static final String CALENDAR_SEARCH_RESULT = "calendar-search-result.png";
public static final String WAFER = "wafer.png";
public static final String PAPER_BAG__PENCIL = "paper-bag--pencil.png";
public static final String APPLICATION_RENAME = "application-rename.png";
public static final String UI_BREADCRUMB_SELECT_CURRENT = "ui-breadcrumb-select-current.png";
public static final String CHEQUE_PEN = "cheque-pen.png";
public static final String SHOE__ARROW = "shoe--arrow.png";
public static final String EQUALIZER = "equalizer.png";
public static final String EQUALIZER__PLUS = "equalizer--plus.png";
public static final String ZONES_STACK = "zones-stack.png";
public static final String ARROW_BRANCH_270 = "arrow-branch-270.png";
public static final String DOCUMENT_ATTRIBUTE_R = "document-attribute-r.png";
public static final String PAINT_CAN_PAINT_BRUSH = "paint-can-paint-brush.png";
public static final String TAG_LABEL = "tag-label.png";
public static final String PICTURES_STACK = "pictures-stack.png";
public static final String COOKIE__MINUS = "cookie--minus.png";
public static final String BALLOON_BOX_LEFT = "balloon-box-left.png";
public static final String EDIT_HEADING_5 = "edit-heading-5.png";
public static final String LIGHT_BULB_OFF = "light-bulb-off.png";
public static final String CONTRAST_CONTROL_UP = "contrast-control-up.png";
public static final String CLOCK_HISTORY = "clock-history.png";
public static final String RULER__EXCLAMATION = "ruler--exclamation.png";
public static final String TASK_SELECT_FIRST = "task-select-first.png";
public static final String MAIL_OPEN_DOCUMENT = "mail-open-document.png";
public static final String QUILL__MINUS = "quill--minus.png";
public static final String DISK_SHARE = "disk-share.png";
public static final String LAYERS_STACK = "layers-stack.png";
public static final String SORT_PRICE = "sort-price.png";
public static final String MAGNIFIER_ZOOM_IN = "magnifier-zoom-in.png";
public static final String MAP_PIN = "map-pin.png";
public static final String DOCUMENT_NUMBER_9 = "document-number-9.png";
public static final String CAKE__PENCIL = "cake--pencil.png";
public static final String DOCUMENT_NUMBER_4 = "document-number-4.png";
public static final String EDIT_RULE = "edit-rule.png";
public static final String CONTROL_PAUSE_SMALL = "control-pause-small.png";
public static final String ARROW_CURVE_180_LEFT = "arrow-curve-180-left.png";
public static final String CONTROL_180 = "control-180.png";
public static final String SPORT_CRICKET = "sport-cricket.png";
public static final String NODE_DESIGN = "node-design.png";
public static final String TERMINAL__PENCIL = "terminal--pencil.png";
public static final String EDIT_LIPSUM = "edit-lipsum.png";
public static final String TRUCK__ARROW = "truck--arrow.png";
public static final String SQL_JOIN_OUTER_EXCLUDE = "sql-join-outer-exclude.png";
public static final String SMILEY_SQUINT = "smiley-squint.png";
public static final String MONITOR_IMAGE = "monitor-image.png";
public static final String RECEIPTS = "receipts.png";
public static final String TROPHY__MINUS = "trophy--minus.png";
public static final String NETWORK_FIREWALL = "network-firewall.png";
public static final String BEAKER__EXCLAMATION = "beaker--exclamation.png";
public static final String SLIDE_MEDIUM = "slide-medium.png";
public static final String METRONOME__ARROW = "metronome--arrow.png";
public static final String EDIT_COMMA = "edit-comma.png";
public static final String CATEGORY_GROUP_SELECT = "category-group-select.png";
public static final String TRUCK__MINUS = "truck--minus.png";
public static final String APPLICATION_SMALL_BLUE = "application-small-blue.png";
public static final String TRUCK__PLUS = "truck--plus.png";
public static final String VALIDATION_INVALID = "validation-invalid.png";
public static final String PICTURE_MEDIUM = "picture-medium.png";
public static final String HARD_HAT__PLUS = "hard-hat--plus.png";
public static final String MUSTACHE = "mustache.png";
public static final String UI_SCROLL_PANE_TEXT = "ui-scroll-pane-text.png";
public static final String PILL_SMALL_BLUE = "pill-small-blue.png";
public static final String SERVICE_BELL__MINUS = "service-bell--minus.png";
public static final String EDIT_SHADOW = "edit-shadow.png";
public static final String HOME_MEDIUM = "home-medium.png";
public static final String NAVIGATION_270_FRAME = "navigation-270-frame.png";
public static final String SPRAY__PLUS = "spray--plus.png";
public static final String INBOX_DOCUMENT = "inbox-document.png";
public static final String MAGNIFIER = "magnifier.png";
public static final String DOCUMENT_COPY = "document-copy.png";
public static final String BELL__ARROW = "bell--arrow.png";
public static final String SHORTCUT_SMALL = "shortcut-small.png";
public static final String SCRIPT_ATTRIBUTE_I = "script-attribute-i.png";
public static final String KEYBOARD_FULL = "keyboard-full.png";
public static final String DOCUMENT_VIEW = "document-view.png";
public static final String LOCK__PLUS = "lock--plus.png";
public static final String BLUE_DOCUMENT_EXCEL_TABLE = "blue-document-excel-table.png";
public static final String KEYBOARD_SPACE = "keyboard-space.png";
public static final String APPLICATION_BROWSER = "application-browser.png";
public static final String USER_SILHOUETTE = "user-silhouette.png";
public static final String PILL_SMALL = "pill-small.png";
public static final String MONEY_BAG_EURO = "money-bag-euro.png";
public static final String ZONE__ARROW = "zone--arrow.png";
public static final String FILMS = "films.png";
public static final String DRIVE_NETWORK = "drive-network.png";
public static final String IMAGE_SMALL_SUNSET = "image-small-sunset.png";
public static final String SUBVERSION_SMALL = "subversion-small.png";
public static final String NODE_DELETE_PREVIOUS = "node-delete-previous.png";
public static final String SHIELD = "shield.png";
public static final String FOLDER_EXPORT = "folder-export.png";
public static final String PROCESSOR_BIT_128 = "processor-bit-128.png";
public static final String AT_SIGN_BALLOON = "at-sign-balloon.png";
public static final String UI_PANEL_RESIZE = "ui-panel-resize.png";
public static final String DRIVE_DISC_BLUE = "drive-disc-blue.png";
public static final String THERMOMETER__PLUS = "thermometer--plus.png";
public static final String WAND__MINUS = "wand--minus.png";
public static final String PLUS_OCTAGON_FRAME = "plus-octagon-frame.png";
public static final String PENCIL_FIELD = "pencil-field.png";
public static final String SPECTACLE_SUNGLASS = "spectacle-sunglass.png";
public static final String LAYOUT_HEADER_3 = "layout-header-3.png";
public static final String COOKIE__PENCIL = "cookie--pencil.png";
public static final String SKULL_OLD = "skull-old.png";
public static final String AUCTION_HAMMER__ARROW = "auction-hammer--arrow.png";
public static final String LIGHT_BULB__PLUS = "light-bulb--plus.png";
public static final String USER_WHITE = "user-white.png";
public static final String SHARE_BALLOON = "share-balloon.png";
public static final String ASTERISK_SMALL = "asterisk-small.png";
public static final String SPORT_BASKETBALL = "sport-basketball.png";
public static final String DIRECTION__ARROW = "direction--arrow.png";
public static final String IMAGE__PLUS = "image--plus.png";
public static final String POISON_PURPLE = "poison-purple.png";
public static final String BLUE_DOCUMENT_MOBI_TEXT = "blue-document-mobi-text.png";
public static final String TELEPHONE__EXCLAMATION = "telephone--exclamation.png";
public static final String DOCUMENT_ACCESS = "document-access.png";
public static final String ICE__PLUS = "ice--plus.png";
public static final String CONTROL_STOP = "control-stop.png";
public static final String BIN = "bin.png";
public static final String FLAG_CHECKER = "flag-checker.png";
public static final String APPLICATION_SPLIT_TILE = "application-split-tile.png";
public static final String MEDIA_PLAYER = "media-player.png";
public static final String ADDRESS_BOOK = "address-book.png";
public static final String DOCUMENT_IMPORT = "document-import.png";
public static final String IMAGE = "image.png";
public static final String MAHJONG__PLUS = "mahjong--plus.png";
public static final String BUILDING__PLUS = "building--plus.png";
public static final String DOCUMENT_NUMBER_6 = "document-number-6.png";
public static final String BLUEPRINT__PENCIL = "blueprint--pencil.png";
public static final String DOCUMENT_OFFICE = "document-office.png";
public static final String MOUSE = "mouse.png";
public static final String UI_GROUP_BOX = "ui-group-box.png";
public static final String WALL__EXCLAMATION = "wall--exclamation.png";
public static final String EDIT_LIST_RTL = "edit-list-rtl.png";
public static final String STORE_OPEN = "store-open.png";
public static final String DOCUMENT_HF = "document-hf.png";
public static final String EDIT_ALIGNMENT_JUSTIFY = "edit-alignment-justify.png";
public static final String BRAIN__ARROW = "brain--arrow.png";
public static final String CALENDAR_EMPTY = "calendar-empty.png";
public static final String ARROW_270_SMALL = "arrow-270-small.png";
public static final String ARROW_SWITCH_270 = "arrow-switch-270.png";
public static final String DIRECTION__PLUS = "direction--plus.png";
public static final String LIGHTNING__EXCLAMATION = "lightning--exclamation.png";
public static final String CURRENCY = "currency.png";
public static final String MEDIA_PLAYER_MEDIUM_PINK = "media-player-medium-pink.png";
public static final String SPORTS = "sports.png";
public static final String UI_LAYERED_PANE = "ui-layered-pane.png";
public static final String MINUS_OCTAGON = "minus-octagon.png";
public static final String MEDAL__MINUS = "medal--minus.png";
public static final String CHEQUE__EXCLAMATION = "cheque--exclamation.png";
public static final String JAR__MINUS = "jar--minus.png";
public static final String UI_TAB__PLUS = "ui-tab--plus.png";
public static final String BLUE_DOCUMENT_FLASH = "blue-document-flash.png";
public static final String APPLICATION_SHARE = "application-share.png";
public static final String TRAFFIC_CONE__PLUS = "traffic-cone--plus.png";
public static final String CANDLE_WHITE = "candle-white.png";
public static final String EDIT_ALIGNMENT = "edit-alignment.png";
public static final String APPLICATION_SIDEBAR_COLLAPSE = "application-sidebar-collapse.png";
public static final String CHART_UP_COLOR = "chart-up-color.png";
public static final String SCRIPT_ATTRIBUTE_E = "script-attribute-e.png";
public static final String KEY = "key.png";
public static final String TERMINAL_PROTECTOR = "terminal-protector.png";
public static final String REPORT__EXCLAMATION = "report--exclamation.png";
public static final String CALCULATOR_SCIENTIFIC = "calculator-scientific.png";
public static final String DISC__PLUS = "disc--plus.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_H = "blue-document-attribute-h.png";
public static final String CAKE = "cake.png";
public static final String DOCUMENT_PHOTOSHOP_IMAGE = "document-photoshop-image.png";
public static final String LAYOUT_SPLIT = "layout-split.png";
public static final String TABLE_PAINT_CAN = "table-paint-can.png";
public static final String PLAYING_CARD = "playing-card.png";
public static final String SERVER_CLOUD = "server-cloud.png";
public static final String KEYBOARD_FULL_WIRELESS = "keyboard-full-wireless.png";
public static final String TRAFFIC_LIGHT__ARROW = "traffic-light--arrow.png";
public static final String MICROPHONE__PENCIL = "microphone--pencil.png";
public static final String UI_LABEL = "ui-label.png";
public static final String LIGHT_BULB__EXCLAMATION = "light-bulb--exclamation.png";
public static final String PROJECTION_SCREEN__ARROW = "projection-screen--arrow.png";
public static final String IMAGE_REFLECTION = "image-reflection.png";
public static final String NAVIGATION = "navigation.png";
public static final String PAPER_CLIP_SMALL = "paper-clip-small.png";
public static final String DASHBOARD = "dashboard.png";
public static final String CHAIR__MINUS = "chair--minus.png";
public static final String MOBILE_PHONE__PLUS = "mobile-phone--plus.png";
public static final String PIN__ARROW = "pin--arrow.png";
public static final String SERVICE_BELL__PENCIL = "service-bell--pencil.png";
public static final String NETWORK_IP_LOCAL = "network-ip-local.png";
public static final String DOCUMENT_TAG = "document-tag.png";
public static final String THUMB = "thumb.png";
public static final String CHART_PIE_SEPARATE = "chart-pie-separate.png";
public static final String GLOBE__ARROW = "globe--arrow.png";
public static final String BLUE_DOCUMENT_GLOBE = "blue-document-globe.png";
public static final String ABACUS = "abacus.png";
public static final String BELL__PLUS = "bell--plus.png";
public static final String BLUE_FOLDER_SMILEY_SAD = "blue-folder-smiley-sad.png";
public static final String EDIT_SIZE = "edit-size.png";
public static final String SQL_JOIN_LEFT = "sql-join-left.png";
public static final String PROCESSOR_BIT_032 = "processor-bit-032.png";
public static final String KEYBOARD__ARROW = "keyboard--arrow.png";
public static final String E_BOOK_READER = "e-book-reader.png";
public static final String DOCUMENT_MEDIUM = "document-medium.png";
public static final String UI_SCROLL_PANE_BOTH = "ui-scroll-pane-both.png";
public static final String ENVELOPE__ARROW = "envelope--arrow.png";
public static final String BALLOONS_FACEBOOK = "balloons-facebook.png";
public static final String BOX_SMALL = "box-small.png";
public static final String INFORMATION_SHIELD = "information-shield.png";
public static final String DOCUMENT_BREAK = "document-break.png";
public static final String DISC__MINUS = "disc--minus.png";
public static final String SHARE = "share.png";
public static final String PIPETTE__MINUS = "pipette--minus.png";
public static final String CLOCK_FRAME = "clock-frame.png";
public static final String PAPER_CLIP = "paper-clip.png";
public static final String ARROW_RETURN = "arrow-return.png";
public static final String DOCUMENT_EPUB_TEXT = "document-epub-text.png";
public static final String NODE_DELETE_NEXT = "node-delete-next.png";
public static final String BATTERY_EMPTY = "battery-empty.png";
public static final String CALENDAR_MEDIUM = "calendar-medium.png";
public static final String FOAF = "foaf.png";
public static final String BANDAID__PLUS = "bandaid--plus.png";
public static final String CLAPPERBOARD__PENCIL = "clapperboard--pencil.png";
public static final String TELEVISION_IMAGE = "television-image.png";
public static final String NODE = "node.png";
public static final String EDIT_OUTLINE = "edit-outline.png";
public static final String MAGNIFIER__PLUS = "magnifier--plus.png";
public static final String UI_BUTTON = "ui-button.png";
public static final String GEAR__ARROW = "gear--arrow.png";
public static final String DATABASE_PROPERTY = "database-property.png";
public static final String SMILEY_SLEEP = "smiley-sleep.png";
public static final String MAGNET__ARROW = "magnet--arrow.png";
public static final String TABLES_RELATION = "tables-relation.png";
public static final String SAFE__PENCIL = "safe--pencil.png";
public static final String RADIO_OLD = "radio-old.png";
public static final String NAVIGATION_090_FRAME = "navigation-090-frame.png";
public static final String ARROW_225 = "arrow-225.png";
public static final String BLUE_DOCUMENT__EXCLAMATION = "blue-document--exclamation.png";
public static final String CHALKBOARD = "chalkboard.png";
public static final String SMILEY_GRUMPY = "smiley-grumpy.png";
public static final String LIFEBUOY__PLUS = "lifebuoy--plus.png";
public static final String POINT__PENCIL = "point--pencil.png";
public static final String SANTA_HAT = "santa-hat.png";
public static final String DOCUMENT_PDF = "document-pdf.png";
public static final String PROCESSOR_BIT_048 = "processor-bit-048.png";
public static final String ARROW_045_SMALL = "arrow-045-small.png";
public static final String MEDAL__ARROW = "medal--arrow.png";
public static final String XFN_SWEETHEART_MET = "xfn-sweetheart-met.png";
public static final String APPLICATION_SMALL_LIST_BLUE = "application-small-list-blue.png";
public static final String ARROW_MERGE_270_LEFT = "arrow-merge-270-left.png";
public static final String CACTUS = "cactus.png";
public static final String THERMOMETER_HIGH = "thermometer-high.png";
public static final String NODE_INSERT_PREVIOUS = "node-insert-previous.png";
public static final String PDA__PENCIL = "pda--pencil.png";
public static final String TOGGLE_EXPAND = "toggle-expand.png";
public static final String UI_PROGRESS_BAR = "ui-progress-bar.png";
public static final String CARD = "card.png";
public static final String WALL_BRICK = "wall-brick.png";
public static final String BLUE_FOLDER_ZIPPER = "blue-folder-zipper.png";
public static final String KEYBOARD_COMMAND = "keyboard-command.png";
public static final String MEDIA_PLAYER_PHONE_PROTECTOR = "media-player-phone-protector.png";
public static final String BRAIN__MINUS = "brain--minus.png";
public static final String TELEPHONE = "telephone.png";
public static final String BLUEPRINT_MEDIUM = "blueprint-medium.png";
public static final String MARKER__EXCLAMATION = "marker--exclamation.png";
public static final String HOME_FOR_SALE_SIGN = "home-for-sale-sign.png";
public static final String DISK_BLACK = "disk-black.png";
public static final String HIGHLIGHTER__PLUS = "highlighter--plus.png";
public static final String ARROW_135_MEDIUM = "arrow-135-medium.png";
public static final String BALLOON_WHITE_LEFT = "balloon-white-left.png";
public static final String EXCLAMATION_CIRCLE = "exclamation-circle.png";
public static final String ARROW_RESIZE_135 = "arrow-resize-135.png";
public static final String ENVELOPE__EXCLAMATION = "envelope--exclamation.png";
public static final String DOCUMENT_STAMP = "document-stamp.png";
public static final String WOODEN_BOX = "wooden-box.png";
public static final String PRICE_TAG_LABEL = "price-tag-label.png";
public static final String IMAGES_STACK = "images-stack.png";
public static final String PENCIL_SMALL = "pencil-small.png";
public static final String CHEQUE = "cheque.png";
public static final String SMILEY = "smiley.png";
public static final String SCRIPT_BLOCK = "script-block.png";
public static final String COMPUTER_OFF = "computer-off.png";
public static final String STORE__PENCIL = "store--pencil.png";
public static final String KEYBOARDS = "keyboards.png";
public static final String LOCK = "lock.png";
public static final String NEWSPAPER__ARROW = "newspaper--arrow.png";
public static final String ARROW_MERGE_000_LEFT = "arrow-merge-000-left.png";
public static final String SMILEY_SAD = "smiley-sad.png";
public static final String SPELL_CHECK_ERROR = "spell-check-error.png";
public static final String MILESTONE = "milestone.png";
public static final String ARROW_RESIZE_045 = "arrow-resize-045.png";
public static final String TAG = "tag.png";
public static final String FOLDER_HORIZONTAL_OPEN = "folder-horizontal-open.png";
public static final String RING = "ring.png";
public static final String DOOR__ARROW = "door--arrow.png";
public static final String BEAN_SMALL = "bean-small.png";
public static final String ARROW_315 = "arrow-315.png";
public static final String DOCUMENT_SHARE = "document-share.png";
public static final String DOCUMENT_MUSIC_PLAYLIST = "document-music-playlist.png";
public static final String MUSIC_SMALL = "music-small.png";
public static final String SHIELD__ARROW = "shield--arrow.png";
public static final String UI_FLOW = "ui-flow.png";
public static final String ASTERISK = "asterisk.png";
public static final String BATTERY_FULL = "battery-full.png";
public static final String UI_SCROLL_BAR_HORIZONTAL = "ui-scroll-bar-horizontal.png";
public static final String ARROW_CURVE_180 = "arrow-curve-180.png";
public static final String APPLICATION_DETAIL = "application-detail.png";
public static final String SPORT_TENNIS = "sport-tennis.png";
public static final String BORDER_TOP_BOTTOM = "border-top-bottom.png";
public static final String MEDIA_PLAYERS = "media-players.png";
public static final String EDIT_PADDING_RIGHT = "edit-padding-right.png";
public static final String BLUE_DOCUMENT_INSERT = "blue-document-insert.png";
public static final String BORDER_HORIZONTAL = "border-horizontal.png";
public static final String LAYER_MASK = "layer-mask.png";
public static final String BLUE_DOCUMENT_HF_DELETE_FOOTER = "blue-document-hf-delete-footer.png";
public static final String DISC = "disc.png";
public static final String UI_SEEK_BAR_050 = "ui-seek-bar-050.png";
public static final String BRIEFCASE__PENCIL = "briefcase--pencil.png";
public static final String FOLDER_SHARE = "folder-share.png";
public static final String EDIT = "edit.png";
public static final String BLUE_DOCUMENT_SMILEY = "blue-document-smiley.png";
public static final String FOLDER__EXCLAMATION = "folder--exclamation.png";
public static final String POISON_GREEN = "poison-green.png";
public static final String LAYER_RESIZE_ACTUAL = "layer-resize-actual.png";
public static final String SERVER__MINUS = "server--minus.png";
public static final String STORE_MEDIUM = "store-medium.png";
public static final String SMILEY_ROLL_BLUE = "smiley-roll-blue.png";
public static final String REPORT__MINUS = "report--minus.png";
public static final String TROPHY__PENCIL = "trophy--pencil.png";
public static final String T_SHIRT_PRINT_GRAY = "t-shirt-print-gray.png";
public static final String WEBCAM__MINUS = "webcam--minus.png";
public static final String MONEY_MEDIUM = "money-medium.png";
public static final String DOWNLOAD = "download.png";
public static final String JAR_OPEN = "jar-open.png";
public static final String PLAYING_CARD__EXCLAMATION = "playing-card--exclamation.png";
public static final String CARD_SMALL = "card-small.png";
public static final String CROWN__PENCIL = "crown--pencil.png";
public static final String HAND_POINT = "hand-point.png";
public static final String COUNTER = "counter.png";
public static final String WATER__EXCLAMATION = "water--exclamation.png";
public static final String ARROW_SKIP_090 = "arrow-skip-090.png";
public static final String TRAFFIC_LIGHT_SINGLE = "traffic-light-single.png";
public static final String CLOCK__EXCLAMATION = "clock--exclamation.png";
public static final String T_SHIRT_PRINT = "t-shirt-print.png";
public static final String HAND_RED_STRING_OF_FATE = "hand-red-string-of-fate.png";
public static final String PLUG_DISCONNECT = "plug-disconnect.png";
public static final String AT_SIGN = "at-sign.png";
public static final String BELL__PENCIL = "bell--pencil.png";
public static final String INBOX__PENCIL = "inbox--pencil.png";
public static final String SMILEY_TWIST = "smiley-twist.png";
public static final String DOCUMENT_BLOCK = "document-block.png";
public static final String UI_TOOLBAR__PENCIL = "ui-toolbar--pencil.png";
public static final String DOCUMENT_SHRED = "document-shred.png";
public static final String PAINT_BRUSH_PROHIBITION = "paint-brush-prohibition.png";
public static final String SCREWDRIVER__MINUS = "screwdriver--minus.png";
public static final String UI_PROGRESS_BAR_INDETERMINATE = "ui-progress-bar-indeterminate.png";
public static final String BLOCK__ARROW = "block--arrow.png";
public static final String BOOK_SMALL = "book-small.png";
public static final String NOTIFICATION_COUNTER_07 = "notification-counter-07.png";
public static final String TABLES_STACKS = "tables-stacks.png";
public static final String DISK__ARROW = "disk--arrow.png";
public static final String MAIL_MEDIUM_OPEN = "mail-medium-open.png";
public static final String TASK__PLUS = "task--plus.png";
public static final String LAYERS_ALIGNMENT_LEFT = "layers-alignment-left.png";
public static final String CUTTER__PENCIL = "cutter--pencil.png";
public static final String WRAP_BETWEEN = "wrap-between.png";
public static final String APPLICATION__ARROW = "application--arrow.png";
public static final String BRIEFCASE__PLUS = "briefcase--plus.png";
public static final String APPLICATION_TEXT_IMAGE = "application-text-image.png";
public static final String DRIVE_MEDIUM = "drive-medium.png";
public static final String MEDIA_PLAYER_MEDIUM_YELLOW = "media-player-medium-yellow.png";
public static final String ICE_CREAM_EMPTY = "ice-cream-empty.png";
public static final String LEAF_WORMHOLE = "leaf-wormhole.png";
public static final String ARROW_CIRCLE_045_LEFT = "arrow-circle-045-left.png";
public static final String BILLBOARD_RED = "billboard-red.png";
public static final String FLAG_GRAY = "flag-gray.png";
public static final String LIGHT_BULB__PENCIL = "light-bulb--pencil.png";
public static final String MOUSE_SELECT = "mouse-select.png";
public static final String DOCUMENT_ATTRIBUTE_J = "document-attribute-j.png";
public static final String FLAG__PLUS = "flag--plus.png";
public static final String UI_BUTTONS = "ui-buttons.png";
public static final String EDIT_INDENT = "edit-indent.png";
public static final String DOWNLOAD_MAC_OS = "download-mac-os.png";
public static final String CONTROL_DOUBLE = "control-double.png";
public static final String QUESTION = "question.png";
public static final String SCRIPT_ATTRIBUTE_N = "script-attribute-n.png";
public static final String FUNNEL__MINUS = "funnel--minus.png";
public static final String LIFEBUOY = "lifebuoy.png";
public static final String FOLDER_RENAME = "folder-rename.png";
public static final String PAPER_LANTERN_EMBLEM = "paper-lantern-emblem.png";
public static final String PAINT_CAN__MINUS = "paint-can--minus.png";
public static final String CONTROL_270 = "control-270.png";
public static final String PROCESSOR_BIT_008 = "processor-bit-008.png";
public static final String FLASK__PLUS = "flask--plus.png";
public static final String ADDRESS_BOOK__ARROW = "address-book--arrow.png";
public static final String PRICE_TAG__EXCLAMATION = "price-tag--exclamation.png";
public static final String KEYBOARD__EXCLAMATION = "keyboard--exclamation.png";
public static final String BLUE_DOCUMENT_BREAK = "blue-document-break.png";
public static final String DASHBOARD__PLUS = "dashboard--plus.png";
public static final String CLAPPERBOARD__MINUS = "clapperboard--minus.png";
public static final String ARROW_BRANCH_180 = "arrow-branch-180.png";
public static final String AT_SIGN_DOCUMENT = "at-sign-document.png";
public static final String WALL_BREAK = "wall-break.png";
public static final String EDIT_PERCENT = "edit-percent.png";
public static final String UI_SEPARATOR = "ui-separator.png";
public static final String SERVERS_NETWORK = "servers-network.png";
public static final String FLAG = "flag.png";
public static final String UI_COMBO_BOX = "ui-combo-box.png";
public static final String MAIL_RECEIVE = "mail-receive.png";
public static final String ZODIAC_SCORPIO = "zodiac-scorpio.png";
public static final String CREDIT_CARD__PENCIL = "credit-card--pencil.png";
public static final String USER_SHARE = "user-share.png";
public static final String UI_BUTTON_DEFAULT = "ui-button-default.png";
public static final String FOLDER_OPEN_FILM = "folder-open-film.png";
public static final String MOUSE__ARROW = "mouse--arrow.png";
public static final String RULER_TRIANGLE = "ruler-triangle.png";
public static final String CONTROL_270_SMALL = "control-270-small.png";
public static final String TOOLBOX__PLUS = "toolbox--plus.png";
public static final String AUCTION_HAMMER__PLUS = "auction-hammer--plus.png";
public static final String CONTROL_SKIP_090 = "control-skip-090.png";
public static final String HOME__MINUS = "home--minus.png";
public static final String BRIEFCASE_SMALL = "briefcase-small.png";
public static final String BLUE_DOCUMENT_TEX = "blue-document-tex.png";
public static final String CLAPPERBOARD = "clapperboard.png";
public static final String BLUE_DOCUMENT_CONVERT = "blue-document-convert.png";
public static final String MONITOR_MEDIUM = "monitor-medium.png";
public static final String BINOCULAR__MINUS = "binocular--minus.png";
public static final String BALLOONS_TWITTER_BOX = "balloons-twitter-box.png";
public static final String TELEPHONE_MEDIUM = "telephone-medium.png";
public static final String LAYER = "layer.png";
public static final String SURVEILLANCE_CAMERA = "surveillance-camera.png";
public static final String HEART__MINUS = "heart--minus.png";
public static final String SORT_RATING_DESCENDING = "sort-rating-descending.png";
public static final String MONITOR_CAST = "monitor-cast.png";
public static final String BALLOON_SMILEY_SAD = "balloon-smiley-sad.png";
public static final String KEYBOARD = "keyboard.png";
public static final String GUIDE_SNAP = "guide-snap.png";
public static final String BOOKS_BROWN = "books-brown.png";
public static final String ARROW_CONTINUE_270 = "arrow-continue-270.png";
public static final String FLASHLIGHT__PENCIL = "flashlight--pencil.png";
public static final String HAND_PROPERTY = "hand-property.png";
public static final String TABLE__EXCLAMATION = "table--exclamation.png";
public static final String WOODEN_BOX__MINUS = "wooden-box--minus.png";
public static final String CLIPBOARD_SEARCH_RESULT = "clipboard-search-result.png";
public static final String APPLICATION_BLUE = "application-blue.png";
public static final String ENVELOPE__MINUS = "envelope--minus.png";
public static final String INBOX_DOCUMENT_TEXT = "inbox-document-text.png";
public static final String PROPERTY_IMPORT = "property-import.png";
public static final String TABLE_INSERT = "table-insert.png";
public static final String EAR_RIGHT = "ear-right.png";
public static final String CARDS_ADDRESS = "cards-address.png";
public static final String BOOK = "book.png";
public static final String BLUE_DOCUMENT_SUB = "blue-document-sub.png";
public static final String SPECTACLE = "spectacle.png";
public static final String TREE_RED = "tree-red.png";
public static final String COLOR_ADJUSTMENT = "color-adjustment.png";
public static final String LOCK_WARNING = "lock-warning.png";
public static final String ASTERISK_YELLOW = "asterisk-yellow.png";
public static final String KEYBOARD__MINUS = "keyboard--minus.png";
public static final String LAYER__MINUS = "layer--minus.png";
public static final String MAGNIFIER_LEFT = "magnifier-left.png";
public static final String REPORT__ARROW = "report--arrow.png";
public static final String CLIPBOARD__ARROW = "clipboard--arrow.png";
public static final String PROPERTY_EXPORT = "property-export.png";
public static final String LAYERS_ALIGNMENT_BOTTOM = "layers-alignment-bottom.png";
public static final String FOLDER_STAND = "folder-stand.png";
public static final String CARD__ARROW = "card--arrow.png";
public static final String ARROW_BRANCH_000_LEFT = "arrow-branch-000-left.png";
public static final String CALENDAR_PROPERTY = "calendar-property.png";
public static final String LAYERS_ALIGNMENT_CENTER = "layers-alignment-center.png";
public static final String EDIT_OVERLINE = "edit-overline.png";
public static final String PAINT_CAN_MEDIUM = "paint-can-medium.png";
public static final String IMAGE_MAP = "image-map.png";
public static final String FLAG_YELLOW = "flag-yellow.png";
public static final String FIRE = "fire.png";
public static final String ARROW_OUT = "arrow-out.png";
public static final String CHAIR__PENCIL = "chair--pencil.png";
public static final String ARROW_CIRCLE = "arrow-circle.png";
public static final String CALENDAR_SELECT_DAYS_SPAN = "calendar-select-days-span.png";
public static final String CONTROL_SKIP_270 = "control-skip-270.png";
public static final String SCRIPT_ATTRIBUTE_C = "script-attribute-c.png";
public static final String CHART = "chart.png";
public static final String DOCUMENT_ATTRIBUTE_O = "document-attribute-o.png";
public static final String BATTERY = "battery.png";
public static final String STAR_SMALL = "star-small.png";
public static final String JAR__EXCLAMATION = "jar--exclamation.png";
public static final String BORDER_TOP = "border-top.png";
public static final String USER_RED_FEMALE = "user-red-female.png";
public static final String ARROW_STEP_OUT = "arrow-step-out.png";
public static final String HIGHLIGHTER = "highlighter.png";
public static final String CARD__PENCIL = "card--pencil.png";
public static final String BLUE_DOCUMENT_RESIZE_ACTUAL = "blue-document-resize-actual.png";
public static final String FRUIT_APPLE_HALF = "fruit-apple-half.png";
public static final String UI_BUTTON_IMAGE = "ui-button-image.png";
public static final String DOCUMENT_BROKEN = "document-broken.png";
public static final String FUNNEL__EXCLAMATION = "funnel--exclamation.png";
public static final String BLUE_DOCUMENT_PAGE = "blue-document-page.png";
public static final String WEBCAM__ARROW = "webcam--arrow.png";
public static final String BLUEPRINT__ARROW = "blueprint--arrow.png";
public static final String MOUSE__PLUS = "mouse--plus.png";
public static final String CONTROL_STOP_SQUARE = "control-stop-square.png";
public static final String SCISSORS__PLUS = "scissors--plus.png";
public static final String PENCIL__MINUS = "pencil--minus.png";
public static final String BEAN = "bean.png";
public static final String PAINT_TUBE__PENCIL = "paint-tube--pencil.png";
public static final String SORT_PRICE_DESCENDING = "sort-price-descending.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_J = "blue-document-attribute-j.png";
public static final String PAINT_TUBE__EXCLAMATION = "paint-tube--exclamation.png";
public static final String SEALING_WAX = "sealing-wax.png";
public static final String DOCUMENTS = "documents.png";
public static final String INBOX_TABLE = "inbox-table.png";
public static final String WEATHER_RAIN = "weather-rain.png";
public static final String INFORMATION_WHITE = "information-white.png";
public static final String NAVIGATION_090_BUTTON = "navigation-090-button.png";
public static final String CLOCK_HISTORY_FRAME = "clock-history-frame.png";
public static final String CALENDAR_EXPORT = "calendar-export.png";
public static final String DRAWER = "drawer.png";
public static final String ARROW_RETURN_090_LEFT = "arrow-return-090-left.png";
public static final String LAYER__PLUS = "layer--plus.png";
public static final String UI_COLOR_PICKER = "ui-color-picker.png";
public static final String WRAP_FRONT = "wrap-front.png";
public static final String BLUE_DOCUMENT_TABLE = "blue-document-table.png";
public static final String PAINT_TUBE__ARROW = "paint-tube--arrow.png";
public static final String BLUETOOTH = "bluetooth.png";
public static final String SHIELD__PLUS = "shield--plus.png";
public static final String MAIL__MINUS = "mail--minus.png";
public static final String BORDER_WEIGHT = "border-weight.png";
public static final String FLAG_PINK = "flag-pink.png";
public static final String BELL__EXCLAMATION = "bell--exclamation.png";
public static final String HEADPHONE_MICROPHONE = "headphone-microphone.png";
public static final String FLASHLIGHT = "flashlight.png";
public static final String BOOK_OPEN_LIST = "book-open-list.png";
public static final String BLOG_TUMBLR = "blog-tumblr.png";
public static final String CASSETTE__MINUS = "cassette--minus.png";
public static final String NOTIFICATION_COUNTER_13 = "notification-counter-13.png";
public static final String FUNNEL = "funnel.png";
public static final String SOFA = "sofa.png";
public static final String SMILEY_SWEAT = "smiley-sweat.png";
public static final String TABLE_EXPORT = "table-export.png";
public static final String SOCKETS = "sockets.png";
public static final String BRAIN__PENCIL = "brain--pencil.png";
public static final String COMPASS__MINUS = "compass--minus.png";
public static final String LAYER_SHAPE_TEXT = "layer-shape-text.png";
public static final String MAGNIFIER_ZOOM_ACTUAL = "magnifier-zoom-actual.png";
public static final String PILL__ARROW = "pill--arrow.png";
public static final String MEDIA_PLAYER_MEDIUM_BLUE = "media-player-medium-blue.png";
public static final String RAINBOW = "rainbow.png";
public static final String TABLE_JOIN_ROW = "table-join-row.png";
public static final String UI_LABELS = "ui-labels.png";
public static final String PDA__ARROW = "pda--arrow.png";
public static final String IMAGE_CROP = "image-crop.png";
public static final String EDIT_HEADING_6 = "edit-heading-6.png";
public static final String CREDIT_CARD__PLUS = "credit-card--plus.png";
public static final String HARD_HAT_MILITARY = "hard-hat-military.png";
public static final String DESKTOP_SHARE = "desktop-share.png";
public static final String CHAIR__ARROW = "chair--arrow.png";
public static final String DOCUMENT_BINARY = "document-binary.png";
public static final String MONITOR_WINDOW = "monitor-window.png";
public static final String DISC_CASE = "disc-case.png";
public static final String COMPILE = "compile.png";
public static final String HARD_HAT_MILITARY_CAMOUFLAGE = "hard-hat-military-camouflage.png";
public static final String SQL_JOIN_OUTER = "sql-join-outer.png";
public static final String EDIT_LINE_SPACING = "edit-line-spacing.png";
public static final String PLUG__MINUS = "plug--minus.png";
public static final String SPEAKER_VOLUME = "speaker-volume.png";
public static final String NOTIFICATION_COUNTER_06 = "notification-counter-06.png";
public static final String ARROW_RETURN_180_LEFT = "arrow-return-180-left.png";
public static final String WRENCH__EXCLAMATION = "wrench--exclamation.png";
public static final String TASK__EXCLAMATION = "task--exclamation.png";
public static final String SORT_NUMBER = "sort-number.png";
public static final String BALLOONS_WHITE = "balloons-white.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_Y = "blue-document-attribute-y.png";
public static final String UI_BUTTON_TOGGLE = "ui-button-toggle.png";
public static final String BURN__EXCLAMATION = "burn--exclamation.png";
public static final String NA = "na.png";
public static final String DRAWER__PENCIL = "drawer--pencil.png";
public static final String RECEIPT_EXPORT = "receipt-export.png";
public static final String ROCKET = "rocket.png";
public static final String UPLOAD_CLOUD = "upload-cloud.png";
public static final String BEER = "beer.png";
public static final String BURN__PENCIL = "burn--pencil.png";
public static final String CONTROL_POWER = "control-power.png";
public static final String MILK = "milk.png";
public static final String BOOKMARKS = "bookmarks.png";
public static final String BUILDING_SMALL = "building-small.png";
public static final String NOTIFICATION_COUNTER_14 = "notification-counter-14.png";
public static final String MAIL_SEND = "mail-send.png";
public static final String PAINT_TUBE = "paint-tube.png";
public static final String MEDIA_PLAYER_PHONE = "media-player-phone.png";
public static final String DISK__PENCIL = "disk--pencil.png";
public static final String CLIPBOARD_EMPTY = "clipboard-empty.png";
public static final String BLUE_DOCUMENT_BINARY = "blue-document-binary.png";
public static final String DATABASE_CLOUD = "database-cloud.png";
public static final String NAVIGATION_270_BUTTON_WHITE = "navigation-270-button-white.png";
public static final String LOCK__MINUS = "lock--minus.png";
public static final String UI_BREADCRUMB_SELECT_PARENT = "ui-breadcrumb-select-parent.png";
public static final String FOLDER__ARROW = "folder--arrow.png";
public static final String NAVIGATION_000_BUTTON_WHITE = "navigation-000-button-white.png";
public static final String MEDIA_PLAYER_SMALL_PINK = "media-player-small-pink.png";
public static final String ARROW_SKIP_270 = "arrow-skip-270.png";
public static final String APPLICATION_SIDEBAR = "application-sidebar.png";
public static final String EDIT_LIST_ORDER_RTL = "edit-list-order-rtl.png";
public static final String ARROW_045 = "arrow-045.png";
public static final String EXCLAMATION_SMALL_WHITE = "exclamation-small-white.png";
public static final String PLUS_CIRCLE = "plus-circle.png";
public static final String SCRIPT__PENCIL = "script--pencil.png";
public static final String ARROW_270 = "arrow-270.png";
public static final String GAME = "game.png";
public static final String CO2 = "co2.png";
public static final String INBOX_UPLOAD = "inbox-upload.png";
public static final String LUGGAGE = "luggage.png";
public static final String HEART_EMPTY = "heart-empty.png";
public static final String CAMERA__ARROW = "camera--arrow.png";
public static final String BLUE_DOCUMENT_CODE = "blue-document-code.png";
public static final String DOCUMENT_ATTRIBUTE_D = "document-attribute-d.png";
public static final String CHART__PLUS = "chart--plus.png";
public static final String TAG_LABEL_GREEN = "tag-label-green.png";
public static final String MONEY__PENCIL = "money--pencil.png";
public static final String QUESTION_FRAME = "question-frame.png";
public static final String DOCUMENT_STAND = "document-stand.png";
public static final String SCRIPT_TEXT = "script-text.png";
public static final String TREE = "tree.png";
public static final String SLIDE__MINUS = "slide--minus.png";
public static final String UI_TEXT_FIELD_PASSWORD_RED = "ui-text-field-password-red.png";
public static final String BALLOON__PLUS = "balloon--plus.png";
public static final String TELEVISION__PENCIL = "television--pencil.png";
public static final String MEDIA_PLAYER_MEDIUM_ORANGE = "media-player-medium-orange.png";
public static final String TABLE_SHEET = "table-sheet.png";
public static final String APPLICATION__MINUS = "application--minus.png";
public static final String BOOK__PLUS = "book--plus.png";
public static final String BLUE_DOCUMENT_SHRED = "blue-document-shred.png";
public static final String DRIVE__EXCLAMATION = "drive--exclamation.png";
public static final String UI_TEXT_FIELD_CLEAR = "ui-text-field-clear.png";
public static final String XFN_SWEETHEART = "xfn-sweetheart.png";
public static final String BLUE_DOCUMENT__PLUS = "blue-document--plus.png";
public static final String MUSIC__MINUS = "music--minus.png";
public static final String SCANNER__EXCLAMATION = "scanner--exclamation.png";
public static final String BLUE_DOCUMENT_PAGE_NEXT = "blue-document-page-next.png";
public static final String COOKIES = "cookies.png";
public static final String FLASHLIGHT__MINUS = "flashlight--minus.png";
public static final String CLIPBOARD__PLUS = "clipboard--plus.png";
public static final String WAND__EXCLAMATION = "wand--exclamation.png";
public static final String BOARD_GAME_GO = "board-game-go.png";
public static final String NOTIFICATION_COUNTER_04 = "notification-counter-04.png";
public static final String PAPER_CLIP_PROHIBITION = "paper-clip-prohibition.png";
public static final String MAP__ARROW = "map--arrow.png";
public static final String NOTEBOOK_STICKY_NOTE = "notebook-sticky-note.png";
public static final String MAGNET_BLUE = "magnet-blue.png";
public static final String WALLET = "wallet.png";
public static final String USER_DETECTIVE_GRAY = "user-detective-gray.png";
public static final String ROCKET__PENCIL = "rocket--pencil.png";
public static final String VISE = "vise.png";
public static final String CALCULATOR__EXCLAMATION = "calculator--exclamation.png";
public static final String DATABASE__PLUS = "database--plus.png";
public static final String POPCORN = "popcorn.png";
public static final String MEGAPHONE = "megaphone.png";
public static final String TREE__PENCIL = "tree--pencil.png";
public static final String SHOPPING_BASKET = "shopping-basket.png";
public static final String METRONOME__PLUS = "metronome--plus.png";
public static final String PUZZLE = "puzzle.png";
public static final String CROSS_SMALL_WHITE = "cross-small-white.png";
public static final String PAPER_LANTERN_RED = "paper-lantern-red.png";
public static final String SMILEY_EVIL = "smiley-evil.png";
public static final String SLIDE_RESIZE_ACTUAL = "slide-resize-actual.png";
public static final String NAVIGATION_270_BUTTON = "navigation-270-button.png";
public static final String DASHBOARD__ARROW = "dashboard--arrow.png";
public static final String SHARE_SMALL = "share-small.png";
public static final String GEAR__PLUS = "gear--plus.png";
public static final String ARROW_CONTINUE_270_LEFT = "arrow-continue-270-left.png";
public static final String POINT = "point.png";
public static final String APPLICATION_TILE_HORIZONTAL = "application-tile-horizontal.png";
public static final String EDIT_ALIGNMENT_CENTER = "edit-alignment-center.png";
public static final String ARROW_MERGE_180 = "arrow-merge-180.png";
public static final String LAYER_SHAPE_CURVE = "layer-shape-curve.png";
public static final String PILL_BLUE = "pill-blue.png";
public static final String STORE__ARROW = "store--arrow.png";
public static final String DOCUMENT_SMILEY_SAD = "document-smiley-sad.png";
public static final String GRADUATION_HAT = "graduation-hat.png";
public static final String MEDIA_PLAYER_SMALL_GREEN = "media-player-small-green.png";
public static final String CONTROL_SKIP_270_SMALL = "control-skip-270-small.png";
public static final String CLOCK_SELECT = "clock-select.png";
public static final String DOCUMENT_NUMBER_8 = "document-number-8.png";
public static final String SAFE__PLUS = "safe--plus.png";
public static final String ROCKET_FLY = "rocket-fly.png";
public static final String NEW = "new.png";
public static final String UI_TEXT_AREA = "ui-text-area.png";
public static final String DISC_LABEL = "disc-label.png";
public static final String WALL__MINUS = "wall--minus.png";
public static final String ZONE__MINUS = "zone--minus.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_U = "blue-document-attribute-u.png";
public static final String LAYOUT_HEADER_2 = "layout-header-2.png";
public static final String STORE__MINUS = "store--minus.png";
public static final String CALENDAR_TASK = "calendar-task.png";
public static final String WEATHER_RAIN_LITTLE = "weather-rain-little.png";
public static final String LIFEBUOY__EXCLAMATION = "lifebuoy--exclamation.png";
public static final String DOCUMENT_EXCEL_TABLE = "document-excel-table.png";
public static final String DATABASE_DELETE = "database-delete.png";
public static final String POSTAGE_STAMP_AT_SIGN = "postage-stamp-at-sign.png";
public static final String LOCK_SMALL = "lock-small.png";
public static final String APPLICATION__EXCLAMATION = "application--exclamation.png";
public static final String DUMMY = "dummy.png";
public static final String TICK_BUTTON = "tick-button.png";
public static final String NOTEBOOK__PLUS = "notebook--plus.png";
public static final String CURTAIN = "curtain.png";
public static final String PRICE_TAG__PENCIL = "price-tag--pencil.png";
public static final String SHOE__PLUS = "shoe--plus.png";
public static final String HOURGLASS__PLUS = "hourglass--plus.png";
public static final String HAMMER__EXCLAMATION = "hammer--exclamation.png";
public static final String HOME__PENCIL = "home--pencil.png";
public static final String CROSS_SCRIPT = "cross-script.png";
public static final String DOOR__EXCLAMATION = "door--exclamation.png";
public static final String CASSETTE_SMALL = "cassette-small.png";
public static final String APPLICATION_ICON = "application-icon.png";
public static final String LIGHTNING = "lightning.png";
public static final String STICKMAN = "stickman.png";
public static final String MAPS = "maps.png";
public static final String BORDER_BOTTOM = "border-bottom.png";
public static final String DOCUMENT_FLASH_MOVIE = "document-flash-movie.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_M = "blue-document-attribute-m.png";
public static final String MAGNET_SMALL = "magnet-small.png";
public static final String LEAF__MINUS = "leaf--minus.png";
public static final String MOUSE__PENCIL = "mouse--pencil.png";
public static final String CLOCK_MOON_PHASE = "clock-moon-phase.png";
public static final String TRAFFIC_LIGHT_OFF = "traffic-light-off.png";
public static final String SMILEY_GRIN = "smiley-grin.png";
public static final String BUG__PLUS = "bug--plus.png";
public static final String BORDER_HORIZONTAL_ALL = "border-horizontal-all.png";
public static final String BLUE_FOLDER_MEDIUM = "blue-folder-medium.png";
public static final String FOLDER_TREE = "folder-tree.png";
public static final String SCRIPT_VISUAL_STUDIO = "script-visual-studio.png";
public static final String EDIT_ITALIC = "edit-italic.png";
public static final String APPLICATIONS = "applications.png";
public static final String SITEMAP_APPLICATION_BLUE = "sitemap-application-blue.png";
public static final String ARROW_MERGE_090_LEFT = "arrow-merge-090-left.png";
public static final String DUMMY_SAD = "dummy-sad.png";
public static final String PALETTE__PENCIL = "palette--pencil.png";
public static final String SUM = "sum.png";
public static final String ARROW_CONTINUE = "arrow-continue.png";
public static final String FLAG__ARROW = "flag--arrow.png";
public static final String MUSIC__ARROW = "music--arrow.png";
public static final String BLUE_DOCUMENT_COPY = "blue-document-copy.png";
public static final String SOCKET__ARROW = "socket--arrow.png";
public static final String SPEAKER = "speaker.png";
public static final String BLUE_DOCUMENT_HF_SELECT = "blue-document-hf-select.png";
public static final String NAVIGATION_090_WHITE = "navigation-090-white.png";
public static final String BLUE_DOCUMENT_ILLUSTRATOR = "blue-document-illustrator.png";
public static final String DOCUMENT_RENAME = "document-rename.png";
public static final String DIRECTION__PENCIL = "direction--pencil.png";
public static final String FLASHLIGHT__PLUS = "flashlight--plus.png";
public static final String PUZZLE__EXCLAMATION = "puzzle--exclamation.png";
public static final String DIRECTION__EXCLAMATION = "direction--exclamation.png";
public static final String HAMMER__ARROW = "hammer--arrow.png";
public static final String KEYBOARD__PLUS = "keyboard--plus.png";
public static final String BOX_LABEL = "box-label.png";
public static final String SCRIPT_CODE = "script-code.png";
public static final String DATABASE__MINUS = "database--minus.png";
public static final String WEATHER_CLOUD = "weather-cloud.png";
public static final String FILM_YOUTUBE = "film-youtube.png";
public static final String USER_THIEF_BALDIE = "user-thief-baldie.png";
public static final String BLUE_FOLDER_NETWORK = "blue-folder-network.png";
public static final String STAMP = "stamp.png";
public static final String SELECTION_RESIZE = "selection-resize.png";
public static final String DOCUMENT_PAGE = "document-page.png";
public static final String EDIT_DROP_CAP = "edit-drop-cap.png";
public static final String HEADSTONE = "headstone.png";
public static final String BALLOON__MINUS = "balloon--minus.png";
public static final String LICENSE_KEY = "license-key.png";
public static final String SCREWDRIVER__EXCLAMATION = "screwdriver--exclamation.png";
public static final String RESOURCE_MONITOR = "resource-monitor.png";
public static final String CATEGORY_GROUP = "category-group.png";
public static final String MUSIC = "music.png";
public static final String CURSOR_SMALL = "cursor-small.png";
public static final String UMBRELLA__PLUS = "umbrella--plus.png";
public static final String HAND_POINT_090 = "hand-point-090.png";
public static final String BLUE_DOCUMENT_NODE = "blue-document-node.png";
public static final String MEDAL_PREMIUM = "medal-premium.png";
public static final String BAGGAGE_CART = "baggage-cart.png";
public static final String AUCTION_HAMMER = "auction-hammer.png";
public static final String STICKY_NOTE_MEDIUM = "sticky-note-medium.png";
public static final String GLOBE_MEDIUM = "globe-medium.png";
public static final String EDIT_COLOR = "edit-color.png";
public static final String INFORMATION_ITALIC = "information-italic.png";
public static final String REPORT_EXCEL = "report-excel.png";
public static final String COMPILE_WARNING = "compile-warning.png";
public static final String EXCLAMATION_SHIELD = "exclamation-shield.png";
public static final String GUITAR = "guitar.png";
public static final String MUSIC__PENCIL = "music--pencil.png";
public static final String UI_SCROLL_PANE_ICON = "ui-scroll-pane-icon.png";
public static final String NAVIGATION_000_FRAME = "navigation-000-frame.png";
public static final String BLUE_DOCUMENT_TASK = "blue-document-task.png";
public static final String DOCUMENT_SEARCH_RESULT = "document-search-result.png";
public static final String BANK__ARROW = "bank--arrow.png";
public static final String USER_GREEN_FEMALE = "user-green-female.png";
public static final String BURN = "burn.png";
public static final String PRINTER_EMPTY = "printer-empty.png";
public static final String TICK_SMALL_WHITE = "tick-small-white.png";
public static final String UI_LAYOUT_PANEL = "ui-layout-panel.png";
public static final String NODE_DELETE_CHILD = "node-delete-child.png";
public static final String ASTERISK_SMALL_YELLOW = "asterisk-small-yellow.png";
public static final String BOOK_SMALL_BROWN = "book-small-brown.png";
public static final String BLUE_DOCUMENT_NUMBER_3 = "blue-document-number-3.png";
public static final String PAPER_LANTERN_REPAST = "paper-lantern-repast.png";
public static final String OPEN_SHARE_BALLOON = "open-share-balloon.png";
public static final String MAGNET = "magnet.png";
public static final String CHAIR = "chair.png";
public static final String BLUE_DOCUMENT_RESIZE = "blue-document-resize.png";
public static final String ACORN = "acorn.png";
public static final String GLASS_WIDE = "glass-wide.png";
public static final String ENVELOPE_STRING = "envelope-string.png";
public static final String USER_MEDICAL = "user-medical.png";
public static final String CLIPBOARD__PENCIL = "clipboard--pencil.png";
public static final String RECEIPT_SHRED = "receipt-shred.png";
public static final String BLUE_DOCUMENT_NUMBER_4 = "blue-document-number-4.png";
public static final String BLUE_FOLDER_OPEN_DOCUMENT_MUSIC_PLAYLIST = "blue-folder-open-document-music-playlist.png";
public static final String UI_ADDRESS_BAR = "ui-address-bar.png";
public static final String UI_SCROLL_PANE_BLOG = "ui-scroll-pane-blog.png";
public static final String LANGUAGE_SMALL = "language-small.png";
public static final String CROSS_CIRCLE = "cross-circle.png";
public static final String EDIT_HEADING_2 = "edit-heading-2.png";
public static final String UI_TAB_SIDE = "ui-tab-side.png";
public static final String EAR__ARROW = "ear--arrow.png";
public static final String EQUALIZER_HIGH = "equalizer-high.png";
public static final String PROHIBITION_BUTTON = "prohibition-button.png";
public static final String BLUE_DOCUMENT_OFFICE_TEXT = "blue-document-office-text.png";
public static final String BALLOON_BOX = "balloon-box.png";
public static final String TRAFFIC_LIGHT_YELLOW = "traffic-light-yellow.png";
public static final String TAGS_LABEL = "tags-label.png";
public static final String FEED = "feed.png";
public static final String ENVELOPE = "envelope.png";
public static final String DOCUMENT_TREE = "document-tree.png";
public static final String LAYOUT_SELECT_CONTENT = "layout-select-content.png";
public static final String ARROW_RETURN_180 = "arrow-return-180.png";
public static final String LAYOUT_4 = "layout-4.png";
public static final String EYE_CLOSE = "eye-close.png";
public static final String SCRIPT_MEDIUM = "script-medium.png";
public static final String CHAIR__EXCLAMATION = "chair--exclamation.png";
public static final String ZODIAC_VIRGO = "zodiac-virgo.png";
public static final String GEOLOCATION_SMALL = "geolocation-small.png";
public static final String CAMERA_SMALL_BLACK = "camera-small-black.png";
public static final String GINGERBREAD_MAN = "gingerbread-man.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_Q = "blue-document-attribute-q.png";
public static final String T_SHIRT = "t-shirt.png";
public static final String APPLICATION_TILE = "application-tile.png";
public static final String RESOURCE_MONITOR_PROTECTOR = "resource-monitor-protector.png";
public static final String CUTLERY = "cutlery.png";
public static final String BAGGAGE_CART_BOX_LABEL = "baggage-cart-box-label.png";
public static final String TELEPHONE__PLUS = "telephone--plus.png";
public static final String COMPUTER__ARROW = "computer--arrow.png";
public static final String SPRAY__EXCLAMATION = "spray--exclamation.png";
public static final String CALENDAR_PREVIOUS = "calendar-previous.png";
public static final String COMPUTER_NETWORK = "computer-network.png";
public static final String STAIRS = "stairs.png";
public static final String BILLBOARD = "billboard.png";
public static final String APPLICATION_FORM = "application-form.png";
public static final String UI_MENU_BLUE = "ui-menu-blue.png";
public static final String KEYBOARDS_COMBINATION = "keyboards-combination.png";
public static final String THERMOMETER__PENCIL = "thermometer--pencil.png";
public static final String BLUE_FOLDER__MINUS = "blue-folder--minus.png";
public static final String CONTROL_SKIP_180 = "control-skip-180.png";
public static final String DRIVE_RENAME = "drive-rename.png";
public static final String SMILEY_SURPRISE = "smiley-surprise.png";
public static final String MEDIA_PLAYER_SMALL_BLUE = "media-player-small-blue.png";
public static final String QUESTION_SMALL_WHITE = "question-small-white.png";
public static final String PHOTO_ALBUM__PLUS = "photo-album--plus.png";
public static final String PHOTO_ALBUM__PENCIL = "photo-album--pencil.png";
public static final String TRAFFIC_LIGHT = "traffic-light.png";
public static final String PROCESSOR_BIT_064 = "processor-bit-064.png";
public static final String CALENDAR_DELETE = "calendar-delete.png";
public static final String FLAG__EXCLAMATION = "flag--exclamation.png";
public static final String COUNTER_STOP = "counter-stop.png";
public static final String DOCUMENT_ATTRIBUTE_S = "document-attribute-s.png";
public static final String BLUE_FOLDER_IMPORT = "blue-folder-import.png";
public static final String CREDIT_CARD_GREEN = "credit-card-green.png";
public static final String UI_LIST_BOX_BLUE = "ui-list-box-blue.png";
public static final String BALLOON_TWITTER_LEFT = "balloon-twitter-left.png";
public static final String BLOG = "blog.png";
public static final String PAPER_BAG__PLUS = "paper-bag--plus.png";
public static final String POISON = "poison.png";
public static final String DOCUMENT_INSERT = "document-insert.png";
public static final String STICKY_NOTES_STACK = "sticky-notes-stack.png";
public static final String POINT_SMALL = "point-small.png";
public static final String VASE_EAR_DOUBLE = "vase-ear-double.png";
public static final String PARTY_HAT = "party-hat.png";
public static final String WALLET__MINUS = "wallet--minus.png";
public static final String CASSETTE__PLUS = "cassette--plus.png";
public static final String SHOPPING_BASKET__ARROW = "shopping-basket--arrow.png";
public static final String BUG__EXCLAMATION = "bug--exclamation.png";
public static final String WOODEN_BOX__PLUS = "wooden-box--plus.png";
public static final String METRONOME = "metronome.png";
public static final String APPLICATION_DOCK_180 = "application-dock-180.png";
public static final String UPLOAD_LINUX = "upload-linux.png";
public static final String PALETTE = "palette.png";
public static final String ARROW_CIRCLE_135_LEFT = "arrow-circle-135-left.png";
public static final String CALCULATOR__ARROW = "calculator--arrow.png";
public static final String STICKY_NOTE_PIN = "sticky-note-pin.png";
public static final String APPLICATION_DOCK_270 = "application-dock-270.png";
public static final String BLUE_FOLDER__EXCLAMATION = "blue-folder--exclamation.png";
public static final String MAIL_SMALL = "mail-small.png";
public static final String TICK_SMALL_RED = "tick-small-red.png";
public static final String CLIPBOARD__MINUS = "clipboard--minus.png";
public static final String USER__ARROW = "user--arrow.png";
public static final String TABLE_MEDIUM = "table-medium.png";
public static final String NETWORK_ETHERNET = "network-ethernet.png";
public static final String FOLDER_NETWORK = "folder-network.png";
public static final String TABLE_MONEY = "table-money.png";
public static final String TICK_SMALL_CIRCLE = "tick-small-circle.png";
public static final String ARROW_STOP = "arrow-stop.png";
public static final String ARROW_090_SMALL = "arrow-090-small.png";
public static final String DOCUMENT_SNIPPET = "document-snippet.png";
public static final String GLASS_NARROW = "glass-narrow.png";
public static final String ERASER__PENCIL = "eraser--pencil.png";
public static final String IMAGE_EXPORT = "image-export.png";
public static final String LAYOUT = "layout.png";
public static final String NODE_INSERT = "node-insert.png";
public static final String FOLDER_BROKEN = "folder-broken.png";
public static final String TABLE__MINUS = "table--minus.png";
public static final String WINDOWS = "windows.png";
public static final String APPLICATION_EXPORT = "application-export.png";
public static final String TRAFFIC_LIGHT__PENCIL = "traffic-light--pencil.png";
public static final String GLASS__MINUS = "glass--minus.png";
public static final String PROJECTION_SCREEN__EXCLAMATION = "projection-screen--exclamation.png";
public static final String SCRIPT_ATTRIBUTE_L = "script-attribute-l.png";
public static final String BOX__PLUS = "box--plus.png";
public static final String SKULL_SAD = "skull-sad.png";
public static final String BALLOONS_TWITTER = "balloons-twitter.png";
public static final String DISC__EXCLAMATION = "disc--exclamation.png";
public static final String SMILEY_FAT = "smiley-fat.png";
public static final String SHOE_HIGH = "shoe-high.png";
public static final String CALCULATOR__PLUS = "calculator--plus.png";
public static final String POINT__PLUS = "point--plus.png";
public static final String NOTIFICATION_COUNTER = "notification-counter.png";
public static final String UI_RADIO_BUTTONS_LIST = "ui-radio-buttons-list.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_X = "blue-document-attribute-x.png";
public static final String MIZUHIKI_PAPER_CORD = "mizuhiki-paper-cord.png";
public static final String CROSS_CIRCLE_FRAME = "cross-circle-frame.png";
public static final String LAYOUT_SPLIT_VERTICAL = "layout-split-vertical.png";
public static final String POINT__ARROW = "point--arrow.png";
public static final String POOP_SMILEY = "poop-smiley.png";
public static final String CLIPBOARD_PASTE_WORD = "clipboard-paste-word.png";
public static final String EDIT_HEADING_1 = "edit-heading-1.png";
public static final String ENVELOPE_SHARE = "envelope-share.png";
public static final String CARD__MINUS = "card--minus.png";
public static final String BOOKMARK_EXPORT = "bookmark-export.png";
public static final String PRINTER_MONOCHROME = "printer-monochrome.png";
public static final String CAR_RED = "car-red.png";
public static final String LAYER_SHAPE = "layer-shape.png";
public static final String GRAPHIC_CARD = "graphic-card.png";
public static final String BALLOON_SMILEY = "balloon-smiley.png";
public static final String SCRIPT_ATTRIBUTE_J = "script-attribute-j.png";
public static final String ARROW_CURVE_000_DOUBLE = "arrow-curve-000-double.png";
public static final String POINT_BRONZE = "point-bronze.png";
public static final String MEDIA_PLAYER__PLUS = "media-player--plus.png";
public static final String STAR__PLUS = "star--plus.png";
public static final String STAR__MINUS = "star--minus.png";
public static final String DOCUMENT_MOBI_TEXT = "document-mobi-text.png";
public static final String BUILDING_OLD = "building-old.png";
public static final String FILL_MEDIUM_180 = "fill-medium-180.png";
public static final String DOCUMENT_PAGE_LAST = "document-page-last.png";
public static final String BLUE_FOLDER_OPEN_IMAGE = "blue-folder-open-image.png";
public static final String BLUE_DOCUMENT_PDF = "blue-document-pdf.png";
public static final String KEY__PLUS = "key--plus.png";
public static final String GAME_MONITOR = "game-monitor.png";
public static final String LEAF_PLANT = "leaf-plant.png";
public static final String MAHJONG = "mahjong.png";
public static final String NODE_SELECT_PREVIOUS = "node-select-previous.png";
public static final String BANDAID__MINUS = "bandaid--minus.png";
public static final String SWITCH_SMALL = "switch-small.png";
public static final String CROWN__MINUS = "crown--minus.png";
public static final String MONITOR_SIDEBAR = "monitor-sidebar.png";
public static final String DOCUMENT_SMILEY = "document-smiley.png";
public static final String CHAIN__PENCIL = "chain--pencil.png";
public static final String IMAGE_MEDIUM = "image-medium.png";
public static final String UI_CHECK_BOX = "ui-check-box.png";
public static final String CUTLERY_KNIFE = "cutlery-knife.png";
public static final String DATABASE_MEDIUM = "database-medium.png";
public static final String FOLDER_STAMP = "folder-stamp.png";
public static final String UI_BUTTON_NAVIGATION_BACK = "ui-button-navigation-back.png";
public static final String MONITOR_OFF = "monitor-off.png";
public static final String TELEVISION__ARROW = "television--arrow.png";
public static final String UI_SEEK_BAR = "ui-seek-bar.png";
public static final String BLUEPRINT__MINUS = "blueprint--minus.png";
public static final String EXCLAMATION_SMALL = "exclamation-small.png";
public static final String ROCKET__MINUS = "rocket--minus.png";
public static final String ERASER = "eraser.png";
public static final String TABLE = "table.png";
public static final String BATTERY_PLUG = "battery-plug.png";
public static final String CAKE__MINUS = "cake--minus.png";
public static final String TABLE_SPLIT_COLUMN = "table-split-column.png";
public static final String SPORT_GOLF = "sport-golf.png";
public static final String TREE__EXCLAMATION = "tree--exclamation.png";
public static final String EQUALIZER__MINUS = "equalizer--minus.png";
public static final String FLASK = "flask.png";
public static final String UI_CHECK_BOX_UNCHECK = "ui-check-box-uncheck.png";
public static final String DOCUMENT_TEXT = "document-text.png";
public static final String PICTURES = "pictures.png";
public static final String WAND__PENCIL = "wand--pencil.png";
public static final String SCANNER__PENCIL = "scanner--pencil.png";
public static final String THUMB_SMALL_UP = "thumb-small-up.png";
public static final String GEOLOCATION = "geolocation.png";
public static final String DASHBOARD__PENCIL = "dashboard--pencil.png";
public static final String BLUE_FOLDER_OPEN_DOCUMENT_TEXT = "blue-folder-open-document-text.png";
public static final String DRAWER__ARROW = "drawer--arrow.png";
public static final String CASSETTE = "cassette.png";
public static final String APPLICATIONS_BLUE = "applications-blue.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_E = "blue-document-attribute-e.png";
public static final String HAMMER__PENCIL = "hammer--pencil.png";
public static final String PALETTE__EXCLAMATION = "palette--exclamation.png";
public static final String BLOCK__EXCLAMATION = "block--exclamation.png";
public static final String TICKET = "ticket.png";
public static final String DOCUMENT_ATTRIBUTE_K = "document-attribute-k.png";
public static final String PAINT_TUBE_MEDIUM = "paint-tube-medium.png";
public static final String BURN_SMALL = "burn-small.png";
public static final String STAMP__PENCIL = "stamp--pencil.png";
public static final String PENCIL = "pencil.png";
public static final String BOOKMARK__PENCIL = "bookmark--pencil.png";
public static final String BLUE_DOCUMENT_PHOTOSHOP = "blue-document-photoshop.png";
public static final String DOCUMENT_PAGE_PREVIOUS = "document-page-previous.png";
public static final String HIGHLIGHTER__MINUS = "highlighter--minus.png";
public static final String IMAGES = "images.png";
public static final String PDA = "pda.png";
public static final String LIGHTNING__MINUS = "lightning--minus.png";
public static final String COLOR_SMALL = "color-small.png";
public static final String WALLET__PENCIL = "wallet--pencil.png";
public static final String UI_TAB_CONTENT = "ui-tab-content.png";
public static final String USER_BUSINESS_GRAY = "user-business-gray.png";
public static final String IMAGE_SELECT = "image-select.png";
public static final String BALLOON_SMALL = "balloon-small.png";
public static final String EDIT_SPACE = "edit-space.png";
public static final String PROJECTION_SCREEN_PRESENTATION = "projection-screen-presentation.png";
public static final String SMILEY_RED = "smiley-red.png";
public static final String ARROW_315_MEDIUM = "arrow-315-medium.png";
public static final String TABLE_INSERT_ROW = "table-insert-row.png";
public static final String RULER__MINUS = "ruler--minus.png";
public static final String CAMERA__PLUS = "camera--plus.png";
public static final String SMILEY_SHOCK = "smiley-shock.png";
public static final String CARDS_BIND_ADDRESS = "cards-bind-address.png";
public static final String BLOGS_STACK = "blogs-stack.png";
public static final String NOTIFICATION_COUNTER_10 = "notification-counter-10.png";
public static final String CLIPBOARD__EXCLAMATION = "clipboard--exclamation.png";
public static final String SLIDES = "slides.png";
public static final String CONTROL_POWER_SMALL = "control-power-small.png";
public static final String VASE = "vase.png";
public static final String METRONOME__EXCLAMATION = "metronome--exclamation.png";
public static final String SMILEY_CURLY = "smiley-curly.png";
public static final String HOURGLASS__EXCLAMATION = "hourglass--exclamation.png";
public static final String DRIVE__MINUS = "drive--minus.png";
public static final String BALLOON = "balloon.png";
public static final String UI_TEXT_FIELD_SELECT = "ui-text-field-select.png";
public static final String USER_SILHOUETTE_QUESTION = "user-silhouette-question.png";
public static final String ARROW_CONTINUE_000_TOP = "arrow-continue-000-top.png";
public static final String OPEN_SHARE_DOCUMENT = "open-share-document.png";
public static final String FRUIT = "fruit.png";
public static final String SCRIPT_ATTRIBUTE_X = "script-attribute-x.png";
public static final String FUTON = "futon.png";
public static final String TASK_SELECT_LAST = "task-select-last.png";
public static final String CONTRAST_CONTROL = "contrast-control.png";
public static final String BLUE_FOLDER_OPEN_DOCUMENT = "blue-folder-open-document.png";
public static final String CUP__MINUS = "cup--minus.png";
public static final String QUILL__EXCLAMATION = "quill--exclamation.png";
public static final String PROHIBITION = "prohibition.png";
public static final String LAYER_ROTATE_LEFT = "layer-rotate-left.png";
public static final String BUG = "bug.png";
public static final String BOOK_OPEN_BOOKMARK = "book-open-bookmark.png";
public static final String UI_TAB = "ui-tab.png";
public static final String NAVIGATION_180_WHITE = "navigation-180-white.png";
public static final String ZONE__PENCIL = "zone--pencil.png";
public static final String SCRIPT_ATTRIBUTE_D = "script-attribute-d.png";
public static final String NAVIGATION_090_BUTTON_WHITE = "navigation-090-button-white.png";
public static final String DOCUMENT__EXCLAMATION = "document--exclamation.png";
public static final String EYE_RED = "eye-red.png";
public static final String CHAIN = "chain.png";
public static final String THERMOMETER__EXCLAMATION = "thermometer--exclamation.png";
public static final String PAPER_PLANE__MINUS = "paper-plane--minus.png";
public static final String BORDER_COLOR = "border-color.png";
public static final String LAYER_RESIZE = "layer-resize.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_B = "blue-document-attribute-b.png";
public static final String BOOK_BOOKMARK = "book-bookmark.png";
public static final String APPLICATION_LIST = "application-list.png";
public static final String TABLE_SUM = "table-sum.png";
public static final String BLUE_DOCUMENT_HF_INSERT = "blue-document-hf-insert.png";
public static final String BOOKMARK__MINUS = "bookmark--minus.png";
public static final String BOOKMARK = "bookmark.png";
public static final String ARROW_STEP = "arrow-step.png";
public static final String ARROW_225_SMALL = "arrow-225-small.png";
public static final String HEART__PLUS = "heart--plus.png";
public static final String ZONE_SHARE = "zone-share.png";
public static final String ARROW_SWITCH_180 = "arrow-switch-180.png";
public static final String STAMP_MEDIUM = "stamp-medium.png";
public static final String LAYOUT_2 = "layout-2.png";
public static final String USER_YELLOW = "user-yellow.png";
public static final String BRIGHTNESS = "brightness.png";
public static final String OPML_BALLOON = "opml-balloon.png";
public static final String DOCUMENT_EXCEL_CSV = "document-excel-csv.png";
public static final String SCRIPT_ATTRIBUTE_Z = "script-attribute-z.png";
public static final String CONTROL_EJECT = "control-eject.png";
public static final String ARROW_REPEAT_ONCE = "arrow-repeat-once.png";
public static final String PHOTO_ALBUM = "photo-album.png";
public static final String STICKY_NOTES = "sticky-notes.png";
public static final String DOCUMENT_OFFICE_TEXT = "document-office-text.png";
public static final String BOOKMARK__ARROW = "bookmark--arrow.png";
public static final String CONTRAST = "contrast.png";
public static final String BEAKER__PENCIL = "beaker--pencil.png";
public static final String BLUE_FOLDER_TREE = "blue-folder-tree.png";
public static final String FIRE__PLUS = "fire--plus.png";
public static final String SCREWDRIVER__PENCIL = "screwdriver--pencil.png";
public static final String BLUE_DOCUMENT_HF_DELETE = "blue-document-hf-delete.png";
public static final String JAR__PLUS = "jar--plus.png";
public static final String EQUALIZER__PENCIL = "equalizer--pencil.png";
public static final String APPLICATION_DOCK = "application-dock.png";
public static final String UI_SPIN = "ui-spin.png";
public static final String CAKE__PLUS = "cake--plus.png";
public static final String SHURIKEN = "shuriken.png";
public static final String DOCUMENTS_STACK = "documents-stack.png";
public static final String OPEN_SHARE_SMALL = "open-share-small.png";
public static final String WEATHER_FOG = "weather-fog.png";
public static final String PICTURE__PENCIL = "picture--pencil.png";
public static final String CONTROL_RECORD_SMALL = "control-record-small.png";
public static final String MARKER_SMALL = "marker-small.png";
public static final String MEDAL_SILVER = "medal-silver.png";
public static final String BAGGAGE_CART_BOX = "baggage-cart-box.png";
public static final String EDIT_STRIKE = "edit-strike.png";
public static final String EAR__PENCIL = "ear--pencil.png";
public static final String LOLLIPOP = "lollipop.png";
public static final String MEDIA_PLAYER_MEDIUM_PURPLE = "media-player-medium-purple.png";
public static final String PAPER_BAG__ARROW = "paper-bag--arrow.png";
public static final String MEDIA_PLAYER__ARROW = "media-player--arrow.png";
public static final String CLIPBOARD_LIST = "clipboard-list.png";
public static final String APPLICATION_SUB = "application-sub.png";
public static final String RECEIPT__MINUS = "receipt--minus.png";
public static final String HOURGLASS__MINUS = "hourglass--minus.png";
public static final String STORE_NETWORK = "store-network.png";
public static final String GUITAR__EXCLAMATION = "guitar--exclamation.png";
public static final String GLOBE__PENCIL = "globe--pencil.png";
public static final String CHART_UP = "chart-up.png";
public static final String UI_PANEL = "ui-panel.png";
public static final String SERVER__PENCIL = "server--pencil.png";
public static final String TARGET__PENCIL = "target--pencil.png";
public static final String CATEGORY_ITEM_SELECT = "category-item-select.png";
public static final String EXCLAMATION_WHITE = "exclamation-white.png";
public static final String FILL_270 = "fill-270.png";
public static final String CLIPBOARD_SIGN_OUT = "clipboard-sign-out.png";
public static final String BALANCE = "balance.png";
public static final String UI_BUTTON_NAVIGATION = "ui-button-navigation.png";
public static final String NODE_MAGNIFIER = "node-magnifier.png";
public static final String DRIVE_DOWNLOAD = "drive-download.png";
public static final String THERMOMETER__ARROW = "thermometer--arrow.png";
public static final String FOLDER_ZIPPER = "folder-zipper.png";
public static final String PIGGY_BANK_EMPTY = "piggy-bank-empty.png";
public static final String BLUE_DOCUMENT_MOBI = "blue-document-mobi.png";
public static final String MEGAPHONE__PLUS = "megaphone--plus.png";
public static final String CONTROL_090_SMALL = "control-090-small.png";
public static final String CURRENCY_YEN = "currency-yen.png";
public static final String GLASS__PENCIL = "glass--pencil.png";
public static final String COOKIE_MEDIUM = "cookie-medium.png";
public static final String PLUG__EXCLAMATION = "plug--exclamation.png";
public static final String ZODIAC_SAGITTARIUS = "zodiac-sagittarius.png";
public static final String SWITCH = "switch.png";
public static final String TABLE_JOIN = "table-join.png";
public static final String CHEVRON_SMALL = "chevron-small.png";
public static final String PLUG__ARROW = "plug--arrow.png";
public static final String FRUIT_ORANGE = "fruit-orange.png";
public static final String TICK_CIRCLE = "tick-circle.png";
public static final String GLASS_EMPTY = "glass-empty.png";
public static final String EDIT_VERTICAL_ALIGNMENT = "edit-vertical-alignment.png";
public static final String SERVER_NETWORK = "server-network.png";
public static final String LEAF__PLUS = "leaf--plus.png";
public static final String RULER__PLUS = "ruler--plus.png";
public static final String PAPER_BAG = "paper-bag.png";
public static final String FIRE__PENCIL = "fire--pencil.png";
public static final String QUESTION_OCTAGON = "question-octagon.png";
public static final String WEATHER_WIND = "weather-wind.png";
public static final String MOBILE_PHONE__MINUS = "mobile-phone--minus.png";
public static final String NAVIGATION_180_FRAME = "navigation-180-frame.png";
public static final String BLUE_DOCUMENT_XAML = "blue-document-xaml.png";
public static final String UI_MENU = "ui-menu.png";
public static final String PAPER_PLANE__EXCLAMATION = "paper-plane--exclamation.png";
public static final String IMAGE_BALLOON = "image-balloon.png";
public static final String SPEAKER__ARROW = "speaker--arrow.png";
public static final String CUP__PLUS = "cup--plus.png";
public static final String BRIGHTNESS_CONTROL = "brightness-control.png";
public static final String NOTIFICATION_COUNTER_15 = "notification-counter-15.png";
public static final String SERVER_PROPERTY = "server-property.png";
public static final String BALLOON_WHITE = "balloon-white.png";
public static final String BORDER_UP = "border-up.png";
public static final String ODATA_DOCUMENT = "odata-document.png";
public static final String FOLDER_MEDIUM = "folder-medium.png";
public static final String DISK_RENAME = "disk-rename.png";
public static final String BLUE_DOCUMENT_OUTLOOK = "blue-document-outlook.png";
public static final String PICTURE_SUNSET = "picture-sunset.png";
public static final String BUILDING_NETWORK = "building-network.png";
public static final String PAPER_PLANE__ARROW = "paper-plane--arrow.png";
public static final String QUESTION_OCTAGON_FRAME = "question-octagon-frame.png";
public static final String PIANO__PENCIL = "piano--pencil.png";
public static final String PROCESSOR_BIT = "processor-bit.png";
public static final String MICROPHONE__MINUS = "microphone--minus.png";
public static final String STICKMAN_SMILEY = "stickman-smiley.png";
public static final String BOOKS_STACK = "books-stack.png";
public static final String MINUS_OCTAGON_FRAME = "minus-octagon-frame.png";
public static final String ANIMAL_MONKEY_SULKY = "animal-monkey-sulky.png";
public static final String SPEAKER__EXCLAMATION = "speaker--exclamation.png";
public static final String BIN__MINUS = "bin--minus.png";
public static final String ALARM_CLOCK_SELECT_REMAIN = "alarm-clock-select-remain.png";
public static final String HOME = "home.png";
public static final String BLOCK_SHARE = "block-share.png";
public static final String DOCUMENT_ATTRIBUTE_W = "document-attribute-w.png";
public static final String PUZZLE__ARROW = "puzzle--arrow.png";
public static final String NOTIFICATION_COUNTER_11 = "notification-counter-11.png";
public static final String TICK_SMALL = "tick-small.png";
public static final String SORT_ALPHABET = "sort-alphabet.png";
public static final String SPECTRUM_ABSORPTION = "spectrum-absorption.png";
public static final String CHART__PENCIL = "chart--pencil.png";
public static final String APPLICATION_WAVE = "application-wave.png";
public static final String UI_TEXT_FIELD_SUGGESTION = "ui-text-field-suggestion.png";
public static final String DOCUMENT_GLOBE = "document-globe.png";
public static final String UMBRELLA__PENCIL = "umbrella--pencil.png";
public static final String EXCLAMATION_OCTAGON = "exclamation-octagon.png";
public static final String DOWNLOAD_CLOUD = "download-cloud.png";
public static final String CONTROL_STOP_SQUARE_SMALL = "control-stop-square-small.png";
public static final String COLOR_SWATCH = "color-swatch.png";
public static final String EDIT_ALL_CAPS = "edit-all-caps.png";
public static final String BLUE_DOCUMENT_STAND = "blue-document-stand.png";
public static final String MAIL_SEND_RECEIVE = "mail-send-receive.png";
public static final String HOME__PLUS = "home--plus.png";
public static final String DOCUMENT_ATTRIBUTE_I = "document-attribute-i.png";
public static final String BIN__ARROW = "bin--arrow.png";
public static final String WRENCH_SCREWDRIVER = "wrench-screwdriver.png";
public static final String SMILEY_CRY = "smiley-cry.png";
public static final String EAR__EXCLAMATION = "ear--exclamation.png";
public static final String RULER_CROP = "ruler-crop.png";
public static final String BOOK_OPEN_NEXT = "book-open-next.png";
public static final String LAYER_SMALL = "layer-small.png";
public static final String ARROW_CIRCLE_225 = "arrow-circle-225.png";
public static final String DATABASE_INSERT = "database-insert.png";
public static final String BLUE_FOLDER__PENCIL = "blue-folder--pencil.png";
public static final String TOGGLE_SMALL_EXPAND = "toggle-small-expand.png";
public static final String DOCUMENT_HF_SELECT_FOOTER = "document-hf-select-footer.png";
public static final String TAG_CLOUD = "tag-cloud.png";
public static final String MOBILE_PHONE = "mobile-phone.png";
public static final String FILL = "fill.png";
public static final String MAGNIFIER__ARROW = "magnifier--arrow.png";
public static final String ALARM_CLOCK_BLUE = "alarm-clock-blue.png";
public static final String INBOX__PLUS = "inbox--plus.png";
public static final String MONEY_BAG = "money-bag.png";
public static final String FINGERPRINT_RECOGNITION_FAIL = "fingerprint-recognition-fail.png";
public static final String BLUE_DOCUMENT__MINUS = "blue-document--minus.png";
public static final String DOCUMENT_EXCEL = "document-excel.png";
public static final String FIRE__EXCLAMATION = "fire--exclamation.png";
public static final String NETWORK_CLOUD = "network-cloud.png";
public static final String FEED__PENCIL = "feed--pencil.png";
public static final String GEAR = "gear.png";
public static final String COMPUTER = "computer.png";
public static final String BLUE_DOCUMENT_WORD_TICK = "blue-document-word-tick.png";
public static final String UI_TOOLBAR__EXCLAMATION = "ui-toolbar--exclamation.png";
public static final String IMAGE_EMPTY = "image-empty.png";
public static final String WEIGHT__PLUS = "weight--plus.png";
public static final String COLOR__MINUS = "color--minus.png";
public static final String WRENCH__PLUS = "wrench--plus.png";
public static final String HAMMER__PLUS = "hammer--plus.png";
public static final String HARD_HAT__MINUS = "hard-hat--minus.png";
public static final String GLOBE = "globe.png";
public static final String SCRIPT_ATTRIBUTE_P = "script-attribute-p.png";
public static final String EYE__PENCIL = "eye--pencil.png";
public static final String UI_SCROLL_PANE_IMAGE = "ui-scroll-pane-image.png";
public static final String TRAFFIC_CONE__EXCLAMATION = "traffic-cone--exclamation.png";
public static final String MEDIA_PLAYER_PHONE_HORIZONTAL = "media-player-phone-horizontal.png";
public static final String ICE_CREAM_SPRINKLES_BLUE_MOON = "ice-cream-sprinkles-blue-moon.png";
public static final String USB_FLASH_DRIVE__PENCIL = "usb-flash-drive--pencil.png";
public static final String RECEIPT_TEXT = "receipt-text.png";
public static final String PROPERTY = "property.png";
public static final String DOCUMENT_WORD = "document-word.png";
public static final String HOME__EXCLAMATION = "home--exclamation.png";
public static final String GRID_DOT = "grid-dot.png";
public static final String TASK__PENCIL = "task--pencil.png";
public static final String WALL_SMALL = "wall-small.png";
public static final String SYSTEM_MONITOR__PENCIL = "system-monitor--pencil.png";
public static final String CONTRAST_SMALL = "contrast-small.png";
public static final String STICKMAN_SMILEY_ANGRY = "stickman-smiley-angry.png";
public static final String ICE_CREAM_SPRINKLES_CHOCOLATE = "ice-cream-sprinkles-chocolate.png";
public static final String NOTEBOOK__PENCIL = "notebook--pencil.png";
public static final String RUBY = "ruby.png";
public static final String SQL_JOIN_RIGHT_EXCLUDE = "sql-join-right-exclude.png";
public static final String MUSIC__EXCLAMATION = "music--exclamation.png";
public static final String SNOWMAN_HAT = "snowman-hat.png";
public static final String WRAP_TIGHT = "wrap-tight.png";
public static final String DOCUMENT_ATTRIBUTE_M = "document-attribute-m.png";
public static final String E_BOOK_READER_BLACK = "e-book-reader-black.png";
public static final String DOCUMENT_NUMBER_5 = "document-number-5.png";
public static final String BUILDING__PENCIL = "building--pencil.png";
public static final String TRUCK__PENCIL = "truck--pencil.png";
public static final String REGULAR_EXPRESSION_SEARCH_MATCH = "regular-expression-search-match.png";
public static final String ALARM_CLOCK = "alarm-clock.png";
public static final String BLUE_FOLDER_BROKEN = "blue-folder-broken.png";
public static final String POSTAGE_STAMP__PLUS = "postage-stamp--plus.png";
public static final String MONITOR__PENCIL = "monitor--pencil.png";
public static final String FLAG_PURPLE = "flag-purple.png";
public static final String WEB_SLICE_DOCUMENT = "web-slice-document.png";
public static final String PIN__MINUS = "pin--minus.png";
public static final String EXCLAMATION_RED = "exclamation-red.png";
public static final String ARROW_135 = "arrow-135.png";
public static final String WEBCAM = "webcam.png";
public static final String USERS = "users.png";
public static final String COLOR_ADJUSTMENT_GREEN = "color-adjustment-green.png";
public static final String SCRIPT__PLUS = "script--plus.png";
public static final String MEDIA_PLAYER__EXCLAMATION = "media-player--exclamation.png";
public static final String MONITOR_SCREENSAVER = "monitor-screensaver.png";
public static final String CLAPPERBOARD__PLUS = "clapperboard--plus.png";
public static final String TERMINAL_NETWORK = "terminal-network.png";
public static final String CLIPBOARD_BLOCK = "clipboard-block.png";
public static final String BORDER_INSIDE = "border-inside.png";
public static final String DOCUMENT_PDF_TEXT = "document-pdf-text.png";
public static final String EDIT_HEADING_3 = "edit-heading-3.png";
public static final String FOLDER_OPEN_SLIDE = "folder-open-slide.png";
public static final String BEAKER_EMPTY = "beaker-empty.png";
public static final String HAMBURGER = "hamburger.png";
public static final String PLUG_DISCONNECT_PROHIBITION = "plug-disconnect-prohibition.png";
public static final String BOX = "box.png";
public static final String MAGNIFIER_HISTORY = "magnifier-history.png";
public static final String REPORT_WORD = "report-word.png";
public static final String DATABASE_EXPORT = "database-export.png";
public static final String NOTIFICATION_COUNTER_02 = "notification-counter-02.png";
public static final String VALIDATION_LABEL_HTML = "validation-label-html.png";
public static final String MOBILE_PHONE__EXCLAMATION = "mobile-phone--exclamation.png";
public static final String BLOCK__PLUS = "block--plus.png";
public static final String BIN__EXCLAMATION = "bin--exclamation.png";
public static final String RULER__PENCIL = "ruler--pencil.png";
public static final String INFORMATION_BUTTON = "information-button.png";
public static final String WEATHER_SNOW = "weather-snow.png";
public static final String CUP__PENCIL = "cup--pencil.png";
public static final String DOCUMENT_NUMBER_3 = "document-number-3.png";
public static final String MONEY_BAG_YEN = "money-bag-yen.png";
public static final String EXCLAMATION_DIAMOND = "exclamation-diamond.png";
public static final String SYSTEM_MONITOR__ARROW = "system-monitor--arrow.png";
public static final String DOCUMENT_RESIZE = "document-resize.png";
public static final String ARROW_RESIZE_090 = "arrow-resize-090.png";
public static final String GEOTAG_DOCUMENT = "geotag-document.png";
public static final String SORT__PLUS = "sort--plus.png";
public static final String BORDER_BOTTOM_DOUBLE = "border-bottom-double.png";
public static final String DASHBOARD__EXCLAMATION = "dashboard--exclamation.png";
public static final String UI_TOOLBAR_BOOKMARK = "ui-toolbar-bookmark.png";
public static final String DOWNLOAD_LINUX = "download-linux.png";
public static final String BINOCULAR__EXCLAMATION = "binocular--exclamation.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_O = "blue-document-attribute-o.png";
public static final String TOILET = "toilet.png";
public static final String TOOLBOX__ARROW = "toolbox--arrow.png";
public static final String APPLICATION_DOCK_090 = "application-dock-090.png";
public static final String FILM__ARROW = "film--arrow.png";
public static final String SMILEY_LOL = "smiley-lol.png";
public static final String HOURGLASS__PENCIL = "hourglass--pencil.png";
public static final String TELEPHONE__ARROW = "telephone--arrow.png";
public static final String MEMORY = "memory.png";
public static final String COUNTER_RESET = "counter-reset.png";
public static final String DOOR__PENCIL = "door--pencil.png";
public static final String WEIGHT__MINUS = "weight--minus.png";
public static final String ZONE_LABEL = "zone-label.png";
public static final String BOOK__PENCIL = "book--pencil.png";
public static final String CAMCORDER__EXCLAMATION = "camcorder--exclamation.png";
public static final String CHEQUE__ARROW = "cheque--arrow.png";
public static final String DRIVE_GLOBE = "drive-globe.png";
public static final String FOLDER_OPEN_DOCUMENT_MUSIC_PLAYLIST = "folder-open-document-music-playlist.png";
public static final String BLUEPRINT = "blueprint.png";
public static final String CURRENCY_DOLLAR_CAD = "currency-dollar-cad.png";
public static final String EAR = "ear.png";
public static final String COLOR_SWATCH_SMALL = "color-swatch-small.png";
public static final String ARROW_JOIN_270 = "arrow-join-270.png";
public static final String PIPETTE__PLUS = "pipette--plus.png";
public static final String CLOCK__PLUS = "clock--plus.png";
public static final String CALENDAR_RELATION = "calendar-relation.png";
public static final String BINOCULAR__ARROW = "binocular--arrow.png";
public static final String WEIGHT = "weight.png";
public static final String BAUBLE = "bauble.png";
public static final String CURRENCY_POUND = "currency-pound.png";
public static final String ARROW_SWITCH = "arrow-switch.png";
public static final String HAND_POINT_270 = "hand-point-270.png";
public static final String MEDIA_PLAYER_PROTECTOR = "media-player-protector.png";
public static final String TASK_SELECT = "task-select.png";
public static final String TABLE_IMPORT = "table-import.png";
public static final String CATEGORIES = "categories.png";
public static final String PAINT_CAN__ARROW = "paint-can--arrow.png";
public static final String TAG_LABEL_GRAY = "tag-label-gray.png";
public static final String PHOTO_ALBUM__ARROW = "photo-album--arrow.png";
public static final String BOOKMARK_SMALL = "bookmark-small.png";
public static final String SPEAKER_VOLUME_CONTROL = "speaker-volume-control.png";
public static final String SCRIPT_OFFICE = "script-office.png";
public static final String COOKIE = "cookie.png";
public static final String TELEVISION = "television.png";
public static final String BRAIN__PLUS = "brain--plus.png";
public static final String DOCUMENT_ATTRIBUTE_L = "document-attribute-l.png";
public static final String CARD_IMPORT = "card-import.png";
public static final String RADIO__MINUS = "radio--minus.png";
public static final String TICK = "tick.png";
public static final String FOLDER_OPEN_FEED = "folder-open-feed.png";
public static final String UI_ACCORDION = "ui-accordion.png";
public static final String GLOBE_SMALL = "globe-small.png";
public static final String TERMINAL = "terminal.png";
public static final String SELECTION = "selection.png";
public static final String KEY__MINUS = "key--minus.png";
public static final String BIN_METAL_FULL = "bin-metal-full.png";
public static final String DOCUMENT_NUMBER_2 = "document-number-2.png";
public static final String BINOCULAR_SMALL = "binocular-small.png";
public static final String NAVIGATION_000_BUTTON = "navigation-000-button.png";
public static final String BRIEFCASE__ARROW = "briefcase--arrow.png";
public static final String CARDS_STACK = "cards-stack.png";
public static final String UI_BREADCRUMB_BREAD = "ui-breadcrumb-bread.png";
public static final String SCANNER__ARROW = "scanner--arrow.png";
public static final String GUITAR__PLUS = "guitar--plus.png";
public static final String EYE__PLUS = "eye--plus.png";
public static final String UI_TEXT_FIELD_PASSWORD_GREEN = "ui-text-field-password-green.png";
public static final String INBOX_SLIDE = "inbox-slide.png";
public static final String SCISSORS__EXCLAMATION = "scissors--exclamation.png";
public static final String HEADPHONE__ARROW = "headphone--arrow.png";
public static final String ZODIAC_PISCES = "zodiac-pisces.png";
public static final String CAR__ARROW = "car--arrow.png";
public static final String UI_SPLIT_PANEL = "ui-split-panel.png";
public static final String CALENDAR__ARROW = "calendar--arrow.png";
public static final String BALLOON_BUZZ_LEFT = "balloon-buzz-left.png";
public static final String MAILS = "mails.png";
public static final String MEDAL_BRONZE = "medal-bronze.png";
public static final String DOCUMENT_MUSIC = "document-music.png";
public static final String STICKMAN_RUN = "stickman-run.png";
public static final String ARROW_135_SMALL = "arrow-135-small.png";
public static final String DOCUMENT_HORIZONTAL_TEXT = "document-horizontal-text.png";
public static final String TASK__MINUS = "task--minus.png";
public static final String RIBBON = "ribbon.png";
public static final String MAP_SHARE = "map-share.png";
public static final String MONITOR_WALLPAPER = "monitor-wallpaper.png";
public static final String TABLE_SPLIT = "table-split.png";
public static final String CAKE__EXCLAMATION = "cake--exclamation.png";
public static final String NEWSPAPERS = "newspapers.png";
public static final String SELECTION_SELECT = "selection-select.png";
public static final String CANDLE = "candle.png";
public static final String SMILEY_YELL = "smiley-yell.png";
public static final String DOCUMENT_NUMBER_0 = "document-number-0.png";
public static final String ARROW_RETURN_090 = "arrow-return-090.png";
public static final String HAMMER_SCREWDRIVER = "hammer-screwdriver.png";
public static final String TABLE_SELECT_CELLS = "table-select-cells.png";
public static final String PENCIL_COLOR = "pencil-color.png";
public static final String ARROW_045_MEDIUM = "arrow-045-medium.png";
public static final String ADDRESS_BOOK__EXCLAMATION = "address-book--exclamation.png";
public static final String EDIT_PADDING = "edit-padding.png";
public static final String DESKTOP = "desktop.png";
public static final String PLUG__PLUS = "plug--plus.png";
public static final String COUNTER_COUNT_UP = "counter-count-up.png";
public static final String BROOM = "broom.png";
public static final String BLUEPRINT__PLUS = "blueprint--plus.png";
public static final String JSON = "json.png";
public static final String SERVICE_BELL = "service-bell.png";
public static final String HOME_SHARE = "home-share.png";
public static final String RECEIPT_EXCEL = "receipt-excel.png";
public static final String TIE = "tie.png";
public static final String PRINTER__ARROW = "printer--arrow.png";
public static final String GRID_SMALL_DOT = "grid-small-dot.png";
public static final String CLOCK = "clock.png";
public static final String DOCUMENT_PHP = "document-php.png";
public static final String DOCUMENT_VISUAL_STUDIO = "document-visual-studio.png";
public static final String NOTEBOOKS = "notebooks.png";
public static final String DRILL__MINUS = "drill--minus.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_W = "blue-document-attribute-w.png";
public static final String ADDRESS_BOOK_BLUE = "address-book-blue.png";
public static final String TELEVISION_PROTECTOR = "television-protector.png";
public static final String UI_ADDRESS_BAR_GREEN = "ui-address-bar-green.png";
public static final String APPLICATION_SPLIT_VERTICAL = "application-split-vertical.png";
public static final String LAYER_SELECT = "layer-select.png";
public static final String EQUALIZER_FLAT = "equalizer-flat.png";
public static final String ARROW_000_SMALL = "arrow-000-small.png";
public static final String BLUE_DOCUMENT_IMPORT = "blue-document-import.png";
public static final String BEAN_GREEN = "bean-green.png";
public static final String BLUE_DOCUMENT_TEMPLATE = "blue-document-template.png";
public static final String BALLOON__EXCLAMATION = "balloon--exclamation.png";
public static final String APPLICATION_CLOUD = "application-cloud.png";
public static final String LIGHT_BULB_CODE = "light-bulb-code.png";
public static final String ICE_CREAM = "ice-cream.png";
public static final String UI_TAB__PENCIL = "ui-tab--pencil.png";
public static final String UI_TAB__EXCLAMATION = "ui-tab--exclamation.png";
public static final String ARROW_JOIN = "arrow-join.png";
public static final String GEAR_SMALL = "gear-small.png";
public static final String UI_TEXT_FIELD_PASSWORD_YELLOW = "ui-text-field-password-yellow.png";
public static final String E_BOOK_READER_WHITE = "e-book-reader-white.png";
public static final String BARCODE = "barcode.png";
public static final String SUSHI = "sushi.png";
public static final String EDIT_SHADE = "edit-shade.png";
public static final String DOCUMENT_ATTRIBUTE_U = "document-attribute-u.png";
public static final String SPECTRUM_EMISSION = "spectrum-emission.png";
public static final String LIGHT_BULB = "light-bulb.png";
public static final String DATABASE = "database.png";
public static final String MAP_RESIZE_ACTUAL = "map-resize-actual.png";
public static final String FLASHLIGHT__ARROW = "flashlight--arrow.png";
public static final String CUTLERY_FORK = "cutlery-fork.png";
public static final String DOCUMENT_ATTRIBUTE_C = "document-attribute-c.png";
public static final String SMILEY_ANGEL = "smiley-angel.png";
public static final String ZODIAC_CANCER = "zodiac-cancer.png";
public static final String BEAKER__PLUS = "beaker--plus.png";
public static final String HIGHLIGHTER__EXCLAMATION = "highlighter--exclamation.png";
public static final String EDIT_UPPERCASE = "edit-uppercase.png";
public static final String APPLICATION_PLUS_RED = "application-plus-red.png";
public static final String ZODIAC_ARIES = "zodiac-aries.png";
public static final String DISK__PLUS = "disk--plus.png";
public static final String SWITCH_NETWORK = "switch-network.png";
public static final String ARROW_CURVE_000_LEFT = "arrow-curve-000-left.png";
public static final String MEDAL_SILVER_PREMIUM = "medal-silver-premium.png";
public static final String BOMB = "bomb.png";
public static final String LANGUAGE_BALLOON = "language-balloon.png";
public static final String TICKET__MINUS = "ticket--minus.png";
public static final String FLAG_GREEN = "flag-green.png";
public static final String BANDAID = "bandaid.png";
public static final String BLUE_FOLDER__ARROW = "blue-folder--arrow.png";
public static final String BALLOON_SMALL_LEFT = "balloon-small-left.png";
public static final String MONITOR_NETWORK = "monitor-network.png";
public static final String CHURCH = "church.png";
public static final String POSTAGE_STAMP__EXCLAMATION = "postage-stamp--exclamation.png";
public static final String BROOM__MINUS = "broom--minus.png";
public static final String IMAGE_IMPORT = "image-import.png";
public static final String ARROW_RETURN_270_LEFT = "arrow-return-270-left.png";
public static final String PENCIL_PROHIBITION = "pencil-prohibition.png";
public static final String BOX_MEDIUM = "box-medium.png";
public static final String DISK_RETURN_BLACK = "disk-return-black.png";
public static final String EXTERNAL = "external.png";
public static final String MEDAL_RED_PREMIUM = "medal-red-premium.png";
public static final String CALCULATOR_GRAY = "calculator-gray.png";
public static final String UI_COLOR_PICKER_TRANSPARENT = "ui-color-picker-transparent.png";
public static final String DOCUMENT_WORD_TEXT = "document-word-text.png";
public static final String SHOE__MINUS = "shoe--minus.png";
public static final String IMAGE_SMALL = "image-small.png";
public static final String GLOBE_SHARE = "globe-share.png";
public static final String PRICE_TAG__ARROW = "price-tag--arrow.png";
public static final String CIGARETTE_PROHIBITION = "cigarette-prohibition.png";
public static final String DOCUMENT_SMALL = "document-small.png";
public static final String TABLE_SELECT_COLUMN = "table-select-column.png";
public static final String REPORT = "report.png";
public static final String DISKS_BLACK = "disks-black.png";
public static final String BLUE_DOCUMENT_POWERPOINT = "blue-document-powerpoint.png";
public static final String SLIDE__PLUS = "slide--plus.png";
public static final String HAND_SHAKE = "hand-shake.png";
public static final String SORT_DATE = "sort-date.png";
public static final String EDIT_SIZE_DOWN = "edit-size-down.png";
public static final String ZONE_MEDIUM = "zone-medium.png";
public static final String DRAWER_OPEN = "drawer-open.png";
public static final String TABLE_SELECT = "table-select.png";
public static final String ARROW_RESIZE = "arrow-resize.png";
public static final String BOARD_GAME = "board-game.png";
public static final String ZODIAC = "zodiac.png";
public static final String BATTERY_CHARGE = "battery-charge.png";
public static final String PICTURE__EXCLAMATION = "picture--exclamation.png";
public static final String ZODIAC_LIBRA = "zodiac-libra.png";
public static final String WATER = "water.png";
public static final String ARROW_BRANCH_180_LEFT = "arrow-branch-180-left.png";
public static final String APPLICATION_RESIZE_FULL = "application-resize-full.png";
public static final String BLUE_FOLDERS = "blue-folders.png";
public static final String LEAF__PENCIL = "leaf--pencil.png";
public static final String FUNNEL__PLUS = "funnel--plus.png";
public static final String SCRIPT_ATTRIBUTE_F = "script-attribute-f.png";
public static final String FOLDER_HORIZONTAL = "folder-horizontal.png";
public static final String WALLET__ARROW = "wallet--arrow.png";
public static final String RULER = "ruler.png";
public static final String MAIL_REPLY_ALL = "mail-reply-all.png";
public static final String TICKET_STUB = "ticket-stub.png";
public static final String APPLICATION_DOCK_TAB = "application-dock-tab.png";
public static final String MONEY__ARROW = "money--arrow.png";
public static final String BANK__EXCLAMATION = "bank--exclamation.png";
public static final String CUP__EXCLAMATION = "cup--exclamation.png";
public static final String UI_SLIDER_100 = "ui-slider-100.png";
public static final String TABLE_INSERT_COLUMN = "table-insert-column.png";
public static final String SLIDES_STACK = "slides-stack.png";
public static final String PLUS_BUTTON = "plus-button.png";
public static final String BRIGHTNESS_CONTROL_UP = "brightness-control-up.png";
public static final String LAYERS = "layers.png";
public static final String BLUE_DOCUMENT_SMALL_LIST = "blue-document-small-list.png";
public static final String SCISSORS__MINUS = "scissors--minus.png";
public static final String LIFEBUOY__ARROW = "lifebuoy--arrow.png";
public static final String BEAN__MINUS = "bean--minus.png";
public static final String FUNNEL__PENCIL = "funnel--pencil.png";
public static final String NODE_SELECT_ALL = "node-select-all.png";
public static final String CASSETTE__EXCLAMATION = "cassette--exclamation.png";
public static final String EDIT_SYMBOL = "edit-symbol.png";
public static final String LAYERS_STACK_ARRANGE_BACK = "layers-stack-arrange-back.png";
public static final String EDIT_STYLE = "edit-style.png";
public static final String FOLDER_OPEN_DOCUMENT_TEXT = "folder-open-document-text.png";
public static final String HEADPHONE__PLUS = "headphone--plus.png";
public static final String EXCLAMATION = "exclamation.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_F = "blue-document-attribute-f.png";
public static final String BLUE_FOLDER_SMALL = "blue-folder-small.png";
public static final String LAYER__ARROW = "layer--arrow.png";
public static final String NEWSPAPER__PLUS = "newspaper--plus.png";
public static final String CLIPBOARD_PASTE_IMAGE = "clipboard-paste-image.png";
public static final String APPLICATION_ICON_LARGE = "application-icon-large.png";
public static final String HOME__ARROW = "home--arrow.png";
public static final String CROWN__ARROW = "crown--arrow.png";
public static final String USER_GRAY_FEMALE = "user-gray-female.png";
public static final String MAIL_AT_SIGN = "mail-at-sign.png";
public static final String BLUE_FOLDER_STAND = "blue-folder-stand.png";
public static final String CLAPPERBOARD__EXCLAMATION = "clapperboard--exclamation.png";
public static final String CAKE_PLAIN = "cake-plain.png";
public static final String QUILL__PLUS = "quill--plus.png";
public static final String CREDIT_CARDS = "credit-cards.png";
public static final String UI_SPACER = "ui-spacer.png";
public static final String PIN = "pin.png";
public static final String CHOCOLATE_HEART = "chocolate-heart.png";
public static final String HEART__EXCLAMATION = "heart--exclamation.png";
public static final String CUTLERY_SPOON = "cutlery-spoon.png";
public static final String COMPASS__ARROW = "compass--arrow.png";
public static final String BRIGHTNESS_SMALL = "brightness-small.png";
public static final String SORT_NUMBER_DESCENDING = "sort-number-descending.png";
public static final String MONITOR_PROTECTOR = "monitor-protector.png";
public static final String EDIT_SMALL_CAPS = "edit-small-caps.png";
public static final String RADIO__PENCIL = "radio--pencil.png";
public static final String MAIL__ARROW = "mail--arrow.png";
public static final String BLUE_DOCUMENT_PHOTOSHOP_IMAGE = "blue-document-photoshop-image.png";
public static final String CAR__PENCIL = "car--pencil.png";
public static final String MAIL_FORWARD = "mail-forward.png";
public static final String TABLE__ARROW = "table--arrow.png";
public static final String GUIDE = "guide.png";
public static final String FILM__EXCLAMATION = "film--exclamation.png";
public static final String BEAKER__ARROW = "beaker--arrow.png";
public static final String APPLICATION_TILE_VERTICAL = "application-tile-vertical.png";
public static final String ENVELOPE_LABEL = "envelope-label.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_R = "blue-document-attribute-r.png";
public static final String DOCUMENT_BRAILLE = "document-braille.png";
public static final String DESKTOP_EMPTY = "desktop-empty.png";
public static final String TRAFFIC_LIGHT__EXCLAMATION = "traffic-light--exclamation.png";
public static final String METRONOME__PENCIL = "metronome--pencil.png";
public static final String USER__PLUS = "user--plus.png";
public static final String BLUE_DOCUMENT_SHARE = "blue-document-share.png";
public static final String CALENDAR_MONTH = "calendar-month.png";
public static final String USER_THIEF_FEMALE = "user-thief-female.png";
public static final String SORT_ALPHABET_DESCENDING = "sort-alphabet-descending.png";
public static final String ZODIAC_GEMINI = "zodiac-gemini.png";
public static final String TELEVISION__EXCLAMATION = "television--exclamation.png";
public static final String DOCUMENT_LIST = "document-list.png";
public static final String MILESTONE_CALENDAR = "milestone-calendar.png";
public static final String ALARM_CLOCK_SELECT = "alarm-clock-select.png";
public static final String PRESENT__PENCIL = "present--pencil.png";
public static final String SQL_JOIN_INNER = "sql-join-inner.png";
public static final String UI_COMBO_BOX_CALENDAR = "ui-combo-box-calendar.png";
public static final String LAYER_SHAPE_ELLIPSE = "layer-shape-ellipse.png";
public static final String TARGET = "target.png";
public static final String DIRECTION__MINUS = "direction--minus.png";
public static final String MAIL_FORWARD_ALL = "mail-forward-all.png";
public static final String BLOG_POSTEROUS = "blog-posterous.png";
public static final String SPORT_FOOTBALL = "sport-football.png";
public static final String PROCESSOR_BIT_016 = "processor-bit-016.png";
public static final String IMAGE_SATURATION_UP = "image-saturation-up.png";
public static final String BOOK__EXCLAMATION = "book--exclamation.png";
public static final String NOTIFICATION_COUNTER_20_PLUS = "notification-counter-20-plus.png";
public static final String PIPETTE__PENCIL = "pipette--pencil.png";
public static final String BLUE_DOCUMENT_BROKEN = "blue-document-broken.png";
public static final String AUCTION_HAMMER__MINUS = "auction-hammer--minus.png";
public static final String REGULAR_EXPRESSION = "regular-expression.png";
public static final String MAGNIFIER__PENCIL = "magnifier--pencil.png";
public static final String MEDIA_PLAYER_XSMALL_BLACK = "media-player-xsmall-black.png";
public static final String MAIL__PLUS = "mail--plus.png";
public static final String PAINT_TUBE_COLOR = "paint-tube-color.png";
public static final String RECEIPT_MEDIUM = "receipt-medium.png";
public static final String TELEPHONE_OFF = "telephone-off.png";
public static final String SCANNER_OFF = "scanner-off.png";
public static final String BINOCULAR__PENCIL = "binocular--pencil.png";
public static final String PAINT_TUBE__MINUS = "paint-tube--minus.png";
public static final String UI_COMBO_BOX_BLUE = "ui-combo-box-blue.png";
public static final String TELEPHONE_HANDSET = "telephone-handset.png";
public static final String BEAKER = "beaker.png";
public static final String HAMMER = "hammer.png";
public static final String EXCLAMATION_RED_FRAME = "exclamation-red-frame.png";
public static final String SCRIPT_EXCEL = "script-excel.png";
public static final String UI_TEXT_FIELD_SMALL_SELECT = "ui-text-field-small-select.png";
public static final String BEAN_SMALL_GREEN = "bean-small-green.png";
public static final String BIN__PLUS = "bin--plus.png";
public static final String FOLDER_IMPORT = "folder-import.png";
public static final String CROSS_WHITE = "cross-white.png";
public static final String CAR_TAXI = "car-taxi.png";
public static final String DOOR__PLUS = "door--plus.png";
public static final String UI_TAB_BOTTOM = "ui-tab-bottom.png";
public static final String CHEVRON_EXPAND = "chevron-expand.png";
public static final String LEAF__EXCLAMATION = "leaf--exclamation.png";
public static final String PROCESSOR_CLOCK = "processor-clock.png";
public static final String MICROPHONE__ARROW = "microphone--arrow.png";
public static final String SERVER = "server.png";
public static final String TELEVISION_MEDIUM = "television-medium.png";
public static final String CONTROL_SKIP_180_SMALL = "control-skip-180-small.png";
public static final String ICE_CREAM_SPRINKLES = "ice-cream-sprinkles.png";
public static final String STICKY_NOTE_TEXT = "sticky-note-text.png";
public static final String TAG__MINUS = "tag--minus.png";
public static final String FLAG_WHITE = "flag-white.png";
public static final String FUNNEL__ARROW = "funnel--arrow.png";
public static final String BOX_RESIZE_ACTUAL = "box-resize-actual.png";
public static final String EDIT_LIST_ORDER = "edit-list-order.png";
public static final String ARROW_CURVE_180_DOUBLE = "arrow-curve-180-double.png";
public static final String BALLOONS_BOX = "balloons-box.png";
public static final String ZODIAC_CAPRICORN = "zodiac-capricorn.png";
public static final String SORT__MINUS = "sort--minus.png";
public static final String BORDER_DRAW = "border-draw.png";
public static final String GLOBE_PLACE = "globe-place.png";
public static final String IMAGE__MINUS = "image--minus.png";
public static final String NOTIFICATION_COUNTER_18 = "notification-counter-18.png";
public static final String FOLDER_SMILEY_SAD = "folder-smiley-sad.png";
public static final String UI_COMBO_BOX_EDIT = "ui-combo-box-edit.png";
public static final String DISC__ARROW = "disc--arrow.png";
public static final String ALARM_CLOCK__ARROW = "alarm-clock--arrow.png";
public static final String UI_SCROLL_PANE_FORM = "ui-scroll-pane-form.png";
public static final String ARROW_STOP_180 = "arrow-stop-180.png";
public static final String DISC_BLUE = "disc-blue.png";
public static final String SMILEY_ROLL_SWEAT = "smiley-roll-sweat.png";
public static final String UI_TAB__MINUS = "ui-tab--minus.png";
public static final String BORDER_LEFT = "border-left.png";
public static final String DISC_SMALL = "disc-small.png";
public static final String CALENDAR__PLUS = "calendar--plus.png";
public static final String SYSTEM_MONITOR = "system-monitor.png";
public static final String BORDER_VERTICAL_ALL = "border-vertical-all.png";
public static final String LAYOUT_JOIN = "layout-join.png";
public static final String TRAIN__ARROW = "train--arrow.png";
public static final String WRAP_BEHIND = "wrap-behind.png";
public static final String COMPASS__PLUS = "compass--plus.png";
public static final String SCREWDRIVER__ARROW = "screwdriver--arrow.png";
public static final String IMAGE_RESIZE = "image-resize.png";
public static final String BLUE_DOCUMENT_FILM = "blue-document-film.png";
public static final String PDA__EXCLAMATION = "pda--exclamation.png";
public static final String STAR__PENCIL = "star--pencil.png";
public static final String DESKTOP_NETWORK = "desktop-network.png";
public static final String BLUE_DOCUMENT_NUMBER_0 = "blue-document-number-0.png";
public static final String BLUE_DOCUMENT_HORIZONTAL_TEXT = "blue-document-horizontal-text.png";
public static final String PAPER_LANTERN_REPAST_RED = "paper-lantern-repast-red.png";
public static final String ZODIAC_LEO = "zodiac-leo.png";
public static final String SCRIPT_ATTRIBUTE_U = "script-attribute-u.png";
public static final String TAG_MEDIUM = "tag-medium.png";
public static final String MONEY_COIN = "money-coin.png";
public static final String TICK_CIRCLE_FRAME = "tick-circle-frame.png";
public static final String HIGHLIGHTER__ARROW = "highlighter--arrow.png";
public static final String LOCALE = "locale.png";
public static final String ARROW_TRANSITION = "arrow-transition.png";
public static final String ARROW_BRANCH_090_LEFT = "arrow-branch-090-left.png";
public static final String CLIPBOARD_PASTE_DOCUMENT_TEXT = "clipboard-paste-document-text.png";
public static final String DOCUMENT_ATTRIBUTE_P = "document-attribute-p.png";
public static final String WALL__ARROW = "wall--arrow.png";
public static final String SCISSORS__PENCIL = "scissors--pencil.png";
public static final String BLUE_DOCUMENT_NUMBER = "blue-document-number.png";
public static final String VALIDATION_INVALID_DOCUMENT = "validation-invalid-document.png";
public static final String CAMCORDER__MINUS = "camcorder--minus.png";
public static final String UI_SPLIT_PANEL_VERTICAL = "ui-split-panel-vertical.png";
public static final String EXCLAMATION_SHIELD_FRAME = "exclamation-shield-frame.png";
public static final String IMAGES_FLICKR = "images-flickr.png";
public static final String RECEIPT_SHARE = "receipt-share.png";
public static final String MAIL = "mail.png";
public static final String BALLOON_BUZZ = "balloon-buzz.png";
public static final String EXTERNAL_SMALL = "external-small.png";
public static final String BOX__PENCIL = "box--pencil.png";
public static final String MEDIA_PLAYER_XSMALL = "media-player-xsmall.png";
public static final String GRADIENT_SMALL = "gradient-small.png";
public static final String SWITCH__ARROW = "switch--arrow.png";
public static final String LAYER_SELECT_POINT = "layer-select-point.png";
public static final String USER_GRAY = "user-gray.png";
public static final String CAMERA__PENCIL = "camera--pencil.png";
public static final String LANGUAGE = "language.png";
public static final String SCRIPT = "script.png";
public static final String SCRIPT__ARROW = "script--arrow.png";
public static final String TAG__ARROW = "tag--arrow.png";
public static final String LIGHTNING_SMALL = "lightning-small.png";
public static final String FOLDER__PENCIL = "folder--pencil.png";
public static final String CAKE__ARROW = "cake--arrow.png";
public static final String DOCUMENT_ATTRIBUTE_V = "document-attribute-v.png";
public static final String BLUE_DOCUMENTS_STACK = "blue-documents-stack.png";
public static final String ARROW = "arrow.png";
public static final String EDIT_PILCROW = "edit-pilcrow.png";
public static final String APPLICATION_SEARCH_RESULT = "application-search-result.png";
public static final String SMILEY_SLIM = "smiley-slim.png";
public static final String ARROW_CONTINUE_180_TOP = "arrow-continue-180-top.png";
public static final String MEDIA_PLAYER_SMALL_RED = "media-player-small-red.png";
public static final String ARROW_TURN_180 = "arrow-turn-180.png";
public static final String BORDER_ALL = "border-all.png";
public static final String MAP__EXCLAMATION = "map--exclamation.png";
public static final String UI_SCROLL_PANE_BLOCK = "ui-scroll-pane-block.png";
public static final String AT_SIGN_SMALL = "at-sign-small.png";
public static final String SCRIPT_ATTRIBUTE_Q = "script-attribute-q.png";
public static final String ZONES = "zones.png";
public static final String BANK = "bank.png";
public static final String PIPETTE = "pipette.png";
public static final String GLASS__EXCLAMATION = "glass--exclamation.png";
public static final String CHEQUE_SIGN = "cheque-sign.png";
public static final String MAHJONG__EXCLAMATION = "mahjong--exclamation.png";
public static final String LAYERS_ALIGNMENT_MIDDLE = "layers-alignment-middle.png";
public static final String USER_WORKER_BOSS = "user-worker-boss.png";
public static final String SOAP_HEADER = "soap-header.png";
public static final String PIPETTE_COLOR = "pipette-color.png";
public static final String SCISSORS = "scissors.png";
public static final String BELL_SMALL = "bell-small.png";
public static final String INFORMATION_SMALL = "information-small.png";
public static final String TELEPHONE_HANDSET_PROHIBITION = "telephone-handset-prohibition.png";
public static final String DOCUMENT_IMAGE = "document-image.png";
public static final String GLASS__PLUS = "glass--plus.png";
public static final String UMBRELLA__MINUS = "umbrella--minus.png";
public static final String TELEPHONE_NETWORK = "telephone-network.png";
public static final String SOCKET = "socket.png";
public static final String ZONE = "zone.png";
public static final String QUESTION_SHIELD = "question-shield.png";
public static final String BEAN__PLUS = "bean--plus.png";
public static final String FOLDER_NETWORK_HORIZONTAL_OPEN = "folder-network-horizontal-open.png";
public static final String SERVERS = "servers.png";
public static final String DOCUMENT_NODE = "document-node.png";
public static final String BALLOON_LEFT = "balloon-left.png";
public static final String GRID_SMALL = "grid-small.png";
public static final String NEWSPAPER__PENCIL = "newspaper--pencil.png";
public static final String PALETTE_PAINT_BRUSH = "palette-paint-brush.png";
public static final String WEATHER = "weather.png";
public static final String BEAKER__MINUS = "beaker--minus.png";
public static final String ARROW_SPLIT = "arrow-split.png";
public static final String BOOK__ARROW = "book--arrow.png";
public static final String TAG_LABEL_RED = "tag-label-red.png";
public static final String PLAYING_CARD__PLUS = "playing-card--plus.png";
public static final String UI_TAB_CONTENT_VERTICAL = "ui-tab-content-vertical.png";
public static final String CHAIN__MINUS = "chain--minus.png";
public static final String BOOKMARK__PLUS = "bookmark--plus.png";
public static final String EDIT_ALIGNMENT_RIGHT = "edit-alignment-right.png";
public static final String CONTROL_DOUBLE_180_SMALL = "control-double-180-small.png";
public static final String DRIVE_DISC = "drive-disc.png";
public static final String SPEAKER__PENCIL = "speaker--pencil.png";
public static final String MEDIA_PLAYER_MEDIUM_RED = "media-player-medium-red.png";
public static final String JAR__ARROW = "jar--arrow.png";
public static final String TICKET__PLUS = "ticket--plus.png";
public static final String MUSIC_BEAM_16 = "music-beam-16.png";
public static final String UMBRELLA = "umbrella.png";
public static final String PLUS_SMALL_WHITE = "plus-small-white.png";
public static final String INBOX__MINUS = "inbox--minus.png";
public static final String EDIT_LANGUAGE = "edit-language.png";
public static final String NOTIFICATION_COUNTER_17 = "notification-counter-17.png";
public static final String GEOTAG_SMALL = "geotag-small.png";
public static final String FUNNEL_SMALL = "funnel-small.png";
public static final String UI_SLIDER_VERTICAL_100 = "ui-slider-vertical-100.png";
public static final String LAYOUT_HEADER_2_EQUAL = "layout-header-2-equal.png";
public static final String KEY__ARROW = "key--arrow.png";
public static final String LIGHT_BULB__MINUS = "light-bulb--minus.png";
public static final String WRENCH = "wrench.png";
public static final String NAVIGATION_180_BUTTON = "navigation-180-button.png";
public static final String NETWORK_IP = "network-ip.png";
public static final String FLAG__PENCIL = "flag--pencil.png";
public static final String NOTIFICATION_COUNTER_05 = "notification-counter-05.png";
public static final String WEATHER_SNOW_LITTLE = "weather-snow-little.png";
public static final String XFN_FRIEND = "xfn-friend.png";
public static final String FOOTPRINTS = "footprints.png";
public static final String VALIDATION_VALID_DOCUMENT = "validation-valid-document.png";
public static final String CONTROL_090 = "control-090.png";
public static final String PIANO__PLUS = "piano--plus.png";
public static final String CALENDAR__PENCIL = "calendar--pencil.png";
public static final String ARROW_STOP_270 = "arrow-stop-270.png";
public static final String UI_TOOLTIP = "ui-tooltip.png";
public static final String INBOX__EXCLAMATION = "inbox--exclamation.png";
public static final String STAMP__EXCLAMATION = "stamp--exclamation.png";
public static final String IMAGE__EXCLAMATION = "image--exclamation.png";
public static final String INFOCARD = "infocard.png";
public static final String ARROW_SKIP_180 = "arrow-skip-180.png";
public static final String ENVELOPE__PLUS = "envelope--plus.png";
public static final String DOCUMENT__PLUS = "document--plus.png";
public static final String EXCLAMATION_DIAMOND_FRAME = "exclamation-diamond-frame.png";
public static final String FLASK__MINUS = "flask--minus.png";
public static final String TICK_SHIELD = "tick-shield.png";
public static final String SKULL_MAD = "skull-mad.png";
public static final String USB_FLASH_DRIVE__ARROW = "usb-flash-drive--arrow.png";
public static final String MEDAL_BRONZE_RED_PREMIUM = "medal-bronze-red-premium.png";
public static final String MAP__MINUS = "map--minus.png";
public static final String CUTTER__ARROW = "cutter--arrow.png";
public static final String HOME_SMALL = "home-small.png";
public static final String PIANO__ARROW = "piano--arrow.png";
public static final String ANIMAL_PENGUIN = "animal-penguin.png";
public static final String UI_SLIDER_VERTICAL = "ui-slider-vertical.png";
public static final String LAYER_ROTATE = "layer-rotate.png";
public static final String UPLOAD = "upload.png";
public static final String FOLDER_OPEN = "folder-open.png";
public static final String MAHJONG_WHITE = "mahjong-white.png";
public static final String PROCESSOR = "processor.png";
public static final String BLUE_FOLDER_OPEN_TABLE = "blue-folder-open-table.png";
public static final String UI_SEEK_BAR_100 = "ui-seek-bar-100.png";
public static final String SMILEY_ROLL = "smiley-roll.png";
public static final String BLUE_FOLDER__PLUS = "blue-folder--plus.png";
public static final String EDIT_DIFF = "edit-diff.png";
public static final String COOKIE__ARROW = "cookie--arrow.png";
public static final String DATABASE__PENCIL = "database--pencil.png";
public static final String HEART_BREAK = "heart-break.png";
public static final String DATABASE__EXCLAMATION = "database--exclamation.png";
public static final String MAIL__PENCIL = "mail--pencil.png";
public static final String BOX_ZIPPER = "box-zipper.png";
public static final String TRAIN__EXCLAMATION = "train--exclamation.png";
public static final String BALANCE__PLUS = "balance--plus.png";
public static final String PILL = "pill.png";
public static final String LAYOUT_JOIN_VERTICAL = "layout-join-vertical.png";
public static final String SAFE__ARROW = "safe--arrow.png";
public static final String BIN_METAL = "bin-metal.png";
public static final String CREDIT_CARD_MEDIUM = "credit-card-medium.png";
public static final String ARROW_CIRCLE_315 = "arrow-circle-315.png";
public static final String EDIT_DIRECTION = "edit-direction.png";
public static final String PENCIL_BUTTON = "pencil-button.png";
public static final String CONTROL_RECORD = "control-record.png";
public static final String UI_SCROLL_PANE_LIST = "ui-scroll-pane-list.png";
public static final String TELEPHONE_FAX = "telephone-fax.png";
public static final String ENVELOPE_AT_SIGN = "envelope-at-sign.png";
public static final String BLUE_DOCUMENT_SNIPPET = "blue-document-snippet.png";
public static final String APPLICATION_TREE = "application-tree.png";
public static final String LAYER_SHAPE_POLYLINE = "layer-shape-polyline.png";
public static final String QUESTION_BUTTON = "question-button.png";
public static final String FILM__MINUS = "film--minus.png";
public static final String BLUE_DOCUMENT_EXPORT = "blue-document-export.png";
public static final String BLUE_DOCUMENT_RENAME = "blue-document-rename.png";
public static final String BLUE_DOCUMENT_MUSIC = "blue-document-music.png";
public static final String LOCK_SSL = "lock-ssl.png";
public static final String STICKY_NOTE = "sticky-note.png";
public static final String BLUE_DOCUMENTS_TEXT = "blue-documents-text.png";
public static final String MEDAL__PLUS = "medal--plus.png";
public static final String WEBCAM__EXCLAMATION = "webcam--exclamation.png";
public static final String NETWORK_HUB = "network-hub.png";
public static final String MEDIA_PLAYER_MEDIUM_BLACK = "media-player-medium-black.png";
public static final String FLASHLIGHT_SHINE = "flashlight-shine.png";
public static final String BUILDING__MINUS = "building--minus.png";
public static final String SMILEY_COOL = "smiley-cool.png";
public static final String TABLE_SELECT_ALL = "table-select-all.png";
public static final String ARROW_CIRCLE_135 = "arrow-circle-135.png";
public static final String MEGAPHONE__PENCIL = "megaphone--pencil.png";
public static final String BLUE_FOLDER_OPEN = "blue-folder-open.png";
public static final String SPEAKER__PLUS = "speaker--plus.png";
public static final String TERMINAL__MINUS = "terminal--minus.png";
public static final String KEYBOARD_SMILEY = "keyboard-smiley.png";
public static final String DRIVE__PENCIL = "drive--pencil.png";
public static final String SCRIPT_WORD = "script-word.png";
public static final String PROHIBITION_SMALL = "prohibition-small.png";
public static final String USER_GREEN = "user-green.png";
public static final String COLOR__PLUS = "color--plus.png";
public static final String CAR__MINUS = "car--minus.png";
public static final String BOOKMARK__EXCLAMATION = "bookmark--exclamation.png";
public static final String CUP_EMPTY = "cup-empty.png";
public static final String ALARM_CLOCK__PLUS = "alarm-clock--plus.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_D = "blue-document-attribute-d.png";
public static final String TICK_RED = "tick-red.png";
public static final String FEED__EXCLAMATION = "feed--exclamation.png";
public static final String SCRIPT_ATTRIBUTE_W = "script-attribute-w.png";
public static final String BLUE_FOLDER_SHARE = "blue-folder-share.png";
public static final String BLOG_BLUE = "blog-blue.png";
public static final String MUSHROOM = "mushroom.png";
public static final String TREE__MINUS = "tree--minus.png";
public static final String KEYBOARD_ENTER = "keyboard-enter.png";
public static final String DUMMY_HAPPY = "dummy-happy.png";
public static final String PAPER_BAG__EXCLAMATION = "paper-bag--exclamation.png";
public static final String CONTROL = "control.png";
public static final String PLATE = "plate.png";
public static final String STAR_SMALL_HALF = "star-small-half.png";
public static final String DOCUMENT_STICKY_NOTE = "document-sticky-note.png";
public static final String NODE_INSERT_NEXT = "node-insert-next.png";
public static final String MOLECULE = "molecule.png";
public static final String CERTIFICATE = "certificate.png";
public static final String MAGNIFIER__MINUS = "magnifier--minus.png";
public static final String PILL__PENCIL = "pill--pencil.png";
public static final String X_RAY = "x-ray.png";
public static final String TROPHY__EXCLAMATION = "trophy--exclamation.png";
public static final String UI_CHECK_BOXES = "ui-check-boxes.png";
public static final String DISK = "disk.png";
public static final String SORT_NUMBER_COLUMN = "sort-number-column.png";
public static final String CONTROL_STOP_000_SMALL = "control-stop-000-small.png";
public static final String BLUE_FOLDER_OPEN_DOCUMENT_MUSIC = "blue-folder-open-document-music.png";
public static final String LUGGAGE__PENCIL = "luggage--pencil.png";
public static final String PLUS = "plus.png";
public static final String UI_TEXT_FIELD_MEDIUM = "ui-text-field-medium.png";
public static final String NETWORK_STATUS_BUSY = "network-status-busy.png";
public static final String WEBCAM__PENCIL = "webcam--pencil.png";
public static final String SUBVERSION = "subversion.png";
public static final String DOCUMENTS_TEXT = "documents-text.png";
public static final String QUILL__ARROW = "quill--arrow.png";
public static final String MONITOR_CLOUD = "monitor-cloud.png";
public static final String LAYERS_STACK_ARRANGE = "layers-stack-arrange.png";
public static final String WEATHER_TORNADO = "weather-tornado.png";
public static final String PAINT_BRUSH__PENCIL = "paint-brush--pencil.png";
public static final String BALANCE__ARROW = "balance--arrow.png";
public static final String NETWORK_CLOUDS = "network-clouds.png";
public static final String MONITOR__ARROW = "monitor--arrow.png";
public static final String SCREWDRIVER = "screwdriver.png";
public static final String BLOG_MEDIUM = "blog-medium.png";
public static final String YIN_YANG = "yin-yang.png";
public static final String PALETTE__ARROW = "palette--arrow.png";
public static final String CONTROL_SKIP = "control-skip.png";
public static final String PAPER_PLANE__PLUS = "paper-plane--plus.png";
public static final String BURN__PLUS = "burn--plus.png";
public static final String SPEAKER_NETWORK = "speaker-network.png";
public static final String HAIKU = "haiku.png";
public static final String TOILET_MALE = "toilet-male.png";
public static final String BUILDING_HEDGE = "building-hedge.png";
public static final String EYE = "eye.png";
public static final String CASSETTE_LABEL = "cassette-label.png";
public static final String SELECTION_RESIZE_ACTUAL = "selection-resize-actual.png";
public static final String ROCKET__EXCLAMATION = "rocket--exclamation.png";
public static final String UI_STATUS_BAR_BLUE = "ui-status-bar-blue.png";
public static final String SPEAKER_VOLUME_LOW = "speaker-volume-low.png";
public static final String SWITCH_MEDIUM = "switch-medium.png";
public static final String STICKMAN_SMILEY_QUESTION = "stickman-smiley-question.png";
public static final String CAMERA_LENS = "camera-lens.png";
public static final String FOLDER_SHRED = "folder-shred.png";
public static final String UI_SLIDER_050 = "ui-slider-050.png";
public static final String PLAYING_CARD__MINUS = "playing-card--minus.png";
public static final String BLUE_DOCUMENT_MUSIC_PLAYLIST = "blue-document-music-playlist.png";
public static final String FIRE_SMALL = "fire-small.png";
public static final String MOBILE_PHONE_PROTECTOR = "mobile-phone-protector.png";
public static final String PROCESSOR_CLOCK_UP = "processor-clock-up.png";
public static final String PRESENT__EXCLAMATION = "present--exclamation.png";
public static final String POSTAGE_STAMP = "postage-stamp.png";
public static final String BLUE_DOCUMENT_SMALL = "blue-document-small.png";
public static final String OPEN_SHARE = "open-share.png";
public static final String MONITOR_WINDOW_FLOW = "monitor-window-flow.png";
public static final String CLIPBOARD_INVOICE = "clipboard-invoice.png";
public static final String MAGNIFIER_SMALL = "magnifier-small.png";
public static final String EDIT_STRIKE_DOUBLE = "edit-strike-double.png";
public static final String DATABASE_IMPORT = "database-import.png";
public static final String LAYOUT_SELECT_FOOTER = "layout-select-footer.png";
public static final String NODE_SELECT_NEXT = "node-select-next.png";
public static final String CONTROL_DOUBLE_180 = "control-double-180.png";
public static final String ARROW_JOIN_090 = "arrow-join-090.png";
public static final String DOCUMENT_HORIZONTAL = "document-horizontal.png";
public static final String COOKIE_BITE = "cookie-bite.png";
public static final String CAMERA_SMALL = "camera-small.png";
public static final String DISK_RETURN = "disk-return.png";
public static final String TABLE_RESIZE = "table-resize.png";
public static final String UI_SLIDER = "ui-slider.png";
public static final String POWER_SUPPLY = "power-supply.png";
public static final String CAMCORDER__ARROW = "camcorder--arrow.png";
public static final String GUITAR__PENCIL = "guitar--pencil.png";
public static final String VASE_EAR = "vase-ear.png";
public static final String APPLICATION_BLOG = "application-blog.png";
public static final String BREADS = "breads.png";
public static final String SORT__ARROW = "sort--arrow.png";
public static final String ARROW_090_MEDIUM = "arrow-090-medium.png";
public static final String UI_LABEL_LINK = "ui-label-link.png";
public static final String USB_FLASH_DRIVE__MINUS = "usb-flash-drive--minus.png";
public static final String MEGAPHONE__ARROW = "megaphone--arrow.png";
public static final String TICKET__PENCIL = "ticket--pencil.png";
public static final String BIN__PENCIL = "bin--pencil.png";
public static final String TELEPHONE_SHARE = "telephone-share.png";
public static final String CURSOR_QUESTION = "cursor-question.png";
public static final String RADIOACTIVITY = "radioactivity.png";
public static final String TARGET__ARROW = "target--arrow.png";
public static final String DASHBOARD__MINUS = "dashboard--minus.png";
public static final String SHOPPING_BASKET__MINUS = "shopping-basket--minus.png";
public static final String FINGERPRINT_RECOGNITION = "fingerprint-recognition.png";
public static final String ARROW_TURN_270_LEFT = "arrow-turn-270-left.png";
public static final String BORDER_TOP_BOTTOM_THICK = "border-top-bottom-thick.png";
public static final String CLIPBOARD_TASK = "clipboard-task.png";
public static final String FOLDER_STICKY_NOTE = "folder-sticky-note.png";
public static final String RUBBER_BALLOON = "rubber-balloon.png";
public static final String MAIL_REPLY = "mail-reply.png";
public static final String MEDAL_RED = "medal-red.png";
public static final String INBOX_FILM = "inbox-film.png";
public static final String CUP = "cup.png";
public static final String MONEY_BAG_DOLLAR = "money-bag-dollar.png";
public static final String STAR_HALF = "star-half.png";
public static final String NAVIGATION_180_BUTTON_WHITE = "navigation-180-button-white.png";
public static final String CHEVRON_SMALL_EXPAND = "chevron-small-expand.png";
public static final String SCRIPT_PHP = "script-php.png";
public static final String SAFE = "safe.png";
public static final String FILM = "film.png";
public static final String UI_TOOLTIP__MINUS = "ui-tooltip--minus.png";
public static final String SMILEY_SMALL = "smiley-small.png";
public static final String BLUE_DOCUMENT_NUMBER_5 = "blue-document-number-5.png";
public static final String DOCUMENT_HF_DELETE_FOOTER = "document-hf-delete-footer.png";
public static final String FLAG__MINUS = "flag--minus.png";
public static final String BLUE_DOCUMENT_STICKY_NOTE = "blue-document-sticky-note.png";
public static final String FEED_BALLOON = "feed-balloon.png";
public static final String BLUE_DOCUMENT_NUMBER_8 = "blue-document-number-8.png";
public static final String BLUE_FOLDERS_STACK = "blue-folders-stack.png";
public static final String SORT_RATING = "sort-rating.png";
public static final String PLUG = "plug.png";
public static final String MINUS_SMALL_WHITE = "minus-small-white.png";
public static final String DOCUMENT_SUB = "document-sub.png";
public static final String LAYER_SHAPE_POLYGON = "layer-shape-polygon.png";
public static final String BLUE_DOCUMENT_EPUB = "blue-document-epub.png";
public static final String BLUE_FOLDER_OPEN_SLIDE = "blue-folder-open-slide.png";
public static final String BRIGHTNESS_LOW = "brightness-low.png";
public static final String CONTROL_EJECT_SMALL = "control-eject-small.png";
public static final String LUGGAGE__EXCLAMATION = "luggage--exclamation.png";
public static final String TOOLBOX__EXCLAMATION = "toolbox--exclamation.png";
public static final String XFN_FRIEND_MET = "xfn-friend-met.png";
public static final String CALENDAR__MINUS = "calendar--minus.png";
public static final String SHOPPING_BASKET__PLUS = "shopping-basket--plus.png";
public static final String CHART__EXCLAMATION = "chart--exclamation.png";
public static final String UI_TOOLTIP__PENCIL = "ui-tooltip--pencil.png";
public static final String COLOR = "color.png";
public static final String SLIDE__PENCIL = "slide--pencil.png";
public static final String ARROW_STOP_090 = "arrow-stop-090.png";
public static final String UI_COMBO_BOXES = "ui-combo-boxes.png";
public static final String STICKMAN_RUN_DASH = "stickman-run-dash.png";
public static final String BRAIN__EXCLAMATION = "brain--exclamation.png";
public static final String COMPUTER__PENCIL = "computer--pencil.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_P = "blue-document-attribute-p.png";
public static final String HARD_HAT = "hard-hat.png";
public static final String TROPHY__ARROW = "trophy--arrow.png";
public static final String TELEVISION_TEST = "television-test.png";
public static final String TABLE_JOIN_COLUMN = "table-join-column.png";
public static final String NOTEBOOK__EXCLAMATION = "notebook--exclamation.png";
public static final String POSTAGE_STAMP__PENCIL = "postage-stamp--pencil.png";
public static final String LIGHTHOUSE_SHINE = "lighthouse-shine.png";
public static final String GIT_SMALL = "git-small.png";
public static final String OPML_SMALL = "opml-small.png";
public static final String SCISSORS_BLUE = "scissors-blue.png";
public static final String BLUE_DOCUMENT_CLOCK = "blue-document-clock.png";
public static final String MINUS_SMALL_CIRCLE = "minus-small-circle.png";
public static final String APPLICATIONS_STACK = "applications-stack.png";
public static final String THERMOMETER = "thermometer.png";
public static final String FEED__PLUS = "feed--plus.png";
public static final String SERVER_CAST = "server-cast.png";
public static final String KEY__PENCIL = "key--pencil.png";
public static final String EDIT_HYPHENATION = "edit-hyphenation.png";
public static final String MAIL__EXCLAMATION = "mail--exclamation.png";
public static final String NAVIGATION_270_WHITE = "navigation-270-white.png";
public static final String MONEY__EXCLAMATION = "money--exclamation.png";
public static final String PAPER_PLANE = "paper-plane.png";
public static final String GRADIENT = "gradient.png";
public static final String ROBOT = "robot.png";
public static final String PALETTE_MEDIUM = "palette-medium.png";
public static final String MEDAL__PENCIL = "medal--pencil.png";
public static final String BALANCE__EXCLAMATION = "balance--exclamation.png";
public static final String AUCTION_HAMMER__PENCIL = "auction-hammer--pencil.png";
public static final String CROWN__EXCLAMATION = "crown--exclamation.png";
public static final String PRINTER_SHARE = "printer-share.png";
public static final String UI_TEXT_FIELD_PASSWORD = "ui-text-field-password.png";
public static final String LIGHTNING__PENCIL = "lightning--pencil.png";
public static final String WALLET__EXCLAMATION = "wallet--exclamation.png";
public static final String PRICE_TAG__MINUS = "price-tag--minus.png";
public static final String FRUIT_GRAPE = "fruit-grape.png";
public static final String REGULAR_EXPRESSION_DELIMITER = "regular-expression-delimiter.png";
public static final String TREE_YELLOW = "tree-yellow.png";
public static final String SHOE = "shoe.png";
public static final String BLOCK__MINUS = "block--minus.png";
public static final String PAINT_BRUSH__PLUS = "paint-brush--plus.png";
public static final String EXCLAMATION_BUTTON = "exclamation-button.png";
public static final String SORT = "sort.png";
public static final String UI_SPLITTER = "ui-splitter.png";
public static final String PROJECTION_SCREEN = "projection-screen.png";
public static final String BLUE_DOCUMENT_OFFICE = "blue-document-office.png";
public static final String UI_TEXT_FIELD_HIDDEN = "ui-text-field-hidden.png";
public static final String CAUTION_BOARD = "caution-board.png";
public static final String APPLICATION = "application.png";
public static final String TABLE_SMALL = "table-small.png";
public static final String HARD_HAT__PENCIL = "hard-hat--pencil.png";
public static final String GEAR__MINUS = "gear--minus.png";
public static final String PHOTO_ALBUM_BLUE = "photo-album-blue.png";
public static final String STICKY_NOTE_SMALL_PIN = "sticky-note-small-pin.png";
public static final String HAMMER__MINUS = "hammer--minus.png";
public static final String HIGHLIGHTER_TEXT = "highlighter-text.png";
public static final String DISK_SMALL_BLACK = "disk-small-black.png";
public static final String FILM__PLUS = "film--plus.png";
public static final String SCRIPT_ATTRIBUTE_G = "script-attribute-g.png";
public static final String RUBBER_BALLOONS = "rubber-balloons.png";
public static final String PICTURE__ARROW = "picture--arrow.png";
public static final String UMBRELLA__EXCLAMATION = "umbrella--exclamation.png";
public static final String TABLE_DELETE_COLUMN = "table-delete-column.png";
public static final String GENDER = "gender.png";
public static final String EDIT_PADDING_TOP = "edit-padding-top.png";
public static final String ICE_CREAM_CHOCOLATE = "ice-cream-chocolate.png";
public static final String DOCUMENT_ATTRIBUTE_F = "document-attribute-f.png";
public static final String NOTIFICATION_COUNTER_19 = "notification-counter-19.png";
public static final String APPLICATION_BLOCK = "application-block.png";
public static final String SCRIPT_SMILEY_SAD = "script-smiley-sad.png";
public static final String TASK = "task.png";
public static final String BLUE_FOLDER_NETWORK_HORIZONTAL = "blue-folder-network-horizontal.png";
public static final String BOX__EXCLAMATION = "box--exclamation.png";
public static final String CONTROL_SKIP_090_SMALL = "control-skip-090-small.png";
public static final String ZONE_RESIZE = "zone-resize.png";
public static final String ANIMAL = "animal.png";
public static final String PAINT_TUBE__PLUS = "paint-tube--plus.png";
public static final String PRINTER__PLUS = "printer--plus.png";
public static final String DOCUMENT_BOOKMARK = "document-bookmark.png";
public static final String GHOST_SMALL = "ghost-small.png";
public static final String FILL_MEDIUM = "fill-medium.png";
public static final String MARKER__MINUS = "marker--minus.png";
public static final String COMPUTER__EXCLAMATION = "computer--exclamation.png";
public static final String DOCUMENT_SMALL_LIST = "document-small-list.png";
public static final String WAFER_GOLD = "wafer-gold.png";
public static final String TRAIN__PLUS = "train--plus.png";
public static final String POINT__MINUS = "point--minus.png";
public static final String APPLICATION_SIDEBAR_LIST = "application-sidebar-list.png";
public static final String CALENDAR__EXCLAMATION = "calendar--exclamation.png";
public static final String KEYBOARD_SMALL = "keyboard-small.png";
public static final String UI_TOOLBAR = "ui-toolbar.png";
public static final String LOCK__PENCIL = "lock--pencil.png";
public static final String USER_NUDE_FEMALE = "user-nude-female.png";
public static final String NETWORK_STATUS_OFFLINE = "network-status-offline.png";
public static final String LAYOUT_SELECT_SIDEBAR = "layout-select-sidebar.png";
public static final String SPECTRUM = "spectrum.png";
public static final String HOURGLASS_SELECT = "hourglass-select.png";
public static final String BLUE_DOCUMENT_HF = "blue-document-hf.png";
public static final String UI_SCROLL_PANE_HORIZONTAL = "ui-scroll-pane-horizontal.png";
public static final String BLUE_DOCUMENT_WORD = "blue-document-word.png";
public static final String DISKS = "disks.png";
public static final String UI_SEPARATOR_LABEL = "ui-separator-label.png";
public static final String TRAFFIC_LIGHT_GREEN = "traffic-light-green.png";
public static final String SQL_JOIN_RIGHT = "sql-join-right.png";
public static final String NEWSPAPER = "newspaper.png";
public static final String TELEPHONE__MINUS = "telephone--minus.png";
public static final String FLAG_SMALL = "flag-small.png";
public static final String MEDIA_PLAYER__PENCIL = "media-player--pencil.png";
public static final String CROSS_BUTTON = "cross-button.png";
public static final String MINUS = "minus.png";
public static final String CURRENCY_DOLLAR_AUD = "currency-dollar-aud.png";
public static final String MONEY = "money.png";
public static final String UI_SCROLL_BAR = "ui-scroll-bar.png";
public static final String GEOTAG = "geotag.png";
public static final String RADAR = "radar.png";
public static final String SMILEY_KITTY = "smiley-kitty.png";
public static final String MAIL_AIR = "mail-air.png";
public static final String NODE_DELETE = "node-delete.png";
public static final String EDIT_OUTDENT_RTL = "edit-outdent-rtl.png";
public static final String ARROW_MERGE_270 = "arrow-merge-270.png";
public static final String ARROW_CURVE = "arrow-curve.png";
public static final String ARROW_RETURN_000_LEFT = "arrow-return-000-left.png";
public static final String GLOBE_NETWORK = "globe-network.png";
public static final String RECEIPT__PLUS = "receipt--plus.png";
public static final String OCCLUDER = "occluder.png";
public static final String SCRIPTS_TEXT = "scripts-text.png";
public static final String TARGET__PLUS = "target--plus.png";
public static final String SCRIPT_ATTRIBUTE_S = "script-attribute-s.png";
public static final String SPRAY_COLOR = "spray-color.png";
public static final String BINOCULAR__PLUS = "binocular--plus.png";
public static final String DOOR_OPEN_IN = "door-open-in.png";
public static final String EDIT_LOWERCASE = "edit-lowercase.png";
public static final String CUTTER = "cutter.png";
public static final String UI_BREADCRUMB = "ui-breadcrumb.png";
public static final String SHIELD__MINUS = "shield--minus.png";
public static final String MONITOR_WINDOW_3D = "monitor-window-3d.png";
public static final String USER_BUSINESS_BOSS = "user-business-boss.png";
public static final String NOTIFICATION_COUNTER_03 = "notification-counter-03.png";
public static final String SCRIPT_SMILEY = "script-smiley.png";
public static final String LAYOUT_6 = "layout-6.png";
public static final String ARROW_MERGE_180_LEFT = "arrow-merge-180-left.png";
public static final String WEB_SLICE_BALLOON = "web-slice-balloon.png";
public static final String GLOBE__MINUS = "globe--minus.png";
public static final String FILL_180 = "fill-180.png";
public static final String DOCUMENT_HF_INSERT_FOOTER = "document-hf-insert-footer.png";
public static final String APPLICATION_TABLE = "application-table.png";
public static final String COOKIE_CHOCOLATE = "cookie-chocolate.png";
public static final String GUITAR__MINUS = "guitar--minus.png";
public static final String AUCTION_HAMMER__EXCLAMATION = "auction-hammer--exclamation.png";
public static final String UI_TOOLTIP__EXCLAMATION = "ui-tooltip--exclamation.png";
public static final String BLOG__EXCLAMATION = "blog--exclamation.png";
public static final String MEDIA_PLAYER_BLACK = "media-player-black.png";
public static final String CONTROL_PAUSE = "control-pause.png";
public static final String UMBRELLA__ARROW = "umbrella--arrow.png";
public static final String CONTROL_DOUBLE_090_SMALL = "control-double-090-small.png";
public static final String EDIT_KERNING = "edit-kerning.png";
public static final String USER_MEDIUM_SILHOUETTE = "user-medium-silhouette.png";
public static final String LAYOUT_3_MIX = "layout-3-mix.png";
public static final String MAIL_OPEN_DOCUMENT_MUSIC = "mail-open-document-music.png";
public static final String BLUE_FOLDER_STICKY_NOTE = "blue-folder-sticky-note.png";
public static final String FILM_CAST = "film-cast.png";
public static final String ERASER__MINUS = "eraser--minus.png";
public static final String MEGAPHONE__MINUS = "megaphone--minus.png";
public static final String UI_SPLITTER_HORIZONTAL = "ui-splitter-horizontal.png";
public static final String TREE__PLUS = "tree--plus.png";
public static final String EDIT_SCALE = "edit-scale.png";
public static final String FOLDER_BOOKMARK = "folder-bookmark.png";
public static final String BLUE_DOCUMENT_NUMBER_6 = "blue-document-number-6.png";
public static final String SCANNER = "scanner.png";
public static final String LIFEBUOY_SMALL = "lifebuoy-small.png";
public static final String STORE__EXCLAMATION = "store--exclamation.png";
public static final String PAINT_BRUSH = "paint-brush.png";
public static final String EDIT_HEADING = "edit-heading.png";
public static final String HEADSTONE_RIP = "headstone-rip.png";
public static final String BLUE_FOLDER_OPEN_FEED = "blue-folder-open-feed.png";
public static final String ENVELOPE__PENCIL = "envelope--pencil.png";
public static final String SOAP_BODY = "soap-body.png";
public static final String DOCUMENT_ATTRIBUTE_N = "document-attribute-n.png";
public static final String POSTAGE_STAMP__MINUS = "postage-stamp--minus.png";
public static final String PLUS_WHITE = "plus-white.png";
public static final String DATABASE__ARROW = "database--arrow.png";
public static final String MOUSE__MINUS = "mouse--minus.png";
public static final String EDIT_CODE_DIVISION = "edit-code-division.png";
public static final String ARROW_BRANCH_270_LEFT = "arrow-branch-270-left.png";
public static final String TOOLBOX__PENCIL = "toolbox--pencil.png";
public static final String FILM_SMALL = "film-small.png";
public static final String BLUE_DOCUMENT_TEXT_IMAGE = "blue-document-text-image.png";
public static final String MICROFORMATS = "microformats.png";
public static final String EDIT_IMAGE_RIGHT = "edit-image-right.png";
public static final String EDIT_ALIGNMENT_JUSTIFY_DISTRIBUTE = "edit-alignment-justify-distribute.png";
public static final String LAYOUT_HF_2_EQUAL = "layout-hf-2-equal.png";
public static final String PIN__PLUS = "pin--plus.png";
public static final String LAYER_VECTOR = "layer-vector.png";
public static final String DOOR__MINUS = "door--minus.png";
public static final String EYE__MINUS = "eye--minus.png";
public static final String PLUG__PENCIL = "plug--pencil.png";
public static final String TERMINAL__ARROW = "terminal--arrow.png";
public static final String BLUE_DOCUMENT_VISUAL_STUDIO = "blue-document-visual-studio.png";
public static final String CHEQUE__MINUS = "cheque--minus.png";
public static final String SMILEY_GLASS = "smiley-glass.png";
public static final String HAMMER_LEFT = "hammer-left.png";
public static final String COMPUTER_CLOUD = "computer-cloud.png";
public static final String SOLAR_PANEL = "solar-panel.png";
public static final String SHOVEL = "shovel.png";
public static final String UPLOAD_MAC_OS = "upload-mac-os.png";
public static final String FILL_090 = "fill-090.png";
public static final String STAR_SMALL_EMPTY = "star-small-empty.png";
public static final String ERASER__ARROW = "eraser--arrow.png";
public static final String MAIL_OPEN_TABLE = "mail-open-table.png";
public static final String WRENCH__MINUS = "wrench--minus.png";
public static final String PRINTER_NETWORK = "printer-network.png";
public static final String DOCUMENT_ATTRIBUTE_B = "document-attribute-b.png";
public static final String CONTROL_STOP_270 = "control-stop-270.png";
public static final String SAFE__EXCLAMATION = "safe--exclamation.png";
public static final String WEIGHT__EXCLAMATION = "weight--exclamation.png";
public static final String INFOCARD_SMALL = "infocard-small.png";
public static final String DOCUMENT_POWERPOINT = "document-powerpoint.png";
public static final String BLUE_DOCUMENT = "blue-document.png";
public static final String APPLICATION_TEXT = "application-text.png";
public static final String ARROW_TRANSITION_180 = "arrow-transition-180.png";
public static final String COLOR__ARROW = "color--arrow.png";
public static final String CAMCORDER__PLUS = "camcorder--plus.png";
public static final String ARROW_CIRCLE_225_LEFT = "arrow-circle-225-left.png";
public static final String INBOX_DOCUMENT_MUSIC = "inbox-document-music.png";
public static final String MAP = "map.png";
public static final String JAR_LABEL = "jar-label.png";
public static final String MINUS_SMALL = "minus-small.png";
public static final String BLUE_DOCUMENT_NUMBER_1 = "blue-document-number-1.png";
public static final String TRAIN__PENCIL = "train--pencil.png";
public static final String CONTROL_180_SMALL = "control-180-small.png";
public static final String SORT_SMALL = "sort-small.png";
public static final String WATER__MINUS = "water--minus.png";
public static final String HIGHLIGHTER_SMALL = "highlighter-small.png";
public static final String FOLDERS = "folders.png";
public static final String SORT__EXCLAMATION = "sort--exclamation.png";
public static final String CALENDAR_LIST = "calendar-list.png";
public static final String PIPETTE__EXCLAMATION = "pipette--exclamation.png";
public static final String FOLDER_OPEN_IMAGE = "folder-open-image.png";
public static final String REPORT__PENCIL = "report--pencil.png";
public static final String USER_MEDICAL_FEMALE = "user-medical-female.png";
public static final String CONTROL_STOP_180 = "control-stop-180.png";
public static final String SOFA__EXCLAMATION = "sofa--exclamation.png";
public static final String BLUE_DOCUMENT_PAGE_PREVIOUS = "blue-document-page-previous.png";
public static final String SYSTEM_MONITOR__PLUS = "system-monitor--plus.png";
public static final String APPLICATION_SPLIT = "application-split.png";
public static final String MEDIA_PLAYER_XSMALL_GREEN = "media-player-xsmall-green.png";
public static final String CURRENCY_EURO = "currency-euro.png";
public static final String BAMBOOS = "bamboos.png";
public static final String USER_SMALL_FEMALE = "user-small-female.png";
public static final String MOUSE_SELECT_RIGHT = "mouse-select-right.png";
public static final String INFORMATION_FRAME = "information-frame.png";
public static final String CONTRAST_LOW = "contrast-low.png";
public static final String BLUE_FOLDER_NETWORK_HORIZONTAL_OPEN = "blue-folder-network-horizontal-open.png";
public static final String BANDAID__EXCLAMATION = "bandaid--exclamation.png";
public static final String KEY__EXCLAMATION = "key--exclamation.png";
public static final String LAYER_TRANSPARENT = "layer-transparent.png";
public static final String MAP_RESIZE = "map-resize.png";
public static final String MINUS_CIRCLE_FRAME = "minus-circle-frame.png";
public static final String CROWN__PLUS = "crown--plus.png";
public static final String PRINTER_MEDIUM = "printer-medium.png";
public static final String EDIT_PADDING_LEFT = "edit-padding-left.png";
public static final String CROSS_SMALL = "cross-small.png";
public static final String RADIO = "radio.png";
public static final String TABLE_EXCEL = "table-excel.png";
public static final String PILLOW = "pillow.png";
public static final String PLUS_SMALL = "plus-small.png";
public static final String WAND_HAT = "wand-hat.png";
public static final String CURRENCY_DOLLAR_NZD = "currency-dollar-nzd.png";
public static final String POOP_SMILEY_SAD = "poop-smiley-sad.png";
public static final String FIRE__ARROW = "fire--arrow.png";
public static final String PENCIL__PLUS = "pencil--plus.png";
public static final String LAYER__PENCIL = "layer--pencil.png";
public static final String HEART_SMALL_EMPTY = "heart-small-empty.png";
public static final String TAG_HASH = "tag-hash.png";
public static final String INFORMATION_OCTAGON = "information-octagon.png";
public static final String PRESENT__ARROW = "present--arrow.png";
public static final String CUP_TEA = "cup-tea.png";
public static final String BORDER_RIGHT = "border-right.png";
public static final String CALENDAR_SELECT_MONTH = "calendar-select-month.png";
public static final String CARDS_BIND = "cards-bind.png";
public static final String CALENDAR_DAY = "calendar-day.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_V = "blue-document-attribute-v.png";
public static final String SKULL_HAPPY = "skull-happy.png";
public static final String BLUE_DOCUMENT_VIEW = "blue-document-view.png";
public static final String NOTIFICATION_COUNTER_12 = "notification-counter-12.png";
public static final String TABLE__PLUS = "table--plus.png";
public static final String EDIT_UNDERLINE = "edit-underline.png";
public static final String SMILEY_MONEY = "smiley-money.png";
public static final String BANK__PLUS = "bank--plus.png";
public static final String GEAR__EXCLAMATION = "gear--exclamation.png";
public static final String EDIT_DECIMAL_DECREASE = "edit-decimal-decrease.png";
public static final String UI_TOOLTIP__PLUS = "ui-tooltip--plus.png";
public static final String FLOWER = "flower.png";
public static final String FOLDERS_STACK = "folders-stack.png";
public static final String CALENDAR = "calendar.png";
public static final String VISE_DRAWER = "vise-drawer.png";
public static final String APPLICATION_RESIZE_ACTUAL = "application-resize-actual.png";
public static final String DOOR_OPEN_OUT = "door-open-out.png";
public static final String COMPILE_ERROR = "compile-error.png";
public static final String NEWSPAPER__EXCLAMATION = "newspaper--exclamation.png";
public static final String INFORMATION_OCTAGON_FRAME = "information-octagon-frame.png";
public static final String NODE_SELECT_CHILD = "node-select-child.png";
public static final String CALENDAR_SHARE = "calendar-share.png";
public static final String CURSOR = "cursor.png";
public static final String FOLDER = "folder.png";
public static final String TRAFFIC_LIGHT__PLUS = "traffic-light--plus.png";
public static final String NOTIFICATION_COUNTER_16 = "notification-counter-16.png";
public static final String GUITAR__ARROW = "guitar--arrow.png";
public static final String OPENID = "openid.png";
public static final String WEATHER_CLOUD_SMALL = "weather-cloud-small.png";
public static final String DISK__MINUS = "disk--minus.png";
public static final String PHOTO_ALBUM__MINUS = "photo-album--minus.png";
public static final String CUTLERIES = "cutleries.png";
public static final String SCISSORS__ARROW = "scissors--arrow.png";
public static final String FLASK__PENCIL = "flask--pencil.png";
public static final String USER_BLACK_FEMALE = "user-black-female.png";
public static final String CLIPBOARD_TEXT = "clipboard-text.png";
public static final String LAYOUT_HF_3 = "layout-hf-3.png";
public static final String SOAP = "soap.png";
public static final String SMILEY_SAD_BLUE = "smiley-sad-blue.png";
public static final String ALARM_CLOCK__PENCIL = "alarm-clock--pencil.png";
public static final String ANDROID = "android.png";
public static final String WRAP_SQUARE = "wrap-square.png";
public static final String SCRIPT_FLASH = "script-flash.png";
public static final String CURRENCY_RUBLE = "currency-ruble.png";
public static final String COOKIE_HEART = "cookie-heart.png";
public static final String MAGNIFIER_ZOOM = "magnifier-zoom.png";
public static final String SPORT_SOCCER = "sport-soccer.png";
public static final String LAYERS_ALIGNMENT = "layers-alignment.png";
public static final String SLIDE_POWERPOINT = "slide-powerpoint.png";
public static final String QUILL = "quill.png";
public static final String UI_BREADCRUMB_SELECT = "ui-breadcrumb-select.png";
public static final String ALARM_CLOCK__EXCLAMATION = "alarm-clock--exclamation.png";
public static final String CAMERA = "camera.png";
public static final String UNIVERSAL = "universal.png";
public static final String ZODIAC_TAURUS = "zodiac-taurus.png";
public static final String ICE__PENCIL = "ice--pencil.png";
public static final String DATABASE_SQL = "database-sql.png";
public static final String LIFEBUOY__MINUS = "lifebuoy--minus.png";
public static final String DUMMY_SMALL = "dummy-small.png";
public static final String BATTERY__EXCLAMATION = "battery--exclamation.png";
public static final String CLIPBOARD = "clipboard.png";
public static final String ERASER__EXCLAMATION = "eraser--exclamation.png";
public static final String FOLDER_SMALL_HORIZONTAL = "folder-small-horizontal.png";
public static final String CAMCORDER = "camcorder.png";
public static final String TRAIN__MINUS = "train--minus.png";
public static final String SOCKET__EXCLAMATION = "socket--exclamation.png";
public static final String USER_DETECTIVE = "user-detective.png";
public static final String CAMERA__MINUS = "camera--minus.png";
public static final String PLUS_OCTAGON = "plus-octagon.png";
public static final String CROSS_SHIELD = "cross-shield.png";
public static final String DOCUMENT_ZIPPER = "document-zipper.png";
public static final String UI_CHECK_BOX_MIX = "ui-check-box-mix.png";
public static final String UI_TOOLTIP__ARROW = "ui-tooltip--arrow.png";
public static final String DOCUMENT = "document.png";
public static final String GLASS = "glass.png";
public static final String LIFEBUOY_MEDIUM = "lifebuoy-medium.png";
public static final String BLUE_DOCUMENT_STAMP = "blue-document-stamp.png";
public static final String REGULAR_EXPRESSION_SEARCH = "regular-expression-search.png";
public static final String IMAGE_RESIZE_ACTUAL = "image-resize-actual.png";
public static final String STAR = "star.png";
public static final String ARROW_SKIP = "arrow-skip.png";
public static final String BORDER_OUTSIDE = "border-outside.png";
public static final String SHOPPING_BASKET__EXCLAMATION = "shopping-basket--exclamation.png";
public static final String PIANO__MINUS = "piano--minus.png";
public static final String GEAR__PENCIL = "gear--pencil.png";
public static final String BOX_DOCUMENT = "box-document.png";
public static final String MAGNIFIER_HISTORY_LEFT = "magnifier-history-left.png";
public static final String USER_BUSINESS_GRAY_BOSS = "user-business-gray-boss.png";
public static final String WALL__PENCIL = "wall--pencil.png";
public static final String LEAF__ARROW = "leaf--arrow.png";
public static final String HOLLY = "holly.png";
public static final String BINOCULAR = "binocular.png";
public static final String LAYER__EXCLAMATION = "layer--exclamation.png";
public static final String SCRIPT__MINUS = "script--minus.png";
public static final String ARROW_CONTINUE_180 = "arrow-continue-180.png";
public static final String POINT_SILVER = "point-silver.png";
public static final String CALENDAR_IMPORT = "calendar-import.png";
public static final String BORDER_BOTTOM_THICK = "border-bottom-thick.png";
public static final String WALL_SMALL_BRICK = "wall-small-brick.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_T = "blue-document-attribute-t.png";
public static final String BRIEFCASE__EXCLAMATION = "briefcase--exclamation.png";
public static final String GEOTAG_BALLOON = "geotag-balloon.png";
public static final String ARROW_TURN_270 = "arrow-turn-270.png";
public static final String TRAFFIC_CONE__ARROW = "traffic-cone--arrow.png";
public static final String DRIVE__ARROW = "drive--arrow.png";
public static final String BATTERY_LOW = "battery-low.png";
public static final String DOCUMENT_HF_SELECT = "document-hf-select.png";
public static final String RADIOACTIVITY_DRUM = "radioactivity-drum.png";
public static final String TICKET__ARROW = "ticket--arrow.png";
public static final String MAGNIFIER_ZOOM_ACTUAL_EQUAL = "magnifier-zoom-actual-equal.png";
public static final String MEDIA_PLAYER_MEDIUM_GREEN = "media-player-medium-green.png";
public static final String APPLICATION_SIDEBAR_EXPAND = "application-sidebar-expand.png";
public static final String KEY_SOLID = "key-solid.png";
public static final String COMPASS__PENCIL = "compass--pencil.png";
public static final String BLUE_DOCUMENT_EXCEL = "blue-document-excel.png";
public static final String BORDER_DOWN = "border-down.png";
public static final String APPLICATION_PLUS = "application-plus.png";
public static final String TICK_WHITE = "tick-white.png";
public static final String CHOCOLATE_BITE = "chocolate-bite.png";
public static final String TABLE_SHARE = "table-share.png";
public static final String IMAGE__ARROW = "image--arrow.png";
public static final String PROJECTION_SCREEN__PLUS = "projection-screen--plus.png";
public static final String LAYER_FLIP_VERTICAL = "layer-flip-vertical.png";
public static final String POSTAGE_STAMP__ARROW = "postage-stamp--arrow.png";
public static final String HEADPHONE__MINUS = "headphone--minus.png";
public static final String ARROW_CONTINUE_090 = "arrow-continue-090.png";
public static final String PLUS_CIRCLE_FRAME = "plus-circle-frame.png";
public static final String HOME_FOR_SALE_SIGN_RED = "home-for-sale-sign-red.png";
public static final String MEDIA_PLAYER_MEDIUM = "media-player-medium.png";
public static final String CONTROL_STOP_270_SMALL = "control-stop-270-small.png";
public static final String HEADPHONE__PENCIL = "headphone--pencil.png";
public static final String IMAGE_BLUR = "image-blur.png";
public static final String CLOCK__PENCIL = "clock--pencil.png";
public static final String APPLICATION_RUN = "application-run.png";
public static final String BALLOONS_FACEBOOK_BOX = "balloons-facebook-box.png";
public static final String CARD_MEDIUM = "card-medium.png";
public static final String MOBILE_PHONE__ARROW = "mobile-phone--arrow.png";
public static final String ODATA_BALLOON = "odata-balloon.png";
public static final String BLUE_DOCUMENT_EPUB_TEXT = "blue-document-epub-text.png";
public static final String HARD_HAT__ARROW = "hard-hat--arrow.png";
public static final String PILLOW_GRAY = "pillow-gray.png";
public static final String STICKY_NOTES_TEXT = "sticky-notes-text.png";
public static final String CHART_PIE = "chart-pie.png";
public static final String UI_LIST_BOX = "ui-list-box.png";
public static final String APPLICATION__PENCIL = "application--pencil.png";
public static final String UI_SLIDER_VERTICAL_050 = "ui-slider-vertical-050.png";
public static final String HAND = "hand.png";
public static final String ROCKET__ARROW = "rocket--arrow.png";
public static final String SCRIPT_IMPORT = "script-import.png";
public static final String ZONE_MONEY = "zone-money.png";
public static final String MAILS_STACK = "mails-stack.png";
public static final String PIANO = "piano.png";
public static final String UI_ADDRESS_BAR_YELLOW = "ui-address-bar-yellow.png";
public static final String HEADSTONE_CROSS = "headstone-cross.png";
public static final String CLOCK_SELECT_REMAIN = "clock-select-remain.png";
public static final String BOX_RESIZE = "box-resize.png";
public static final String PLUS_SHIELD = "plus-shield.png";
public static final String BALLOON__ARROW = "balloon--arrow.png";
public static final String CAR__PLUS = "car--plus.png";
public static final String HIGHLIGHTER_COLOR = "highlighter-color.png";
public static final String BORDER_TOP_BOTTOM_DOUBLE = "border-top-bottom-double.png";
public static final String PIN__EXCLAMATION = "pin--exclamation.png";
public static final String TAG_IMPORT = "tag-import.png";
public static final String EXCLAMATION_OCTAGON_FRAME = "exclamation-octagon-frame.png";
public static final String DASHBOARD_NETWORK = "dashboard-network.png";
public static final String TAG_LABEL_PURPLE = "tag-label-purple.png";
public static final String MAHJONG__MINUS = "mahjong--minus.png";
public static final String DESKTOP_IMAGE = "desktop-image.png";
public static final String PROJECTION_SCREEN__MINUS = "projection-screen--minus.png";
public static final String TERMINAL__PLUS = "terminal--plus.png";
public static final String FEED_DOCUMENT = "feed-document.png";
public static final String EDIT_MATHEMATICS = "edit-mathematics.png";
public static final String HEART_SMALL_HALF = "heart-small-half.png";
public static final String SOCKET__PLUS = "socket--plus.png";
public static final String REPORT__PLUS = "report--plus.png";
public static final String BLOG__ARROW = "blog--arrow.png";
public static final String MONITOR__MINUS = "monitor--minus.png";
public static final String SPELL_CHECK = "spell-check.png";
public static final String DOCUMENT__MINUS = "document--minus.png";
public static final String BIN_FULL = "bin-full.png";
public static final String DATABASES_RELATION = "databases-relation.png";
public static final String BALANCE__PENCIL = "balance--pencil.png";
public static final String GLOBE_MODEL = "globe-model.png";
public static final String EQUALIZER__ARROW = "equalizer--arrow.png";
public static final String BUILDING__ARROW = "building--arrow.png";
public static final String TABLE_SELECT_ROW = "table-select-row.png";
public static final String BOOK__MINUS = "book--minus.png";
public static final String UI_SCROLL_PANE_DETAIL = "ui-scroll-pane-detail.png";
public static final String SPEAKER_VOLUME_NONE = "speaker-volume-none.png";
public static final String CROSS_SMALL_CIRCLE = "cross-small-circle.png";
public static final String TRAFFIC_CONE__MINUS = "traffic-cone--minus.png";
public static final String CARDS = "cards.png";
public static final String BLOCK = "block.png";
public static final String COMPUTER__PLUS = "computer--plus.png";
public static final String DOCUMENT_FLASH = "document-flash.png";
public static final String SCRIPT_ATTRIBUTE_R = "script-attribute-r.png";
public static final String DOCUMENT_VIEW_BOOK = "document-view-book.png";
public static final String ARROW_STEP_OVER = "arrow-step-over.png";
public static final String UI_SEARCH_FIELD = "ui-search-field.png";
public static final String WEATHER_LIGHTNING = "weather-lightning.png";
public static final String EDIT_DECIMAL = "edit-decimal.png";
public static final String MAGNIFIER__EXCLAMATION = "magnifier--exclamation.png";
public static final String CROWN_BRONZE = "crown-bronze.png";
public static final String ZONE_SELECT = "zone-select.png";
public static final String T_SHIRT_GRAY = "t-shirt-gray.png";
public static final String DOCUMENT_NUMBER_7 = "document-number-7.png";
public static final String TELEVISION_OFF = "television-off.png";
public static final String TROPHY = "trophy.png";
public static final String SYSTEM_MONITOR__MINUS = "system-monitor--minus.png";
public static final String DOCUMENT_ATTRIBUTE_Z = "document-attribute-z.png";
public static final String CHAIN__PLUS = "chain--plus.png";
public static final String PRINTER__MINUS = "printer--minus.png";
public static final String TARGET__EXCLAMATION = "target--exclamation.png";
public static final String BALLOON_FACEBOOK = "balloon-facebook.png";
public static final String LIGHT_BULB__ARROW = "light-bulb--arrow.png";
public static final String PICTURE__PLUS = "picture--plus.png";
public static final String TOGGLE = "toggle.png";
public static final String BLUE_DOCUMENT_BLOCK = "blue-document-block.png";
public static final String PUZZLE__PLUS = "puzzle--plus.png";
public static final String TABLE__PENCIL = "table--pencil.png";
public static final String MOUSE_SELECT_WHEEL = "mouse-select-wheel.png";
public static final String SAFE__MINUS = "safe--minus.png";
public static final String CHART_DOWN = "chart-down.png";
public static final String TRUCK_EMPTY = "truck-empty.png";
public static final String COLOR__EXCLAMATION = "color--exclamation.png";
public static final String BALLOON_QUOTATION = "balloon-quotation.png";
public static final String WATER__PENCIL = "water--pencil.png";
public static final String SCRIPT_GLOBE = "script-globe.png";
public static final String SQL = "sql.png";
public static final String ZONE__PLUS = "zone--plus.png";
public static final String MARKER__ARROW = "marker--arrow.png";
public static final String USER = "user.png";
public static final String UI_SCROLL_PANE_TABLE = "ui-scroll-pane-table.png";
public static final String BLUE_DOCUMENT_ACCESS = "blue-document-access.png";
public static final String ADDRESS_BOOK__MINUS = "address-book--minus.png";
public static final String SHORTCUT = "shortcut.png";
public static final String HAND_ILY = "hand-ily.png";
public static final String EDIT_SUPERSCRIPT = "edit-superscript.png";
public static final String ADDRESS_BOOK__PENCIL = "address-book--pencil.png";
public static final String TICKET__EXCLAMATION = "ticket--exclamation.png";
public static final String EDIT_ROTATE = "edit-rotate.png";
public static final String APPLICATION_MEDIUM = "application-medium.png";
public static final String PICTURE__MINUS = "picture--minus.png";
public static final String CHAIR__PLUS = "chair--plus.png";
public static final String PDA_OFF = "pda-off.png";
public static final String PROJECTION_SCREEN__PENCIL = "projection-screen--pencil.png";
public static final String ICE = "ice.png";
public static final String MUSIC_BEAM = "music-beam.png";
public static final String CHART__MINUS = "chart--minus.png";
public static final String BALLOON_SOUND = "balloon-sound.png";
public static final String APPLICATION_PLUS_BLACK = "application-plus-black.png";
public static final String FIRE_BIG = "fire-big.png";
public static final String CHEQUE__PLUS = "cheque--plus.png";
public static final String SMILEY_UPSET = "smiley-upset.png";
public static final String DISC_CASE_LABEL = "disc-case-label.png";
public static final String SERVICE_BELL__PLUS = "service-bell--plus.png";
public static final String TRUCK = "truck.png";
public static final String ARROW_TURN_090_LEFT = "arrow-turn-090-left.png";
public static final String ARROW_CURVE_270 = "arrow-curve-270.png";
public static final String DRILL__ARROW = "drill--arrow.png";
public static final String CUSHION_GRAY = "cushion-gray.png";
public static final String DISC_RENAME = "disc-rename.png";
public static final String SPEAKER__MINUS = "speaker--minus.png";
public static final String SMILEY_ZIPPER = "smiley-zipper.png";
public static final String TOOLBOX__MINUS = "toolbox--minus.png";
public static final String CHAIN_SMALL = "chain-small.png";
public static final String CAMERA_BLACK = "camera-black.png";
public static final String LAYOUT_HEADER_3_MIX = "layout-header-3-mix.png";
public static final String CALCULATOR = "calculator.png";
public static final String DOCUMENT_ATTRIBUTE_Q = "document-attribute-q.png";
public static final String BLUE_DOCUMENT_EXCEL_CSV = "blue-document-excel-csv.png";
public static final String UI_TEXT_FIELD_MEDIUM_SELECT = "ui-text-field-medium-select.png";
public static final String BLUE_FOLDER_SMALL_HORIZONTAL = "blue-folder-small-horizontal.png";
public static final String FILL_MEDIUM_090 = "fill-medium-090.png";
public static final String DOCUMENT_EPUB = "document-epub.png";
public static final String FILL_MEDIUM_270 = "fill-medium-270.png";
public static final String CALCULATOR__PENCIL = "calculator--pencil.png";
public static final String NETWORK = "network.png";
public static final String PAPER_PLANE_RETURN = "paper-plane-return.png";
public static final String SERVER_MEDIUM = "server-medium.png";
public static final String SORT_ALPHABET_COLUMN = "sort-alphabet-column.png";
public static final String VALIDATION_DOCUMENT = "validation-document.png";
public static final String LOCK__EXCLAMATION = "lock--exclamation.png";
public static final String LIGHT_BULB_SMALL = "light-bulb-small.png";
public static final String PALETTE_COLOR = "palette-color.png";
public static final String TRAFFIC_CONE = "traffic-cone.png";
public static final String EDIT_QUOTATION = "edit-quotation.png";
public static final String BLUE_FOLDER_BOOKMARK = "blue-folder-bookmark.png";
public static final String LAYOUT_HF = "layout-hf.png";
public static final String UI_TOOLBAR__ARROW = "ui-toolbar--arrow.png";
public static final String NOTIFICATION_COUNTER_09 = "notification-counter-09.png";
public static final String TARGET__MINUS = "target--minus.png";
public static final String USER_NUDE = "user-nude.png";
public static final String MICROPHONE__PLUS = "microphone--plus.png";
public static final String BORDER_DASH = "border-dash.png";
public static final String CHOCOLATE_MILK = "chocolate-milk.png";
public static final String BLUEPRINT__EXCLAMATION = "blueprint--exclamation.png";
public static final String UI_COLOR_PICKER_SWITCH = "ui-color-picker-switch.png";
public static final String USER__PENCIL = "user--pencil.png";
public static final String ARROW_SPLIT_090 = "arrow-split-090.png";
public static final String BOOKMARK_IMPORT = "bookmark-import.png";
public static final String FOLDER_SMILEY = "folder-smiley.png";
public static final String HEADPHONE__EXCLAMATION = "headphone--exclamation.png";
public static final String PAINT_BRUSH__ARROW = "paint-brush--arrow.png";
public static final String DOCUMENT_OUTLOOK = "document-outlook.png";
public static final String UI_TEXT_FIELD_FORMAT = "ui-text-field-format.png";
public static final String ZONE__EXCLAMATION = "zone--exclamation.png";
public static final String DRIVE__PLUS = "drive--plus.png";
public static final String STICKY_NOTE__ARROW = "sticky-note--arrow.png";
public static final String WAND_SMALL = "wand-small.png";
public static final String TROPHY__PLUS = "trophy--plus.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_I = "blue-document-attribute-i.png";
public static final String DOCUMENT_VIEW_THUMBNAIL = "document-view-thumbnail.png";
public static final String BANK__PENCIL = "bank--pencil.png";
public static final String CHAIN__EXCLAMATION = "chain--exclamation.png";
public static final String PAINT_CAN__EXCLAMATION = "paint-can--exclamation.png";
public static final String RADIO__PLUS = "radio--plus.png";
public static final String PDA__PLUS = "pda--plus.png";
public static final String USER_BUSINESS = "user-business.png";
public static final String UI_TOOLTIP_BALLOON_BOTTOM = "ui-tooltip-balloon-bottom.png";
public static final String MEDIA_PLAYER__MINUS = "media-player--minus.png";
public static final String BELL__MINUS = "bell--minus.png";
public static final String MAIL_OPEN = "mail-open.png";
public static final String MONITOR = "monitor.png";
public static final String ARROW_CONTINUE_090_LEFT = "arrow-continue-090-left.png";
public static final String STAR__EXCLAMATION = "star--exclamation.png";
public static final String CASSETTE__PENCIL = "cassette--pencil.png";
public static final String DRILL__PENCIL = "drill--pencil.png";
public static final String ARROW_090 = "arrow-090.png";
public static final String VALIDATION = "validation.png";
public static final String FILM_MEDIUM = "film-medium.png";
public static final String WEATHER_MOON_HALF = "weather-moon-half.png";
public static final String BLUE_FOLDER_STAMP = "blue-folder-stamp.png";
public static final String EDIT_CODE = "edit-code.png";
public static final String PALETTE__PLUS = "palette--plus.png";
public static final String INFORMATION_BALLOON = "information-balloon.png";
public static final String DOCUMENT__PENCIL = "document--pencil.png";
public static final String LUGGAGE__MINUS = "luggage--minus.png";
public static final String CONTROL_PAUSE_RECORD = "control-pause-record.png";
public static final String BRIGHTNESS_SMALL_LOW = "brightness-small-low.png";
public static final String EDIT_DIRECTION_RTL = "edit-direction-rtl.png";
public static final String HAND_PINKY = "hand-pinky.png";
public static final String BORDER_OUTSIDE_THICK = "border-outside-thick.png";
public static final String MINUS_BUTTON = "minus-button.png";
public static final String CONTROL_DOUBLE_000_SMALL = "control-double-000-small.png";
public static final String MAP__PENCIL = "map--pencil.png";
public static final String MINUS_CIRCLE = "minus-circle.png";
public static final String BOX_SHARE = "box-share.png";
public static final String ZONE_RESIZE_ACTUAL = "zone-resize-actual.png";
public static final String UI_RADIO_BUTTON = "ui-radio-button.png";
public static final String SQL_JOIN = "sql-join.png";
public static final String MAP__PLUS = "map--plus.png";
public static final String ARROW_225_MEDIUM = "arrow-225-medium.png";
public static final String SYSTEM_MONITOR_PROTECTOR = "system-monitor-protector.png";
public static final String UI_TOOLBAR__MINUS = "ui-toolbar--minus.png";
public static final String ARROW_TRANSITION_090 = "arrow-transition-090.png";
public static final String SWITCH__EXCLAMATION = "switch--exclamation.png";
public static final String DOCUMENT_NUMBER_1 = "document-number-1.png";
public static final String CONTROL_PAUSE_RECORD_SMALL = "control-pause-record-small.png";
public static final String ODATA = "odata.png";
public static final String BLUE_DOCUMENT_HORIZONTAL = "blue-document-horizontal.png";
public static final String SPRAY_MEDIUM = "spray-medium.png";
public static final String COOKIE__PLUS = "cookie--plus.png";
public static final String CAMCORDER_IMAGE = "camcorder-image.png";
public static final String BLUE_DOCUMENT_WORD_TEXT = "blue-document-word-text.png";
public static final String PAINT_BRUSH__MINUS = "paint-brush--minus.png";
public static final String EDIT_VERTICAL_ALIGNMENT_TOP = "edit-vertical-alignment-top.png";
public static final String LUGGAGE__PLUS = "luggage--plus.png";
public static final String SPECTACLE_SMALL = "spectacle-small.png";
public static final String CHART_DOWN_COLOR = "chart-down-color.png";
public static final String TABLES = "tables.png";
public static final String BLOCK_SMALL = "block-small.png";
public static final String CHEESE = "cheese.png";
public static final String OPML_DOCUMENT = "opml-document.png";
public static final String DOCUMENT_ATTRIBUTE_G = "document-attribute-g.png";
public static final String DIRECTION = "direction.png";
public static final String APPLICATION_NETWORK = "application-network.png";
public static final String WRAP = "wrap.png";
public static final String BUILDING_MEDIUM = "building-medium.png";
public static final String FOLDER_OPEN_DOCUMENT_MUSIC = "folder-open-document-music.png";
public static final String DIAMOND = "diamond.png";
public static final String ARROW_CIRCLE_DOUBLE_135 = "arrow-circle-double-135.png";
public static final String LEAF = "leaf.png";
public static final String BALLOON_PROHIBITION = "balloon-prohibition.png";
public static final String WALL__PLUS = "wall--plus.png";
public static final String SCRIPT_ATTRIBUTE = "script-attribute.png";
public static final String ARROW_SPLIT_270 = "arrow-split-270.png";
public static final String FOLDER_OPEN_TABLE = "folder-open-table.png";
public static final String WEATHER_MOON_CLOUDS = "weather-moon-clouds.png";
public static final String SPECTRUM_SMALL = "spectrum-small.png";
public static final String MONITOR_BLUE = "monitor-blue.png";
public static final String GENDER_FEMALE = "gender-female.png";
public static final String ADDRESS_BOOK_OPEN = "address-book-open.png";
public static final String EDIT_COLUMN = "edit-column.png";
public static final String MINUS_WHITE = "minus-white.png";
public static final String SPORT = "sport.png";
public static final String AUCTION_HAMMER_GAVEL = "auction-hammer-gavel.png";
public static final String USB_FLASH_DRIVE_LOGO = "usb-flash-drive-logo.png";
public static final String DATABASES = "databases.png";
public static final String BLUEPRINTS = "blueprints.png";
public static final String SCRIPT_EXPORT = "script-export.png";
public static final String SD_MEMORY_CARD = "sd-memory-card.png";
public static final String ICE_CREAM_BLUE_MOON = "ice-cream-blue-moon.png";
public static final String DOCUMENT_ILLUSTRATOR = "document-illustrator.png";
public static final String DOCUMENT_PHOTOSHOP = "document-photoshop.png";
public static final String MASK = "mask.png";
public static final String ARROW_TRANSITION_270 = "arrow-transition-270.png";
public static final String CHAIN__ARROW = "chain--arrow.png";
public static final String REPORT_PAPER = "report-paper.png";
public static final String UI_COLOR_PICKER_DEFAULT = "ui-color-picker-default.png";
public static final String INFORMATION_SMALL_WHITE = "information-small-white.png";
public static final String HOME_NETWORK = "home-network.png";
public static final String BATTERY__MINUS = "battery--minus.png";
public static final String BLUE_FOLDER_HORIZONTAL_OPEN = "blue-folder-horizontal-open.png";
public static final String XFN_COLLEAGUE_MET = "xfn-colleague-met.png";
public static final String SMILEY_MEDIUM = "smiley-medium.png";
public static final String MEGAPHONE__EXCLAMATION = "megaphone--exclamation.png";
public static final String MAC_OS = "mac-os.png";
public static final String DRESS = "dress.png";
public static final String BROOM__PENCIL = "broom--pencil.png";
public static final String CLAPPERBOARD__ARROW = "clapperboard--arrow.png";
public static final String RADIO__EXCLAMATION = "radio--exclamation.png";
public static final String STICKY_NOTE_SMALL = "sticky-note-small.png";
public static final String PAPER_BAG__MINUS = "paper-bag--minus.png";
public static final String CONTROLLER = "controller.png";
public static final String MONEYS = "moneys.png";
public static final String PILL__MINUS = "pill--minus.png";
public static final String STAMP__ARROW = "stamp--arrow.png";
public static final String MAIL_MEDIUM = "mail-medium.png";
public static final String BALLOON_FACEBOOK_LEFT = "balloon-facebook-left.png";
public static final String NOTEBOOK__MINUS = "notebook--minus.png";
public static final String MAHJONG__ARROW = "mahjong--arrow.png";
public static final String STAMP__PLUS = "stamp--plus.png";
public static final String BUG__ARROW = "bug--arrow.png";
public static final String ROAD = "road.png";
public static final String TAG_LABEL_YELLOW = "tag-label-yellow.png";
public static final String BROOM__PLUS = "broom--plus.png";
public static final String SCRIPT_ATTRIBUTE_T = "script-attribute-t.png";
public static final String TAG_LABEL_PINK = "tag-label-pink.png";
public static final String BLUE_DOCUMENT_TREE = "blue-document-tree.png";
public static final String HEART__ARROW = "heart--arrow.png";
public static final String BLUE_DOCUMENT_PHP = "blue-document-php.png";
public static final String FLASK_EMPTY = "flask-empty.png";
public static final String SCRIPTS = "scripts.png";
public static final String TAG__PLUS = "tag--plus.png";
public static final String TABLE_SPLIT_ROW = "table-split-row.png";
public static final String FLAG_BLACK = "flag-black.png";
public static final String HAND_FINGER = "hand-finger.png";
public static final String TERMINAL_MEDIUM = "terminal-medium.png";
public static final String TABLE_RESIZE_ACTUAL = "table-resize-actual.png";
public static final String EDIT_WRITING_MODE = "edit-writing-mode.png";
public static final String USER_MEDIUM_FEMALE = "user-medium-female.png";
public static final String STICKY_NOTE__EXCLAMATION = "sticky-note--exclamation.png";
public static final String MAIL_OPEN_DOCUMENT_TEXT = "mail-open-document-text.png";
public static final String HOURGLASS__ARROW = "hourglass--arrow.png";
public static final String RADIO__ARROW = "radio--arrow.png";
public static final String FOLDER_OPEN_DOCUMENT = "folder-open-document.png";
public static final String SORT_QUANTITY_DESCENDING = "sort-quantity-descending.png";
public static final String COLOR_SWATCHES = "color-swatches.png";
public static final String MOBILE_PHONE_OFF = "mobile-phone-off.png";
public static final String BLUE_DOCUMENT_LIST = "blue-document-list.png";
public static final String CONTROL_SKIP_000_SMALL = "control-skip-000-small.png";
public static final String RECEIPT_STAMP = "receipt-stamp.png";
public static final String SCRIPT_ATTRIBUTE_H = "script-attribute-h.png";
public static final String CARD__EXCLAMATION = "card--exclamation.png";
public static final String OIL_BARREL = "oil-barrel.png";
public static final String BATTERY__PENCIL = "battery--pencil.png";
public static final String LOCK_UNLOCK = "lock-unlock.png";
public static final String DOCUMENT_MOBI = "document-mobi.png";
public static final String ARROW_SPLIT_180 = "arrow-split-180.png";
public static final String BLUE_DOCUMENT_MEDIUM = "blue-document-medium.png";
public static final String LAYERS_ARRANGE_BACK = "layers-arrange-back.png";
public static final String BORDER_VERTICAL = "border-vertical.png";
public static final String MEDAL_BRONZE_PREMIUM = "medal-bronze-premium.png";
public static final String CALENDAR_SELECT_DAYS = "calendar-select-days.png";
public static final String BREAD = "bread.png";
public static final String WOODEN_BOX__ARROW = "wooden-box--arrow.png";
public static final String SLIDE__ARROW = "slide--arrow.png";
public static final String STATUS_BUSY = "status-busy.png";
public static final String TICKET_SMALL = "ticket-small.png";
public static final String NEWSPAPER__MINUS = "newspaper--minus.png";
public static final String EDIT_SUBSCRIPT = "edit-subscript.png";
public static final String SCRIPT_ATTRIBUTE_M = "script-attribute-m.png";
public static final String USER_WHITE_FEMALE = "user-white-female.png";
public static final String BLUE_DOCUMENT_SEARCH_RESULT = "blue-document-search-result.png";
public static final String BOOK_QUESTION = "book-question.png";
public static final String EDIT_IMAGE = "edit-image.png";
public static final String BUG__PENCIL = "bug--pencil.png";
public static final String MICROPHONE = "microphone.png";
public static final String ERASER_SMALL = "eraser-small.png";
public static final String WEB_SLICE = "web-slice.png";
public static final String WALLET__PLUS = "wallet--plus.png";
public static final String PAINT_CAN__PENCIL = "paint-can--pencil.png";
public static final String VALIDATION_VALID = "validation-valid.png";
public static final String APPLICATION_IMAGE = "application-image.png";
public static final String LUGGAGE__ARROW = "luggage--arrow.png";
public static final String GLOBE_MEDIUM_GREEN = "globe-medium-green.png";
public static final String UI_RADIO_BUTTON_UNCHECK = "ui-radio-button-uncheck.png";
public static final String PHOTO_ALBUM__EXCLAMATION = "photo-album--exclamation.png";
public static final String THUMB_SMALL = "thumb-small.png";
public static final String SERVER__PLUS = "server--plus.png";
public static final String SMILEY_WINK = "smiley-wink.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_L = "blue-document-attribute-l.png";
public static final String CUTTER__MINUS = "cutter--minus.png";
public static final String FLASK__EXCLAMATION = "flask--exclamation.png";
public static final String WAND__PLUS = "wand--plus.png";
public static final String UI_SCROLL_PANE_TREE = "ui-scroll-pane-tree.png";
public static final String EDIT_VERTICAL_ALIGNMENT_MIDDLE = "edit-vertical-alignment-middle.png";
public static final String BLOCK__PENCIL = "block--pencil.png";
public static final String IMAGE_SUNSET = "image-sunset.png";
public static final String EAR__PLUS = "ear--plus.png";
public static final String DRIVE_UPLOAD = "drive-upload.png";
public static final String BANDAID__PENCIL = "bandaid--pencil.png";
public static final String DOCUMENT_ATTRIBUTE_H = "document-attribute-h.png";
public static final String WATER__PLUS = "water--plus.png";
public static final String XFN_COLLEAGUE = "xfn-colleague.png";
public static final String DOCUMENT_RESIZE_ACTUAL = "document-resize-actual.png";
public static final String WAND__ARROW = "wand--arrow.png";
public static final String TRAFFIC_LIGHT__MINUS = "traffic-light--minus.png";
public static final String STICKY_NOTE__MINUS = "sticky-note--minus.png";
public static final String PROPERTY_BLUE = "property-blue.png";
public static final String TRAFFIC_LIGHT_RED = "traffic-light-red.png";
public static final String EDIT_SIGNITURE = "edit-signiture.png";
public static final String NAVIGATION_180 = "navigation-180.png";
public static final String SMILEY_EEK = "smiley-eek.png";
public static final String EQUALIZER__EXCLAMATION = "equalizer--exclamation.png";
public static final String SCRIPT_ATTRIBUTE_V = "script-attribute-v.png";
public static final String LAYOUT_HF_3_MIX = "layout-hf-3-mix.png";
public static final String SERVER__ARROW = "server--arrow.png";
public static final String BLUE_DOCUMENT__PENCIL = "blue-document--pencil.png";
public static final String WEBCAM_MEDIUM = "webcam-medium.png";
public static final String CONTRAST_SMALL_LOW = "contrast-small-low.png";
public static final String RECEIPT__ARROW = "receipt--arrow.png";
public static final String CALENDAR_BLUE = "calendar-blue.png";
public static final String FUNCTION = "function.png";
public static final String BATTERY__PLUS = "battery--plus.png";
public static final String DO_NOT_DISTURB_SIGN_PROHIBITION = "do-not-disturb-sign-prohibition.png";
public static final String SCANNER__PLUS = "scanner--plus.png";
public static final String PIGGY_BANK = "piggy-bank.png";
public static final String SCRIPT_STAMP = "script-stamp.png";
public static final String USB_FLASH_DRIVE = "usb-flash-drive.png";
public static final String SPEAKER_VOLUME_CONTROL_MUTE = "speaker-volume-control-mute.png";
public static final String STAR_EMPTY = "star-empty.png";
public static final String BUILDING_LOW = "building-low.png";
public static final String REPORT_SHARE = "report-share.png";
public static final String DRIVE = "drive.png";
public static final String MAGNET__MINUS = "magnet--minus.png";
public static final String ICE__MINUS = "ice--minus.png";
public static final String MONEY__MINUS = "money--minus.png";
public static final String BLUE_FOLDER_HORIZONTAL = "blue-folder-horizontal.png";
public static final String CHART__ARROW = "chart--arrow.png";
public static final String NAVIGATION_000_WHITE = "navigation-000-white.png";
public static final String PLAYING_CARD__ARROW = "playing-card--arrow.png";
public static final String JAR_EMPTY = "jar-empty.png";
public static final String THUMB_UP = "thumb-up.png";
public static final String MONITOR__EXCLAMATION = "monitor--exclamation.png";
public static final String SPEAKER_VOLUME_CONTROL_UP = "speaker-volume-control-up.png";
public static final String LAYER_SHAPE_ROUND = "layer-shape-round.png";
public static final String QUESTION_SMALL = "question-small.png";
public static final String SLIDE = "slide.png";
public static final String MONEY_BAG_LABEL = "money-bag-label.png";
public static final String DOCUMENT_EXPORT = "document-export.png";
public static final String SMILEY_RAZZ = "smiley-razz.png";
public static final String LEAF_YELLOW = "leaf-yellow.png";
public static final String POPCORN_EMPTY = "popcorn-empty.png";
public static final String DATABASE_SHARE = "database-share.png";
public static final String WAND_MAGIC = "wand-magic.png";
public static final String ARROW_RETWEET = "arrow-retweet.png";
public static final String LAYERS_ALIGNMENT_RIGHT = "layers-alignment-right.png";
public static final String DISCS = "discs.png";
public static final String COUNTER_COUNT = "counter-count.png";
public static final String GINGERBREAD_MAN_CHOCOLATE = "gingerbread-man-chocolate.png";
public static final String TELEPHONE__PENCIL = "telephone--pencil.png";
public static final String DRAWER__PLUS = "drawer--plus.png";
public static final String SCRIPT_ATTRIBUTE_B = "script-attribute-b.png";
public static final String BEAN__EXCLAMATION = "bean--exclamation.png";
public static final String REMOTE_CONTROL = "remote-control.png";
public static final String LUGGAGE_TAG = "luggage-tag.png";
public static final String PAPER_LANTERN = "paper-lantern.png";
public static final String CATEGORY_ITEM = "category-item.png";
public static final String PENCIL__ARROW = "pencil--arrow.png";
public static final String JAR = "jar.png";
public static final String SPECTACLE_3D = "spectacle-3d.png";
public static final String BLUE_DOCUMENT_NUMBER_9 = "blue-document-number-9.png";
public static final String STAR__ARROW = "star--arrow.png";
public static final String BELL = "bell.png";
public static final String SKULL = "skull.png";
public static final String PICTURE_SMALL_SUNSET = "picture-small-sunset.png";
public static final String SHIELD__EXCLAMATION = "shield--exclamation.png";
public static final String BLUE_DOCUMENTS = "blue-documents.png";
public static final String NAVIGATION_270 = "navigation-270.png";
public static final String PLAYING_CARD__PENCIL = "playing-card--pencil.png";
public static final String CLIPBOARD_SIGN = "clipboard-sign.png";
public static final String DOCUMENT_TASK = "document-task.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_S = "blue-document-attribute-s.png";
public static final String CARD__PLUS = "card--plus.png";
public static final String UI_TEXT_FIELD_SMALL = "ui-text-field-small.png";
public static final String LIGHT_BULB_SMALL_OFF = "light-bulb-small-off.png";
public static final String NEW_TEXT = "new-text.png";
public static final String BLUE_DOCUMENT_NUMBER_2 = "blue-document-number-2.png";
public static final String GLOBE__PLUS = "globe--plus.png";
public static final String FOLDING_FAN = "folding-fan.png";
public static final String TAG_SMALL = "tag-small.png";
public static final String NOTEBOOK = "notebook.png";
public static final String COMPASS__EXCLAMATION = "compass--exclamation.png";
public static final String EYE__ARROW = "eye--arrow.png";
public static final String INBOX = "inbox.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_N = "blue-document-attribute-n.png";
public static final String INBOX__ARROW = "inbox--arrow.png";
public static final String RECEIPT = "receipt.png";
public static final String PLATES = "plates.png";
public static final String DOCUMENT_ATTRIBUTE_E = "document-attribute-e.png";
public static final String CHOCOLATE = "chocolate.png";
public static final String TAG_EXPORT = "tag-export.png";
public static final String THERMOMETER_LOW = "thermometer-low.png";
public static final String WHEEL = "wheel.png";
public static final String SHOE__EXCLAMATION = "shoe--exclamation.png";
public static final String SCRIPT_ATTRIBUTE_K = "script-attribute-k.png";
public static final String MINUS_SHIELD = "minus-shield.png";
public static final String MILK_LABEL = "milk-label.png";
public static final String TAG_LABEL_BLACK = "tag-label-black.png";
public static final String EYE__EXCLAMATION = "eye--exclamation.png";
public static final String WOODEN_BOX_LABEL = "wooden-box-label.png";
public static final String LAYOUT_HEADER = "layout-header.png";
public static final String FILM_TIMELINE = "film-timeline.png";
public static final String DOCUMENT_HF_DELETE = "document-hf-delete.png";
public static final String APPLICATION_TERMINAL = "application-terminal.png";
public static final String HEART_SMALL = "heart-small.png";
public static final String BOX__MINUS = "box--minus.png";
public static final String PRINTER_COLOR = "printer-color.png";
public static final String APPLICATION_IMPORT = "application-import.png";
public static final String BLUE_DOCUMENT_ZIPPER = "blue-document-zipper.png";
public static final String ARROW_REPEAT = "arrow-repeat.png";
public static final String SOCKET__PENCIL = "socket--pencil.png";
public static final String UI_SCROLL_PANE = "ui-scroll-pane.png";
public static final String HARD_HAT__EXCLAMATION = "hard-hat--exclamation.png";
public static final String STICKMAN_SMILEY_LOVE = "stickman-smiley-love.png";
public static final String PDA__MINUS = "pda--minus.png";
public static final String STICKY_NOTE__PLUS = "sticky-note--plus.png";
public static final String MONEY__PLUS = "money--plus.png";
public static final String HEART_HALF = "heart-half.png";
public static final String WOODEN_BOX__PENCIL = "wooden-box--pencil.png";
public static final String FOLDER_NETWORK_HORIZONTAL = "folder-network-horizontal.png";
public static final String SORT__PENCIL = "sort--pencil.png";
public static final String TABLE_DRAW = "table-draw.png";
public static final String WRAP_THROUGH = "wrap-through.png";
public static final String SMILEY_DRAW = "smiley-draw.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_K = "blue-document-attribute-k.png";
public static final String TICK_OCTAGON = "tick-octagon.png";
public static final String SMILEY_NEUTRAL = "smiley-neutral.png";
public static final String DOCUMENT_PAGE_NEXT = "document-page-next.png";
public static final String NOTIFICATION_COUNTER_42 = "notification-counter-42.png";
public static final String PRINTER__EXCLAMATION = "printer--exclamation.png";
public static final String MEDAL = "medal.png";
public static final String WEATHER_MOON_FOG = "weather-moon-fog.png";
public static final String DRILL__EXCLAMATION = "drill--exclamation.png";
public static final String UI_CHECK_BOXES_LIST = "ui-check-boxes-list.png";
public static final String GRID = "grid.png";
public static final String ARROW_BRANCH_090 = "arrow-branch-090.png";
public static final String CHAIN_UNCHAIN = "chain-unchain.png";
public static final String SORT_DATE_DESCENDING = "sort-date-descending.png";
public static final String STICKY_NOTE__PENCIL = "sticky-note--pencil.png";
public static final String BALLOON_ELLIPSIS = "balloon-ellipsis.png";
public static final String IMAGE_SHARE = "image-share.png";
public static final String PUZZLE__MINUS = "puzzle--minus.png";
public static final String CONTROL_STOP_090 = "control-stop-090.png";
public static final String TAGS = "tags.png";
public static final String DOCUMENT_FILM = "document-film.png";
public static final String LOCALE_ALTERNATE = "locale-alternate.png";
public static final String ARROW_180_MEDIUM = "arrow-180-medium.png";
public static final String UI_TAB__ARROW = "ui-tab--arrow.png";
public static final String SORT_QUANTITY = "sort-quantity.png";
public static final String CONTROLLER_D_PAD = "controller-d-pad.png";
public static final String SMILEY_MAD = "smiley-mad.png";
public static final String TELEVISION__MINUS = "television--minus.png";
public static final String EYE_HALF = "eye-half.png";
public static final String ARROW_180 = "arrow-180.png";
public static final String CROSS_OCTAGON_FRAME = "cross-octagon-frame.png";
public static final String EDIT_REPLACE = "edit-replace.png";
public static final String SMILEY_NERD = "smiley-nerd.png";
public static final String DOCUMENT_TEXT_IMAGE = "document-text-image.png";
public static final String PAINT_CAN_COLOR = "paint-can-color.png";
public static final String ARROW_TURN_180_LEFT = "arrow-turn-180-left.png";
public static final String APPLICATION__PLUS = "application--plus.png";
public static final String CARD_EXPORT = "card-export.png";
public static final String BANK__MINUS = "bank--minus.png";
public static final String PENCIL_RULER = "pencil-ruler.png";
public static final String BEAN__ARROW = "bean--arrow.png";
public static final String LIGHTHOUSE = "lighthouse.png";
public static final String CALENDAR_SMALL_MONTH = "calendar-small-month.png";
public static final String DOCUMENT_ATTRIBUTE_X = "document-attribute-x.png";
public static final String WATER__ARROW = "water--arrow.png";
public static final String QUILL_PROHIBITION = "quill-prohibition.png";
public static final String COMPASS = "compass.png";
public static final String MAGNIFIER_ZOOM_FIT = "magnifier-zoom-fit.png";
public static final String UI_TOOLTIP_BALLOON = "ui-tooltip-balloon.png";
public static final String ARROW_CURVE_270_LEFT = "arrow-curve-270-left.png";
public static final String TASK__ARROW = "task--arrow.png";
public static final String CAMCORDER__PENCIL = "camcorder--pencil.png";
public static final String COLOR__PENCIL = "color--pencil.png";
public static final String WRENCH__ARROW = "wrench--arrow.png";
public static final String APPLICATION_TASK = "application-task.png";
public static final String SYSTEM_MONITOR_MEDIUM = "system-monitor-medium.png";
public static final String BRAIN = "brain.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE = "blue-document-attribute.png";
public static final String STATUS_OFFLINE = "status-offline.png";
public static final String BRIEFCASE__MINUS = "briefcase--minus.png";
public static final String FIRE__MINUS = "fire--minus.png";
public static final String STICKY_NOTES_PIN = "sticky-notes-pin.png";
public static final String BLUE_FOLDER_OPEN_FILM = "blue-folder-open-film.png";
public static final String UI_STATUS_BAR = "ui-status-bar.png";
public static final String SHARE_DOCUMENT = "share-document.png";
public static final String SPRAY = "spray.png";
public static final String BUG__MINUS = "bug--minus.png";
public static final String SLIDE_RESIZE = "slide-resize.png";
public static final String TRAFFIC_CONE__PENCIL = "traffic-cone--pencil.png";
public static final String BOX__ARROW = "box--arrow.png";
public static final String PRICE_TAG = "price-tag.png";
public static final String BANDAID_SMALL = "bandaid-small.png";
public static final String LAYER_SHRED = "layer-shred.png";
public static final String EDIT_IMAGE_CENTER = "edit-image-center.png";
public static final String ARROW_180_SMALL = "arrow-180-small.png";
public static final String STORE_LABEL = "store-label.png";
public static final String WEATHER_SNOWFLAKE = "weather-snowflake.png";
public static final String LAYOUT_SELECT = "layout-select.png";
public static final String REPORTS = "reports.png";
public static final String COOKIE__EXCLAMATION = "cookie--exclamation.png";
public static final String STATUS_AWAY = "status-away.png";
public static final String EDIT_FAMILY = "edit-family.png";
public static final String SMILEY_SHOCK_BLUE = "smiley-shock-blue.png";
public static final String HOURGLASS_SELECT_REMAIN = "hourglass-select-remain.png";
public static final String CHALKBOARD_TEXT = "chalkboard-text.png";
public static final String DOCUMENT_TEX = "document-tex.png";
public static final String LAYER_RESIZE_REPLICATE = "layer-resize-replicate.png";
public static final String DOCUMENT_WORD_TICK = "document-word-tick.png";
public static final String DRIVE_SMALL = "drive-small.png";
public static final String USER_SMALL = "user-small.png";
public static final String STORE_SHARE = "store-share.png";
public static final String INBOX_IMAGE = "inbox-image.png";
public static final String USER_THIEF = "user-thief.png";
public static final String MAGNIFIER_ZOOM_OUT = "magnifier-zoom-out.png";
public static final String ARROW_270_MEDIUM = "arrow-270-medium.png";
public static final String CALENDAR_SELECT_WEEK = "calendar-select-week.png";
public static final String WI_FI_ZONE = "wi-fi-zone.png";
public static final String NETWORK_WIRELESS = "network-wireless.png";
public static final String COOKIE_HEART_CHOCOLATE = "cookie-heart-chocolate.png";
public static final String TIE_WARM = "tie-warm.png";
public static final String SMILEY_CONFUSE = "smiley-confuse.png";
public static final String SITEMAP_APPLICATION = "sitemap-application.png";
public static final String RECEIPT_INVOICE = "receipt-invoice.png";
public static final String GRID_SNAP_DOT = "grid-snap-dot.png";
public static final String SCRIPT__EXCLAMATION = "script--exclamation.png";
public static final String RECEIPT__EXCLAMATION = "receipt--exclamation.png";
public static final String SPRAY__MINUS = "spray--minus.png";
public static final String MEDIA_PLAYER_CAST = "media-player-cast.png";
public static final String CONTROL_STOP_180_SMALL = "control-stop-180-small.png";
public static final String PILLS = "pills.png";
public static final String BLUE_DOCUMENT_INVOICE = "blue-document-invoice.png";
public static final String CHART_MEDIUM = "chart-medium.png";
public static final String ARROW_000_MEDIUM = "arrow-000-medium.png";
public static final String LAYERS_SMALL = "layers-small.png";
public static final String MUSIC__PLUS = "music--plus.png";
public static final String FOLDER_SEARCH_RESULT = "folder-search-result.png";
public static final String BALANCE__MINUS = "balance--minus.png";
public static final String PILL__PLUS = "pill--plus.png";
public static final String SWITCH__PLUS = "switch--plus.png";
public static final String GLOBE_SMALL_GREEN = "globe-small-green.png";
public static final String PRESENT = "present.png";
public static final String USER_FEMALE = "user-female.png";
public static final String SCREWDRIVER__PLUS = "screwdriver--plus.png";
public static final String DISC_SHARE = "disc-share.png";
public static final String SPECTACLE_LORGNETTE = "spectacle-lorgnette.png";
public static final String PAINT_BRUSH_COLOR = "paint-brush-color.png";
public static final String DOCUMENT_ATTRIBUTE = "document-attribute.png";
public static final String PAPER_BAG_RECYCLE = "paper-bag-recycle.png";
public static final String MEDAL__EXCLAMATION = "medal--exclamation.png";
public static final String LIFEBUOY__PENCIL = "lifebuoy--pencil.png";
public static final String HAIKU_WIDE = "haiku-wide.png";
public static final String LAYERS_UNGROUP = "layers-ungroup.png";
public static final String ERASER__PLUS = "eraser--plus.png";
public static final String EDIT_LIST = "edit-list.png";
public static final String MOBILE_PHONE_MEDIUM = "mobile-phone-medium.png";
public static final String BATTERY__ARROW = "battery--arrow.png";
public static final String MARKER = "marker.png";
public static final String CASSETTE__ARROW = "cassette--arrow.png";
public static final String PRINTER__PENCIL = "printer--pencil.png";
public static final String ARROW_315_SMALL = "arrow-315-small.png";
public static final String MEDIA_PLAYER_XSMALL_BLUE = "media-player-xsmall-blue.png";
public static final String DATABASE_NETWORK = "database-network.png";
public static final String DRIVE_SHARE = "drive-share.png";
public static final String ARROW_IN = "arrow-in.png";
public static final String FILM__PENCIL = "film--pencil.png";
public static final String BUILDING = "building.png";
public static final String LAYERS_ARRANGE = "layers-arrange.png";
public static final String CALCULATOR__MINUS = "calculator--minus.png";
public static final String TABLE_ROTATE = "table-rotate.png";
public static final String BRAIN_EMPTY = "brain-empty.png";
public static final String SCANNER__MINUS = "scanner--minus.png";
public static final String EQUALIZER_LOW = "equalizer-low.png";
public static final String METRONOME__MINUS = "metronome--minus.png";
public static final String COOKIE_HEART_CHOCOLATE_SPRINKLES = "cookie-heart-chocolate-sprinkles.png";
public static final String WI_FI = "wi-fi.png";
public static final String EXCLAMATION_SMALL_RED = "exclamation-small-red.png";
public static final String PRINTER_SMALL = "printer-small.png";
public static final String WEBCAM_NETWORK = "webcam-network.png";
public static final String CLOCK__ARROW = "clock--arrow.png";
public static final String MONITOR__PLUS = "monitor--plus.png";
public static final String USB_FLASH_DRIVE__PLUS = "usb-flash-drive--plus.png";
public static final String SMILEY_MR_GREEN = "smiley-mr-green.png";
public static final String USER__MINUS = "user--minus.png";
public static final String PRICE_TAG__PLUS = "price-tag--plus.png";
public static final String LAYER_SHADE = "layer-shade.png";
public static final String EDIT_NUMBER = "edit-number.png";
public static final String TELEPHONE_HANDSET_WIRE = "telephone-handset-wire.png";
public static final String DOCUMENT_CLOCK = "document-clock.png";
public static final String PIN__PENCIL = "pin--pencil.png";
public static final String PIN_SMALL = "pin-small.png";
public static final String BLUE_DOCUMENT_ATTRIBUTE_C = "blue-document-attribute-c.png";
public static final String TROPHY_SILVER = "trophy-silver.png";
public static final String ROBOT_OFF = "robot-off.png";
public static final String LIGHTNING__ARROW = "lightning--arrow.png";
public static final String SMILEY_KISS = "smiley-kiss.png";
public static final String SHOE__PENCIL = "shoe--pencil.png";
public static final String BANDAID__ARROW = "bandaid--arrow.png";
public static final String BLOG__PLUS = "blog--plus.png";
public static final String PALETTE__MINUS = "palette--minus.png";
public static final String NODE_INSERT_CHILD = "node-insert-child.png";
public static final String USER_MEDIUM = "user-medium.png";
public static final String APPLICATION_HOME = "application-home.png";
public static final String EAR_LISTEN = "ear-listen.png";
public static final String SWITCH__PENCIL = "switch--pencil.png";
public static final String FEED__MINUS = "feed--minus.png";
public static final String USER_WORKER = "user-worker.png";
public static final String CONTROL_CURSOR = "control-cursor.png";
public static final String TRAIN = "train.png";
public static final String SWITCH__MINUS = "switch--minus.png";
/**
* Get the {@link Image} from its name.
*
* @param image
* identifier
* @return an {@link Image} or <code>null</code> if the image does not exist
*/
public static Image getImage(String identifier) {
String path = _ICONS_FOLDER_ + identifier;
ImageRegistry ir = Activator.getDefault().getImageRegistry();
Image image = ir.get(path);
if (image == null) {
ImageDescriptor id = Activator.getImageDescriptor(path);
image = id.createImage();
ir.put(path, image);
}
return image;
}
/**
* Get the {@link ImageDescriptor} from its name.
*
* @param image
* identifier
* @return an {@link ImageDescriptor} or <code>null</code> if the image does not exist
*/
public static ImageDescriptor getDescriptor(String identifier){
String path = _ICONS_FOLDER_ + identifier;
return Activator.getImageDescriptor(path);
}
}
| turnus/turnus | turnus.ui/src/turnus/ui/Icon.java | Java | gpl-3.0 | 246,385 |
package org.gnubridge.core.deck;
public abstract class Trump {
@Override
public abstract String toString();
public static Trump instance(String s) {
Trump result = null;
if (NoTrump.i().toString().equalsIgnoreCase(s)) {
result = NoTrump.i();
} else if (Spades.i().toString().equalsIgnoreCase(s)) {
result = Spades.i();
} else if (Hearts.i().toString().equalsIgnoreCase(s)) {
result = Hearts.i();
} else if (Diamonds.i().toString().equalsIgnoreCase(s)) {
result = Diamonds.i();
} else if (Clubs.i().toString().equalsIgnoreCase(s)) {
result = Clubs.i();
}
return result;
}
public abstract String toDebugString();
public boolean isMajorSuit() {
return Spades.i().equals(this) || Hearts.i().equals(this);
}
public Suit asSuit() {
if (this instanceof Suit) {
return (Suit) this;
} else {
throw new RuntimeException("Trying to treat " + this + " as suit.");
}
}
public boolean isMinorSuit() {
return Diamonds.i().equals(this) || Clubs.i().equals(this);
}
public boolean isSuit() {
return isMajorSuit() || isMinorSuit();
}
public boolean isNoTrump() {
return NoTrump.i().equals(this);
}
}
| pslusarz/gnubridge | src/main/java/org/gnubridge/core/deck/Trump.java | Java | gpl-3.0 | 1,157 |
<ul class="breadcrumb">
<li><a href="/">Home</a><span class="divider">»</span></li>
<li><a href="/tools">Tools</a></li>
</ul>
<h1>Tools</h1>
<hr />
<div class="row-fluid">
<div class="span4">
<table class="table table-striped">
<thead ng-show="relations">
<tr>
<th>
Projects <span class="badge badge-info">{{(relations | filter:relations_filter).length | number}}</span>
<small ng-show="(relations | filter:relations_filter).length != relations.length" class="muted">of {{relations.length | number}}</small>
</th>
</tr>
</thead>
<tbody>
<!--Filter options-->
<tr>
<div class="well">
<input type="text" class="span12" placeholder="Search projects..." ng-model="filter_options.text" />
<br />
<label class="checkbox">
<input type="checkbox" ng-model="filter_options.only_with_plugin" />
Hide projects without GitHub plugin
</label>
</div>
</tr>
<!--Not found message-->
<tr ng-show="(relations | filter:relations_filter).length <= 0" class="info">
<td class="text-info"><i>No projects found :(</i></td>
</tr>
<!--Loading projects-->
<tr ng-hide="relations">
<td class="text-center">
<p class="lead">Loading Projects....</p>
<progress value="100" class="progress-striped active"></progress>
</td>
</tr>
<!--Projects!-->
<tr ng-show="relations" ng-repeat="relation in relations | orderBy:relations_order:true | filter:relations_filter" ng-class="{ info: (selected_relation.id == relation.id) }">
<td>
<button ng-click="relation.select()" class="btn btn-link">{{relation.project.name}}</button>
<div ng-show="relation.project.tracker_plugin" class="pull-right badge badge-info">Plugin Installed</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="span8">
<!--Show error or success messages-->
<div ng-show="tracker_plugin_alert">
<alert type="tracker_plugin_alert.type" close="tracker_plugin_alert=null">{{tracker_plugin_alert.message}}</alert>
</div>
<!--Info explaining the plugin. Only shown until you click a project-->
<div collapse="hide_info || selected_relation">
<div class="hero-unit">
<p class="lead">You can enable or disable services that allow Bountysource to automatically do a few things whenever a bounty is posted or updated</p>
<ul>
<li>add or update bounty total in issue titles</li>
<li>add a Bountysource label to GitHub issues with bounties</li>
<li>add a link to the bounty at the bottom of the issue body</li>
</ul>
<p class="lead">Here is an example of what your issues will look like on GitHub:</p>
<p>Bounty total in issue title:</p>
<img class="thumbnail" src="images/github-plugin-example.png" />
<br />
<p>Bounty link in issue body:</p>
<img class="thumbnail" src="images/github-plugin-example2.png" />
</div>
</div>
<div collapse="!selected_relation">
<div collapse="selected_relation.project.tracker_relation">
<div class="well well-large">
<!--Installing spinner action-->
<div collapse="!selected_relation.$installing_plugin" class="text-center">
<p class="lead">Installing GitHub Plugin...</p>
<progress value="100" class="progress-striped active"></progress>
</div>
<div collapse="selected_relation.$installing_plugin">
<!--Manage plugin form-->
<div ng-show="selected_relation.project.tracker_plugin">
<div>{{relation.project.tracker_plugin}}</div>
<h3>Manage {{selected_relation.project.name}}</h3>
<form class="form-horizontal">
<label class="checkbox">
<input type="checkbox" ng-model="selected_relation.project.tracker_plugin.add_bounty_to_title" />
Add bounty total to issue title
</label>
<label class="checkbox">
<input type="checkbox" ng-model="selected_relation.project.tracker_plugin.add_label" />
Add label to issues with bounties
</label>
<div style="margin-left: 20px;">
<form class="form-horizontal">
<div class="control-group">
<label class="control-label">Label Name</label>
<div class="controls">
<input class="inline" type="text" placeholder="bounty" ng-model="selected_relation.project.tracker_plugin.label_name" ng-disabled="!selected_relation.project.tracker_plugin.add_label" />
</div>
</div>
</form>
</div>
<label class="checkbox">
<input type="checkbox" ng-model="selected_relation.project.tracker_plugin.add_link_to_description" />
Include link to active bounties on issues
</label>
<label class="checkbox" style="margin-left: 20px;">
<input type="checkbox" ng-model="selected_relation.project.tracker_plugin.add_link_to_all_issues" ng-disabled="!selected_relation.project.tracker_plugin.add_link_to_description" />
Include "create bounty" link on open issues without bounties
</label>
<br />
<button class="btn btn-primary" ng-click="selected_relation.project.tracker_plugin.update()" ng-disabled="selected_relation.project.tracker_plugin.is_changed()">Save</button>
<button class="btn" ng-click="selected_relation.project.tracker_plugin.reset()" ng-disabled="selected_relation.project.tracker_plugin.is_changed()">Reset</button>
<button class="btn" ng-click="selected_relation.project.tracker_plugin.close()">Close</button>
</form>
</div>
<!--Install plugin prompt-->
<div ng-hide="selected_relation.project.tracker_plugin">
<h2>{{selected_relation.project.name}}</h2>
<p class="lead">Automatically display bounty information on GitHub issues. Install the GitHub plugin to get started!</p>
<button require-github-auth="public_repo" class="btn btn-large btn-primary" ng-click="selected_relation.install_plugin()" ng-hide="selected_relation.$hide_install_button">
<i class="icon-flag icon-white"></i>
Install GitHub Plugin
</button>
<p ng-show="selected_relation.$hide_install_button" class="text-error">{{selected_relation.$install_failed_error}}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div> | jeffrey-l-turner/frontend | app/pages/tools/tools.html | HTML | gpl-3.0 | 6,923 |
package com.pkm.command;
import org.springframework.web.multipart.MultipartFile;
public class RequestFormCommand {
private String name;
private String mobileno;
private String modelno;
private String prouducttype;
private String prouductSubtype;
private String description;
private String email;
private MultipartFile descriptionFile;
private AddressDetail address;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getMobileno() {
return mobileno;
}
public void setMobileno(String mobileno) {
this.mobileno = mobileno;
}
public String getProuducttype() {
return prouducttype;
}
public void setProuducttype(String prouducttype) {
this.prouducttype = prouducttype;
}
public String getProuductSubtype() {
return prouductSubtype;
}
public void setProuductSubtype(String prouductSubtype) {
this.prouductSubtype = prouductSubtype;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public AddressDetail getAddress() {
return address;
}
public void setAddress(AddressDetail address) {
this.address = address;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public MultipartFile getDescriptionFile() {
return descriptionFile;
}
public void setDescriptionFile(MultipartFile descriptionFile) {
this.descriptionFile = descriptionFile;
}
public String getModelno() {
return modelno;
}
public void setModelno(String modelno) {
this.modelno = modelno;
}
}
| pritam176/UAQ | SPringMVC/src/com/pkm/command/RequestFormCommand.java | Java | gpl-3.0 | 1,641 |
R
=
Various R-based Projects.
| hkaushalya/R | README.md | Markdown | gpl-3.0 | 31 |
/*
* TrainsWithConflictsPanel.java
*
* Created on 22.12.2009, 19:19:29
*/
package net.parostroj.timetable.gui.components;
import java.util.HashSet;
import java.util.Set;
import javax.swing.event.ListSelectionListener;
import net.parostroj.timetable.gui.wrappers.TrainWrapperDelegate;
import net.parostroj.timetable.gui.wrappers.Wrapper;
import net.parostroj.timetable.gui.wrappers.WrapperListModel;
import net.parostroj.timetable.model.Train;
/**
* Panel for showing trains with conflicts.
*
* @author jub
*/
public class TrainsWithConflictsPanel extends javax.swing.JPanel {
private static final long serialVersionUID = 1L;
private final WrapperListModel<Train> listModel = new WrapperListModel<Train>();
/** Creates new form TrainsWithConflictsPanel */
public TrainsWithConflictsPanel() {
initComponents();
listModel.initializeSet();
}
private Train getSelectedTrain() {
Wrapper<?> selectedValue = trainsList.getSelectedValue();
return selectedValue != null ? (Train) selectedValue.getElement() : null;
}
private void addTrainToList(Train train) {
// do nothing if the list already contains the train
if (listModel.getSetOfObjects().contains(train))
return;
// add to list
listModel.addWrapper(new Wrapper<Train>(train, new TrainWrapperDelegate(TrainWrapperDelegate.Type.NAME_AND_END_NODES_WITH_TIME, train.getDiagram().getTrainsData().getTrainComparator())));
}
public void updateSelectedTrain(Train train) {
Train selectedTrain = this.getSelectedTrain();
if (train == selectedTrain)
return;
else if (train == null) {
trainsList.getSelectionModel().clearSelection();
} else {
int index = listModel.getIndexOfObject(train);
if (index >= 0) {
trainsList.setSelectedIndex(index);
trainsList.scrollRectToVisible(trainsList.getCellBounds(index, index));
} else
trainsList.getSelectionModel().clearSelection();
}
}
public void updateAllTrains(Iterable<Train> trains) {
listModel.clear();
if (trains != null) {
for (Train train : trains) {
if (train.isConflicting()) {
this.addTrainToList(train);
}
}
}
}
public void updateTrain(Train train) {
if (train.isConflicting()) {
this.addTrainToList(train);
for (Train t : train.getConflictingTrains()) {
this.addTrainToList(t);
}
}
this.checkTrains();
}
public void refreshTrain(Train train) {
listModel.refreshObject(train);
}
public void removeTrain(Train train) {
listModel.removeObject(train);
this.checkTrains();
}
private void checkTrains() {
Set<Train> removed = null;
for (Train train : listModel.getSetOfObjects()) {
if (!train.isConflicting()) {
if (removed == null)
removed = new HashSet<Train>();
removed.add(train);
}
}
if (removed != null) {
for (Train t : removed)
listModel.removeObject(t);
}
}
public void addTrainSelectionListener(ListSelectionListener listener) {
trainsList.addListSelectionListener(listener);
}
public void removeTrainSelectionListener(ListSelectionListener listener) {
trainsList.removeListSelectionListener(listener);
}
private void initComponents() {
scrollPane = new javax.swing.JScrollPane();
trainsList = new javax.swing.JList<Wrapper<Train>>();
setLayout(new java.awt.BorderLayout());
trainsList.setModel(listModel);
trainsList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
scrollPane.setViewportView(trainsList);
add(scrollPane, java.awt.BorderLayout.CENTER);
}
private javax.swing.JScrollPane scrollPane;
private javax.swing.JList<Wrapper<Train>> trainsList;
}
| jub77/grafikon | grafikon-gui-components/src/main/java/net/parostroj/timetable/gui/components/TrainsWithConflictsPanel.java | Java | gpl-3.0 | 4,149 |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class AddGeoToUsers extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('users', function ($table) {
$table->text('address');
$table->float('latitude', 10, 7);
$table->float('longitude', 10, 7);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('users', function (Blueprint $table) {
$table->dropColumn('address');
$table->dropColumn('latitude');
$table->dropColumn('longitude');
});
}
}
| philippejadin/Mobilizator | database/migrations/2016_10_10_142354_add_geo_to_users.php | PHP | gpl-3.0 | 757 |
function newId(){
return '-' + Math.random().toString(36).substr(2, 9);
}
| VPTEAM/vpteam | pfinancial/src/main/resources/static/js/idGeneration.js | JavaScript | gpl-3.0 | 76 |
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License
// at http://www.mozilla.org/MPL/
//
// Software distributed under the License is distributed on an "AS IS"
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
// the License for the specific language governing rights and
// limitations under the License.
//
// The Original Code is RabbitMQ.
//
// The Initial Developer of the Original Code is GoPivotal, Inc.
// Copyright (c) 2007-2016 Pivotal Software, Inc. All rights reserved.
//
package com.rabbitmq.utility;
import com.rabbitmq.client.impl.AMQChannel;
/**
* This class provides a very stripped-down clone of some of the functionality in
* java.util.Timer (notably Timer.schedule(TimerTask task, long delay) but
* uses System.nanoTime() rather than System.currentTimeMillis() as a measure
* of the underlying time, and thus behaves correctly if the system clock jumps
* around.
*
* This class does not have any relation to TimerTask due to the coupling
* between TimerTask and Timer - for example if someone invokes
* TimerTask.cancel(), we can't find out about it as TimerTask.state is
* package-private.
*
* We currently just use this to time the quiescing RPC in AMQChannel.
*
* @see AMQChannel
*/
public class SingleShotLinearTimer {
private volatile Runnable _task;
private Thread _thread;
public synchronized void schedule(Runnable task, int timeoutMillisec) {
if (task == null) {
throw new IllegalArgumentException("Don't schedule a null task");
}
if (_task != null) {
throw new UnsupportedOperationException("Don't schedule more than one task");
}
if (timeoutMillisec < 0) {
throw new IllegalArgumentException("Timeout must not be negative");
}
_task = task;
_thread = new Thread(new TimerThread(timeoutMillisec));
_thread.setDaemon(true);
_thread.start();
}
private static final long NANOS_IN_MILLI = 1000 * 1000;
private class TimerThread implements Runnable {
private final long _runTime;
public TimerThread(long timeoutMillisec) {
_runTime = System.nanoTime() / NANOS_IN_MILLI + timeoutMillisec;
}
public void run() {
try {
long now;
while ((now = System.nanoTime() / NANOS_IN_MILLI) < _runTime) {
if (_task == null) break;
try {
synchronized(this) {
wait(_runTime - now);
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
}
Runnable task = _task;
if (task != null) {
task.run();
}
} finally {
_task = null;
}
}
}
public void cancel() {
_task = null;
}
}
| yanellyjm/rabbitmq-client-java | src/main/java/com/rabbitmq/utility/SingleShotLinearTimer.java | Java | gpl-3.0 | 3,262 |
QDownloadManyFiles
==================
Modification downloadmanager (qt/examples/) | WarmongeR1/QDownloadManyFiles | README.md | Markdown | gpl-3.0 | 82 |
/**
* AvaTax Brazil
* The Avatax-Brazil API exposes the most commonly services available for interacting with the AvaTax-Brazil services, allowing calculation of taxes, issuing electronic invoice documents and modifying existing transactions when allowed by tax authorities. This API is exclusively for use by business with a physical presence in Brazil.
*
* OpenAPI spec version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['ApiClient'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = factory(require('../ApiClient'));
} else {
// Browser globals (root is window)
if (!root.AvaTaxBrazil) {
root.AvaTaxBrazil = {};
}
root.AvaTaxBrazil.InlineResponse200 = factory(root.AvaTaxBrazil.ApiClient);
}
}(this, function(ApiClient) {
'use strict';
/**
* The InlineResponse200 model module.
* @module model/InlineResponse200
* @version 1.0
*/
/**
* Constructs a new <code>InlineResponse200</code>.
* @alias module:model/InlineResponse200
* @class
*/
var exports = function() {
var _this = this;
};
/**
* Constructs a <code>InlineResponse200</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/InlineResponse200} obj Optional instance to populate.
* @return {module:model/InlineResponse200} The populated <code>InlineResponse200</code> instance.
*/
exports.constructFromObject = function(data, obj) {
if (data) {
obj = obj || new exports();
if (data.hasOwnProperty('token')) {
obj['token'] = ApiClient.convertToType(data['token'], 'String');
}
if (data.hasOwnProperty('expired')) {
obj['expired'] = ApiClient.convertToType(data['expired'], 'Date');
}
}
return obj;
}
/**
* @member {String} token
*/
exports.prototype['token'] = undefined;
/**
* @member {Date} expired
*/
exports.prototype['expired'] = undefined;
return exports;
}));
| Avalara/avataxbr-clients | javascript-client/src/model/InlineResponse200.js | JavaScript | gpl-3.0 | 2,551 |
using EloBuddy;
using LeagueSharp.Common;
namespace ReformedAIO.Champions.Gragas
{
#region Using Directives
using System.Collections.Generic;
using LeagueSharp;
using LeagueSharp.Common;
#endregion
internal class Variable
{
#region Static Fields
public static Dictionary<SpellSlot, Spell> Spells = new Dictionary<SpellSlot, Spell> {
{
SpellSlot.Q,
new Spell(
SpellSlot.Q,
775f)
},
{
SpellSlot.W,
new Spell(
SpellSlot.W)
},
{
SpellSlot.E,
new Spell(
SpellSlot.E,
600f)
},
{
SpellSlot.R,
new Spell(
SpellSlot.R,
1050f)
}
};
#endregion
#region Public Properties
public static Orbwalking.Orbwalker Orbwalker { get; internal set; }
public static AIHeroClient Player => ObjectManager.Player;
#endregion
}
} | tk8226/YamiPortAIO-v2 | Core/AIO Ports/ReformedAIO/Champions/Gragas/Variable.cs | C# | gpl-3.0 | 2,488 |
#ifndef PARAMETERPOSITION_H_
#define PARAMETERPOSITION_H_
/*----------------------------------------------------------------------*\
ParameterPosition
\*----------------------------------------------------------------------*/
/* Imports: */
#include "acode.h"
#include "types.h"
#include "params.h"
/* Constants: */
/* Types: */
typedef struct ParameterPosition {
bool endOfList;
bool explicitMultiple;
bool all;
bool them;
bool checked;
Aword flags;
Parameter *parameters;
Parameter *exceptions;
} ParameterPosition;
/* Data: */
/* Functions: */
extern void uncheckAllParameterPositions(ParameterPosition parameterPositions[]);
extern void copyParameterPositions(ParameterPosition originalParameterPositions[], ParameterPosition parameterPositions[]);
extern bool equalParameterPositions(ParameterPosition parameterPositions1[], ParameterPosition parameterPositions2[]);
extern int findMultipleParameterPosition(ParameterPosition parameterPositions[]);
extern void markExplicitMultiple(ParameterPosition parameterPositions[], Parameter parameters[]);
extern void convertPositionsToParameters(ParameterPosition parameterPositions[], Parameter parameters[]);
#endif /* PARAMETERPOSITION_H_ */
| juandesant/spatterlight | terps/alan3/ParameterPosition.h | C | gpl-3.0 | 1,238 |
# Makefile.in generated by automake 1.11 from Makefile.am.
# nls/ja.SJIS/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
# -*- Makefile -*-
# Rules for generating files using the C pre-processor
# (Replaces CppFileTarget from Imake)
pkgdatadir = $(datadir)/libX11
pkgincludedir = $(includedir)/libX11
pkglibdir = $(libdir)/libX11
pkglibexecdir = $(libexecdir)/libX11
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = arm-apple-darwin10.4.0
host_triplet = arm-apple-darwin10.4.0
DIST_COMMON = $(dist_x11thislocale_DATA) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(top_srcdir)/cpprules.in \
$(top_srcdir)/nls/localerules.in
subdir = nls/ja.SJIS
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/src/config.h \
$(top_builddir)/include/X11/XlibConf.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
SOURCES =
DIST_SOURCES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(x11thislocaledir)" \
"$(DESTDIR)$(x11thislocaledir)"
DATA = $(dist_x11thislocale_DATA) $(x11thislocale_DATA)
am__tty_colors = \
red=; grn=; lgn=; blu=; std=
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = ${SHELL} /home/chris/libX11-1.3/missing --run aclocal-1.11
ADMIN_MAN_DIR = $(mandir)/man$(ADMIN_MAN_SUFFIX)
ADMIN_MAN_SUFFIX = 8
AMTAR = ${SHELL} /home/chris/libX11-1.3/missing --run tar
AM_DEFAULT_VERBOSITY = 0
APP_MAN_DIR = $(mandir)/man$(APP_MAN_SUFFIX)
APP_MAN_SUFFIX = 1
AR = ar
AUTOCONF = ${SHELL} /home/chris/libX11-1.3/missing --run autoconf
AUTOHEADER = ${SHELL} /home/chris/libX11-1.3/missing --run autoheader
AUTOMAKE = ${SHELL} /home/chris/libX11-1.3/missing --run automake-1.11
AWK = gawk
BIGFONT_CFLAGS =
BIGFONT_LIBS =
CC = /usr/bin/gcc -std=gnu99
CCDEPMODE = depmode=gcc3
CC_FOR_BUILD = /usr/bin/gcc -std=gnu99
CFLAGS = -g -O2
CHANGELOG_CMD = (GIT_DIR=$(top_srcdir)/.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
CPP = /usr/bin/gcc -E
CPPFLAGS =
CWARNFLAGS = -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DOLT_BASH = /bin/bash
DRIVER_MAN_DIR = $(mandir)/man$(DRIVER_MAN_SUFFIX)
DRIVER_MAN_SUFFIX = 4
DSYMUTIL = :
DUMPBIN =
ECHO_C =
ECHO_N = -n
ECHO_T =
EGREP = /bin/grep -E
EXEEXT =
FGREP = /bin/grep -F
FILE_MAN_DIR = $(mandir)/man$(FILE_MAN_SUFFIX)
FILE_MAN_SUFFIX = 5
GREP = /bin/grep
I18N_MODULE_LIBS =
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
KEYSYMDEF = /usr/local/include/X11/keysymdef.h
LAUNCHD = yes
LD = /usr/bin/ld
LDFLAGS =
LIBOBJS =
LIBS =
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIB_MAN_DIR = $(mandir)/man$(LIB_MAN_SUFFIX)
LIB_MAN_SUFFIX = 3
LINT = no
LINTLIB =
LINT_FLAGS = -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
LIPO = lipo
LN_S = ln -s
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)
LTLIBOBJS =
MAINT = #
MAKEINFO = ${SHELL} /home/chris/libX11-1.3/missing --run makeinfo
MALLOC_ZERO_CFLAGS =
MISC_MAN_DIR = $(mandir)/man$(MISC_MAN_SUFFIX)
MISC_MAN_SUFFIX = 7
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -p
NMEDIT = nmedit
OBJDUMP = objdump
OBJEXT = o
OTOOL = otool
OTOOL64 = otool64
PACKAGE = libX11
PACKAGE_BUGREPORT = https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
PACKAGE_NAME = libX11
PACKAGE_STRING = libX11 1.3
PACKAGE_TARNAME = libX11
PACKAGE_VERSION = 1.3
PATH_SEPARATOR = :
PERL = perl
PKG_CONFIG = /usr/bin/pkg-config
RANLIB = ranlib
RAWCPP = /usr/bin/cpp
RAWCPPFLAGS = -traditional
SED = sed
SET_MAKE =
SHELL = /bin/sh
STRIP = strip
VERSION = 1.3
WCHAR32 = 1
X11_CFLAGS = -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
X11_DATADIR = /usr/local/share/X11
X11_EXTRA_DEPS = xcb >= 1.1.92
X11_LIBDIR = /usr/local/lib/X11
X11_LIBS = -L/usr/local/lib -lxcb
X11_LOCALEDATADIR = /usr/local/share/X11/locale
X11_LOCALEDIR = /usr/local/share/X11/locale
X11_LOCALELIBDIR = /usr/local/lib/X11/locale
XDMCP_CFLAGS =
XDMCP_LIBS =
XERRORDB = /usr/local/share/X11/XErrorDB
XKBPROTO_CFLAGS =
XKBPROTO_LIBS =
XKBPROTO_REQUIRES = kbproto
XKEYSYMDB = /usr/local/share/X11/XKeysymDB
XLOCALEDATADIR = /usr/local/share/X11/locale
XLOCALEDIR = /usr/local/share/X11/locale
XLOCALELIBDIR = /usr/local/lib/X11/locale
XMALLOC_ZERO_CFLAGS =
XPROTO_CFLAGS =
XPROTO_LIBS =
XTHREADLIB =
XTHREAD_CFLAGS =
XTMALLOC_ZERO_CFLAGS =
abs_builddir = /home/chris/libX11-1.3/nls/ja.SJIS
abs_srcdir = /home/chris/libX11-1.3/nls/ja.SJIS
abs_top_builddir = /home/chris/libX11-1.3
abs_top_srcdir = /home/chris/libX11-1.3
ac_ct_CC = /usr/bin/gcc
ac_ct_DUMPBIN =
am__include = include
am__leading_dot = .
am__quote =
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
bindir = ${exec_prefix}/bin
build = arm-apple-darwin10.4.0
build_alias =
build_cpu = arm
build_os = darwin10.4.0
build_vendor = apple
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
distcleancheck_listfiles = find . -type f ! -name ChangeLog -print
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = arm-apple-darwin10.4.0
host_alias =
host_cpu = arm
host_os = darwin10.4.0
host_vendor = apple
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${datarootdir}/info
install_sh = ${SHELL} /home/chris/libX11-1.3/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
lt_ECHO = echo
mandir = ${datarootdir}/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
prefix = /usr/local
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = ${prefix}/etc
target_alias =
top_build_prefix = ../../
top_builddir = ../..
top_srcdir = ../..
x11thislocaledir = $(X11_LOCALEDATADIR)/ja.SJIS
SUFFIXES = .pre
WCHAR32_FLAGS = -DWCHAR32=1
CPP_FILES_FLAGS = $(WCHAR32_FLAGS)
# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM
# to cpp, because that trick does not work on all ANSI C preprocessors.
# Delete line numbers from the cpp output (-P is not portable, I guess).
# Allow XCOMM to be preceded by whitespace and provide a means of generating
# output lines with trailing backslashes.
# Allow XHASH to always be substituted, even in cases where XCOMM isn't.
CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
-e '/^\#line *[0-9][0-9]* *.*$$/d' \
-e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \
-e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \
-e '/^[ ]*XHASH/s/XHASH/\#/' \
-e 's,X11_LOCALEDATADIR,$(X11_LOCALEDATADIR),g' \
-e '/\@\@$$/s/\@\@$$/\\/'
# Support for automake 1.11 AM_SILENT_RULES
cpp_verbose = $(cpp_verbose_$(V))
cpp_verbose_ = $(cpp_verbose_$(AM_DEFAULT_VERBOSITY))
cpp_verbose_0 = @echo " CPP " $@;
EXTRA_DIST = XLC_LOCALE.pre Compose.pre
dist_x11thislocale_DATA = XI18N_OBJS
x11thislocale_DATA = XLC_LOCALE Compose
CLEANFILES = XLC_LOCALE Compose
TESTS_ENVIRONMENT = $(PERL)
TESTS = $(top_srcdir)/nls/compose-check.pl
all: all-am
.SUFFIXES:
.SUFFIXES: .pre
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/nls/localerules.in $(top_srcdir)/cpprules.in $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign nls/ja.SJIS/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign nls/ja.SJIS/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: # $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
install-dist_x11thislocaleDATA: $(dist_x11thislocale_DATA)
@$(NORMAL_INSTALL)
test -z "$(x11thislocaledir)" || $(MKDIR_P) "$(DESTDIR)$(x11thislocaledir)"
@list='$(dist_x11thislocale_DATA)'; test -n "$(x11thislocaledir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(x11thislocaledir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(x11thislocaledir)" || exit $$?; \
done
uninstall-dist_x11thislocaleDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_x11thislocale_DATA)'; test -n "$(x11thislocaledir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(x11thislocaledir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(x11thislocaledir)" && rm -f $$files
install-x11thislocaleDATA: $(x11thislocale_DATA)
@$(NORMAL_INSTALL)
test -z "$(x11thislocaledir)" || $(MKDIR_P) "$(DESTDIR)$(x11thislocaledir)"
@list='$(x11thislocale_DATA)'; test -n "$(x11thislocaledir)" || list=; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(x11thislocaledir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(x11thislocaledir)" || exit $$?; \
done
uninstall-x11thislocaleDATA:
@$(NORMAL_UNINSTALL)
@list='$(x11thislocale_DATA)'; test -n "$(x11thislocaledir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
test -n "$$files" || exit 0; \
echo " ( cd '$(DESTDIR)$(x11thislocaledir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(x11thislocaledir)" && rm -f $$files
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
check-TESTS: $(TESTS)
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
srcdir=$(srcdir); export srcdir; \
list=' $(TESTS) '; \
$(am__tty_colors); \
if test -n "$$list"; then \
for tst in $$list; do \
if test -f ./$$tst; then dir=./; \
elif test -f $$tst; then dir=; \
else dir="$(srcdir)/"; fi; \
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
*[\ \ ]$$tst[\ \ ]*) \
xpass=`expr $$xpass + 1`; \
failed=`expr $$failed + 1`; \
col=$$red; res=XPASS; \
;; \
*) \
col=$$grn; res=PASS; \
;; \
esac; \
elif test $$? -ne 77; then \
all=`expr $$all + 1`; \
case " $(XFAIL_TESTS) " in \
*[\ \ ]$$tst[\ \ ]*) \
xfail=`expr $$xfail + 1`; \
col=$$lgn; res=XFAIL; \
;; \
*) \
failed=`expr $$failed + 1`; \
col=$$red; res=FAIL; \
;; \
esac; \
else \
skip=`expr $$skip + 1`; \
col=$$blu; res=SKIP; \
fi; \
echo "$${col}$$res$${std}: $$tst"; \
done; \
if test "$$all" -eq 1; then \
tests="test"; \
All=""; \
else \
tests="tests"; \
All="All "; \
fi; \
if test "$$failed" -eq 0; then \
if test "$$xfail" -eq 0; then \
banner="$$All$$all $$tests passed"; \
else \
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
fi; \
else \
if test "$$xpass" -eq 0; then \
banner="$$failed of $$all $$tests failed"; \
else \
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
fi; \
fi; \
dashes="$$banner"; \
skipped=""; \
if test "$$skip" -ne 0; then \
if test "$$skip" -eq 1; then \
skipped="($$skip test was not run)"; \
else \
skipped="($$skip tests were not run)"; \
fi; \
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
dashes="$$skipped"; \
fi; \
report=""; \
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
report="Please report to $(PACKAGE_BUGREPORT)"; \
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
dashes="$$report"; \
fi; \
dashes=`echo "$$dashes" | sed s/./=/g`; \
if test "$$failed" -eq 0; then \
echo "$$grn$$dashes"; \
else \
echo "$$red$$dashes"; \
fi; \
echo "$$banner"; \
test -z "$$skipped" || echo "$$skipped"; \
test -z "$$report" || echo "$$report"; \
echo "$$dashes$$std"; \
test "$$failed" -eq 0; \
else :; fi
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile $(DATA)
installdirs:
for dir in "$(DESTDIR)$(x11thislocaledir)" "$(DESTDIR)$(x11thislocaledir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-dist_x11thislocaleDATA \
install-x11thislocaleDATA
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-dist_x11thislocaleDATA \
uninstall-x11thislocaleDATA
.MAKE: check-am install-am install-strip
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
clean-libtool distclean distclean-generic distclean-libtool \
distdir dvi dvi-am html html-am info info-am install \
install-am install-data install-data-am \
install-dist_x11thislocaleDATA install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
install-x11thislocaleDATA installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
ps ps-am uninstall uninstall-am \
uninstall-dist_x11thislocaleDATA uninstall-x11thislocaleDATA
.pre:
$(cpp_verbose)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
| chriskmanx/qmole | QMOLEDEV/libX11-1.3/nls/ja.SJIS/Makefile | Makefile | gpl-3.0 | 20,353 |
package org.beer30.mrpickles.web.controller;
import org.beer30.mrpickles.domain.entity.AppUser;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.security.Principal;
@RequestMapping("/home")
@Controller
public class HomeController {
private static final Logger logger = LoggerFactory.getLogger(HomeController.class);
@RequestMapping(method = RequestMethod.POST, value = "{id}")
public void post(@PathVariable Long id, ModelMap modelMap, HttpServletRequest request, HttpServletResponse response) {
}
@RequestMapping("/")
public String index(Model model,Principal principal) {
logger.debug("* * * * * * * * * * * * * * Home Controller - Enter * * * * * * * * * * * * * *");
AppUser appUser = new AppUser();
appUser.setUserName(principal.getName());
model.addAttribute("appUser",appUser);
model.addAttribute("logout","/resources/j_spring_security_logout");
return "home/index";
}
@RequestMapping("/help")
public String help(Model model,Principal principal) {
logger.debug("* * * * * * * * * * * * * * Help Page - Enter * * * * * * * * * * * * * *");
AppUser appUser = new AppUser();
appUser.setUserName(principal.getName());
model.addAttribute("appUser",appUser);
model.addAttribute("logout","/resources/j_spring_security_logout");
return "home/help";
}
}
| tsweets/MrPickles | src/main/java/org/beer30/mrpickles/web/controller/HomeController.java | Java | gpl-3.0 | 1,821 |
# coding=utf-8
from _commandbase import RadianceCommand
from ..datatype import RadiancePath, RadianceTuple
from ..parameters.gensky import GenskyParameters
import os
class Gensky(RadianceCommand):
u"""
gensky - Generate an annual Perez sky matrix from a weather tape.
The attributes for this class and their data descriptors are given below.
Please note that the first two inputs for each descriptor are for internal
naming purposes only.
Attributes:
outputName: An optional name for output file name (Default: 'untitled').
monthDayHour: A tuple containing inputs for month, day and hour.
genskyParameters: Radiance parameters for gensky. If None Default
parameters will be set. You can use self.genskyParameters to view,
add or remove the parameters before executing the command.
Usage:
from honeybee.radiance.parameters.gensky import GenSkyParameters
from honeybee.radiance.command.gensky import GenSky
# create and modify genskyParameters. In this case a sunny with no sun
# will be generated.
gnskyParam = GenSkyParameters()
gnskyParam.sunnySkyNoSun = True
# create the gensky Command.
gnsky = GenSky(monthDayHour=(1,1,11), genskyParameters=gnskyParam,
outputName = r'd:/sunnyWSun_010111.sky' )
# run gensky
gnsky.execute()
>
"""
monthDayHour = RadianceTuple('monthDayHour', 'month day hour', tupleSize=3,
testType=False)
outputFile = RadiancePath('outputFile', descriptiveName='output sky file',
relativePath=None, checkExists=False)
def __init__(self, outputName='untitled', monthDayHour=None,
genskyParameters=None):
"""Init command."""
RadianceCommand.__init__(self)
self.outputFile = outputName if outputName.lower().endswith(".sky") \
else outputName + ".sky"
"""results file for sky (Default: untitled)"""
self.monthDayHour = monthDayHour
self.genskyParameters = genskyParameters
@classmethod
def fromSkyType(cls, outputName='untitled', monthDayHour=(1, 21, 12),
skyType=0, latitude=None, longitude=None, meridian=None):
"""Create a sky by sky type.
Args:
outputName: An optional name for output file name (Default: 'untitled').
monthDayHour: A tuple containing inputs for month, day and hour.
skyType: An intger between 0-5 for CIE sky type.
0: [+s] Sunny with sun, 1: [-s] Sunny without sun,
2: [+i] Intermediate with sun, 3: [-i] Intermediate with no sun,
4: [-c] Cloudy overcast sky, 5: [-u] Uniform cloudy sky
latitude: [-a] A float number to indicate site altitude. Negative
angle indicates south latitude.
longitude: [-o] A float number to indicate site latitude. Negative
angle indicates east longitude.
meridian: [-m] A float number to indicate site meridian west of
Greenwich.
"""
_skyParameters = GenskyParameters(latitude=latitude, longitude=longitude,
meridian=meridian)
# modify parameters based on sky type
try:
skyType = int(skyType)
except TypeError:
"skyType should be an integer between 0-5."
assert 0 <= skyType <= 5, "Sky type should be an integer between 0-5."
if skyType == 0:
_skyParameters.sunnySky = True
elif skyType == 1:
_skyParameters.sunnySky = False
elif skyType == 2:
_skyParameters.intermSky = True
elif skyType == 3:
_skyParameters.intermSky = False
elif skyType == 4:
_skyParameters.cloudySky = True
elif skyType == 5:
_skyParameters.uniformCloudySky = True
return cls(outputName=outputName, monthDayHour=monthDayHour,
genskyParameters=_skyParameters)
@classmethod
def createUniformSkyfromIlluminanceValue(cls, outputName="untitled",
illuminanceValue=10000):
"""Uniform CIE sky based on illuminance value.
Attributes:
outputName: An optional name for output file name (Default: 'untitled').
illuminanceValue: Desired illuminance value in lux
"""
assert float(illuminanceValue) >= 0, "Illuminace value can't be negative."
_skyParameters = GenskyParameters(zenithBrightHorzDiff=illuminanceValue / 179.0)
return cls(outputName=outputName, genskyParameters=_skyParameters)
@classmethod
def fromRadiationValues(cls):
"""Create a sky based on sky radiation values."""
raise NotImplementedError()
@property
def genskyParameters(self):
"""Get and set genskyParameters."""
return self.__genskyParameters
@genskyParameters.setter
def genskyParameters(self, genskyParam):
self.__genskyParameters = genskyParam if genskyParam is not None \
else GenskyParameters()
assert hasattr(self.genskyParameters, "isRadianceParameters"), \
"input genskyParameters is not a valid parameters type."
def toRadString(self, relativePath=False):
"""Return full command as a string."""
# generate the name from self.weaFile
radString = "%s %s %s > %s" % (
self.normspace(os.path.join(self.radbinPath, 'gensky')),
self.monthDayHour.toRadString().replace("-monthDayHour ", ""),
self.genskyParameters.toRadString(),
self.normspace(self.outputFile.toRadString())
)
return radString
@property
def inputFiles(self):
"""Input files for this command."""
return None
| antonszilasi/honeybeex | honeybeex/honeybee/radiance/command/gensky.py | Python | gpl-3.0 | 5,946 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.