put your code here
349130
function getInput()
    {
        $years = [];
        for ($i = date('Y') - $this->maxAge; $i <= date('Y') - $this->minAge; $i++) {
            $years[$i] = $i;
        }
        $value = $this->getValue();
        $year = substr($value, 0, 4);
        $monthV = substr($value, 5, 2);
        $day = substr($value, 8, 2);
        $this->htmlOptions['class'] = isset($this->htmlOptions['class']) ? $this->htmlOptions['class'] . ' ' : '';
        $this->htmlOptions['class'] .= $this->inputClass . ' birthday';

        $htmlOptions = $this->htmlOptions;
        $htmlOptions['class'] .= ' bday-year';
        $r = Form::get()->select('', $years, $year, $htmlOptions);

        $mths = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
        $months = [];
        foreach ($mths as $k => $month) {
            $months[$k < 10 ? "0" . ($k + 1) : $k + 1] = $this->translate($month);
        }
        $htmlOptions = $this->htmlOptions;
        $htmlOptions['class'] .= ' bday-month';
        $r .= Form::get()->select('', $months, $monthV, $htmlOptions);
        $days = [];
        for ($i = 1; $i <= 31; $i++) {
            $days[$i < 10 ? "0" . $i : $i] = $i < 10 ? "0" . $i : $i;
        }
        $htmlOptions = $this->htmlOptions;
        $htmlOptions['class'] .= ' bday-day';
        $r .= Form::get()->select('', $days, $day, $htmlOptions);
        return $r . Form::get()->hiddenInput($this->getName(), $this->getValue(), ['class' => 'birthday_value']);
    }
1179160
function setCode( $code ) {
        $this->code = $code;
        $this->addHeader($this->getDefaultHeaderFromCode( $code ));
        return $this;
    }
1030699
def add_code( instruction )
      raise "Not an instruction:#{instruction.to_s}:#{instruction.class.name}" unless  instruction.is_a?(Risc::Instruction)
      raise instruction.to_s if( instruction.class.name.split("::").first == "Arm")
      new_current = instruction.last #after insertion this point is lost
      @current.insert(instruction) #insert after current
      @current = new_current
      self
    end
1346515
function done(code) {
		// calculate shasum and cache info
		var shasum = crypto.createHash('sha1');
		shasum.update(code);
		self._shasums[scriptName] = shasum.digest('hex');
		self._scripts[scriptName] = code;
		self._files[fileName] = code;

		// make dublicate entries for both script and script.lua
		if (path.extname(scriptName) === ext) {
			var alt = scriptName.substr(0, scriptName.length - ext.length);
			self._shasums[alt] = self._shasums[scriptName]
			self._scripts[alt] = self._scripts[scriptName]
			self._keys[alt] = self._keys[scriptName]
		}

		delete self._resolving[fileName];
		callback(null, code);
	}
638780
function beautifyCode(str) {
    var beautifulStr = str;

    try {
        beautifulStr = (0, _jsBeautify.html)(str, beautifySettings);
    } catch (err) {
        console.error('Beautify error:', err.message);
    }

    return beautifulStr;
}
737808
protected function putToPost(): void
    {
        $request = $this->requestStack->getCurrentRequest();
        $put = $request->getContent();
        parse_str($put, $_POST);

        $_SERVER['REQUEST_METHOD'] = 'POST';
    }
207111
def run(self, *args):
        """"""

        params = self.parser.parse_args(args)
        api_token = params.api_token
        genderize_all = params.genderize_all
        code = self.autogender(api_token=api_token,
                               genderize_all=genderize_all)

        return code
155833
function injectCode(code, id) {
  var pre = document.getElementById(id);
  pre.textContent = code;
  code = pre.innerHTML;
  code = prettyPrintOne(code, 'js');
  pre.innerHTML = code;
}
169128
function appendStyle(code) {
        var dom = document.createElement('style');
        dom.innerHTML = code;
        head.appendChild(dom);
    }
380958
function send() {
		// Check form for errors
		if(!$("#transaction").val()) return alert('Missing parameter !');

		// Send
		nem.com.requests.transaction.announce(endpoint, $("#transaction").val()).then(function(res) {
			// If code >= 2, it's an error
			if (res.code >= 2) {
				alert(res.message);
			} else {
				alert(res.message);
			}
		}, function(err) {
			alert(err);
		})
	}
