In JBehave, there is a separation of concerns between RunnableStory and Steps classes:
Even if each executable RunnableStory Java class can be configured independently, it is good practice to collect the configuration that applies to all stories in an abstract (i.e. not executable) base class:
public abstract class TraderStory extends JUnitStory { public TraderStory(final Class storyClass) { // start with default story configuration, overriding story definer and reporter StoryConfiguration storyConfiguration = new MostUsefulStoryConfiguration(); storyConfiguration.useStoryPathResolver(new UnderscoredCamelCaseResolver(".story")); String storyPath = storyConfiguration.storyPathResolver().resolve(storyClass); storyConfiguration.useStoryReporter(new StoryReporterBuilder(new FilePrintStreamFactory(storyPath)) .with(CONSOLE) .with(TXT) .with(HTML) .with(XML) .build()); useConfiguration(storyConfiguration); // start with default steps configuration, overriding parameter converters, pattern builder and monitor StepsConfiguration stepsConfiguration = new MostUsefulStepsConfiguration(); StepMonitor monitor = new SilentStepMonitor(); stepsConfiguration.useParameterConverters(new ParameterConverters( monitor, new DateConverter("dd/MM/yyyy"))); // define converter for Dates with custom pattern stepsConfiguration.usePatternBuilder(new PrefixCapturingPatternBuilder("%")); // use '%' instead of '$' to identify parameters stepsConfiguration.useMonitor(monitor); addSteps(createSteps(stepsConfiguration)); } protected CandidateSteps[] createSteps(StepsConfiguration configuration) { return new StepsFactory(configuration).createCandidateSteps(new TraderSteps(new TradingService()), new BeforeAfterSteps()); } }
To run multiple stories, specified as story paths, via a single RunnableStory instance:
public class TraderStories extends JUnitStories { public TraderStories() { // start with default story configuration, overriding story definer and reporter StoryConfiguration storyConfiguration = new MostUsefulStoryConfiguration(); storyConfiguration.useStoryPathResolver(new UnderscoredCamelCaseResolver(".story")); // Using URLs to define stories storyConfiguration.useStoryLoader(new LoadFromURL()); for ( String storyPath : storyPaths() ){ StoryReporter storyReporter = new StoryReporterBuilder(new FilePrintStreamFactory(storyPath)) .with(CONSOLE) .with(TXT) .with(HTML) .with(XML) .build(); storyConfiguration.addStoryReporter(storyPath, storyReporter); } useConfiguration(storyConfiguration); // start with default steps configuration, overriding parameter converters, pattern builder and monitor StepsConfiguration stepsConfiguration = new MostUsefulStepsConfiguration(); StepMonitor monitor = new SilentStepMonitor(); stepsConfiguration.useParameterConverters(new ParameterConverters( monitor, new DateConverter("dd/MM/yyyy"))); // define converter for Dates with custom pattern stepsConfiguration.usePatternBuilder(new PrefixCapturingPatternBuilder("%")); // use '%' instead of '$' to identify parameters stepsConfiguration.useMonitor(monitor); addSteps(createSteps(stepsConfiguration)); } protected CandidateSteps[] createSteps(StepsConfiguration configuration) { return new StepsFactory(configuration).createCandidateSteps(new TraderSteps(new TradingService()), new BeforeAfterSteps()); } @Override protected List storyPaths() { // Defining story paths via URLs return asList(storyURL("trader_is_alerted_of_status.story"), storyURL("wildcard_search.story")); } private String storyURL(String name){ String codeLocation = new StoryLocation("", this.getClass()).getCodeLocation(); String urlPattern = "file://"+ codeLocation +"org/jbehave/examples/trader/stories/{0}"; return MessageFormat.format(urlPattern, name); }Note that in this second example, we are using story paths as URLs, and correspondingly we configure the use of LoadFromURL.
If we wanted to use an inversion of control container to compose our Steps with all its dependencies, all we'd need to do is to override the createSteps method using a different StepsFactory and use that as your base Story class. For example, to use with a Spring container:
public abstract class SpringTraderStory extends TraderStory { public SpringTraderStory(Class storyClass) { super(storyClass); } @Override protected CandidateSteps[] createSteps(StepsConfiguration configuration) { ListableBeanFactory parent = new SpringApplicationContextFactory("org/jbehave/examples/trader/spring/steps.xml") .getApplicationContext(); return new SpringStepsFactory(configuration, parent).createCandidateSteps(); } }
Once we have a base RunnableStory class, all we need to do is to extend it providing the name of the executable Story class that maps to the textual story file. For example, to map to trader_is_alerted_of_status.story using the resolver defined above:
public class TraderIsAlertedOfStatus extends TraderStory { public TraderIsAlertedOfStatus() { super(TraderIsAlertedOfStatus.class); } }Note that JBehave follow the configuration-by-convention approach, by which a default value of the configuration element is provided and can be overridden, if so desired.
While Stories are designed to be highly configurable, they come with a default behaviour for the most useful configuration. Configuration is the main interface for configuring all the components of a story.
The configurable elements of the story include:
StepCreator: Represents the strategy for the creation of executable steps from a given story definition matching a list of candidate steps. The default implementation is MarkUnmatchedStepsAsPending.
StoryParser: Parses stories contained in a textual story file. The default implementation is RegexStoryParser.
StoryReporter: Allows the runner to report the state of running stories. The default implementation is PrintStreamOutput.
ErrorStrategy: Allows to define the strategy for error handling. The default value is RETHROW.
Keywords: Allows to specify the keywords used. The default value is LocalizedKeywords.
JBehave provides two useful base implementations that users can extend to override only the elements that differ from default behaviour:
MostUsefulStoryConfiguration: provides a default configuration that most users will find appropriate
PropertyBasedStoryConfiguration: overrides way to configure via system properties
Steps can also be configured to a high degree via the StepsConfiguration. Among the elements that can be configured are:
StepPatternBuilder: defaults to PrefixCapturingPatternBuilder.
StepMonitor: defaults to SilentStepMonitor, useful to either debug the step matching or to describe the steps being performed to some output.
ParameterConverters: facade for collecting user-defined ParameterConverters.
Keywords: defaults to LocalizedKeywords.


2019
2017
2016
2015
- Ruby - Ruby Beyond Rails - Libraries and Frameworks
- Ejabberd - Issues faced and tips
- Rails/Nodejs - Upgrade and scale up Juggernaut
- Ruby/Rails - Ajaxifying a rails app with ajaxify-rails gem
- JavaScript - Pro JavaScript Tips
- Customer Centricity - Product Centric Vs Customer Centric
- Scalability - Time to relook at you distributed file system.
- Ruby/Rails - Database replication with rails4
- Ruby/Rails - Capistrano 3 - SVN support


Dragon Drop Example
Things
{{thing}}
Other Things
{{thing}}
Things
{{things | json}}
Other Things
{{otherThings | json}}
Drop Down Test


Lessons
Events
Start a Club!
Log-in
Lessons
Events
Start a Club!
Log-in
Sign up to start a club!
What would you like to name your club?
Where are you planning on starting a club?
What community are you serving? Would you classify this club for a school or outside school?
Club Founders
Each club can have a maximum of 3 founders.
Name
Email
Name
Email
Name
Email
Submit for Approval


Metro Manila-Cavite ferry routes to open soon
The dry run of the first phase of ferry operations, set for early December, includes routes from the Metro Star Ferry Terminal in Cavite to SM MOA and the Cultural Center of the Philippines port
by Loreben TuqueroSubscribe
Email Address
Newsletters
- Glenda Gloria's Take this Tuesday
- Huddle by Miriam Grace Go
- The Newsbreak Agenda by Chay Hofileña
- Sometimes, all you need is video by Lilibeth Frondoso


About
it woule be cool if we had a video explaining what brix is, for example the one that we would use for waiting list campagin
Also maybe few points why brix is way cooler than the competition:
- flexibility, you have access to your money whenever you need it
- easy to use, get an app, connetct your bank account and start saving
- great investment, you are currently using money by keeping it on the bank account, invest it with brix to make money.
and a great sentence that summerizes our value proposition of being the best private pension plan there is on the market


My favorites
▼
|
Sign in
intranet-chat
IntraNet Chat is an internal network chat program
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
org
/
apache
/
commons
/
net
/
tftp
/
TFTP.java
r7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
/*
* Copyright 2001-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.commons.net.tftp;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.DatagramPacket;
import java.net.SocketException;
import org.apache.commons.net.DatagramSocketClient;
/***
* The TFTP class exposes a set of methods to allow you to deal with the TFTP
* protocol directly, in case you want to write your own TFTP client or
* server. However, almost every user should only be concerend with
* the {@link org.apache.commons.net.DatagramSocketClient#open open() },
* and {@link org.apache.commons.net.DatagramSocketClient#close close() },
* methods. Additionally,the a
* {@link org.apache.commons.net.DatagramSocketClient#setDefaultTimeout setDefaultTimeout() }
* method may be of importance for performance tuning.
*

* Details regarding the TFTP protocol and the format of TFTP packets can
* be found in RFC 783. But the point of these classes is to keep you
* from having to worry about the internals.
*

*

* @author Daniel F. Savarese
* @see org.apache.commons.net.DatagramSocketClient
* @see TFTPPacket
* @see TFTPPacketException
* @see TFTPClient
***/
public class TFTP extends DatagramSocketClient
{
/***
* The ascii transfer mode. Its value is 0 and equivalent to NETASCII_MODE
***/
public static final int ASCII_MODE = 0;
/***
* The netascii transfer mode. Its value is 0.
***/
public static final int NETASCII_MODE = 0;
/***
* The binary transfer mode. Its value is 1 and equivalent to OCTET_MODE.
***/
public static final int BINARY_MODE = 1;
/***
* The image transfer mode. Its value is 1 and equivalent to OCTET_MODE.
***/
public static final int IMAGE_MODE = 1;
/***
* The octet transfer mode. Its value is 1.
***/
public static final int OCTET_MODE = 1;
/***
* The default number of milliseconds to wait to receive a datagram
* before timing out. The default is 5000 milliseconds (5 seconds).
***/
public static final int DEFAULT_TIMEOUT = 5000;
/***
* The default TFTP port according to RFC 783 is 69.
***/
public static final int DEFAULT_PORT = 69;
/***
* The size to use for TFTP packet buffers. Its 4 plus the
* TFTPPacket.SEGMENT_SIZE, i.e. 516.
***/
static final int PACKET_SIZE = TFTPPacket.SEGMENT_SIZE + 4;
/*** A buffer used to accelerate receives in bufferedReceive() ***/
private byte[] __receiveBuffer;
/*** A datagram used to minimize memory allocation in bufferedReceive() ***/
private DatagramPacket __receiveDatagram;
/*** A datagram used to minimize memory allocation in bufferedSend() ***/
private DatagramPacket __sendDatagram;
/***
* A buffer used to accelerate sends in bufferedSend().
* It is left package visible so that TFTPClient may be slightly more
* efficient during file sends. It saves the creation of an
* additional buffer and prevents a buffer copy in _newDataPcket().
***/
byte[] _sendBuffer;
/***
* Returns the TFTP string representation of a TFTP transfer mode.
* Will throw an ArrayIndexOutOfBoundsException if an invalid transfer
* mode is specified.
*

* @param mode The TFTP transfer mode. One of the MODE constants.
* @return The TFTP string representation of the TFTP transfer mode.
***/
public static final String getModeName(int mode)
{
return TFTPRequestPacket._modeStrings[mode];
}
/***
* Creates a TFTP instance with a default timeout of DEFAULT_TIMEOUT,
* a null socket, and buffered operations disabled.
***/
public TFTP()
{
setDefaultTimeout(DEFAULT_TIMEOUT);
__receiveBuffer = null;
__receiveDatagram = null;
}
/***
* This method synchronizes a connection by discarding all packets that
* may be in the local socket buffer. This method need only be called
* when you implement your own TFTP client or server.
*

* @exception IOException if an I/O error occurs.
***/
public final void discardPackets() throws IOException
{
int to;
DatagramPacket datagram;
datagram = new DatagramPacket(new byte[PACKET_SIZE], PACKET_SIZE);
to = getSoTimeout();
setSoTimeout(1);
try
{
while (true)
_socket_.receive(datagram);
}
catch (SocketException e)
{
// Do nothing. We timed out so we hope we're caught up.
}
catch (InterruptedIOException e)
{
// Do nothing. We timed out so we hope we're caught up.
}
setSoTimeout(to);
}
/***
* This is a special method to perform a more efficient packet receive.
* It should only be used after calling
* {@link #beginBufferedOps beginBufferedOps() }. beginBufferedOps()
* initializes a set of buffers used internally that prevent the new
* allocation of a DatagramPacket and byte array for each send and receive.
* To use these buffers you must call the bufferedReceive() and
* bufferedSend() methods instead of send() and receive(). You must
* also be certain that you don't manipulate the resulting packet in
* such a way that it interferes with future buffered operations.
* For example, a TFTPDataPacket received with bufferedReceive() will
* have a reference to the internal byte buffer. You must finish using
* this data before calling bufferedReceive() again, or else the data
* will be overwritten by the the call.
*

* @return The TFTPPacket received.
* @exception InterruptedIOException If a socket timeout occurs. The
* Java documentation claims an InterruptedIOException is thrown
* on a DatagramSocket timeout, but in practice we find a
* SocketException is thrown. You should catch both to be safe.
* @exception SocketException If a socket timeout occurs. The
* Java documentation claims an InterruptedIOException is thrown
* on a DatagramSocket timeout, but in practice we find a
* SocketException is thrown. You should catch both to be safe.
* @exception IOException If some other I/O error occurs.
* @exception TFTPPacketException If an invalid TFTP packet is received.
***/
public final TFTPPacket bufferedReceive() throws IOException,
InterruptedIOException, SocketException, TFTPPacketException
{
__receiveDatagram.setData(__receiveBuffer);
__receiveDatagram.setLength(__receiveBuffer.length);
_socket_.receive(__receiveDatagram);
return TFTPPacket.newTFTPPacket(__receiveDatagram);
}
/***
* This is a special method to perform a more efficient packet send.
* It should only be used after calling
* {@link #beginBufferedOps beginBufferedOps() }. beginBufferedOps()
* initializes a set of buffers used internally that prevent the new
* allocation of a DatagramPacket and byte array for each send and receive.
* To use these buffers you must call the bufferedReceive() and
* bufferedSend() methods instead of send() and receive(). You must
* also be certain that you don't manipulate the resulting packet in
* such a way that it interferes with future buffered operations.
* For example, a TFTPDataPacket received with bufferedReceive() will
* have a reference to the internal byte buffer. You must finish using
* this data before calling bufferedReceive() again, or else the data
* will be overwritten by the the call.
*

* @param packet The TFTP packet to send.
* @exception IOException If some I/O error occurs.
***/
public final void bufferedSend(TFTPPacket packet) throws IOException
{
_socket_.send(packet._newDatagram(__sendDatagram, _sendBuffer));
}
/***
* Initializes the internal buffers. Buffers are used by
* {@link #bufferedSend bufferedSend() } and
* {@link #bufferedReceive bufferedReceive() }. This
* method must be called before calling either one of those two
* methods. When you finish using buffered operations, you must
* call {@link #endBufferedOps endBufferedOps() }.
***/
public final void beginBufferedOps()
{
__receiveBuffer = new byte[PACKET_SIZE];
__receiveDatagram =
new DatagramPacket(__receiveBuffer, __receiveBuffer.length);
_sendBuffer = new byte[PACKET_SIZE];
__sendDatagram =
new DatagramPacket(_sendBuffer, _sendBuffer.length);
}
/***
* Releases the resources used to perform buffered sends and receives.
***/
public final void endBufferedOps()
{
__receiveBuffer = null;
__receiveDatagram = null;
_sendBuffer = null;
__sendDatagram = null;
}
/***
* Sends a TFTP packet to its destination.
*

* @param packet The TFTP packet to send.
* @exception IOException If some I/O error occurs.
***/
public final void send(TFTPPacket packet) throws IOException
{
_socket_.send(packet.newDatagram());
}
/***
* Receives a TFTPPacket.
*

* @return The TFTPPacket received.
* @exception InterruptedIOException If a socket timeout occurs. The
* Java documentation claims an InterruptedIOException is thrown
* on a DatagramSocket timeout, but in practice we find a
* SocketException is thrown. You should catch both to be safe.
* @exception SocketException If a socket timeout occurs. The
* Java documentation claims an InterruptedIOException is thrown
* on a DatagramSocket timeout, but in practice we find a
* SocketException is thrown. You should catch both to be safe.
* @exception IOException If some other I/O error occurs.
* @exception TFTPPacketException If an invalid TFTP packet is received.
***/
public final TFTPPacket receive() throws IOException, InterruptedIOException,
SocketException, TFTPPacketException
{
DatagramPacket packet;
packet = new DatagramPacket(new byte[PACKET_SIZE], PACKET_SIZE);
_socket_.receive(packet);
return TFTPPacket.newTFTPPacket(packet);
}
}
Show details
Hide details
Change log
r7
by philipwhiterm66 on Jan 21, 2009
Diff
[No log message]
Go to:
/trunk/net
/trunk/net/intrenetchat
/trunk/net/intrenetchat/About.form
/trunk/net/intrenetchat/About.java
...net/intrenetchat/AboutPanel.java
.../intrenetchat/AudioWarnings.java
.../net/intrenetchat/Encrypter.java
...et/intrenetchat/FileReceive.form
...et/intrenetchat/FileReceive.java
...et/intrenetchat/FilesReader.java
...k/net/intrenetchat/Filesend.form
...k/net/intrenetchat/Filesend.java
...net/intrenetchat/FriendList.java
...nk/net/intrenetchat/Friends.java
/trunk/net/intrenetchat/Gui.form
/trunk/net/intrenetchat/Gui.java
/trunk/net/intrenetchat/Main.java
...nk/net/intrenetchat/Network.java
...ntrenetchat/NetworkListener.java
...t/intrenetchat/PrivateArray.java
...et/intrenetchat/PrivateChat.form
...et/intrenetchat/PrivateChat.java
/trunk/net/intrenetchat/Saving.java
...k/net/intrenetchat/Settings.form
...k/net/intrenetchat/Settings.java
/trunk/net/intrenetchat/abban.png
...nk/net/intrenetchat/dooropen.wav
...nk/net/intrenetchat/doorslam.wav
/trunk/net/intrenetchat/imsend.wav
/trunk/net/intrenetchat/network.png
...nk/net/intrenetchat/network2.png
/trunk/org
/trunk/org/apache
/trunk/org/apache/commons
/trunk/org/apache/commons/net
...ommons/net/CharGenTCPClient.java
...ommons/net/CharGenUDPClient.java
...ns/net/DatagramSocketClient.java
...s/net/DatagramSocketFactory.java
...ommons/net/DaytimeTCPClient.java
...ommons/net/DaytimeUDPClient.java
...efaultDatagramSocketFactory.java
...ns/net/DefaultSocketFactory.java
...ommons/net/DiscardTCPClient.java
...ommons/net/DiscardUDPClient.java
...e/commons/net/EchoTCPClient.java
...e/commons/net/EchoUDPClient.java
...he/commons/net/FingerClient.java
...lformedServerReplyException.java
...ns/net/ProtocolCommandEvent.java
...net/ProtocolCommandListener.java
.../net/ProtocolCommandSupport.java
...he/commons/net/SocketClient.java
...e/commons/net/SocketFactory.java
...e/commons/net/TimeTCPClient.java
...e/commons/net/TimeUDPClient.java
...che/commons/net/WhoisClient.java
/trunk/org/apache/commons/net/bsd
...mons/net/bsd/RCommandClient.java
...commons/net/bsd/RExecClient.java
...ommons/net/bsd/RLoginClient.java
/trunk/org/apache/commons/net/io
...ns/net/io/CopyStreamAdapter.java
...mons/net/io/CopyStreamEvent.java
.../net/io/CopyStreamException.java
...s/net/io/CopyStreamListener.java
.../DotTerminatedMessageReader.java
.../DotTerminatedMessageWriter.java
.../io/FromNetASCIIInputStream.java
...io/FromNetASCIIOutputStream.java
...ns/net/io/SocketInputStream.java
...s/net/io/SocketOutputStream.java
...et/io/ToNetASCIIInputStream.java
...t/io/ToNetASCIIOutputStream.java
.../apache/commons/net/io/Util.java
/trunk/org/apache/commons/net/nntp
...he/commons/net/nntp/Article.java
...ons/net/nntp/ArticlePointer.java
...pache/commons/net/nntp/NNTP.java
...commons/net/nntp/NNTPClient.java
...ommons/net/nntp/NNTPCommand.java
...TPConnectionClosedException.java
.../commons/net/nntp/NNTPReply.java
...t/nntp/NewGroupsOrNewsQuery.java
...mons/net/nntp/NewsgroupInfo.java
...s/net/nntp/SimpleNNTPHeader.java
...commons/net/nntp/Threadable.java
...e/commons/net/nntp/Threader.java
/trunk/org/apache/commons/net/ntp
...ommons/net/ntp/NTPUDPClient.java
...he/commons/net/ntp/NtpUtils.java
...e/commons/net/ntp/NtpV3Impl.java
...commons/net/ntp/NtpV3Packet.java
...he/commons/net/ntp/TimeInfo.java
...e/commons/net/ntp/TimeStamp.java
/trunk/org/apache/commons/net/pop3
...pache/commons/net/pop3/POP3.java
...commons/net/pop3/POP3Client.java
...ommons/net/pop3/POP3Command.java
...ns/net/pop3/POP3MessageInfo.java
.../commons/net/pop3/POP3Reply.java
/trunk/org/apache/commons/net/smtp
.../commons/net/smtp/RelayPath.java
...pache/commons/net/smtp/SMTP.java
...commons/net/smtp/SMTPClient.java
...ommons/net/smtp/SMTPCommand.java
...TPConnectionClosedException.java
.../commons/net/smtp/SMTPReply.java
...s/net/smtp/SimpleSMTPHeader.java
...nk/org/apache/commons/net/telnet
...et/telnet/EchoOptionHandler.java
...nvalidTelnetOptionException.java
.../telnet/SimpleOptionHandler.java
...net/SuppressGAOptionHandler.java
...e/commons/net/telnet/Telnet.java
...ons/net/telnet/TelnetClient.java
...ns/net/telnet/TelnetCommand.java
...et/telnet/TelnetInputStream.java
...t/TelnetNotificationHandler.java
...ons/net/telnet/TelnetOption.java
.../telnet/TelnetOptionHandler.java
...t/telnet/TelnetOutputStream.java
...t/TerminalTypeOptionHandler.java
/trunk/org/apache/commons/net/tftp
...pache/commons/net/tftp/TFTP.java
...mons/net/tftp/TFTPAckPacket.java
...commons/net/tftp/TFTPClient.java
...ons/net/tftp/TFTPDataPacket.java
...ns/net/tftp/TFTPErrorPacket.java
...commons/net/tftp/TFTPPacket.java
...et/tftp/TFTPPacketException.java
.../tftp/TFTPReadRequestPacket.java
.../net/tftp/TFTPRequestPacket.java
...tftp/TFTPWriteRequestPacket.java
/trunk/org/apache/commons/net/util
...mmons/net/util/ListenerList.java
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 11079 bytes, 298 lines
View raw file
Powered by
Google Project Hosting


Welcome to your awesome book's dashboard Dashboard show you usefule information about your awesome books, site visits, and provide you a good integration with google analytics as well.


Jasmine's favorite places
My favorite places
Here are some of my favorite places that I have visited.
Ulsan, South Korea
I lived here for 7 years!
Bali, Indonesia
I stayed here for 2 weeks for a yoga retreat!
Goa, India
I lived here for two months on a bungalow on the beach!
- Arrive early to the airport
- Buy Traveler's insurance
- Download Skype
- Take lots of photos
Thanks for reading about me!


Front end
A SFSU student, Computer enthusiast, like computer painting; This is my first time to challenge the job of front end. When I was enrolled in college, I started to know the computer languages for the first time. In the field of computers, I have learned a lot, such as c, c++, java and so on. Also, I am interested in drawing pictures by using Photoshop.


--- layout: post title: Inside Higher Ed on Two Bits date: 2008-07-16 15:30:28.000000000 -07:00 categories: - general news tags: [] status: publish type: post published: true meta: _edit_last: '1' author: login: ckelty email<EMAIL_ADDRESS>display_name: ckelty first_name: Christopher last_name: Kelty excerpt: !ruby/object:Hpricot::Doc options: {} ---
Scott McLemee at Inside Higher Ed has just published a very nice review of the Two Bits ("It's all Geek to Me").
 A good thing no kids are involved; we’d argue about how to raise them. As a nerd, my bias is towards paper-and-ink books, and while I do indeed use information technology, asking a coherent question about how any of it works is evidently beyond me. A geek, by contrast, knows source code....has strong opinions about source code....can talk to other geeks about source code, and at some length. (One imagines them doing so via high-pitched clicking noises.) My wife understands network protocols. I think that Network Protocols would be a pretty good name for a retro-‘90s dance band.
I never really thought of it this way--and I'm not sure the distinction would hold up to scrutiny--but the intuition is exactly right.   It's part of the general invasiveness of information technology, and it's also why i think understanding free software is a good thing to do if one wants to know why and how this has come to be.
The review goes on to discuss the book and McLemee, for a nerd (grin), gets it almost all right (nitpick: free software is the older term, by 15 years). It's a pleasure to be reviewed in a magazine I think so highly of as well.


The Perseids Project
Perseids offers a free and open online environment to produce collaborative data-driven editions of ancient documents.
Interacting with Ancient Documents
Since ancient documents, particularly text-based ones, can be difficult to access for non-specialists, our mission is to make it possible for editors to augment ancient texts with layers of explanatory materials in the form of annotations, image markup, commentary, and interactive graphs.
Facilitating Teamwork
Editors can set up communities and review boards so as to work in teams and review each other’s contributions, whether in classroom or research settings.
Cross-disciplinary Research
The platform is language-independent and currently accommodates Latin, Greek, and many other languages of the ancient and pre-modern world. This diversity means that we are fundamentally committed to a cross-disciplinary approach, and we encourage users to integrate data from other fields to enrich Humanities projects.
Open Data
In order to support widespread data sharing, our core value is to put the data first, making sure that data produced through Perseids is compliant with community standards for open data, interoperability, and technology independence.


INIFILE(1) INIFILE(1) NAME inifile - OpenLink Virtuoso Opensource ini File Editor SYNOPSIS inifile [-fcnskv] [+inifile arg] [+create] [+nocreate] [+section arg] [+key arg] [+value arg] inifile [+help] DESCRIPTION This manual page documents briefly the inifile command. This manual page was written for the Debian distribution because the original program does not have a manual page. Instead, it has documenta‐ tion in the 'doc' VAD package. inifile is the OpenLink Virtuoso server OPTIONS A summary of options is included below. For a complete description, see the 'doc' VAD package. +inifile use this ini file +create create the ini file if it does not exist (default) +nocreate do not create the ini file if it does not exist +section name of the section +key name of the key +value the value you want to write FILES /etc/virtuoso/virtuoso.ini The configuration file to control the behaviour of the main in‐ stance of inifile. SEE ALSO The programs are documented fully by the 'doc' VAD package. 18 April 2013 INIFILE(1)


Chelsea dealt injury blow ahead of big game against Manchester City
by Lucien SilverbergChelsea have reportedly been dealt a major blow ahead of their weekend clash against Manchester City.
According to the Sun, the Blues face a potentially critical blow to their hopes in this big game as Christian Pulisic is expected to miss the match at the Etihad Stadium.
MORE: Video: Mourinho’s hilarious explanation for taking Tottenham job despite previous vow to Chelsea fans
The USA international has been in fine form for Chelsea this season, showing himself to be one of many exciting youngsters coming through in Frank Lampard’s side this season.
Given the size of the task for Chelsea this weekend, they could really do with Pulisic being fit and ready to take on City, but it seems like that won’t be possible, according to the Sun’s report.
CFC have other options in attack such as the in-form pair of Willian and Mason Mount, while Callum Hudson-Odoi could also be another candidate to take Pulisic’s place in attack.
Still, there’s no doubt the American starlet could be a big miss for the west Londoners after five goals and three assists in his last nine games for his club.


Total % mortality of Heterotheca brandegeei individuals in each treatment (grey = ambient, orange = warming, yellow = drought, pink = warming + drought). Final mortality was calculated after 120 days of treatment or until no plants remained in growth chambers.


Design
Web design
I am a Bristol based designer with extensive experience in ecommerce website design and have worked for a number of major UK brands.
I am a Bristol based designer with extensive experience in ecommerce website design and have worked for a number of major UK brands.
My interest in UX is driven both by a curiosity about why people do certain things and through the satisfaction of knowing that what I have built is successful and not merely pretty.
Having good front-end coding skills is highly beneficial for a website designer and I have worked with HTML, CSS, SCSS and Less for many years. I have been responsible for major front-end overhauls and refactors as well as the production of a large responsive ecommerce site.
In my spare time I work with clay, creating organic sculptural pieces.


Test connection to zedx.io
Permission to write to directories and files
PHP version 5.5.9 or greater required
Execute a command proc_open() is required
Execute a command symlink() is required
PDO PHP Extension is required
MCrypt PHP Extension is required
Mbstring PHP Extension is required
OpenSSL PHP Extension is required
GD PHP Library is required
cURL PHP Extension is required
ZipArchive PHP Library is required
Your system does not meet the minimum requirements for the installation. Please see the documentation for more information.


🤖 Power Mail-in-a-Box Management Daemon<EMAIL_ADDRESS>| 🔑 | S C E A | RSA, 3072 bit |
1756 6B81 D8A4 24C7 0098 659E 6872 2633 F692 52C6 |
12/12/20 (119 days) |
You can upload your public key/keychain here. Keys must be submitted in ASCII-armored format.
If you're using gpg
, you can export your public key by following this example:
# Get all the keys in the ring $ gpg --list-keys /home/you/.gnupg/pubring.kbx ---------------------------- pub rsa4096 1970-01-01 [SC] 247C3553B4B36107BA0490C3CAFCCF3B4965761A uid [ full ] Someone That I Used to Know<EMAIL_ADDRESS>sub rsa2048 2020-01-01 [E] [expires: 2021-01-01] pub rsa4096 2020-05-24 [SC] [expires: 2021-02-12] 52661092E5CD9EEFD7796B19E85F540C9318B69F uid [ultimate] Me, Myself and I<EMAIL_ADDRESS>sub rsa2048 2020-05-24 [E] [expires: 2021-02-12] # Say that we want to export our own key, this is - "Me, Myself and I". That's the fingerprint "52661..." $ gpg --export --armor 52661092E5CD9EEFD7796B19E85F540C9318B69F # Replace with your key's fingerprint -----BEGIN PGP PUBLIC KEY BLOCK----- copy and paste this block in the area below -----END PGP PUBLIC KEY BLOCK-----


Test one: lang
attribute on html
element
If all content is switched out to the same language; changing the lang
attribute on html
element should suffice.
Example
This test is located in test-1.html. Expected result: screen reader should switch language/pronunciation. Before language change:
...
After language change:
...
Results
| AT, Browser, OS | Switched pronunciation? |
|---|---|
| VoiceOver, Safari 9, OS X 10.10 | No |
| VoiceOver, Safari 9, OS X 10.11 | No |
| VoiceOver, Safari 9, iOS 9 | Yes |
| JAWS 16, IE 11, Windows 7 | yes |
| JAWS, IE 11, Windows 10 | No |
| JAWS 16, Firefox 42, Windows 7 | yes |
| NVDA, Firefox, Windows 10 | Yes |
| Narrator, Edge 12, Windows 10 | No |
| Narrator, IE 11, Windows 10 | No |
| ChromeVox, Chrome, Windows 10 | No |
| ChromeVox 49, Chrome 47, OS X 10.10 | No |
Notes
- VoiceOver tests under OS X had extra languages installed.


Mobile First Responsiveness
Nested Rows (ggf-half inside ggf-half)
Try to resize the window!
ggf-half
ggf-half
This is a paragraph.
ggf-half
This is a paragraph.
ggf-half
ggf-half
This is a paragraph.
ggf-half
This is a paragraph.


Changelog
2.8.2
Minor bugfixes:
- #1874 use
Object.prototype.hasOwnProperty
instead ofobj.hasOwnProperty
(ie8 bug) - #1873 add
duration#toString()
- #1859 better month/weekday names in norwegian
- #1812 meridiem parsing for greek
- #1804 spanish del -> de
- #1800 korean LT improvement
2.8.1
- bugfix #1813: fix moment().lang([key]) incompatibility
2.8.0 See changelog
- incompatible changes
- #1761: moments created without a language are no longer following the global language, in case it changes. Only newly created moments take the global language by default. In case you're affected by this, wait, comment on #1797 and wait for a proper reimplementation
- #1642: 45 days is no longer "a month" according to humanize, cutoffs for month, and year have changed. Hopefully your code does not depend on a particular answer from humanize (which it shouldn't anyway)
- #1784: if you use the human readable English datetime format in a weird way (like storing them in a database) that would break when the format changes you're at risk.
- deprecations (old behavior will be dropped in 3.0)
- #1761
lang
is renamed tolocale
,langData
->localeData
. Also there is nowdefineLocale
that should be used when creating new locales - #1763
add(unit, value)
andsubtract(unit, value)
are now deprecated. Useadd(value, unit)
andsubtract(value, unit)
instead. - #1759 rename
duration.toIsoString
toduration.toISOString
. The js standard library and moment'stoISOString
follow that convention.
- #1761
- new locales
- bugfixes, locale bugfixes, performance improvements, features
2.7.0 See changelog
-
new languages
-
features
-
bugfixes
2.6.0 See changelog
- languages
- features
- #1419, #1468, #1467, #1546 better handling of timezone-d moments around DST
- #1462 add weeksInYear and isoWeeksInYear
- #1475 support ordinal parsing
- #1499 composer support
- #1577, #1604 put Date parsing in moment.createFromInputFallback so it can be properly deprecated and controlled in the future
- #1545 extract two-digit year parsing in moment.parseTwoDigitYear, so it can be overwritten
- #1590 (see #1574) set AMD global before module definition to better support non AMD module dependencies used in AMD environment
- #1589 remove global in Node.JS environment (was not working before, nobody complained, was scheduled for removal anyway)
- #1586 support quarter setting and parsing
- 18 bugs fixed
2.5.1
- languages
- #1392 Armenian (hy-am)
- bugfixes
- #1429 fixes #1423 weird chrome-32 bug with js object creation
- #1421 remove html entities from Welsh
- #1418 fixes #1401 improved non-padded tokens in strict matching
- #1417 fixes #1404 handle buggy moment object created by property cloning
- #1398 fixes #1397 fix Arabic-like week number parsing
- #1396 add leftZeroFill(4) to GGGG and gggg formats
- #1373 use lowercase for months and days in Catalan
- testing
- #1374 run tests on multiple browser/os combos via SauceLabs and Travis
2.5.0 See changelog
- New languages
- Features
- 22 bugfixes
2.4.0
- Deprecate globally exported moment, will be removed in next major
- New languages
- Bugfixes
2.3.1
Removed a trailing comma [1169] and fixed a bug with months
, weekdays
getters #1171.
2.3.0 See changelog
Changed isValid, added strict parsing. Week tokens parsing.
2.2.1
Fixed bug in string prototype test. Updated authors and contributors.
2.2.0 See changelog
Added bower support.
Language files now use UMD.
Creating moment defaults to current date/month/year.
Added a bundle of moment and all language files.
2.1.0 See changelog
Added better week support.
Added ability to set offset with moment#zone
.
Added ability to set month or weekday from a string.
Added moment#min
and moment#max
2.0.0 See changelog
Added short form localized tokens.
Added ability to define language a string should be parsed in.
Added support for reversed add/subtract arguments.
Added support for endOf('week')
and startOf('week')
.
Fixed the logic for moment#diff(Moment, 'months')
and moment#diff(Moment, 'years')
moment#diff
now floors instead of rounds.
Normalized moment#toString
.
Added isSame
, isAfter
, and isBefore
methods.
Added better week support.
Added moment#toJSON
Bugfix: Fixed parsing of first century dates
Bugfix: Parsing 10Sep2001 should work as expected
Bugfix: Fixed wierdness with moment.utc()
parsing.
Changed language ordinal method to return the number + ordinal instead of just the ordinal.
Changed two digit year parsing cutoff to match strptime.
Removed moment#sod
and moment#eod
in favor of moment#startOf
and moment#endOf
.
Removed moment.humanizeDuration()
in favor of moment.duration().humanize()
.
Removed the lang data objects from the top level namespace.
Duplicate Date
passed to moment()
instead of referencing it.
1.7.2 See discussion
Bugfixes
1.7.1 See discussion
Bugfixes
1.7.0 See discussion
Added moment.fn.endOf()
and moment.fn.startOf()
.
Added validation via moment.fn.isValid()
.
Made formatting method 3x faster. http://jsperf.com/momentjs-cached-format-functions
Add support for month/weekday callbacks in moment.fn.format()
Added instance specific languages.
Added two letter weekday abbreviations with the formatting token dd
.
Various language updates.
Various bugfixes.
1.6.0 See discussion
Added Durations.
Revamped parser to support parsing non-separated strings (YYYYMMDD vs YYYY-MM-DD).
Added support for millisecond parsing and formatting tokens (S SS SSS)
Added a getter for moment.lang()
Various bugfixes.
There are a few things deprecated in the 1.6.0 release.
-
The format tokens
z
andzz
(timezone abbreviations like EST CST MST etc) will no longer be supported. Due to inconsistent browser support, we are unable to consistently produce this value. See this issue for more background. -
The method
moment.fn.native
is deprecated in favor ofmoment.fn.toDate
. There continue to be issues with Google Closure Compiler throwing errors when usingnative
, even in valid instances. -
The way to customize am/pm strings is being changed. This would only affect you if you created a custom language file. For more information, see this issue.
1.5.0 See milestone
Added UTC mode.
Added automatic ISO8601 parsing.
Various bugfixes.
1.4.0 See milestone
Added moment.fn.toDate
as a replacement for moment.fn.native
.
Added moment.fn.sod
and moment.fn.eod
to get the start and end of day.
Various bugfixes.
1.3.0 See milestone
Added support for parsing month names in the current language.
Added escape blocks for parsing tokens.
Added moment.fn.calendar
to format strings like 'Today 2:30 PM', 'Tomorrow 1:25 AM', and 'Last Sunday 4:30 AM'.
Added moment.fn.day
as a setter.
Various bugfixes
1.2.0 See milestone
Added timezones to parser and formatter.
Added moment.fn.isDST
.
Added moment.fn.zone
to get the timezone offset in minutes.
1.1.2 See milestone
Various bugfixes
1.1.1 See milestone
Added time specific diffs (months, days, hours, etc)
1.1.0
Added moment.fn.format
localized masks. 'L LL LLL LLLL' issue 29
Fixed issue 31.
1.0.1
Added moment.version
to get the current version.
Removed window !== undefined
when checking if module exists to support browserify. issue 25
1.0.0
Added convenience methods for getting and setting date parts.
Added better support for moment.add()
.
Added better lang support in NodeJS.
Renamed library from underscore.date to Moment.js
0.6.1
Added Portuguese, Italian, and French language support
0.6.0
Added _date.lang() support. Added support for passing multiple formats to try to parse a date. _date("07-10-1986", ["MM-DD-YYYY", "YYYY-MM-DD"]); Made parse from string and single format 25% faster.
0.5.2
Bugfix for issue 8 and issue 9.
0.5.1
Bugfix for issue 5.
0.5.0
Dropped the redundant _date.date()
in favor of _date()
.
Removed _date.now()
, as it is a duplicate of _date()
with no parameters.
Removed _date.isLeapYear(yearNumber)
. Use _date([yearNumber]).isLeapYear()
instead.
Exposed customization options through the _date.relativeTime
, _date.weekdays
, _date.weekdaysShort
, _date.months
, _date.monthsShort
, and _date.ordinal
variables instead of the _date.customize()
function.
0.4.1
Added date input formats for input strings.
0.4.0
Added underscore.date to npm. Removed dependencies on underscore.
0.3.2
Added 'z'
and 'zz'
to _.date().format()
.  Moved all date manipulation and display functions to the _.date() object.
0.3.0
Switched to the Underscore methodology of not mucking with the native objects' prototypes. Made chaining possible.
0.2.1
Changed date names to be a more pseudo standardized 'dddd, MMMM Do YYYY, h:mm:ss a'.
Added Date.prototype
functions add
, subtract
, isdst
, and isleapyear
.
0.2.0
Changed function names to be more concise. Changed date format from php date format to custom format.
0.1.0
Initial release


This transition indicates that the report creation process is successfully completed. Therefore, the system assigns the Ready status to this report. This report also becomes available for download and it could be deleted by clicking the corresponding button.
A new generating report with the Deploying status.
A successfully generated report with the Ready status.


Art Director / UI designer - Nobox Marketing Group In charge of designing digital projects for multiple platforms, as well as participating during the site structure (wireframes) creation and user experience processes (UX). Oversee many of the projects developed at the agency. Projects for clients such as Copa Airlines, P&G, Discovery Channel, eMerge Americas, Fire Fox and many others.
Studied Advertising at the Universidad Autónoma de Santo Domingo and have over 6 years of experience in designing web interfaces.


The download should start momentarily if it does not click here and download the java run time environment. Sudoku java webstart.


Abstract:
The surface mass balance (SMB) of the Greenland Ice Sheet critically
depend on the intensity of ice/snow melt in its ablation zone, but
in-situ data have been too limited to quantify the error of regional
climate models. Here, we use 23 years of NASA satellite and airborne
laser altimetry from the Airborne Topographic Mapper (ATM), Land,
Vegetation and Ice Sensor (LVIS) and Ice, Cloud and land Elevation
Satellite (ICESat) to generate time series of elevation change to
compare with SMB products from the Regional Atmospheric Climate Model
(RACMO2.3p2) and from the Modèle Atmosphérique Régional
(MARv3.5.2). For 1994–2016, the results agree at the
15–26% level, with the largest discrepancy in north Greenland.
During the cold summer 2015, the RMS discrepancy is 40% in the
north, 30% in the southwest, and 18–25% at low elevation.
The difference drops to 23% in the southwest and 14% at low
elevation during the 2016 warm summer.


MEMO
Delete
To add a new item in the list type in the above box
Delete
To delete an item hover over it and click on "Delete"
Delete
Now add your own items
Delete
Wait is that a plane?


H.B. Woodrose, Cannabis & Mind Machine
| DOSE: T+ 0:00 |
5 seeds |
oral |
H.B. Woodrose |
(extract) |
| T+ 3:35 |
2 hits |
smoked |
Cannabis |
(plant material) |
| T+ 5:35 |
1 hit |
smoked |
Cannabis |
(plant material) |
Devices Used:
PC with Bwgen playing 10Hz binaural beats through headphones
Homemade LED glasses running at 5-10Hz over 30 mins
Set: I am feeling fairly well and have no other specific plans tonight or tomorrow.
Setting: My bedroom in the evening.
Notes: I have taken LSD many times before, but this will be my first LSA experience. I am not currently taking any prescriptions, medications, or supplements.
Preparation:
I carefully scrape the fuzzy coating off of 5 Hawaiian Baby Woodrose seeds, grind them to a powder with small chunks in a coffee grinder, and let them soak in purified mineral water for a little over an hour, shaking occasionally. The water turns greenish and then ends up mostly brown. It is run through coffee filters to yield about 1/2 cup of brown water. I am intentionally starting out with a low-end dose just to play it safe.
Experience:
T
Begin drinking, the taste is not necessarily good, but at the same time pleasantly mild and non-bitter, especially compared to most things.
T + 0:25
Finish drinking. No effects yet at all.
T + 0:35
Ok, I'm feeling some effects now. Hard to describe, but I feel slightly 'electrified' and a tiny bit restless.
T + 0:50
The same effects continue, getting slightly stronger.
T + 1:00
I am definitely in a happy mood. My surroundings seem a slight bit surreal in a way. I'm a little bit 'burpy' but otherwise feel fine with no nausea. I find myself just randomly smiling a lot.
T + 1:10
I am noticing a very slight resemblance to LSD, but much smoother & milder. So far this is really cool. Some minor LSD type yawns and 'permagrin' coming on.
T + 1:20
A minor bit of jaw tension. The very beginnings of what would probably turn into nausea at larger doses, but hardly noticable. Overall, still feeling very good.
T + 1:30
Running up & down the stairs a few times feels like I just finished a race and I'm somewhat out of breath, although the effects do seem a bit more noticable now.
T + 1:40
Now I feel a little bit like I'm tripping on LSD, and my surroundings are getting more surreal. Still no nausea.
T + 1:50
Quite restless, keep pacing in circles, can't stay sitting down. Breathing is a bit heavy. Waves of pure joy and excitement keep coming over me, making it hard to stop smiling for very long. I now see what people mean when they describe it as a cross between LSD & MDMA. :)
T + 3:20
Feeling completely wonderful. Not a bit of nausea. Been talking on the phone with a friend for a while. Very talkative, trying to explain everything. There seems like an infinite number of things to talk about. I can hardly contain my excitement!!! Had a bite of strawberry cheesecake icecream, which tasted virtually orgasmic! :)
T + 3:35
Smoke a hit of cannabis through a water bong and lay down and listen to 10Hz binaurals...
T + 4:10
Holy shit!!!! I kept having random images/memories from my past pop in my head along with some subtle patterns, although now I can't remember specifically what any of them were in particular. Then out of nowhere the twitches started. It was as if laying perfectly still for too long caused some kind of energy to build up in my body until it finally just released into a random muscle, in this case causing my left arm to spontaneously jump a few inches over. It felt almost like getting zapped with a stun gun, although it didn't hurt at all. It just kind of freaked me out. This happened a few times, getting stronger each time until I got up.
T + 5:35
Smoke another hit of cannabis, put on my homemade LED glasses and some tripped out music by Mystical Sun, and lay back down. This music sounded so good it's indescribable! I found myself automatically picking out each and every individual sound and clearly seeing how they were all put together in such a beautiful way. After a while I came close to having a full OOBE. It's like the whole network of invisible connections that tie your 'self' to your body just dissolve away, leaving me kind of just floating there within my body. Definitely a feeling that cannot be explained to anyone, but has to be experienced. I finally fade over into sleep for probably a good 9 hours and wake up feeling a little 'different' but physically and emotionally fine and somewhat spiritually fulfilled.
Afterthoughts:
I would have to say this was the best trip I've had in quite a while, right up there with some of my LSD + MDMA trips. At times it got a bit hectic while trying to talk on the phone or use the computer, but with the help of THC and lying down with music I was able to stay calm and focused.
cynapse
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Filesystem ¶
Module for testing local filesystem. Fork it to extend the module for FTP, Amazon S3, others.
Status ¶
- Maintainer: davert
- Stability: stable
- Contact<EMAIL_ADDRESS>Module was developed to test Codeception itself.
Actions ¶
amInPath ¶
Enters a directory In local filesystem. Project root directory is used by default
param string
$path
cleanDir ¶
Erases directory contents
<?php
$I->cleanDir('logs');
?>
param string
$dirname
copyDir ¶
Copies directory with all contents
<?php
$I->copyDir('vendor','old_vendor');
?>
param string
$srcparam string
$dst
deleteDir ¶
Deletes directory with all subdirectories
<?php
$I->deleteDir('vendor');
?>
param string
$dirname
deleteFile ¶
Deletes a file
<?php
$I->deleteFile('composer.lock');
?>
param string
$filename
deleteThisFile ¶
Deletes a file
dontSeeFileFound ¶
Checks if file does not exist in path
param string
$filenameparam string
$path
dontSeeInThisFile ¶
Checks If opened file doesn't contain text
in it
<?php
$I->openFile('composer.json');
$I->dontSeeInThisFile('codeception/codeception');
?>
param string
$text
openFile ¶
Opens a file and stores it's content.
Usage:
<?php
$I->openFile('composer.json');
$I->seeInThisFile('codeception/codeception');
?>
param string
$filename
seeFileContentsEqual ¶
Checks the strict matching of file contents.
Unlike seeInThisFile
will fail if file has something more than expected lines.
Better to use with HEREDOC strings.
Matching is done after removing "\r" chars from file content.
<?php
$I->openFile('process.pid');
$I->seeFileContentsEqual('3192');
?>
param string
$text
seeFileFound ¶
Checks if file exists in path. Opens a file when it's exists
<?php
$I->seeFileFound('UserModel.php','app/models');
?>
param string
$filenameparam string
$path
seeInThisFile ¶
Checks If opened file has text
in it.
Usage:
<?php
$I->openFile('composer.json');
$I->seeInThisFile('codeception/codeception');
?>
param string
$text
seeNumberNewLines ¶
Checks If opened file has the number
of new lines.
Usage:
<?php
$I->openFile('composer.json');
$I->seeNumberNewLines(5);
?>
param int
$number New lines
seeThisFileMatches ¶
Checks that contents of currently opened file matches $regex
param string
$regex
writeToFile ¶
Saves contents to file
param string
$filenameparam string
$contents


Different color per strokeStep
Rounded linecap
Clockwise with background
Pie chart clockwise
Overlapping stroke with transparency


I am a junior student pursuing Bachelor of Technology in Computer Science and Engineering from Guru Gobind Singh Indraprastha University, Delhi, India. I am a Python enthusiast and currently learning about web technologies. This site is
the place I own on the Internet.
The desire to make something useful steers my motivation. I am an optimist, a Technology Enthusiast, an avid Music lover, a couch potato and a good listener. I also love to watch TV-Shows and I'm
open to suggestions.
I have worked with web scraping and back-end(Python).
Enhanced Python documentation in Python in 3.7 release.
Debian packaging contributor. Packaged already written applications in Python and Golang to be available for installation via apt in Debian unstable.
It is soon to be released in Ubuntu. Collaborated with people across multiple-time zones.
Completed Hacktoberfest by landing four pull requests & enhanced git skills and got familiar with open source.
GPA: -
GPA: 3.7
CGPA: 10.0
Apart from being a web developer, I enjoy most of my time being outdoors. I like to help children in web development. I also organize workshops in my college premises.
When forced indoors, I follow a number of sci-fi and fantasy genre movies and television shows, and I spend a large amount of my free time exploring the latest technology advancements in the back-end web development world and contributing to open source.


Example:
sealed class A {} final class B extends A {}
After the fix is applied, the result will be like this:
sealed class A permits B {} final class B extends A {}
New in 2020.3


Set your zoom to 200% for the best chance of removing the virus!
Follow the steps below to remove the virus:


|
VirtualSCADA
1.0
VirtualSCADA Senior Design Project
|
Public Member Functions | |
| when ($concrete) | |
| bound ($abstract) | |
| resolved ($abstract) | |
| isAlias ($name) | |
| bind ($abstract, $concrete=null, $shared=false) | |
| addContextualBinding ($concrete, $abstract, $implementation) | |
| bindIf ($abstract, $concrete=null, $shared=false) | |
| singleton ($abstract, $concrete=null) | |
| share (Closure $closure) | |
| bindShared ($abstract, Closure $closure) | |
| extend ($abstract, Closure $closure) | |
| instance ($abstract, $instance) | |
| tag ($abstracts, $tags) | |
| tagged ($tag) | |
| alias ($abstract, $alias) | |
| rebinding ($abstract, Closure $callback) | |
| refresh ($abstract, $target, $method) | |
| wrap (Closure $callback, array $parameters=array()) | |
| call ($callback, array $parameters=array(), $defaultMethod=null) | |
| make ($abstract, $parameters=array()) | |
| build ($concrete, $parameters=array()) | |
| resolving ($abstract, Closure $callback=null) | |
| afterResolving ($abstract, Closure $callback=null) | |
| isShared ($abstract) | |
| getBindings () | |
| forgetInstance ($abstract) | |
| forgetInstances () | |
| flush () | |
| offsetExists ($key) | |
| offsetGet ($key) | |
| offsetSet ($key, $value) | |
| offsetUnset ($key) | |
| __get ($key) | |
| __set ($key, $value) | |
| when ($concrete) | |
| bound ($abstract) | |
| resolved ($abstract) | |
| isAlias ($name) | |
| bind ($abstract, $concrete=null, $shared=false) | |
| addContextualBinding ($concrete, $abstract, $implementation) | |
| bindIf ($abstract, $concrete=null, $shared=false) | |
| singleton ($abstract, $concrete=null) | |
| share (Closure $closure) | |
| bindShared ($abstract, Closure $closure) | |
| extend ($abstract, Closure $closure) | |
| instance ($abstract, $instance) | |
| tag ($abstracts, $tags) | |
| tagged ($tag) | |
| alias ($abstract, $alias) | |
| rebinding ($abstract, Closure $callback) | |
| refresh ($abstract, $target, $method) | |
| wrap (Closure $callback, array $parameters=[]) | |
| call ($callback, array $parameters=[], $defaultMethod=null) | |
| make ($abstract, $parameters=[]) | |
| build ($concrete, $parameters=[]) | |
| resolving ($abstract, Closure $callback=null) | |
| afterResolving ($abstract, Closure $callback=null) | |
| isShared ($abstract) | |
| getBindings () | |
| forgetInstance ($abstract) | |
| forgetInstances () | |
| flush () | |
| offsetExists ($key) | |
| offsetGet ($key) | |
| offsetSet ($key, $value) | |
| offsetUnset ($key) | |
| __get ($key) | |
| __set ($key, $value) | |
Static Public Member Functions | |
| static | getInstance () |
| static | setInstance (ContainerContract $container) |
| static | getInstance () |
| static | setInstance (ContainerContract $container) |
Data Fields | |
| $contextual = array() | |
Protected Member Functions | |
| resolvable ($abstract) | |
| getClosure ($abstract, $concrete) | |
| extractAlias (array $definition) | |
| rebound ($abstract) | |
| getReboundCallbacks ($abstract) | |
| isCallableWithAtSign ($callback) | |
| getMethodDependencies ($callback, $parameters=array()) | |
| getCallReflector ($callback) | |
| addDependencyForCallParameter (ReflectionParameter $parameter, array &$parameters, &$dependencies) | |
| callClass ($target, array $parameters=array(), $defaultMethod=null) | |
| getConcrete ($abstract) | |
| getContextualConcrete ($abstract) | |
| missingLeadingSlash ($abstract) | |
| getExtenders ($abstract) | |
| getDependencies ($parameters, array $primitives=array()) | |
| resolveNonClass (ReflectionParameter $parameter) | |
| resolveClass (ReflectionParameter $parameter) | |
| keyParametersByArgument (array $dependencies, array $parameters) | |
| resolvingCallback (Closure $callback) | |
| afterResolvingCallback (Closure $callback) | |
| getFunctionHint (Closure $callback) | |
| fireResolvingCallbacks ($abstract, $object) | |
| getCallbacksForType ($abstract, $object, array $callbacksPerType) | |
| fireCallbackArray ($object, array $callbacks) | |
| isBuildable ($concrete, $abstract) | |
| getAlias ($abstract) | |
| dropStaleInstances ($abstract) | |
| resolvable ($abstract) | |
| getClosure ($abstract, $concrete) | |
| extractAlias (array $definition) | |
| rebound ($abstract) | |
| getReboundCallbacks ($abstract) | |
| isCallableWithAtSign ($callback) | |
| getMethodDependencies ($callback, $parameters=[]) | |
| getCallReflector ($callback) | |
| addDependencyForCallParameter (ReflectionParameter $parameter, array &$parameters, &$dependencies) | |
| callClass ($target, array $parameters=[], $defaultMethod=null) | |
| getConcrete ($abstract) | |
| getContextualConcrete ($abstract) | |
| missingLeadingSlash ($abstract) | |
| getExtenders ($abstract) | |
| getDependencies ($parameters, array $primitives=[]) | |
| resolveNonClass (ReflectionParameter $parameter) | |
| resolveClass (ReflectionParameter $parameter) | |
| keyParametersByArgument (array $dependencies, array $parameters) | |
| resolvingCallback (Closure $callback) | |
| afterResolvingCallback (Closure $callback) | |
| getFunctionHint (Closure $callback) | |
| fireResolvingCallbacks ($abstract, $object) | |
| getCallbacksForType ($abstract, $object, array $callbacksPerType) | |
| fireCallbackArray ($object, array $callbacks) | |
| isBuildable ($concrete, $abstract) | |
| getAlias ($abstract) | |
| dropStaleInstances ($abstract) | |
Protected Attributes | |
| $resolved = array() | |
| $bindings = array() | |
| $instances = array() | |
| $aliases = array() | |
| $extenders = array() | |
| $tags = array() | |
| $buildStack = array() | |
| $reboundCallbacks = array() | |
| $globalResolvingCallbacks = array() | |
| $globalAfterResolvingCallbacks = array() | |
| $resolvingCallbacks = array() | |
| $afterResolvingCallbacks = array() | |
Static Protected Attributes | |
| static | $instance |
Definition at line 747 of file compiled.php.
| __get | ( | $key | ) |
Definition at line 1228 of file compiled.php.
| __get | ( | $key | ) |
Dynamically access container services.
| string | $key |
Definition at line 1274 of file Container.php.
| __set | ( | $key, | |
| $value | |||
| ) |
Definition at line 1232 of file compiled.php.
| __set | ( | $key, | |
| $value | |||
| ) |
Dynamically set container services.
| string | $key | |
| mixed | $value |
Definition at line 1286 of file Container.php.
| addContextualBinding | ( | $concrete, | |
| $abstract, | |||
| $implementation | |||
| ) |
Add a contextual binding to the container.
| string | $concrete | |
| string | $abstract | |
| \Closure | string | $implementation |
Definition at line 240 of file Container.php.
| addContextualBinding | ( | $concrete, | |
| $abstract, | |||
| $implementation | |||
| ) |
Definition at line 808 of file compiled.php.
|
protected |
Get the dependency for the given call parameter.
| \ReflectionParameter | $parameter | |
| array | $parameters | |
| array | $dependencies |
Definition at line 587 of file Container.php.
|
protected |
Definition at line 952 of file compiled.php.
| afterResolving | ( | $abstract, | |
| Closure | $callback = null |
||
| ) |
Register a new after resolving callback for all types.
| string | $abstract | |
| \Closure | $callback |
Implements Container.
Definition at line 952 of file Container.php.
| afterResolving | ( | $abstract, | |
| Closure | $callback = null |
||
| ) |
Implements Container.
Definition at line 1098 of file compiled.php.
|
protected |
Register a new after resolving callback by type of its first argument.
| \Closure | $callback |
Definition at line 990 of file Container.php.
|
protected |
Definition at line 1115 of file compiled.php.
| alias | ( | $abstract, | |
| $alias | |||
| ) |
Alias a type to a different name.
| string | $abstract | |
| string | $alias |
Implements Container.
Definition at line 413 of file Container.php.
| alias | ( | $abstract, | |
| $alias | |||
| ) |
Implements Container.
Definition at line 878 of file compiled.php.
| bind | ( | $abstract, | |
$concrete = null , |
|||
$shared = false |
|||
| ) |
Register a binding with the container.
| string | array | $abstract | |
| \Closure | string | null | $concrete | |
| bool | $shared |
Implements Container.
Definition at line 175 of file Container.php.
| bind | ( | $abstract, | |
$concrete = null , |
|||
$shared = false |
|||
| ) |
Implements Container.
Definition at line 783 of file compiled.php.
| bindIf | ( | $abstract, | |
$concrete = null , |
|||
$shared = false |
|||
| ) |
Register a binding if it hasn't already been registered.
| string | $abstract | |
| \Closure | string | null | $concrete | |
| bool | $shared |
Implements Container.
Definition at line 253 of file Container.php.
| bindIf | ( | $abstract, | |
$concrete = null , |
|||
$shared = false |
|||
| ) |
Implements Container.
Definition at line 812 of file compiled.php.
| bindShared | ( | $abstract, | |
| Closure | $closure | ||
| ) |
Bind a shared Closure into the container.
| string | $abstract | |
| \Closure | $closure |
Definition at line 304 of file Container.php.
| bindShared | ( | $abstract, | |
| Closure | $closure | ||
| ) |
Definition at line 832 of file compiled.php.
| bound | ( | $abstract | ) |
Determine if the given abstract type has been bound.
| string | $abstract |
Implements Container.
Definition at line 140 of file Container.php.
| bound | ( | $abstract | ) |
Implements Container.
Definition at line 771 of file compiled.php.
| build | ( | $concrete, | |
$parameters = [] |
|||
| ) |
Instantiate a concrete instance of the given type.
| string | $concrete | |
| array | $parameters |
| BindingResolutionException |
Definition at line 766 of file Container.php.
| build | ( | $concrete, | |
$parameters = array() |
|||
| ) |
Definition at line 1024 of file compiled.php.
| call | ( | $callback, | |
| array | $parameters = [] , |
||
$defaultMethod = null |
|||
| ) |
Call the given Closure / class and inject its dependencies.
| callable | string | $callback | |
| array | $parameters | |
| string | null | $defaultMethod |
Implements Container.
Definition at line 514 of file Container.php.
| call | ( | $callback, | |
| array | $parameters = array() , |
||
$defaultMethod = null |
|||
| ) |
Implements Container.
Definition at line 919 of file compiled.php.
|
protected |
Call a string reference to a class using Class syntax.
| string | $target | |
| array | $parameters | |
| string | null | $defaultMethod |
Definition at line 613 of file Container.php.
|
protected |
Definition at line 963 of file compiled.php.
|
protected |
Drop all of the stale instances and aliases.
| string | $abstract |
Definition at line 1152 of file Container.php.
|
protected |
Definition at line 1180 of file compiled.php.
| extend | ( | $abstract, | |
| Closure | $closure | ||
| ) |
"Extend" an abstract type in the container.
| string | $abstract | |
| \Closure | $closure |
Implements Container.
Definition at line 318 of file Container.php.
| extend | ( | $abstract, | |
| Closure | $closure | ||
| ) |
Implements Container.
Definition at line 836 of file compiled.php.
|
protected |
Extract the type and alias from a given definition.
| array | $definition |
Definition at line 424 of file Container.php.
|
protected |
Definition at line 882 of file compiled.php.
|
protected |
Fire an array of callbacks with an object.
| mixed | $object | |
| array | $callbacks |
Definition at line 1085 of file Container.php.
|
protected |
Definition at line 1153 of file compiled.php.
|
protected |
Fire all of the resolving callbacks.
| string | $abstract | |
| mixed | $object |
Definition at line 1036 of file Container.php.
|
protected |
Definition at line 1136 of file compiled.php.
| flush | ( | ) |
Flush the container of all bindings and resolved instances.
Definition at line 1183 of file Container.php.
| flush | ( | ) |
Definition at line 1192 of file compiled.php.
| forgetInstance | ( | $abstract | ) |
Remove a resolved instance from the instance cache.
| string | $abstract |
Definition at line 1163 of file Container.php.
| forgetInstance | ( | $abstract | ) |
Definition at line 1184 of file compiled.php.
| forgetInstances | ( | ) |
Clear all of the instances from the container.
Definition at line 1173 of file Container.php.
| forgetInstances | ( | ) |
Definition at line 1188 of file compiled.php.
|
protected |
Get the alias for an abstract if available.
| string | $abstract |
Definition at line 1131 of file Container.php.
|
protected |
Definition at line 1172 of file compiled.php.
| getBindings | ( | ) |
| getBindings | ( | ) |
Definition at line 1176 of file compiled.php.
|
protected |
Get all callbacks for a given type.
| string | $abstract | |
| object | $object | |
| array | $callbacksPerType |
Definition at line 1064 of file Container.php.
|
protected |
Definition at line 1143 of file compiled.php.
|
protected |
Get the proper reflection instance for the given callback.
| callable | string | $callback |
Definition at line 564 of file Container.php.
|
protected |
Definition at line 942 of file compiled.php.
|
protected |
Get the Closure to be used when building a type.
| string | $abstract | |
| string | $concrete |
Definition at line 223 of file Container.php.
|
protected |
Definition at line 801 of file compiled.php.
|
protected |
Get the concrete type for a given abstract.
| string | $abstract |
Definition at line 692 of file Container.php.
|
protected |
Definition at line 994 of file compiled.php.
|
protected |
Get the contextual concrete binding for the given abstract.
| string | $abstract |
Definition at line 722 of file Container.php.
|
protected |
Definition at line 1007 of file compiled.php.
|
protected |
Resolve all of the dependencies from the ReflectionParameters.
| array | $parameters | |
| array | $primitives |
Definition at line 827 of file Container.php.
|
protected |
Definition at line 1046 of file compiled.php.
|
protected |
Get the extender callbacks for a given type.
| string | $abstract |
Definition at line 747 of file Container.php.
|
protected |
Definition at line 1017 of file compiled.php.
|
protected |
Get the type hint for this closure's first argument.
| \Closure | $callback |
Definition at line 1010 of file Container.php.
|
protected |
Definition at line 1124 of file compiled.php.
|
static |
Set the globally available instance of the container.
Definition at line 1196 of file Container.php.
|
static |
Definition at line 1199 of file compiled.php.
|
protected |
Get all dependencies for a given method.
| callable | string | $callback | |
| array | $parameters |
Definition at line 546 of file Container.php.
|
protected |
Definition at line 934 of file compiled.php.
|
protected |
Get the rebound callbacks for a given type.
| string | $abstract |
Definition at line 481 of file Container.php.
|
protected |
Definition at line 906 of file compiled.php.
| instance | ( | $abstract, | |
| $instance | |||
| ) |
Register an existing instance as shared in the container.
| string | $abstract | |
| mixed | $instance |
Implements Container.
Definition at line 339 of file Container.php.
| instance | ( | $abstract, | |
| $instance | |||
| ) |
Implements Container.
Definition at line 845 of file compiled.php.
| isAlias | ( | $name | ) |
Determine if a given string is an alias.
| string | $name |
Definition at line 162 of file Container.php.
| isAlias | ( | $name | ) |
Definition at line 779 of file compiled.php.
|
protected |
Determine if the given concrete is buildable.
| mixed | $concrete | |
| string | $abstract |
Definition at line 1120 of file Container.php.
|
protected |
Definition at line 1168 of file compiled.php.
|
protected |
Determine if the given string is in Class syntax.
| mixed | $callback |
Definition at line 532 of file Container.php.
|
protected |
Definition at line 927 of file compiled.php.
| isShared | ( | $abstract | ) |
Determine if a given type is shared.
| string | $abstract |
Definition at line 1099 of file Container.php.
| isShared | ( | $abstract | ) |
Definition at line 1159 of file compiled.php.
|
protected |
If extra parameters are passed by numeric ID, rekey them by argument name.
| array | $dependencies | |
| array | $parameters |
Definition at line 911 of file Container.php.
|
protected |
Definition at line 1080 of file compiled.php.
| make | ( | $abstract, | |
$parameters = [] |
|||
| ) |
Resolve the given type from the container.
| string | $abstract | |
| array | $parameters |
Implements Container.
Definition at line 637 of file Container.php.
| make | ( | $abstract, | |
$parameters = array() |
|||
| ) |
Implements Container.
Definition at line 972 of file compiled.php.
|
protected |
Determine if the given abstract has a leading slash.
| string | $abstract |
Definition at line 736 of file Container.php.
|
protected |
Definition at line 1013 of file compiled.php.
| offsetExists | ( | $key | ) |
Definition at line 1207 of file compiled.php.
| offsetExists | ( | $key | ) |
Determine if a given offset exists.
| string | $key |
Definition at line 1218 of file Container.php.
| offsetGet | ( | $key | ) |
Definition at line 1211 of file compiled.php.
| offsetGet | ( | $key | ) |
Get the value at a given offset.
| string | $key |
Definition at line 1229 of file Container.php.
| offsetSet | ( | $key, | |
| $value | |||
| ) |
Definition at line 1215 of file compiled.php.
| offsetSet | ( | $key, | |
| $value | |||
| ) |
Set the value at a given offset.
| string | $key | |
| mixed | $value |
Definition at line 1241 of file Container.php.
| offsetUnset | ( | $key | ) |
Definition at line 1224 of file compiled.php.
| offsetUnset | ( | $key | ) |
Unset the value at a given offset.
| string | $key |
Definition at line 1263 of file Container.php.
| rebinding | ( | $abstract, | |
| Closure | $callback | ||
| ) |
Bind a new callback to an abstract's rebind event.
| string | $abstract | |
| \Closure | $callback |
Definition at line 436 of file Container.php.
| rebinding | ( | $abstract, | |
| Closure | $callback | ||
| ) |
Definition at line 886 of file compiled.php.
|
protected |
Fire the "rebound" callbacks for the given abstract type.
| string | $abstract |
Definition at line 465 of file Container.php.
|
protected |
Definition at line 899 of file compiled.php.
| refresh | ( | $abstract, | |
| $target, | |||
| $method | |||
| ) |
Refresh an instance on the given target and method.
| string | $abstract | |
| mixed | $target | |
| string | $method |
Definition at line 451 of file Container.php.
| refresh | ( | $abstract, | |
| $target, | |||
| $method | |||
| ) |
Definition at line 893 of file compiled.php.
|
protected |
Determine if a given string is resolvable.
| string | $abstract |
Definition at line 129 of file Container.php.
|
protected |
Definition at line 767 of file compiled.php.
|
protected |
Resolve a class based dependency from the container.
| \ReflectionParameter | $parameter |
| BindingResolutionException |
Definition at line 883 of file Container.php.
|
protected |
Definition at line 1069 of file compiled.php.
| resolved | ( | $abstract | ) |
Determine if the given abstract type has been resolved.
| string | $abstract |
Implements Container.
Definition at line 151 of file Container.php.
| resolved | ( | $abstract | ) |
Implements Container.
Definition at line 775 of file compiled.php.
|
protected |
Resolve a non-class hinted dependency.
| \ReflectionParameter | $parameter |
| BindingResolutionException |
Definition at line 863 of file Container.php.
|
protected |
Definition at line 1061 of file compiled.php.
| resolving | ( | $abstract, | |
| Closure | $callback = null |
||
| ) |
Register a new resolving callback.
| string | $abstract | |
| \Closure | $callback |
Implements Container.
Definition at line 933 of file Container.php.
| resolving | ( | $abstract, | |
| Closure | $callback = null |
||
| ) |
Implements Container.
Definition at line 1090 of file compiled.php.
|
protected |
Register a new resolving callback by type of its first argument.
| \Closure | $callback |
Definition at line 970 of file Container.php.
|
protected |
Definition at line 1106 of file compiled.php.
|
static |
Definition at line 1203 of file compiled.php.
|
static |
Set the shared instance of the container.
| \Illuminate\Contracts\Container\Container | $container |
Definition at line 1207 of file Container.php.
| share | ( | Closure | $closure | ) |
Wrap a Closure such that it is shared.
| \Closure | $closure |
Definition at line 279 of file Container.php.
| share | ( | Closure | $closure | ) |
Definition at line 822 of file compiled.php.
| singleton | ( | $abstract, | |
$concrete = null |
|||
| ) |
Register a shared binding in the container.
| string | $abstract | |
| \Closure | string | null | $concrete |
Implements Container.
Definition at line 268 of file Container.php.
| singleton | ( | $abstract, | |
$concrete = null |
|||
| ) |
Implements Container.
Definition at line 818 of file compiled.php.
| tag | ( | $abstracts, | |
| $tags | |||
| ) |
Assign a set of tags to a given binding.
| array | string | $abstracts | |
| array|mixed | ...$tags |
Implements Container.
Definition at line 373 of file Container.php.
| tag | ( | $abstracts, | |
| $tags | |||
| ) |
Implements Container.
Definition at line 858 of file compiled.php.
| tagged | ( | $tag | ) |
Resolve all of the bindings for a given tag.
| string | $tag |
Implements Container.
Definition at line 394 of file Container.php.
| tagged | ( | $tag | ) |
Implements Container.
Definition at line 870 of file compiled.php.
| when | ( | $concrete | ) |
Define a contextual binding.
| string | $concrete |
Implements Container.
Definition at line 118 of file Container.php.
| when | ( | $concrete | ) |
Implements Container.
Definition at line 763 of file compiled.php.
| wrap | ( | Closure | $callback, |
| array | $parameters = [] |
||
| ) |
Wrap the given closure such that its dependencies will be injected when executed.
| \Closure | $callback | |
| array | $parameters |
Definition at line 498 of file Container.php.
| wrap | ( | Closure | $callback, |
| array | $parameters = array() |
||
| ) |
Definition at line 913 of file compiled.php.
|
protected |
Definition at line 762 of file compiled.php.
|
protected |
Definition at line 753 of file compiled.php.
|
protected |
Definition at line 751 of file compiled.php.
|
protected |
Definition at line 756 of file compiled.php.
| $contextual = array() |
Definition at line 757 of file compiled.php.
|
protected |
Definition at line 754 of file compiled.php.
|
protected |
Definition at line 760 of file compiled.php.
|
protected |
Definition at line 759 of file compiled.php.
|
staticprotected |
Definition at line 749 of file compiled.php.
|
protected |
Definition at line 752 of file compiled.php.
|
protected |
Definition at line 758 of file compiled.php.
|
protected |
Definition at line 750 of file compiled.php.
|
protected |
Definition at line 761 of file compiled.php.
|
protected |
Definition at line 755 of file compiled.php.


git
!git
basicsgit
ready!
git init
git config --global user.name John Cena
git config --global user.email<EMAIL_ADDRESS>You only need to do it once.
git status
The state of your working directory
This is your best friend!
Let's add a file to the working directory!
git add filename
or
git add *
git commit
Grabs all files from the Staging Area and stores them into the Repository
Snapshots, not differences
And that's what makes git
awesome!

You are working on a web application which is used by thousands of users.

But I'm currently working on Issue #53 and already changed a lot of files. I don't want them with the fix.
Don't worry! With Git, this is easy peasy!
git checkout master
You create a new branch and fix the issue after some minutes of hard work.
git checkout -b hotfix
git commit -a -m "Fix the typo on the home page"
After some testing, you now want to merge the fix to the master
branch where the production code is in.
$ git checkout master $ git merge hotfix Updating f42c576..3a0874c Fast-forward index.html | 2 ++ 1 file changed, 2 insertions(+)
But first... Let's delete the hotfix
branch, since you don't need it anymore.
$ git branch -d hotfix Deleted branch hotfix (3a0874c)
You get back to work on the issue.
git checkout iss53
git commit -a -m "Fix the second part of issue 53"
You decided that Issue #53 is now fixed and ready to be merged into master
.
$ git checkout master Switched to branch 'master' $ git merge iss53 Merge made by the 'recursive' strategy. index.html | 50 + 1 file changed, 50 insertions(+)
That's a little different...
The largest host for Git repositories!
Central point of collaboration for millions of developers and projects
So many languages... @GitHut.info
Many utitilies: Issue tracking, code review, wikis, integrations and much more...
GitHub Enterprise
git clone https://github.com/niiick1/my-remote
git remote -v
git fetch origin
This only downloads the repository data and will not modify your working directory
git merge origin branch-name
git pull
A combination of git fetch
and git merge
git push origin branch-name
Mail me!


Toggle nav
View details »
Official Fb page
Dr. Prof. Rati Ranjan Dash HOD, Department of Mechanical Enginnering mail<EMAIL_ADDRESS>Mob: +919437040814


My real long term goal is just to get a job, become more confident, and make those around me happy/feel safe and supported. Probably a big goal and a many for lots of others but these are the most important to me. Well the job isn't too much of a goal and I feel like money is also becoming a necessity, but I ignore that. I just want to provide to my current family and my future family. When it comes to career paths, I would love to do something in I.T. It's a passion of mine, and my family is a big push when it comes to doing what I want to do.
I would like to improve all of my human skills. To be able to communicate comfortably whether it be solo or in a group without feeling any form of anxiety is one of my long-term goals. Charisma is an attribute I would love to have. I can talk to people and be a good listener, but I'm just the type of person people vent to when they're really low. It's good that I can be that person, but I want to be someone that people can talk to regardless of any topic.
Kindness/Love: Two different things but I think that when you can be kind, the love will spread itself. Also, I might be a bit negative towards myself at times, which I would say happens to a lot of people these days, but I would never be negative towards other people. Humor: Love to laugh and make people laugh. Might not be the funniest guy but can always appreciate humor.
As long as I can stay within the timeboxes and can hand in work before future due dates, there should be no obstacles. The best way to do that is to set those goals and prioritize them. I'm always going to be respectful and reply to everyone, so don't worry about getting ignored lol. To everyone that I will work with, I hope we can be friends, and I might not be the smartest in the room, but I hope my determination will overcome any challenge we face.
There is the facilitators, the people also doing the course, google, etc. All I need to do is ask when I need to. (Remembering to stick to the framework)
I just expect friendliness. I know its a flipped classroom and there won't be any 'teachers' but I hope to learn from them through experience or them saying things.
I'm fully committed to this course!


ResetList()
Syntax
ResetList(List())Description
Resets the current list element to be before the first element. This means no element is actually valid. However, this is very useful to allow you to process all the elements by using NextElement().
Parameters
List() The name of your list variable, created with the NewList function. You must include the brackets after the list name.
Return value
None.
Example
NewList Friends.s() AddElement(Friends()) Friends() = "Arnaud" AddElement(Friends()) Friends() = "Seb" ResetList(Friends()) While NextElement(Friends()) Debug Friends() ; Display all the list elements Wend
See Also
NextElement(), ListIndex()
Supported OS
All


Graph Surgeon¶
graphsurgeon
allows you to transform TensorFlow graphs. Its capabilities are broadly divided into two categories: search and manipulation. Search functions allow you to find nodes in a TensorFlow graph. Manipulation functions allow you to modify, add, or remove nodes.
Node Creation¶
Allow you to create free standing TensorFlow nodes, which can be used as stand-ins for plugins.
-
graphsurgeon.
create_node
(name, op=None, trt_plugin=False, **kwargs)¶ Creates a free-standing TensorFlow NodeDef with the specified properties.
Parameters: - name (str) – The name of the node.
- op (str) – The node’s operation.
Keyword Arguments: - dtype (tensorflow.DType) – TensorFlow dtype.
- shape (tuple(int)) – Iterable container (usually a tuple) describing the shape of a tensor.
- inputs (list(tensorflow.NodeDef) or str) – Iterable container (usually a tuple) of input nodes or input node names. Supports mixed-type lists.
- **kwargs (AttrName=Value) – Any additional fields that should be present in the node. Currently supports int, float, bool, list(int), list(float), str and NumPy arrays. NumPy arrays will be inserted into the “value” attribute of the node - this can be useful for creating constant nodes equivalent to those created by tensorflow.constant.
Returns: tensorflow.NodeDef
-
graphsurgeon.
create_plugin_node
(name, op=None, **kwargs)¶ Creates a free-standing TensorFlow NodeDef with the specified properties. This is similar to create_node,
Parameters: - name (str) – The name of the node.
- op (str) – The node’s operation.
- dtype (tensorflow.DType) – TensorFlow dtype.
- shape (tuple(int)) – Iterable container (usually a tuple) describing the shape of a tensor.
- inputs (list(tensorflow.NodeDef) or str) – Iterable container (usually a tuple) of input nodes or input node names. Supports mixed-type lists.
- **kwargs (AttrName=Value) – Any additional fields that should be present in the node. Currently supports int, float, bool, list(int), list(float) and str.
Returns: tensorflow.NodeDef
Static Graph¶
-
class
graphsurgeon.
StaticGraph
(graphdef=None)¶ Acts as a thin wrapper for a read-only TensorFlow GraphDef. Supports indexing based on node name/index as well as iteration over nodes using Python’s
for node in static_graph
syntax.Parameters: graphdef (tensorflow.GraphDef/tensorflow.Graph OR graphsurgeon.StaticGraph/graphsurgeon.DynamicGraph OR str) – A TensorFlow GraphDef/Graph or a StaticGraph from which to construct this graph, or a string containing a path to a frozen model. -
node_outputs
¶ A mapping of node names to their respective output nodes.
Type: dict(str, list(tensorflow.NodeDef))
-
node_map
¶ A mapping of node names to their corresponding nodes.
Type: dict(str, tensorflow.NodeDef)
-
graph_outputs
¶ A list of likely outputs of the graph.
Type: list(tensorflow.NodeDef)
-
graph_inputs
¶ A list of likely inputs of the graph.
Type: list(tensorflow.NodeDef)
-
as_graph_def
()¶ Returns this StaticGraph’s internal TensorFlow GraphDef.
Parameters: None – Returns: tensorflow.GraphDef
-
find_node_chains_by_op
(chain)¶ Finds groups of nodes in this graph that match the specified sequence of ops. Returns a list of matching chains of nodes, with ordering preserved.
Parameters: chain (list(str)) – The sequence of ops to look for. Should be ordered with the input of the chain as the first element, and the output as the last. Returns: list(list(tensorflow.NodeDef))
-
find_node_inputs
(node)¶ Finds input nodes of a given node.
Parameters: node (tensorflow.NodeDef) – The node in which to perform the search. Returns: list(tensorflow.NodeDef)
-
find_node_inputs_by_name
(node, name)¶ Finds input nodes of a given node based on their names.
Parameters: - node (tensorflow.NodeDef) – The node in which to perform the search.
- name (str OR list(str)) – The name to look for. Also accepts iterable containers (preferably a list) to search for multiple names in a single pass. Supports regular expressions.
Returns: list(tensorflow.NodeDef)
-
find_node_inputs_by_op
(node, op)¶ Finds input nodes of a given node based on their ops.
Parameters: - node (tensorflow.NodeDef) – The node in which to perform the search.
- op (str OR list(str)) – The op to look for. Also accepts iterable containers (preferably a list) to search for multiple op in a single pass.
Returns: list(tensorflow.NodeDef)
-
find_nodes_by_name
(name)¶ Finds nodes in this graph based on their names.
Parameters: name (str OR list(str)) – The name to look for. Also accepts iterable containers (preferably a list) to search for multiple names in a single pass of the graph. Supports regular expressions. Returns: list(tensorflow.NodeDef)
-
find_nodes_by_op
(op)¶ Finds nodes in this graph based on their ops.
Parameters: op (str OR set(str)) – The op to look for. Also accepts iterable containers (preferably hashsets) to search for multiple ops in a single pass of the graph. Returns: list(tensorflow.NodeDef)
-
find_nodes_by_path
(path)¶ Finds nodes in this graph based on their full paths. This will only match exact paths.
Parameters: path (str OR list(str)) – The path to look for. Also accepts iterable containers (preferably a list) to search for multiple paths in a single pass of the graph. Supports regular expressions. Returns: list(tensorflow.NodeDef)
-
read
(filename)¶ Reads a frozen protobuf file into this StaticGraph.
Parameters: filename (str) – Name of the protobuf file. Returns: None
-
write
(filename)¶ Writes the StaticGraph’s internal TensorFlow GraphDef into a frozen protobuf file.
Parameters: filename (str) – Name of the protobuf file to write. Returns: None
-
write_tensorboard
(logdir)¶ Writes the StaticGraph’s internal TensorFlow GraphDef into the specified directory, which can then be visualized in TensorBoard.
Parameters: logdir (str) – Name of the directory to write. Returns: None Raises: Warning -- Passing a `GraphDef` to the SummaryWriter is deprecated. Pass a `Graph` object instead, such as `sess.graph`.
This is a known warning, but currently there is no alternative, since TensorFlow will not be able to convert invalid GraphDefs back to Graphs.
-
Dynamic Graph (Inherits from StaticGraph)¶
-
class
graphsurgeon.
DynamicGraph
(graphdef=None)¶ A sub-class of StaticGraph that can search and modify a TensorFlow GraphDef.
Parameters: graphdef (tensorflow.GraphDef/tensorflow.Graph OR graphsurgeon.StaticGraph/graphsurgeon.DynamicGraph OR str) – A TensorFlow GraphDef/Graph or a StaticGraph/DynamicGraph from which to construct this graph, or a string containing the path to a frozen model. -
append
(node)¶ Appends a node to this graph.
Parameters: node (tensorflow.NodeDef) – TensorFlow NodeDef to add to the graph. Returns: None
-
collapse_namespaces
(namespace_map, exclude_nodes=[], unique_inputs=True)¶ Collapses nodes in namespaces to single nodes specified by the user, except where those nodes are marked for exclusion.
Parameters: - namespace_map (dict(str, tensorflow.NodeDef)) – A dictionary specifying namespaces and their corresponding plugin nodes. These plugin nodes are typically used to specify attributes of the custom plugin, while inputs and outputs are automatically deduced. Multiple namespaces can be collapsed into a single plugin node, and nested namespaces are collapsed into plugin nodes outside their parent namespaces.
- exclude_nodes (list(tensorflow.NodeDef)) – Iterable container (usually a list) of nodes which should NOT be collapsed. These nodes will be present in the final graph as either inputs or outputs of the plugin nodes.
- unique_inputs (bool) – Whether inputs to the collapsed node should be unique. If this is false, plugin nodes may have duplicate inputs.
Returns: None
-
extend
(node_list)¶ Extends this graph’s nodes based on the provided list.
Parameters: node_list (list(tensorflow.NodeDef)) – List of TensorFlow NodeDefs to add to the graph. Returns: None
-
forward_inputs
(nodes)¶ Removes nodes from this graph. Recursively forwards inputs, such that paths in the graph are preserved.
Warning: Nodes with control inputs are not removed, so as not to break the structure of the graph. If you need to forward these, remove their control inputs first.
Parameters: nodes (list(tensorflow.NodeDef))) – Iterable container (usually a list) of nodes which should be removed and whose inputs forwarded. Returns: None
-
remove
(nodes, remove_exclusive_dependencies=False)¶ Removes nodes from this graph. Does not forward inputs, so paths in the graph could be broken.
Parameters: - nodes – A list of nodes or node names or a singleton node or node name to be removed
- remove_exclusive_dependencies (bool) – Whether to also remove dependencies exclusive to the nodes about to be removed. When set to True, all exclusive dependencies will be removed recursively, and the number of hanging nodes in the graph will remain constant. Defaults to False.
Returns: None
-


Thank you for using this extension!
For the latest updates follow me on Twitter.
To report any bugs or make a feature request please contact me through Twitter, the chrome extension page or my website.
This extension was written for fun by Ben Beckford in his spare time, if you would like to buy him a beer or a coffee click here :)
Icons by famfamfam


|
My name is Daniel Gruner, I am a software engineer from Germany. Find me at Github under github.com/mindactuate or at dev.to under dev.to/mindactuate. |
You can find the impressum and gdpr privacy in German under mindactuate.github.io/impressum-datenschutz/


HP Device Project
Provides basic commands for management of HP servers.
Tags: Management
1 QuickCall Library in project://ri_hp_5900
addPortToVlan
| Argument |
Description |
| portName |
|
| vlanId |
|
removePortFromVlan
| Argument |
Description |
| portName |
|
| vlanId |
|
formatPortStatus
Returns JSON formatted string for port status usable by Velocity
| Argument |
Description |
| portName |
|
| status |
|
getFirmwareVersion
getAllPortsStatus
getBridgeAggregateInterfaces
addPortToBridgeAggregate
| Argument |
Description |
| portName |
e.g. "FortyGigE1/0/6:1" |
| bridgeAggNum |
an integer |
| trunk_vlan |
|
removePortFromBridgeAggregate
| Argument |
Description |
| portName |
e.g. "FortyGigE1/0/6:1" |
| bridgeAggNum |
an integer |
enableBridgeAggregate
| Argument |
Description |
| bagNum |
Number of bridge aggregate group to create
|
disableBridgeAggregate
| Argument |
Description |
| bagNum |
Number of bridge aggregate group to shutdown
|


Experience 2019 Live Stream: Watch House On Rock Concert Online
by Emmanuel EgobiambuThe Experience Lagos 2019 live stream can be done online as the musical concert will be held on Friday, 06th, December 2019
The Experience 2019 Date
According to the House on The Rock Church, organisers of the Experience Lagos 2019, the event will hold at the Tafawa Balewa Square in Lagos, starting from 7.00 pm with the theme: “Let’s Worship Jesus.”
Find out the list of guest artists for the Experience Lagos 2019 here.
The Experience 2019 Live Stream: How To Do It
The Experience 2019can be live-streamed via these links below:
liveway.tv/hotr/experience.html
www.mtnonline.com/experience
On Youtube, the link is below:
Experience 2019 DSTV Channel To Watch
If you cannot watch online, you can enjoy the Experience 2018 (#TE13) on Dstv 198 and Gotv 29.