Skip to content

Instantly share code, notes, and snippets.

@ityulkanov
ityulkanov / positionreport.cpp
Created January 13, 2017 07:51
Positionreport
// Fill out your copyright notice in the Description page of Project Settings.
#include "BuildingEscape.h"
#include "PositionReport.h"
// Sets default values for this component's properties
UPositionReport::UPositionReport()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// Fill out your copyright notice in the Description page of Project Settings.
#include "BuildingEscape.h"
#include "Grabber.h"
#define OUT
// Sets default values for this component's properties
UGrabber::UGrabber()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Components/ActorComponent.h"
#include "Grabber.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class BUILDINGESCAPE_API UGrabber : public UActorComponent
<?php
if( !session_id() )
{
session_start();
}
include("db.php");
<?php include ("db.php"); ?>
<?php
mysqli_set_charset($connection, "utf8");
$search = $_POST['search'];
if (!empty($search)) {
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'marketcall.start':new Date().getTime(),event:'mccb.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='mcLayer'?'&l='+l:'';j.async=true;j.src='https://www.marketcall.ru/js/mccb.js?program_id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','mcLayer','19654');</script>
<script>
Marketcall.Widgets.Callback.on(event,
$(function(){
$('#order-form').submit(function(){
var vcode = window.location.search.replace('?vcode=','');
$.get( "http://instant-news.ru/postback/common.php?vcode="+vcode+"&amount=500&status=new&sec=buv2myud", function( data ) {
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'marketcall.start': new Date().getTime(),
event: 'mccb.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'mcLayer' ? '&l=' + l : '';
@ityulkanov
ityulkanov / controller.java
Created May 22, 2018 16:08
java controller
package sample;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;
import javafx.scene.control.TextField;
import javafx.scene.control.cell.PropertyValueFactory;
@ityulkanov
ityulkanov / todo.js
Created May 23, 2018 19:13
todo on javascript
var addButton = document.getElementById("addItem");
addButton.addEventListener('click', function(){
var inputEl = document.getElementById('toDoInput');
var input = inputEl.value;
if(!input) return;
console.log(input);
var li = document.createElement('li');
console.log(li);
var list = document.getElementById('list');
@ityulkanov
ityulkanov / index.html
Created May 23, 2018 19:41
sample index for js todo
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<script async src="todo.js"></script>
<title>Document</title>
</head>
<body>