1164828
function sendHTMLErrorCode(code, message, res) {
  return function () {
    res.type('html');
    res.send(code + ' ' + message);
  };
}
1325048
function Code( buffer, start, end ) {

  if( !(this instanceof Code) )
    return new Code( buffer, start, end )

  this.offset = start || 0x00

  if( Buffer.isBuffer( buffer ) ) {
    this.data = buffer.slice( start, end )
  } else {
    this.data = Buffer.alloc( 446 )
  }

}
1182454
function(code)
        {
            var html = '',
                classes = [ 'syntaxhighlighter' ],
                tabSize,
                matches,
                lineNumbers
                ;

            // process light mode
            if (this.getParam('light') == true)
                this.params.toolbar = this.params.gutter = false;

            className = 'syntaxhighlighter';

            if (this.getParam('collapse') == true)
                classes.push('collapsed');

            if ((gutter = this.getParam('gutter')) == false)
                classes.push('nogutter');

            // add custom user style name
            classes.push(this.getParam('class-name'));

            // add brush alias to the class name for custom CSS
            classes.push(this.getParam('brush'));

            code = trimFirstAndLastLines(code)
                .replace(/\r/g, ' ') // IE lets these buggers through
            ;

            tabSize = this.getParam('tab-size');

            // replace tabs with spaces
            code = this.getParam('smart-tabs') == true
                ? processSmartTabs(code, tabSize)
                : processTabs(code, tabSize)
            ;

            // unindent code by the common indentation
            if (this.getParam('unindent'))
                code = unindent(code);

            if (gutter)
                lineNumbers = this.figureOutLineNumbers(code);

            // find matches in the code using brushes regex list
            matches = this.findMatches(this.regexList, code);
            // processes found matches into the html
            html = this.getMatchesHtml(code, matches);
            // finally, split all lines so that they wrap well
            html = this.getCodeLinesHtml(html, lineNumbers);

            // finally, process the links
            if (this.getParam('auto-links'))
                html = processUrls(html);

            if (typeof(navigator) != 'undefined' && navigator.userAgent && navigator.userAgent.match(/MSIE/))
                classes.push('ie');

            html =
                '<div id="' + getHighlighterId(this.id) + '" class="' + classes.join(' ') + '">'
                    + (this.getParam('toolbar') ? sh.toolbar.getHtml(this) : '')
                    + '<table border="0" cellpadding="0" cellspacing="0">'
                    + this.getTitleHtml(this.getParam('title'))
                    + '<tbody>'
                    + '<tr>'
                    + (gutter ? '<td class="gutter">' + this.getLineNumbersHtml(code) + '</td>' : '')
                    + '<td class="code">'
                    + '<div class="container">'
                    + html
                    + '</div>'
                    + '</td>'
                    + '</tr>'
                    + '</tbody>'
                    + '</table>'
                    + '</div>'
            ;

            return html;
        }
231350
public function makeAdd(){		
		if(OWEB_DEBUG > 0)
			$code .= $this->makeAddNormal ();
		else
			$code .= $this->makeAddNormal ();
		
		Headers::getInstance()->addHeader($code, Headers::jsCode);
	}
1078111
function(code, err) {
        this.response = {
            response: {
                statusCode: code,
                headers: {},
            },
            body: null,
            err: err,
        };
    }
673302
function providePlugins(code) {
  var chunks = [];
  if (typeof code === 'string') {
    code = code.split('\n');
  }
  chunks.push("function (" + Object.keys(plugins).join(', ') + ") {");
  chunks.push("  return " + code[0]);

  code.forEach(function (line, index) {
    if (index === 0) return; // omit the first line
    chunks.push("  " + line);
  });
  chunks.push("}");
  return chunks;
}
86565
function(e) {

			if ( e.keyCode !== ENTER_KEY ){
				return;
			}

			if ( !this.input.val().trim() ){
				return;
			}

			window.app.Todos.create(this.newAttributes());
			this.input.val('');
		}