403Webshell
Server IP : 185.11.201.71  /  Your IP : 192.168.7.18
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : tech ( 1000)
PHP Version : 7.4.28
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/gedit/plugins/snippets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/gedit/plugins/snippets/ruby.xml
<?xml version="1.0" encoding="UTF-8"?>
<snippets language="Ruby">
  <snippet id="forin">
    <text><![CDATA[for ${1:element} in ${2:collection}
	${1:element}.$0
end]]></text>
    <description>for .. in .. end</description>
    <tag>forin</tag>
  </snippet>
  <snippet id="inject">
    <text><![CDATA[inject(${1:object}) { |${2:injection}, ${3:element}| $0 }]]></text>
    <description>inject object</description>
    <tag>inject</tag>
  </snippet>
  <snippet id="reject">
    <text><![CDATA[reject { |${1:element}| ${1:element}.$0 }]]></text>
    <description>reject element</description>
    <tag>reject</tag>
  </snippet>
  <snippet id="select">
    <text><![CDATA[select { |${1:element}| ${1:element}.$0 }]]></text>
    <description>select element</description>
    <tag>select</tag>
  </snippet>
  <snippet id="ife">
    <text><![CDATA[if ${1:condition}
	$2
else
	$3
end]]></text>
    <description>if .. else .. end</description>
    <tag>ife</tag>
  </snippet>
  <snippet id="if">
    <text><![CDATA[if ${1:condition}
	$0
end]]></text>
    <description>if .. end</description>
    <tag>if</tag>
  </snippet>
  <snippet id="case">
    <text><![CDATA[case ${1:object}
	when ${2:condition}
		$0
end]]></text>
    <description>case .. end</description>
    <tag>case</tag>
  </snippet>
  <snippet id="begin">
    <text><![CDATA[begin
	$1
rescue ${2:Exception} => ${3:e}
	$0
end]]></text>
    <description>begin .. rescue .. end</description>
    <tag>begin</tag>
  </snippet>
  <snippet id="class">
    <text><![CDATA[class ${1:class_name}
	$0
end]]></text>
    <description>class .. end</description>
    <tag>class</tag>
  </snippet>
  <snippet id="collecto">
    <text><![CDATA[collect do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>collect element do</description>
    <tag>collecto</tag>
  </snippet>
  <snippet id="collect">
    <text><![CDATA[collect { |${1:element}| ${1:element}.$0 }]]></text>
    <description>collect element</description>
    <tag>collect</tag>
  </snippet>
  <snippet id="def">
    <text><![CDATA[def ${1:method_name}
	$0
end]]></text>
    <description>def .. end</description>
    <tag>def</tag>
  </snippet>
  <snippet id="do">
    <text><![CDATA[do
	$0
end]]></text>
    <description>do .. end</description>
    <tag>do</tag>
  </snippet>
  <snippet id="doo">
    <text><![CDATA[do |${1:object}|
	$0
end]]></text>
    <description>do |object| .. end</description>
    <tag>doo</tag>
  </snippet>
  <snippet id="eacho">
    <text><![CDATA[each do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>each element do</description>
    <tag>eacho</tag>
  </snippet>
  <snippet id="each">
    <text><![CDATA[each { |${1:element}| ${1:element}.$0 }]]></text>
    <description>each element</description>
    <tag>each</tag>
  </snippet>
  <snippet id="each_with_indexo">
    <text><![CDATA[each_with_index do |${1:element}, ${2:idx}|
	${1:element}.$0
end]]></text>
    <description>each_with_index do</description>
    <tag>eachwithindexo</tag>
  </snippet>
  <snippet id="each_with_index">
    <text><![CDATA[each_with_index { |${1:element}, ${2:idx}| ${1:element}.$0 }]]></text>
    <description>each_with_index</description>
    <tag>eachwithindex</tag>
  </snippet>
  <snippet id=":">
    <text><![CDATA[:${1:key} => ${2:"value"}${3:, }]]></text>
    <description>hash pair</description>
    <tag>:</tag>
  </snippet>
  <snippet id="hashpointer">
    <text><![CDATA[ => ]]></text>
    <accelerator><![CDATA[<Shift><Alt>l]]></accelerator>
    <description>hash pointer</description>
  </snippet>
  <snippet id="injecto">
    <text><![CDATA[inject(${1:object}) do |${2:injection}, ${3:element}|
	$0
end]]></text>
    <description>inject object do</description>
    <tag>injecto</tag>
  </snippet>
  <snippet id="rejecto">
    <text><![CDATA[reject do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>reject element do</description>
    <tag>rejecto</tag>
  </snippet>
  <snippet id="selecto">
    <text><![CDATA[select do |${1:element}|
	${1:element}.$0
end]]></text>
    <description>select element do</description>
    <tag>selecto</tag>
  </snippet>
  <snippet id="unless">
    <text><![CDATA[unless ${1:condition}
	$0
end]]></text>
    <description>unless</description>
    <tag>unless</tag>
  </snippet>
  <snippet id="when">
    <text><![CDATA[when ${1:condition}
	$0]]></text>
    <description>when</description>
    <tag>when</tag>
  </snippet>
</snippets>

Youez - 2016 - github.com/yon3zu
LinuXploit